From e3e493f24e840a21b341bef08fb64777de44bef7 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Fri, 19 May 2023 13:59:28 +0800 Subject: [PATCH 01/10] chore: bump babel versions --- .../builder-rspack-provider/package.json | 2 +- packages/builder/builder-shared/package.json | 7 +- .../builder-webpack-provider/package.json | 6 +- packages/builder/builder/package.json | 3 +- packages/builder/plugin-swc-base/package.json | 10 +- packages/builder/plugin-swc/package.json | 2 +- packages/cli/babel-preset-app/package.json | 6 +- packages/cli/babel-preset-base/package.json | 16 +- packages/cli/babel-preset-lib/package.json | 4 +- packages/cli/core/package.json | 2 +- packages/cli/plugin-bff/package.json | 4 +- packages/cli/plugin-data-loader/package.json | 4 +- packages/cli/plugin-storybook/package.json | 2 +- .../plugin-module-polyfill/package.json | 4 +- .../review/eslint-config-app/package.json | 6 +- packages/runtime/plugin-runtime/package.json | 4 +- packages/runtime/plugin-testing/package.json | 4 +- packages/server/server/package.json | 4 +- packages/server/utils/package.json | 12 +- packages/solutions/app-tools/package.json | 6 +- packages/toolkit/compiler/babel/package.json | 8 +- packages/toolkit/types/package.json | 2 +- pnpm-lock.yaml | 3131 +++++++++-------- 23 files changed, 1768 insertions(+), 1481 deletions(-) diff --git a/packages/builder/builder-rspack-provider/package.json b/packages/builder/builder-rspack-provider/package.json index b94bd5515e36..c42a5dc51713 100644 --- a/packages/builder/builder-rspack-provider/package.json +++ b/packages/builder/builder-rspack-provider/package.json @@ -55,7 +55,7 @@ "@modern-js/server": "workspace:*", "@modern-js/types": "workspace:*", "@modern-js/utils": "workspace:*", - "@babel/preset-typescript": "^7.17.12", + "@babel/preset-typescript": "^7.21.5", "@rspack/core": "0.0.0-canary-22b006c-20230517164249", "@rspack/dev-client": "0.0.0-canary-22b006c-20230517164249", "@rspack/dev-middleware": "0.0.0-canary-22b006c-20230517164249", diff --git a/packages/builder/builder-shared/package.json b/packages/builder/builder-shared/package.json index 3a5aa969fc20..cbd92d82f0ca 100644 --- a/packages/builder/builder-shared/package.json +++ b/packages/builder/builder-shared/package.json @@ -93,16 +93,15 @@ "@modern-js/server": "workspace:*", "@modern-js/types": "workspace:*", "@modern-js/utils": "workspace:*", - "@babel/core": "7.18.0", + "@babel/core": "^7.21.8", "webpack-sources": "^3.2.3", "zod": "^3.20.2", "zod-validation-error": "^0.3.0" }, "devDependencies": { - "@babel/preset-env": "7.18.0", + "@babel/preset-env": "^7.21.5", "@scripts/vitest-config": "workspace:*", - "@types/babel__core": "^7.1.19", - "@types/babel__preset-env": "^7.9.2", + "@types/babel__core": "^7.20.0", "@types/node": "^14", "html-webpack-plugin": "5.5.0", "terser": "^5.14.1", diff --git a/packages/builder/builder-webpack-provider/package.json b/packages/builder/builder-webpack-provider/package.json index 3a6ea5bb42a1..7063f5eccbf4 100644 --- a/packages/builder/builder-webpack-provider/package.json +++ b/packages/builder/builder-webpack-provider/package.json @@ -96,7 +96,7 @@ "@modern-js/types": "workspace:*", "@modern-js/utils": "workspace:*", "@pmmmwh/react-refresh-webpack-plugin": "0.5.9", - "@babel/core": "7.18.0", + "@babel/core": "^7.21.8", "acorn": "^8.8.1", "caniuse-lite": "^1.0.30001451", "cheerio": "1.0.0-rc.12", @@ -114,11 +114,9 @@ "webpack": "^5.82.1" }, "devDependencies": { - "@babel/preset-env": "7.18.0", "@modern-js/e2e": "workspace:*", "@scripts/vitest-config": "workspace:*", - "@types/babel__core": "^7.1.19", - "@types/babel__preset-env": "^7.9.2", + "@types/babel__core": "^7.20.0", "@types/caniuse-lite": "^1.0.1", "@types/node": "^14", "antd": "4", diff --git a/packages/builder/builder/package.json b/packages/builder/builder/package.json index 736bc6848280..c18dd9423d83 100644 --- a/packages/builder/builder/package.json +++ b/packages/builder/builder/package.json @@ -45,8 +45,7 @@ }, "devDependencies": { "@scripts/vitest-config": "workspace:*", - "@types/babel__core": "^7.1.19", - "@types/babel__preset-env": "^7.9.2", + "@types/babel__core": "^7.20.0", "@types/node": "^14", "typescript": "^4" }, diff --git a/packages/builder/plugin-swc-base/package.json b/packages/builder/plugin-swc-base/package.json index 54897436c595..a756450514d0 100644 --- a/packages/builder/plugin-swc-base/package.json +++ b/packages/builder/plugin-swc-base/package.json @@ -29,17 +29,17 @@ "@modern-js/builder-webpack-provider": "workspace:*", "@modern-js/utils": "workspace:*", "@scripts/vitest-config": "workspace:*", - "@types/babel__core": "^7.1.20", + "@types/babel__core": "^7.20.0", "magic-string": "^0.26.2", "source-map": "^0.7.4", "typescript": "^4", "webpack": "^5.82.1" }, "dependencies": { - "@babel/core": "^7.20.5", - "@babel/preset-env": "^7.20.2", - "@babel/preset-react": "^7.17.12", - "@babel/preset-typescript": "^7.17.12", + "@babel/core": "^7.21.8", + "@babel/preset-env": "^7.21.5", + "@babel/preset-react": "^7.18.6", + "@babel/preset-typescript": "^7.21.5", "@modern-js/builder-shared": "workspace:*", "@modern-js/utils": "workspace:*", "@swc/helpers": "0.5.1", diff --git a/packages/builder/plugin-swc/package.json b/packages/builder/plugin-swc/package.json index b07856da95d0..0718830d9a98 100644 --- a/packages/builder/plugin-swc/package.json +++ b/packages/builder/plugin-swc/package.json @@ -51,7 +51,7 @@ "@modern-js/utils": "workspace:*", "@scripts/vitest-config": "workspace:*", "@swc/core": "1.3.42", - "@types/babel__core": "^7.1.20", + "@types/babel__core": "^7.20.0", "antd": "4", "magic-string": "^0.26.2", "source-map": "^0.7.4", diff --git a/packages/cli/babel-preset-app/package.json b/packages/cli/babel-preset-app/package.json index 345c47528759..9c7b22c206ba 100644 --- a/packages/cli/babel-preset-app/package.json +++ b/packages/cli/babel-preset-app/package.json @@ -37,9 +37,9 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@babel/core": "^7.18.0", - "@babel/runtime": "^7.18.0", - "@babel/types": "^7.18.0", + "@babel/core": "^7.21.8", + "@babel/runtime": "^7.21.5", + "@babel/types": "^7.21.5", "@modern-js/babel-preset-base": "workspace:*", "@modern-js/utils": "workspace:*", "core-js": "~3.30.0", diff --git a/packages/cli/babel-preset-base/package.json b/packages/cli/babel-preset-base/package.json index 837753983410..71ae18778835 100644 --- a/packages/cli/babel-preset-base/package.json +++ b/packages/cli/babel-preset-base/package.json @@ -39,15 +39,15 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@babel/core": "^7.18.0", - "@babel/plugin-transform-runtime": "^7.18.0", - "@babel/plugin-transform-typescript": "^7.18.0", - "@babel/preset-env": "^7.18.0", - "@babel/preset-react": "^7.17.12", - "@babel/preset-typescript": "^7.17.12", - "@babel/runtime": "^7.18.0", + "@babel/core": "^7.21.8", + "@babel/plugin-transform-runtime": "^7.21.4", + "@babel/plugin-transform-typescript": "^7.21.3", + "@babel/preset-env": "^7.21.5", + "@babel/preset-react": "^7.18.6", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@modern-js/utils": "workspace:*", - "@types/babel__core": "^7.1.16", + "@types/babel__core": "^7.20.0", "lodash": "^4.17.21" }, "devDependencies": { diff --git a/packages/cli/babel-preset-lib/package.json b/packages/cli/babel-preset-lib/package.json index 827d24523024..4b19ceef3a6d 100644 --- a/packages/cli/babel-preset-lib/package.json +++ b/packages/cli/babel-preset-lib/package.json @@ -44,8 +44,8 @@ "@swc/helpers": "0.5.1" }, "devDependencies": { - "@babel/core": "^7.18.0", - "@types/babel__core": "^7.1.15", + "@babel/core": "^7.21.8", + "@types/babel__core": "^7.20.0", "@types/jest": "^29", "@types/node": "^14", "typescript": "^4", diff --git a/packages/cli/core/package.json b/packages/cli/core/package.json index 6c8a5d1f0789..f3e505a81a42 100644 --- a/packages/cli/core/package.json +++ b/packages/cli/core/package.json @@ -87,7 +87,7 @@ "@scripts/build": "workspace:*", "@scripts/jest-config": "workspace:*", "@types/babel__code-frame": "^7.0.3", - "@types/babel__core": "^7.1.16", + "@types/babel__core": "^7.20.0", "@types/jest": "^29", "@types/less": "^3.0.3", "@types/node": "^14", diff --git a/packages/cli/plugin-bff/package.json b/packages/cli/plugin-bff/package.json index 32c10d5b17e3..51d77842bbb2 100644 --- a/packages/cli/plugin-bff/package.json +++ b/packages/cli/plugin-bff/package.json @@ -62,7 +62,7 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@babel/core": "^7.18.0", + "@babel/core": "^7.21.8", "@modern-js/bff-core": "workspace:*", "@modern-js/create-request": "workspace:*", "@modern-js/server-utils": "workspace:*", @@ -78,7 +78,7 @@ "@modern-js/app-tools": "workspace:*", "@scripts/build": "workspace:*", "@scripts/jest-config": "workspace:*", - "@types/babel__core": "^7.1.15", + "@types/babel__core": "^7.20.0", "@types/jest": "^29", "@types/node": "^14", "jest": "^29", diff --git a/packages/cli/plugin-data-loader/package.json b/packages/cli/plugin-data-loader/package.json index 81f31abc5b7a..2fbfdab63d6c 100644 --- a/packages/cli/plugin-data-loader/package.json +++ b/packages/cli/plugin-data-loader/package.json @@ -61,7 +61,7 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@babel/core": "^7.18.0", + "@babel/core": "^7.21.8", "@modern-js/utils": "workspace:*", "@remix-run/node": "^1.12.0", "path-to-regexp": "^6.2.0", @@ -74,7 +74,7 @@ "@modern-js/types": "workspace:*", "@scripts/build": "workspace:*", "@scripts/jest-config": "workspace:*", - "@types/babel__core": "^7.1.15", + "@types/babel__core": "^7.20.0", "@types/jest": "^29", "@types/node": "^14", "@types/supertest": "^2.0.11", diff --git a/packages/cli/plugin-storybook/package.json b/packages/cli/plugin-storybook/package.json index e2299e909edc..dcb70c109ade 100644 --- a/packages/cli/plugin-storybook/package.json +++ b/packages/cli/plugin-storybook/package.json @@ -68,7 +68,7 @@ "@swc/helpers": "0.5.1" }, "devDependencies": { - "@babel/core": "^7.18.0", + "@babel/core": "^7.21.8", "@modern-js/module-tools": "workspace:*", "@modern-js/types": "workspace:*", "@modern-js/runtime": "workspace:*", diff --git a/packages/module/plugin-module-polyfill/package.json b/packages/module/plugin-module-polyfill/package.json index ac190f98052c..f0ea6fd96080 100644 --- a/packages/module/plugin-module-polyfill/package.json +++ b/packages/module/plugin-module-polyfill/package.json @@ -39,8 +39,8 @@ }, "dependencies": { "@modern-js/libuild-plugin-babel": "0.7.1", - "@babel/plugin-syntax-typescript": "7.18.6", - "@babel/plugin-syntax-jsx": "7.18.6", + "@babel/plugin-syntax-typescript": "7.21.4", + "@babel/plugin-syntax-jsx": "7.21.4", "babel-plugin-polyfill-corejs3": "0.5.2" }, "sideEffects": false, diff --git a/packages/review/eslint-config-app/package.json b/packages/review/eslint-config-app/package.json index 7fd069b04cb3..f244534eb7fc 100644 --- a/packages/review/eslint-config-app/package.json +++ b/packages/review/eslint-config-app/package.json @@ -21,9 +21,9 @@ "check": "eslint-find-rules --unused index.js" }, "dependencies": { - "@babel/core": "^7.18.0", - "@babel/eslint-parser": "^7.18.0", - "@babel/eslint-plugin": "^7.17.7", + "@babel/core": "^7.21.8", + "@babel/eslint-parser": "^7.21.8", + "@babel/eslint-plugin": "^7.19.1", "@modern-js/babel-preset-app": "workspace:*", "@typescript-eslint/eslint-plugin": "^5.17.0", "@typescript-eslint/parser": "^5.17.0", diff --git a/packages/runtime/plugin-runtime/package.json b/packages/runtime/plugin-runtime/package.json index 222a5afeb7f0..a7b1f3d6d2d2 100644 --- a/packages/runtime/plugin-runtime/package.json +++ b/packages/runtime/plugin-runtime/package.json @@ -149,8 +149,8 @@ "test": "jest" }, "dependencies": { - "@babel/core": "^7.18.0", - "@babel/types": "^7.18.0", + "@babel/core": "^7.21.8", + "@babel/types": "^7.21.5", "cookie": "0.5.0", "@loadable/babel-plugin": "^5.13.2", "@loadable/component": "^5.15.0", diff --git a/packages/runtime/plugin-testing/package.json b/packages/runtime/plugin-testing/package.json index 53af78d6149a..5048208a2c24 100644 --- a/packages/runtime/plugin-testing/package.json +++ b/packages/runtime/plugin-testing/package.json @@ -104,8 +104,8 @@ "test": "jest" }, "dependencies": { - "@babel/core": "^7.18.0", - "@babel/preset-env": "^7.18.0", + "@babel/core": "^7.21.8", + "@babel/preset-env": "^7.21.5", "@modern-js-reduck/plugin-auto-actions": "^1.0.2", "@modern-js-reduck/plugin-effects": "^1.0.2", "@modern-js-reduck/plugin-immutable": "^1.0.1", diff --git a/packages/server/server/package.json b/packages/server/server/package.json index 02217b2d4c3e..5c5e7b6c0049 100644 --- a/packages/server/server/package.json +++ b/packages/server/server/package.json @@ -46,8 +46,8 @@ "test": "jest" }, "dependencies": { - "@babel/core": "^7.18.0", - "@babel/register": "^7.17.7", + "@babel/core": "^7.21.8", + "@babel/register": "^7.21.0", "@modern-js/prod-server": "workspace:*", "@modern-js/server-utils": "workspace:*", "@modern-js/types": "workspace:*", diff --git a/packages/server/utils/package.json b/packages/server/utils/package.json index 3d349457f064..e23d8e1550a7 100644 --- a/packages/server/utils/package.json +++ b/packages/server/utils/package.json @@ -38,11 +38,11 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@babel/core": "^7.18.0", - "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/plugin-proposal-decorators": "^7.18.0", - "@babel/preset-env": "^7.18.0", - "@babel/preset-typescript": "^7.17.12", + "@babel/core": "^7.21.8", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-decorators": "^7.21.0", + "@babel/preset-env": "^7.21.5", + "@babel/preset-typescript": "^7.21.5", "@modern-js/babel-compiler": "workspace:*", "@modern-js/babel-preset-lib": "workspace:*", "@modern-js/utils": "workspace:*", @@ -54,7 +54,7 @@ "@modern-js/server-core": "workspace:*", "@scripts/build": "workspace:*", "@scripts/jest-config": "workspace:*", - "@types/babel__core": "^7.1.15", + "@types/babel__core": "^7.20.0", "@types/jest": "^29", "@types/node": "^14", "jest": "^29", diff --git a/packages/solutions/app-tools/package.json b/packages/solutions/app-tools/package.json index 934517ccc0bb..0a2add2b3e02 100644 --- a/packages/solutions/app-tools/package.json +++ b/packages/solutions/app-tools/package.json @@ -73,9 +73,9 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@babel/parser": "^7.18.0", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0", + "@babel/parser": "^7.21.8", + "@babel/traverse": "^7.21.5", + "@babel/types": "^7.21.5", "@modern-js/builder": "workspace:*", "@modern-js/builder-plugin-esbuild": "workspace:*", "@modern-js/builder-plugin-node-polyfill": "workspace:*", diff --git a/packages/toolkit/compiler/babel/package.json b/packages/toolkit/compiler/babel/package.json index 9a6259d3c193..1d89af15f1e0 100644 --- a/packages/toolkit/compiler/babel/package.json +++ b/packages/toolkit/compiler/babel/package.json @@ -37,14 +37,14 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@babel/core": "^7.18.0", + "@babel/core": "^7.21.8", "@modern-js/utils": "workspace:*", "@swc/helpers": "0.5.1" }, "devDependencies": { - "@babel/plugin-transform-classes": "^7.18.0", - "@babel/preset-typescript": "^7.17.12", - "@types/babel__core": "^7.1.15", + "@babel/plugin-transform-classes": "^7.21.0", + "@babel/preset-typescript": "^7.21.5", + "@types/babel__core": "^7.20.0", "@types/glob": "^7.1.4", "@types/jest": "^29", "@types/node": "^14", diff --git a/packages/toolkit/types/package.json b/packages/toolkit/types/package.json index f275cdd11915..975c1d2ac1da 100644 --- a/packages/toolkit/types/package.json +++ b/packages/toolkit/types/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@scripts/build": "workspace:*", - "@types/babel__core": "^7.1.19", + "@types/babel__core": "^7.20.0", "@scripts/jest-config": "workspace:*", "@types/jest": "^29", "@types/node": "^14", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 841cd5519ffb..4a8da7b4c4c1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,8 +58,7 @@ importers: '@modern-js/utils': workspace:* '@scripts/vitest-config': workspace:* '@svgr/webpack': 6.5.1 - '@types/babel__core': ^7.1.19 - '@types/babel__preset-env': ^7.9.2 + '@types/babel__core': ^7.20.0 '@types/node': ^14 typescript: ^4 dependencies: @@ -68,14 +67,13 @@ importers: '@svgr/webpack': 6.5.1 devDependencies: '@scripts/vitest-config': link:../../../scripts/vitest-config - '@types/babel__core': 7.1.20 - '@types/babel__preset-env': 7.9.2 + '@types/babel__core': 7.20.0 '@types/node': 14.18.35 typescript: 4.9.3 packages/builder/builder-rspack-provider: specifiers: - '@babel/preset-typescript': ^7.17.12 + '@babel/preset-typescript': ^7.21.5 '@modern-js/builder-shared': workspace:* '@modern-js/e2e': workspace:* '@modern-js/server': workspace:* @@ -97,7 +95,7 @@ importers: rspack-plugin-virtual-module: 0.1.0 typescript: ^4 dependencies: - '@babel/preset-typescript': 7.18.6 + '@babel/preset-typescript': 7.21.5 '@modern-js/builder-shared': link:../builder-shared '@modern-js/server': link:../../server/server '@modern-js/types': link:../../toolkit/types @@ -122,14 +120,13 @@ importers: packages/builder/builder-shared: specifiers: - '@babel/core': 7.18.0 - '@babel/preset-env': 7.18.0 + '@babel/core': ^7.21.8 + '@babel/preset-env': ^7.21.5 '@modern-js/server': workspace:* '@modern-js/types': workspace:* '@modern-js/utils': workspace:* '@scripts/vitest-config': workspace:* - '@types/babel__core': ^7.1.19 - '@types/babel__preset-env': ^7.9.2 + '@types/babel__core': ^7.20.0 '@types/node': ^14 html-webpack-plugin: 5.5.0 terser: ^5.14.1 @@ -139,7 +136,7 @@ importers: zod: ^3.20.2 zod-validation-error: ^0.3.0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@modern-js/server': link:../../server/server '@modern-js/types': link:../../toolkit/types '@modern-js/utils': link:../../toolkit/utils @@ -147,10 +144,9 @@ importers: zod: 3.20.2 zod-validation-error: 0.3.0_zod@3.20.2 devDependencies: - '@babel/preset-env': 7.18.0_@babel+core@7.18.0 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 '@scripts/vitest-config': link:../../../scripts/vitest-config - '@types/babel__core': 7.1.20 - '@types/babel__preset-env': 7.9.2 + '@types/babel__core': 7.20.0 '@types/node': 14.18.35 html-webpack-plugin: 5.5.0_webpack@5.82.1 terser: 5.15.0 @@ -159,8 +155,7 @@ importers: packages/builder/builder-webpack-provider: specifiers: - '@babel/core': 7.18.0 - '@babel/preset-env': 7.18.0 + '@babel/core': ^7.21.8 '@modern-js/babel-preset-app': workspace:* '@modern-js/babel-preset-base': workspace:* '@modern-js/builder-shared': workspace:* @@ -171,8 +166,7 @@ importers: '@modern-js/utils': workspace:* '@pmmmwh/react-refresh-webpack-plugin': 0.5.9 '@scripts/vitest-config': workspace:* - '@types/babel__core': ^7.1.19 - '@types/babel__preset-env': ^7.9.2 + '@types/babel__core': ^7.20.0 '@types/caniuse-lite': ^1.0.1 '@types/node': ^14 acorn: ^8.8.1 @@ -195,7 +189,7 @@ importers: typescript: ^4 webpack: ^5.82.1 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@modern-js/babel-preset-app': link:../../cli/babel-preset-app '@modern-js/babel-preset-base': link:../../cli/babel-preset-base '@modern-js/builder-shared': link:../builder-shared @@ -220,11 +214,9 @@ importers: ts-loader: 9.4.1_7rk4b2hmmye4ay4nslib7apbti webpack: 5.82.1 devDependencies: - '@babel/preset-env': 7.18.0_@babel+core@7.18.0 '@modern-js/e2e': link:../../toolkit/e2e '@scripts/vitest-config': link:../../../scripts/vitest-config - '@types/babel__core': 7.1.20 - '@types/babel__preset-env': 7.9.2 + '@types/babel__core': 7.20.0 '@types/caniuse-lite': 1.0.1 '@types/node': 14.18.35 antd: 4.21.4_biqbaboplfbrettd7655fr4n2y @@ -333,7 +325,7 @@ importers: '@modern-js/utils': workspace:* '@scripts/vitest-config': workspace:* '@swc/core': 1.3.42 - '@types/babel__core': ^7.1.20 + '@types/babel__core': ^7.20.0 antd: '4' magic-string: ^0.26.2 react: ^18 @@ -350,7 +342,7 @@ importers: '@modern-js/builder-webpack-provider': link:../builder-webpack-provider '@scripts/vitest-config': link:../../../scripts/vitest-config '@swc/core': 1.3.42 - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 antd: 4.21.4_biqbaboplfbrettd7655fr4n2y magic-string: 0.26.7 react: 18.2.0 @@ -361,26 +353,26 @@ importers: packages/builder/plugin-swc-base: specifiers: - '@babel/core': ^7.20.5 - '@babel/preset-env': ^7.20.2 - '@babel/preset-react': ^7.17.12 - '@babel/preset-typescript': ^7.17.12 + '@babel/core': ^7.21.8 + '@babel/preset-env': ^7.21.5 + '@babel/preset-react': ^7.18.6 + '@babel/preset-typescript': ^7.21.5 '@modern-js/builder-shared': workspace:* '@modern-js/builder-webpack-provider': workspace:* '@modern-js/utils': workspace:* '@scripts/vitest-config': workspace:* '@swc/helpers': 0.5.1 - '@types/babel__core': ^7.1.20 + '@types/babel__core': ^7.20.0 core-js: ~3.30.0 magic-string: ^0.26.2 source-map: ^0.7.4 typescript: ^4 webpack: ^5.82.1 dependencies: - '@babel/core': 7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 - '@babel/preset-react': 7.18.6_@babel+core@7.20.5 - '@babel/preset-typescript': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 + '@babel/preset-react': 7.18.6_@babel+core@7.21.8 + '@babel/preset-typescript': 7.21.5_@babel+core@7.21.8 '@modern-js/builder-shared': link:../builder-shared '@modern-js/utils': link:../../toolkit/utils '@swc/helpers': 0.5.1 @@ -388,7 +380,7 @@ importers: devDependencies: '@modern-js/builder-webpack-provider': link:../builder-webpack-provider '@scripts/vitest-config': link:../../../scripts/vitest-config - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 magic-string: 0.26.7 source-map: 0.7.4 typescript: 4.9.5 @@ -396,9 +388,9 @@ importers: packages/cli/babel-preset-app: specifiers: - '@babel/core': ^7.18.0 - '@babel/runtime': ^7.18.0 - '@babel/types': ^7.18.0 + '@babel/core': ^7.21.8 + '@babel/runtime': ^7.21.5 + '@babel/types': ^7.21.5 '@modern-js/babel-preset-base': workspace:* '@modern-js/utils': workspace:* '@scripts/build': workspace:* @@ -410,9 +402,9 @@ importers: jest: ^29 typescript: ^4 dependencies: - '@babel/core': 7.20.5 - '@babel/runtime': 7.18.6 - '@babel/types': 7.20.5 + '@babel/core': 7.21.8 + '@babel/runtime': 7.21.5 + '@babel/types': 7.21.5 '@modern-js/babel-preset-base': link:../babel-preset-base '@modern-js/utils': link:../../toolkit/utils '@swc/helpers': 0.5.1 @@ -427,33 +419,33 @@ importers: packages/cli/babel-preset-base: specifiers: - '@babel/core': ^7.18.0 - '@babel/plugin-transform-runtime': ^7.18.0 - '@babel/plugin-transform-typescript': ^7.18.0 - '@babel/preset-env': ^7.18.0 - '@babel/preset-react': ^7.17.12 - '@babel/preset-typescript': ^7.17.12 - '@babel/runtime': ^7.18.0 + '@babel/core': ^7.21.8 + '@babel/plugin-transform-runtime': ^7.21.4 + '@babel/plugin-transform-typescript': ^7.21.3 + '@babel/preset-env': ^7.21.5 + '@babel/preset-react': ^7.18.6 + '@babel/preset-typescript': ^7.21.5 + '@babel/runtime': ^7.21.5 '@modern-js/types': workspace:* '@modern-js/utils': workspace:* '@scripts/build': workspace:* '@scripts/jest-config': workspace:* - '@types/babel__core': ^7.1.16 + '@types/babel__core': ^7.20.0 '@types/jest': ^29 '@types/node': ^14 jest: ^29 lodash: ^4.17.21 typescript: ^4 dependencies: - '@babel/core': 7.20.5 - '@babel/plugin-transform-runtime': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-transform-typescript': 7.18.6_@babel+core@7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 - '@babel/preset-react': 7.18.6_@babel+core@7.20.5 - '@babel/preset-typescript': 7.18.6_@babel+core@7.20.5 - '@babel/runtime': 7.18.6 + '@babel/core': 7.21.8 + '@babel/plugin-transform-runtime': 7.21.4_@babel+core@7.21.8 + '@babel/plugin-transform-typescript': 7.21.3_@babel+core@7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 + '@babel/preset-react': 7.18.6_@babel+core@7.21.8 + '@babel/preset-typescript': 7.21.5_@babel+core@7.21.8 + '@babel/runtime': 7.21.5 '@modern-js/utils': link:../../toolkit/utils - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 lodash: 4.17.21 devDependencies: '@modern-js/types': link:../../toolkit/types @@ -466,13 +458,13 @@ importers: packages/cli/babel-preset-lib: specifiers: - '@babel/core': ^7.18.0 + '@babel/core': ^7.21.8 '@modern-js/babel-preset-base': workspace:* '@modern-js/utils': workspace:* '@scripts/build': workspace:* '@scripts/jest-config': workspace:* '@swc/helpers': 0.5.1 - '@types/babel__core': ^7.1.15 + '@types/babel__core': ^7.20.0 '@types/jest': ^29 '@types/node': ^14 babel-plugin-module-resolver: ^4.0.0 @@ -488,10 +480,10 @@ importers: babel-plugin-transform-define: 2.0.1 babel-plugin-transform-inline-environment-variables: 0.4.4 devDependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@scripts/build': link:../../../scripts/build '@scripts/jest-config': link:../../../scripts/jest-config - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 '@types/jest': 29.4.4 '@types/node': 14.18.35 jest: 29.5.0_@types+node@14.18.35 @@ -508,7 +500,7 @@ importers: '@scripts/build': workspace:* '@scripts/jest-config': workspace:* '@types/babel__code-frame': ^7.0.3 - '@types/babel__core': ^7.1.16 + '@types/babel__core': ^7.20.0 '@types/jest': ^29 '@types/less': ^3.0.3 '@types/node': ^14 @@ -532,7 +524,7 @@ importers: '@scripts/build': link:../../../scripts/build '@scripts/jest-config': link:../../../scripts/jest-config '@types/babel__code-frame': 7.0.3 - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 '@types/jest': 29.4.4 '@types/less': 3.0.3 '@types/node': 14.18.35 @@ -754,7 +746,7 @@ importers: packages/cli/plugin-bff: specifiers: - '@babel/core': ^7.18.0 + '@babel/core': ^7.21.8 '@modern-js/app-tools': workspace:* '@modern-js/bff-core': workspace:* '@modern-js/bff-runtime': workspace:* @@ -768,7 +760,7 @@ importers: '@scripts/build': workspace:* '@scripts/jest-config': workspace:* '@swc/helpers': 0.5.1 - '@types/babel__core': ^7.1.15 + '@types/babel__core': ^7.20.0 '@types/jest': ^29 '@types/node': ^14 jest: ^29 @@ -778,7 +770,7 @@ importers: webpack: ^5.82.1 webpack-chain: ^6.5.1 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@modern-js/bff-core': link:../../server/bff-core '@modern-js/create-request': link:../../server/create-request '@modern-js/server-utils': link:../../server/utils @@ -793,12 +785,12 @@ importers: '@modern-js/types': link:../../toolkit/types '@scripts/build': link:../../../scripts/build '@scripts/jest-config': link:../../../scripts/jest-config - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 '@types/jest': 29.4.4 '@types/node': 14.18.35 jest: 29.5.0_@types+node@14.18.35 memfs: 3.4.12 - ts-jest: 29.0.5_hpvvyyw2r5cx4bys4kz4pp4rum + ts-jest: 29.0.5_ujbyfodziiwtzbycnht5jcf3hy typescript: 4.9.3 webpack: 5.82.1 webpack-chain: 6.5.1 @@ -838,7 +830,7 @@ importers: packages/cli/plugin-data-loader: specifiers: - '@babel/core': ^7.18.0 + '@babel/core': ^7.21.8 '@modern-js/core': workspace:* '@modern-js/server-core': workspace:* '@modern-js/types': workspace:* @@ -847,7 +839,7 @@ importers: '@scripts/build': workspace:* '@scripts/jest-config': workspace:* '@swc/helpers': 0.5.1 - '@types/babel__core': ^7.1.15 + '@types/babel__core': ^7.20.0 '@types/jest': ^29 '@types/node': ^14 '@types/supertest': ^2.0.11 @@ -863,7 +855,7 @@ importers: webpack: ^5.82.1 webpack-chain: ^6.5.1 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@modern-js/utils': link:../../toolkit/utils '@remix-run/node': 1.13.0 '@swc/helpers': 0.5.1 @@ -875,7 +867,7 @@ importers: '@modern-js/types': link:../../toolkit/types '@scripts/build': link:../../../scripts/build '@scripts/jest-config': link:../../../scripts/jest-config - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 '@types/jest': 29.4.4 '@types/node': 14.18.35 '@types/supertest': 2.0.12 @@ -884,7 +876,7 @@ importers: memfs: 3.4.12 react: 18.2.0 supertest: 6.2.3 - ts-jest: 29.0.5_hpvvyyw2r5cx4bys4kz4pp4rum + ts-jest: 29.0.5_ujbyfodziiwtzbycnht5jcf3hy typescript: 4.9.3 webpack: 5.82.1 webpack-chain: 6.5.1 @@ -1009,7 +1001,7 @@ importers: packages/cli/plugin-storybook: specifiers: - '@babel/core': ^7.18.0 + '@babel/core': ^7.21.8 '@modern-js/builder': workspace:* '@modern-js/builder-plugin-node-polyfill': workspace:* '@modern-js/builder-shared': workspace:* @@ -1053,13 +1045,13 @@ importers: '@modern-js/builder-webpack-provider': link:../../builder/builder-webpack-provider '@modern-js/utils': link:../../toolkit/utils '@storybook/addon-actions': 6.5.12_biqbaboplfbrettd7655fr4n2y - '@storybook/addon-essentials': 6.5.12_fwq6h3q6pogs3l7xel6pazfenu + '@storybook/addon-essentials': 6.5.12_qecnbsngvvkeunj7444vl2sc2m '@storybook/addon-links': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/addon-storysource': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/builder-webpack5': 6.5.12_jlhxydrgaq6yvnzi6eruzqhd3a '@storybook/core': 6.5.12_mejbs6qxkbiljz5cyqh3sta7g4 '@storybook/manager-webpack5': 6.5.12_jlhxydrgaq6yvnzi6eruzqhd3a - '@storybook/react': 6.5.12_pct4un3kv47b56yhn47zn7lcxm + '@storybook/react': 6.5.12_ket2g4gyf3y4x6zueqlsuvvvwa '@swc/helpers': 0.5.1 esbuild: 0.15.7 findup-sync: 4.0.0 @@ -1067,7 +1059,7 @@ importers: process.argv: 0.6.0 tsconfig-paths-webpack-plugin: 4.0.0 devDependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@modern-js/module-tools': link:../../solutions/module-tools '@modern-js/runtime': link:../../runtime/plugin-runtime '@modern-js/types': link:../../toolkit/types @@ -2180,8 +2172,8 @@ importers: packages/module/plugin-module-polyfill: specifiers: - '@babel/plugin-syntax-jsx': 7.18.6 - '@babel/plugin-syntax-typescript': 7.18.6 + '@babel/plugin-syntax-jsx': 7.21.4 + '@babel/plugin-syntax-typescript': 7.21.4 '@modern-js/libuild-plugin-babel': 0.7.1 '@modern-js/module-tools': workspace:* '@scripts/build': workspace:* @@ -2192,8 +2184,8 @@ importers: jest: ^29 typescript: ^4 dependencies: - '@babel/plugin-syntax-jsx': 7.18.6 - '@babel/plugin-syntax-typescript': 7.18.6 + '@babel/plugin-syntax-jsx': 7.21.4 + '@babel/plugin-syntax-typescript': 7.21.4 '@modern-js/libuild-plugin-babel': 0.7.1 babel-plugin-polyfill-corejs3: 0.5.2 devDependencies: @@ -2238,9 +2230,9 @@ importers: packages/review/eslint-config-app: specifiers: - '@babel/core': ^7.18.0 - '@babel/eslint-parser': ^7.18.0 - '@babel/eslint-plugin': ^7.17.7 + '@babel/core': ^7.21.8 + '@babel/eslint-parser': ^7.21.8 + '@babel/eslint-plugin': ^7.19.1 '@modern-js/babel-preset-app': workspace:* '@scripts/build': workspace:* '@typescript-eslint/eslint-plugin': ^5.17.0 @@ -2260,9 +2252,9 @@ importers: prettier: ^2.3.2 typescript: ^4 dependencies: - '@babel/core': 7.20.5 - '@babel/eslint-parser': 7.18.2_ajivmgign6qnltueqq3ekylg5a - '@babel/eslint-plugin': 7.17.7_gdbdzwrinulroure7ge5oe64jq + '@babel/core': 7.21.8 + '@babel/eslint-parser': 7.21.8_whiyj2ey2az5nrd4tnv3sqnwvu + '@babel/eslint-plugin': 7.19.1_dm5ijezn7ziqixzmyajtwr6sum '@modern-js/babel-preset-app': link:../../cli/babel-preset-app '@typescript-eslint/eslint-plugin': 5.30.0_2nspmqib6o7rcvn5qeqiwm5gey '@typescript-eslint/parser': 5.30.0_hsf322ms6xhhd4b5ne6lb74y4a @@ -2403,8 +2395,8 @@ importers: packages/runtime/plugin-runtime: specifiers: - '@babel/core': ^7.18.0 - '@babel/types': ^7.18.0 + '@babel/core': ^7.21.8 + '@babel/types': ^7.21.5 '@loadable/babel-plugin': ^5.13.2 '@loadable/component': ^5.15.0 '@loadable/server': ^5.15.1 @@ -2453,9 +2445,9 @@ importers: ts-jest: ^29.0.5 typescript: ^4 dependencies: - '@babel/core': 7.20.5 - '@babel/types': 7.20.5 - '@loadable/babel-plugin': 5.13.2_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/types': 7.21.5 + '@loadable/babel-plugin': 5.13.2_@babel+core@7.21.8 '@loadable/component': 5.15.2_react@18.2.0 '@loadable/server': 5.15.2_ik7avrk5bhag2nqkdfypunpmvu '@loadable/webpack-plugin': 5.15.2 @@ -2501,13 +2493,13 @@ importers: jest: 29.5.0_@types+node@14.18.35 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 - ts-jest: 29.0.5_4lwji6rzi5v6og4d4ttsblyl5u + ts-jest: 29.0.5_ph2sidlzcfqeq5xdaxqiro5pqa typescript: 4.9.3 packages/runtime/plugin-testing: specifiers: - '@babel/core': ^7.18.0 - '@babel/preset-env': ^7.18.0 + '@babel/core': ^7.21.8 + '@babel/preset-env': ^7.21.5 '@jest/types': ^29.5.0 '@modern-js-reduck/plugin-auto-actions': ^1.0.2 '@modern-js-reduck/plugin-effects': ^1.0.2 @@ -2545,8 +2537,8 @@ importers: typescript: ^4 yargs: ^17.0.1 dependencies: - '@babel/core': 7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 '@jest/types': 29.5.0 '@modern-js-reduck/plugin-auto-actions': 1.1.6_ey2tb66lspd63dpe7kr4h74444 '@modern-js-reduck/plugin-effects': 1.1.6_ey2tb66lspd63dpe7kr4h74444 @@ -2561,14 +2553,14 @@ importers: '@testing-library/jest-dom': 5.16.4 '@testing-library/react': 13.4.0_biqbaboplfbrettd7655fr4n2y '@types/testing-library__jest-dom': 5.14.5 - babel-jest: 27.5.1_@babel+core@7.20.5 + babel-jest: 27.5.1_@babel+core@7.21.8 enhanced-resolve: 5.12.0 identity-obj-proxy: 3.0.0 jest: 29.5.0_@types+node@14.18.35 jest-environment-jsdom: 29.5.0 path-to-regexp: 6.2.1 supertest: 6.2.3 - ts-jest: 29.0.5_xrnaqwspzwbutsq6icoimzhcuu + ts-jest: 29.0.5_52zzqauzrd55rzw5cwo4tswy3m yargs: 17.5.1 devDependencies: '@modern-js/bff-core': link:../../server/bff-core @@ -2995,8 +2987,8 @@ importers: packages/server/server: specifiers: - '@babel/core': ^7.18.0 - '@babel/register': ^7.17.7 + '@babel/core': ^7.21.8 + '@babel/register': ^7.21.0 '@modern-js/prod-server': workspace:* '@modern-js/server-core': workspace:* '@modern-js/server-utils': workspace:* @@ -3022,8 +3014,8 @@ importers: websocket: ^1 ws: ^8.2.0 dependencies: - '@babel/core': 7.20.5 - '@babel/register': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/register': 7.21.0_@babel+core@7.21.8 '@modern-js/prod-server': link:../prod-server '@modern-js/server-utils': link:../utils '@modern-js/types': link:../../toolkit/types @@ -3052,11 +3044,11 @@ importers: packages/server/utils: specifiers: - '@babel/core': ^7.18.0 - '@babel/plugin-proposal-class-properties': ^7.17.12 - '@babel/plugin-proposal-decorators': ^7.18.0 - '@babel/preset-env': ^7.18.0 - '@babel/preset-typescript': ^7.17.12 + '@babel/core': ^7.21.8 + '@babel/plugin-proposal-class-properties': ^7.18.6 + '@babel/plugin-proposal-decorators': ^7.21.0 + '@babel/preset-env': ^7.21.5 + '@babel/preset-typescript': ^7.21.5 '@modern-js/babel-compiler': workspace:* '@modern-js/babel-preset-lib': workspace:* '@modern-js/server-core': workspace:* @@ -3064,7 +3056,7 @@ importers: '@scripts/build': workspace:* '@scripts/jest-config': workspace:* '@swc/helpers': 0.5.1 - '@types/babel__core': ^7.1.15 + '@types/babel__core': ^7.20.0 '@types/jest': ^29 '@types/node': ^14 babel-plugin-module-resolver: ^4.1.0 @@ -3073,11 +3065,11 @@ importers: ts-jest: ^29.0.5 typescript: ^4 dependencies: - '@babel/core': 7.20.5 - '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-proposal-decorators': 7.18.6_@babel+core@7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 - '@babel/preset-typescript': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-decorators': 7.21.0_@babel+core@7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 + '@babel/preset-typescript': 7.21.5_@babel+core@7.21.8 '@modern-js/babel-compiler': link:../../toolkit/compiler/babel '@modern-js/babel-preset-lib': link:../../cli/babel-preset-lib '@modern-js/utils': link:../../toolkit/utils @@ -3088,18 +3080,18 @@ importers: '@modern-js/server-core': link:../core '@scripts/build': link:../../../scripts/build '@scripts/jest-config': link:../../../scripts/jest-config - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 '@types/jest': 29.4.4 '@types/node': 14.18.35 jest: 29.5.0_@types+node@14.18.35 - ts-jest: 29.0.5_hpvvyyw2r5cx4bys4kz4pp4rum + ts-jest: 29.0.5_ujbyfodziiwtzbycnht5jcf3hy typescript: 4.9.3 packages/solutions/app-tools: specifiers: - '@babel/parser': ^7.18.0 - '@babel/traverse': ^7.18.0 - '@babel/types': ^7.18.0 + '@babel/parser': ^7.21.8 + '@babel/traverse': ^7.21.5 + '@babel/types': ^7.21.5 '@modern-js/builder': workspace:* '@modern-js/builder-plugin-esbuild': workspace:* '@modern-js/builder-plugin-node-polyfill': workspace:* @@ -3133,9 +3125,9 @@ importers: typescript: ^4 webpack: ^5.82.1 dependencies: - '@babel/parser': 7.20.5 - '@babel/traverse': 7.20.5 - '@babel/types': 7.20.5 + '@babel/parser': 7.21.8 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 '@modern-js/builder': link:../../builder/builder '@modern-js/builder-plugin-esbuild': link:../../builder/plugin-esbuild '@modern-js/builder-plugin-node-polyfill': link:../../builder/plugin-node-polyfill @@ -3315,29 +3307,29 @@ importers: packages/toolkit/compiler/babel: specifiers: - '@babel/core': ^7.18.0 - '@babel/plugin-transform-classes': ^7.18.0 - '@babel/preset-typescript': ^7.17.12 + '@babel/core': ^7.21.8 + '@babel/plugin-transform-classes': ^7.21.0 + '@babel/preset-typescript': ^7.21.5 '@modern-js/utils': workspace:* '@scripts/build': workspace:* '@scripts/jest-config': workspace:* '@swc/helpers': 0.5.1 - '@types/babel__core': ^7.1.15 + '@types/babel__core': ^7.20.0 '@types/glob': ^7.1.4 '@types/jest': ^29 '@types/node': ^14 jest: ^29 typescript: ^4 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@modern-js/utils': link:../../utils '@swc/helpers': 0.5.1 devDependencies: - '@babel/plugin-transform-classes': 7.20.2_@babel+core@7.20.5 - '@babel/preset-typescript': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-classes': 7.21.0_@babel+core@7.21.8 + '@babel/preset-typescript': 7.21.5_@babel+core@7.21.8 '@scripts/build': link:../../../../scripts/build '@scripts/jest-config': link:../../../../scripts/jest-config - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 '@types/glob': 7.2.0 '@types/jest': 29.4.4 '@types/node': 14.18.35 @@ -3467,7 +3459,7 @@ importers: specifiers: '@scripts/build': workspace:* '@scripts/jest-config': workspace:* - '@types/babel__core': ^7.1.19 + '@types/babel__core': ^7.20.0 '@types/jest': ^29 '@types/node': ^14 http-proxy-middleware: ^2.0.4 @@ -3476,7 +3468,7 @@ importers: devDependencies: '@scripts/build': link:../../../scripts/build '@scripts/jest-config': link:../../../scripts/jest-config - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 '@types/jest': 29.4.4 '@types/node': 14.18.35 http-proxy-middleware: 2.0.6 @@ -5740,7 +5732,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.1.1 - '@jridgewell/trace-mapping': 0.3.14 + '@jridgewell/trace-mapping': 0.3.17 /@ant-design/colors/6.0.0: resolution: {integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==} @@ -5758,7 +5750,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@emotion/hash': 0.8.0 '@emotion/unitless': 0.7.5 classnames: 2.3.2 @@ -5775,7 +5767,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@emotion/hash': 0.8.0 '@emotion/unitless': 0.7.5 classnames: 2.3.2 @@ -5798,7 +5790,7 @@ packages: dependencies: '@ant-design/colors': 6.0.0 '@ant-design/icons-svg': 4.2.1 - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -5813,7 +5805,7 @@ packages: dependencies: '@ant-design/colors': 7.0.0 '@ant-design/icons-svg': 4.2.1 - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -5824,7 +5816,7 @@ packages: peerDependencies: react: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 json2mq: 0.2.0 lodash: 4.17.21 @@ -5836,7 +5828,7 @@ packages: peerDependencies: react: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 json2mq: 0.2.0 react: 18.2.0 @@ -5855,7 +5847,7 @@ packages: react-dom: '>=16' dependencies: '@arco-design/color': 0.4.0 - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 b-tween: 0.3.3 b-validate: 1.4.4 compute-scroll-into-view: 1.0.17 @@ -5880,7 +5872,7 @@ packages: react-dom: '>=16' dependencies: '@arco-design/color': 0.4.0 - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 b-tween: 0.3.3 b-validate: 1.4.4 compute-scroll-into-view: 1.0.17 @@ -5980,22 +5972,33 @@ packages: dependencies: '@babel/highlight': 7.18.6 + /@babel/code-frame/7.21.4: + resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.18.6 + /@babel/compat-data/7.20.1: resolution: {integrity: sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ==} engines: {node: '>=6.9.0'} + dev: false + + /@babel/compat-data/7.21.7: + resolution: {integrity: sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA==} + engines: {node: '>=6.9.0'} /@babel/core/7.12.9: resolution: {integrity: sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 - '@babel/generator': 7.20.5 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helpers': 7.20.6 - '@babel/parser': 7.20.5 - '@babel/template': 7.18.10 - '@babel/traverse': 7.20.5 - '@babel/types': 7.18.4 + '@babel/code-frame': 7.16.7 + '@babel/generator': 7.18.2 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helpers': 7.21.5 + '@babel/parser': 7.21.8 + '@babel/template': 7.16.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 convert-source-map: 1.8.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -6012,15 +6015,15 @@ packages: resolution: {integrity: sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 - '@babel/generator': 7.20.5 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.15.8 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helpers': 7.20.6 - '@babel/parser': 7.20.5 - '@babel/template': 7.18.10 - '@babel/traverse': 7.20.5 - '@babel/types': 7.18.4 + '@babel/code-frame': 7.16.7 + '@babel/generator': 7.18.2 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.15.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helpers': 7.21.5 + '@babel/parser': 7.21.8 + '@babel/template': 7.16.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 convert-source-map: 1.8.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -6031,72 +6034,72 @@ packages: - supports-color dev: false - /@babel/core/7.18.0: - resolution: {integrity: sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==} + /@babel/core/7.20.5: + resolution: {integrity: sha512-UdOWmk4pNWTm/4DlPUl/Pt4Gz4rcEMb7CY0Y3eJl5Yz1vI8ZJGmHWaVE55LoxRjdpx0z259GE9U5STA9atUinQ==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.0 '@babel/code-frame': 7.18.6 '@babel/generator': 7.20.5 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.18.0 + '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 '@babel/helper-module-transforms': 7.20.2 '@babel/helpers': 7.20.6 - '@babel/parser': 7.20.5 + '@babel/parser': 7.21.8 '@babel/template': 7.18.10 - '@babel/traverse': 7.20.5 - '@babel/types': 7.20.5 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 convert-source-map: 1.8.0 debug: 4.3.4 gensync: 1.0.0-beta.2 - json5: 2.2.3 + json5: 2.2.1 semver: 6.3.0 transitivePeerDependencies: - supports-color - /@babel/core/7.20.5: - resolution: {integrity: sha512-UdOWmk4pNWTm/4DlPUl/Pt4Gz4rcEMb7CY0Y3eJl5Yz1vI8ZJGmHWaVE55LoxRjdpx0z259GE9U5STA9atUinQ==} + /@babel/core/7.21.8: + resolution: {integrity: sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.0 - '@babel/code-frame': 7.18.6 - '@babel/generator': 7.20.5 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helpers': 7.20.6 - '@babel/parser': 7.20.5 - '@babel/template': 7.18.10 - '@babel/traverse': 7.20.5 - '@babel/types': 7.20.5 + '@babel/code-frame': 7.21.4 + '@babel/generator': 7.21.5 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.21.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helpers': 7.21.5 + '@babel/parser': 7.21.8 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 convert-source-map: 1.8.0 debug: 4.3.4 gensync: 1.0.0-beta.2 - json5: 2.2.1 + json5: 2.2.3 semver: 6.3.0 transitivePeerDependencies: - supports-color - /@babel/eslint-parser/7.18.2_ajivmgign6qnltueqq3ekylg5a: - resolution: {integrity: sha512-oFQYkE8SuH14+uR51JVAmdqwKYXGRjEXx7s+WiagVjqQ+HPE+nnwyF2qlVG8evUsUHmPcA+6YXMEDbIhEyQc5A==} + /@babel/eslint-parser/7.21.8_whiyj2ey2az5nrd4tnv3sqnwvu: + resolution: {integrity: sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: '@babel/core': '>=7.11.0' eslint: ^7.5.0 || ^8.0.0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 + '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 eslint: 8.28.0 - eslint-scope: 5.1.1 eslint-visitor-keys: 2.1.0 semver: 6.3.0 dev: false - /@babel/eslint-plugin/7.17.7_gdbdzwrinulroure7ge5oe64jq: - resolution: {integrity: sha512-JATUoJJXSgwI0T8juxWYtK1JSgoLpIGUsCHIv+NMXcUDA2vIe6nvAHR9vnuJgs/P1hOFw7vPwibixzfqBBLIVw==} + /@babel/eslint-plugin/7.19.1_dm5ijezn7ziqixzmyajtwr6sum: + resolution: {integrity: sha512-ElGPkQPapKMa3zVqXHkZYzuL7I5LbRw9UWBUArgWsdWDDb9XcACqOpBib5tRPA9XvbVZYrFUkoQPbiJ4BFvu4w==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: '@babel/eslint-parser': '>=7.11.0' eslint: '>=7.5.0' dependencies: - '@babel/eslint-parser': 7.18.2_ajivmgign6qnltueqq3ekylg5a + '@babel/eslint-parser': 7.21.8_whiyj2ey2az5nrd4tnv3sqnwvu eslint: 8.28.0 eslint-rule-composer: 0.3.0 dev: false @@ -6105,86 +6108,110 @@ packages: resolution: {integrity: sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 - dev: true /@babel/generator/7.20.5: resolution: {integrity: sha512-jl7JY2Ykn9S0yj4DQP82sYvPU+T3g0HFcWTqDLqiuA9tGRNIj9VfbtXGAYTTkyNEnQk1jkMGOdYka8aG/lulCA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 + '@jridgewell/gen-mapping': 0.3.2 + jsesc: 2.5.2 + + /@babel/generator/7.21.5: + resolution: {integrity: sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 '@jridgewell/gen-mapping': 0.3.2 + '@jridgewell/trace-mapping': 0.3.17 jsesc: 2.5.2 /@babel/helper-annotate-as-pure/7.16.7: resolution: {integrity: sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 - dev: true + '@babel/types': 7.21.5 /@babel/helper-annotate-as-pure/7.18.6: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 /@babel/helper-builder-binary-assignment-operator-visitor/7.18.6: resolution: {integrity: sha512-KT10c1oWEpmrIRYnthbzHgoOf6B+Xd6a5yhdbNtdhtG7aO1or5HViuf1TQR36xY/QprXA5nvxO6nAjhJ4y38jw==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-explode-assignable-expression': 7.18.6 - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 - /@babel/helper-compilation-targets/7.20.0: + /@babel/helper-compilation-targets/7.20.0_@babel+core@7.20.5: resolution: {integrity: sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.20.1 - '@babel/helper-validator-option': 7.18.6 + '@babel/compat-data': 7.21.7 + '@babel/core': 7.20.5 + '@babel/helper-validator-option': 7.21.0 + browserslist: 4.21.4 + semver: 6.3.0 + + /@babel/helper-compilation-targets/7.21.5: + resolution: {integrity: sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/compat-data': 7.21.7 + '@babel/helper-validator-option': 7.21.0 browserslist: 4.21.4 + lru-cache: 5.1.1 semver: 6.3.0 dev: false - /@babel/helper-compilation-targets/7.20.0_@babel+core@7.15.8: - resolution: {integrity: sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==} + /@babel/helper-compilation-targets/7.21.5_@babel+core@7.15.8: + resolution: {integrity: sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.20.1 + '@babel/compat-data': 7.21.7 '@babel/core': 7.15.8 - '@babel/helper-validator-option': 7.18.6 + '@babel/helper-validator-option': 7.21.0 browserslist: 4.21.4 + lru-cache: 5.1.1 semver: 6.3.0 dev: false - /@babel/helper-compilation-targets/7.20.0_@babel+core@7.18.0: - resolution: {integrity: sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==} + /@babel/helper-compilation-targets/7.21.5_@babel+core@7.20.5: + resolution: {integrity: sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.20.1 - '@babel/core': 7.18.0 - '@babel/helper-validator-option': 7.18.6 + '@babel/compat-data': 7.21.7 + '@babel/core': 7.20.5 + '@babel/helper-validator-option': 7.21.0 browserslist: 4.21.4 + lru-cache: 5.1.1 semver: 6.3.0 + dev: false - /@babel/helper-compilation-targets/7.20.0_@babel+core@7.20.5: - resolution: {integrity: sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==} + /@babel/helper-compilation-targets/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.20.1 - '@babel/core': 7.20.5 - '@babel/helper-validator-option': 7.18.6 + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-validator-option': 7.21.0 browserslist: 4.21.4 + lru-cache: 5.1.1 semver: 6.3.0 /@babel/helper-create-class-features-plugin/7.18.0_@babel+core@7.20.5: @@ -6205,68 +6232,98 @@ packages: - supports-color dev: true - /@babel/helper-create-class-features-plugin/7.18.6: + /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: + '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 '@babel/helper-member-expression-to-functions': 7.18.9 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-replace-supers': 7.19.1 + '@babel/helper-replace-supers': 7.21.5 '@babel/helper-split-export-declaration': 7.18.6 transitivePeerDependencies: - supports-color dev: false - /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.18.0: + /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.21.8: resolution: {integrity: sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 '@babel/helper-member-expression-to-functions': 7.18.9 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-replace-supers': 7.19.1 + '@babel/helper-replace-supers': 7.21.5 '@babel/helper-split-export-declaration': 7.18.6 transitivePeerDependencies: - supports-color - dev: true - /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==} + /@babel/helper-create-class-features-plugin/7.21.8: + resolution: {integrity: sha512-+THiN8MqiH2AczyuZrnrKL6cAxFRRQDKW9h1YkBvbgKmAm6mwiacig1qT73DHIWMGo40GRnsEfN3LA+E6NtmSw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-member-expression-to-functions': 7.21.5 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/helper-replace-supers': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/helper-split-export-declaration': 7.18.6 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: false + + /@babel/helper-create-class-features-plugin/7.21.8_@babel+core@7.20.5: + resolution: {integrity: sha512-+THiN8MqiH2AczyuZrnrKL6cAxFRRQDKW9h1YkBvbgKmAm6mwiacig1qT73DHIWMGo40GRnsEfN3LA+E6NtmSw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 - '@babel/helper-member-expression-to-functions': 7.18.9 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-member-expression-to-functions': 7.21.5 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-replace-supers': 7.19.1 + '@babel/helper-replace-supers': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 '@babel/helper-split-export-declaration': 7.18.6 + semver: 6.3.0 transitivePeerDependencies: - supports-color + dev: false - /@babel/helper-create-regexp-features-plugin/7.19.0_@babel+core@7.18.0: - resolution: {integrity: sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==} + /@babel/helper-create-class-features-plugin/7.21.8_@babel+core@7.21.8: + resolution: {integrity: sha512-+THiN8MqiH2AczyuZrnrKL6cAxFRRQDKW9h1YkBvbgKmAm6mwiacig1qT73DHIWMGo40GRnsEfN3LA+E6NtmSw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@babel/helper-annotate-as-pure': 7.18.6 - regexpu-core: 5.1.0 - dev: true + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-member-expression-to-functions': 7.21.5 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/helper-replace-supers': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/helper-split-export-declaration': 7.18.6 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color /@babel/helper-create-regexp-features-plugin/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==} @@ -6279,16 +6336,49 @@ packages: regexpu-core: 5.1.0 dev: false - /@babel/helper-define-polyfill-provider/0.1.5_@babel+core@7.20.5: + /@babel/helper-create-regexp-features-plugin/7.19.0_@babel+core@7.21.8: + resolution: {integrity: sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + regexpu-core: 5.1.0 + + /@babel/helper-create-regexp-features-plugin/7.21.8_@babel+core@7.20.5: + resolution: {integrity: sha512-zGuSdedkFtsFHGbexAvNuipg1hbtitDLo2XE8/uf6Y9sOQV1xsYX/2pNbtedp/X0eU1pIt+kGvaqHCowkRbS5g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.20.5 + '@babel/helper-annotate-as-pure': 7.18.6 + regexpu-core: 5.3.2 + semver: 6.3.0 + dev: false + + /@babel/helper-create-regexp-features-plugin/7.21.8_@babel+core@7.21.8: + resolution: {integrity: sha512-zGuSdedkFtsFHGbexAvNuipg1hbtitDLo2XE8/uf6Y9sOQV1xsYX/2pNbtedp/X0eU1pIt+kGvaqHCowkRbS5g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + regexpu-core: 5.3.2 + semver: 6.3.0 + + /@babel/helper-define-polyfill-provider/0.1.5_@babel+core@7.21.8: resolution: {integrity: sha512-nXuzCSwlJ/WKr8qxzW816gwyT6VZgiJG17zR40fou70yfAcqjoNyTLl/DQ+FExw5Hx5KNqshmN8Ldl/r2N7cTg==} peerDependencies: '@babel/core': ^7.4.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 - '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/traverse': 7.20.5 + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.21.8 + '@babel/helper-module-imports': 7.16.7 + '@babel/helper-plugin-utils': 7.17.12 + '@babel/traverse': 7.21.5 debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 @@ -6302,8 +6392,8 @@ packages: peerDependencies: '@babel/core': ^7.4.0-0 dependencies: - '@babel/helper-compilation-targets': 7.20.0 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-compilation-targets': 7.21.5 + '@babel/helper-plugin-utils': 7.17.12 debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 @@ -6312,92 +6402,129 @@ packages: - supports-color dev: false - /@babel/helper-define-polyfill-provider/0.3.3_@babel+core@7.18.0: + /@babel/helper-define-polyfill-provider/0.3.3_@babel+core@7.20.5: resolution: {integrity: sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==} peerDependencies: '@babel/core': ^7.4.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.20.5 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.17.12 debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 semver: 6.3.0 transitivePeerDependencies: - supports-color - dev: true + dev: false - /@babel/helper-define-polyfill-provider/0.3.3_@babel+core@7.20.5: + /@babel/helper-define-polyfill-provider/0.3.3_@babel+core@7.21.8: resolution: {integrity: sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==} peerDependencies: '@babel/core': ^7.4.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.17.12 debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 semver: 6.3.0 transitivePeerDependencies: - supports-color - dev: false /@babel/helper-environment-visitor/7.18.9: resolution: {integrity: sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==} engines: {node: '>=6.9.0'} + /@babel/helper-environment-visitor/7.21.5: + resolution: {integrity: sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ==} + engines: {node: '>=6.9.0'} + /@babel/helper-explode-assignable-expression/7.18.6: resolution: {integrity: sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 /@babel/helper-function-name/7.19.0: resolution: {integrity: sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.18.10 - '@babel/types': 7.20.5 + '@babel/template': 7.20.7 + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-function-name/7.21.0: + resolution: {integrity: sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.20.7 + '@babel/types': 7.21.5 /@babel/helper-hoist-variables/7.18.6: resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 /@babel/helper-member-expression-to-functions/7.18.9: resolution: {integrity: sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 + + /@babel/helper-member-expression-to-functions/7.21.5: + resolution: {integrity: sha512-nIcGfgwpH2u4n9GG1HpStW5Ogx7x7ekiFHbjjFRKXbn5zUvqO9ZgotCO4x1aNbKn/x/xOUaXEhyNHCwtFCpxWg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 /@babel/helper-module-imports/7.16.7: resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 - dev: true + '@babel/types': 7.21.5 /@babel/helper-module-imports/7.18.6: resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 + + /@babel/helper-module-imports/7.21.4: + resolution: {integrity: sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 /@babel/helper-module-transforms/7.20.2: resolution: {integrity: sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-module-imports': 7.18.6 - '@babel/helper-simple-access': 7.20.2 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-simple-access': 7.21.5 '@babel/helper-split-export-declaration': 7.18.6 '@babel/helper-validator-identifier': 7.19.1 - '@babel/template': 7.18.10 - '@babel/traverse': 7.20.5 - '@babel/types': 7.20.5 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + + /@babel/helper-module-transforms/7.21.5: + resolution: {integrity: sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-simple-access': 7.21.5 + '@babel/helper-split-export-declaration': 7.18.6 + '@babel/helper-validator-identifier': 7.19.1 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 transitivePeerDependencies: - supports-color @@ -6405,7 +6532,7 @@ packages: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 /@babel/helper-plugin-utils/7.10.4: resolution: {integrity: sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==} @@ -6419,45 +6546,62 @@ packages: resolution: {integrity: sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==} engines: {node: '>=6.9.0'} - /@babel/helper-remap-async-to-generator/7.18.9_@babel+core@7.18.0: + /@babel/helper-plugin-utils/7.21.5: + resolution: {integrity: sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg==} + engines: {node: '>=6.9.0'} + + /@babel/helper-remap-async-to-generator/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-environment-visitor': 7.21.5 '@babel/helper-wrap-function': 7.19.0 - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 transitivePeerDependencies: - supports-color - dev: true + dev: false - /@babel/helper-remap-async-to-generator/7.18.9_@babel+core@7.20.5: + /@babel/helper-remap-async-to-generator/7.18.9_@babel+core@7.21.8: resolution: {integrity: sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-environment-visitor': 7.21.5 '@babel/helper-wrap-function': 7.19.0 - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 transitivePeerDependencies: - supports-color - dev: false /@babel/helper-replace-supers/7.19.1: resolution: {integrity: sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-member-expression-to-functions': 7.18.9 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-member-expression-to-functions': 7.21.5 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/traverse': 7.20.5 - '@babel/types': 7.20.5 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helper-replace-supers/7.21.5: + resolution: {integrity: sha512-/y7vBgsr9Idu4M6MprbOVUfH3vs7tsIfnVWv/Ml2xgwvyH6LTngdfbf5AdsKwkJy4zgy1X/kuNrEKvhhK28Yrg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-member-expression-to-functions': 7.21.5 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 transitivePeerDependencies: - supports-color @@ -6465,22 +6609,28 @@ packages: resolution: {integrity: sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 + + /@babel/helper-simple-access/7.21.5: + resolution: {integrity: sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 /@babel/helper-skip-transparent-expression-wrappers/7.20.0: resolution: {integrity: sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 /@babel/helper-split-export-declaration/7.18.6: resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 - /@babel/helper-string-parser/7.19.4: - resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} + /@babel/helper-string-parser/7.21.5: + resolution: {integrity: sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==} engines: {node: '>=6.9.0'} /@babel/helper-validator-identifier/7.16.7: @@ -6494,15 +6644,20 @@ packages: /@babel/helper-validator-option/7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} engines: {node: '>=6.9.0'} + dev: false + + /@babel/helper-validator-option/7.21.0: + resolution: {integrity: sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==} + engines: {node: '>=6.9.0'} /@babel/helper-wrap-function/7.19.0: resolution: {integrity: sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-function-name': 7.19.0 - '@babel/template': 7.18.10 - '@babel/traverse': 7.20.5 - '@babel/types': 7.20.5 + '@babel/helper-function-name': 7.21.0 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 transitivePeerDependencies: - supports-color @@ -6510,9 +6665,19 @@ packages: resolution: {integrity: sha512-Pf/OjgfgFRW5bApskEz5pvidpim7tEDPlFtKcNRXWmfHGn9IEI2W2flqRQXTFb7gIPTyK++N6rVHuwKut4XK6w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.18.10 - '@babel/traverse': 7.20.5 - '@babel/types': 7.20.5 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + + /@babel/helpers/7.21.5: + resolution: {integrity: sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 transitivePeerDependencies: - supports-color @@ -6536,24 +6701,15 @@ packages: resolution: {integrity: sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==} engines: {node: '>=6.0.0'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 dev: true - /@babel/parser/7.20.5: - resolution: {integrity: sha512-r27t/cy/m9uKLXQNWWebeCUHgnAZq0CpG1OwKRxzJMP1vpSU4bSIK2hq+/cp0bQxetkXx38n09rNu8jVkcK/zA==} + /@babel/parser/7.21.8: + resolution: {integrity: sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==} engines: {node: '>=6.0.0'} + hasBin: true dependencies: - '@babel/types': 7.20.5 - - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/types': 7.21.5 /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==} @@ -6562,20 +6718,17 @@ packages: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==} + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': ^7.13.0 + '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - '@babel/plugin-proposal-optional-chaining': 7.18.9_@babel+core@7.18.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==} @@ -6584,25 +6737,21 @@ packages: '@babel/core': ^7.13.0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - '@babel/plugin-proposal-optional-chaining': 7.18.9_@babel+core@7.20.5 + '@babel/plugin-proposal-optional-chaining': 7.21.0_@babel+core@7.20.5 dev: false - /@babel/plugin-proposal-async-generator-functions/7.20.1_@babel+core@7.18.0: - resolution: {integrity: sha512-Gh5rchzSwE4kC+o/6T8waD0WHEQIsDmjltY8WnWRXHUdH8axZhuH86Ov9M72YhJfDrZseQwuuWaaIT/TmePp3g==} + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/7.20.7_@babel+core@7.21.8: + resolution: {integrity: sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': ^7.0.0-0 + '@babel/core': ^7.13.0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-remap-async-to-generator': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.18.0 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-proposal-optional-chaining': 7.21.0_@babel+core@7.21.8 /@babel/plugin-proposal-async-generator-functions/7.20.1_@babel+core@7.20.5: resolution: {integrity: sha512-Gh5rchzSwE4kC+o/6T8waD0WHEQIsDmjltY8WnWRXHUdH8axZhuH86Ov9M72YhJfDrZseQwuuWaaIT/TmePp3g==} @@ -6611,26 +6760,27 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-remap-async-to-generator': 7.18.9_@babel+core@7.20.5 '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.20.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-proposal-class-properties/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} + /@babel/plugin-proposal-async-generator-functions/7.20.7_@babel+core@7.21.8: + resolution: {integrity: sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-remap-async-to-generator': 7.18.9_@babel+core@7.21.8 + '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.21.8 transitivePeerDependencies: - supports-color - dev: true /@babel/plugin-proposal-class-properties/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} @@ -6640,24 +6790,22 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-proposal-class-static-block/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==} + /@babel/plugin-proposal-class-properties/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': ^7.12.0 + '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-class-static-block': 7.14.5_@babel+core@7.18.0 + '@babel/core': 7.21.8 + '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 transitivePeerDependencies: - supports-color - dev: true /@babel/plugin-proposal-class-static-block/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==} @@ -6666,13 +6814,26 @@ packages: '@babel/core': ^7.12.0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-class-static-block': 7.14.5_@babel+core@7.20.5 transitivePeerDependencies: - supports-color dev: false + /@babel/plugin-proposal-class-static-block/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.12.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-class-static-block': 7.14.5_@babel+core@7.21.8 + transitivePeerDependencies: + - supports-color + /@babel/plugin-proposal-decorators/7.18.2_@babel+core@7.20.5: resolution: {integrity: sha512-kbDISufFOxeczi0v4NQP3p5kIeW6izn/6klfWBrIIdGZZe4UpHR+QU03FAoWjGGd9SUXAwbw2pup1kaL4OQsJQ==} engines: {node: '>=6.9.0'} @@ -6690,43 +6851,42 @@ packages: - supports-color dev: true - /@babel/plugin-proposal-decorators/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-gAdhsjaYmiZVxx5vTMiRfj31nB7LhwBJFMSLzeDxc7X4tKLixup0+k9ughn0RcpBrv9E3PBaXJW7jF5TCihAOg==} + /@babel/plugin-proposal-decorators/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-MfgX49uRrFUTL/HvWtmx3zmpyzMMr4MTj3d527MLlr/4RTT9G/ytFFP7qet2uM2Ve03b+BkpWUpK+lRXnQ+v9w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-replace-supers': 7.19.1 + '@babel/core': 7.21.8 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-replace-supers': 7.21.5 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/plugin-syntax-decorators': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-syntax-decorators': 7.21.0_@babel+core@7.21.8 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-proposal-dynamic-import/7.18.6_@babel+core@7.18.0: + /@babel/plugin-proposal-dynamic-import/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.18.0 - dev: true + '@babel/core': 7.20.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.20.5 + dev: false - /@babel/plugin-proposal-dynamic-import/7.18.6_@babel+core@7.20.5: + /@babel/plugin-proposal-dynamic-import/7.18.6_@babel+core@7.21.8: resolution: {integrity: sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.20.5 - dev: false + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.21.8 /@babel/plugin-proposal-export-default-from/7.17.12_@babel+core@7.20.5: resolution: {integrity: sha512-LpsTRw725eBAXXKUOnJJct+SEaOzwR78zahcLuripD2+dKc2Sj+8Q2DzA+GC/jOpOu/KlDXuxrzG214o1zTauQ==} @@ -6739,28 +6899,17 @@ packages: '@babel/plugin-syntax-export-default-from': 7.18.6_@babel+core@7.20.5 dev: true - /@babel/plugin-proposal-export-default-from/7.18.6_@babel+core@7.20.5: + /@babel/plugin-proposal-export-default-from/7.18.6_@babel+core@7.21.8: resolution: {integrity: sha512-oTvzWB16T9cB4j5kX8c8DuUHo/4QtR2P9vnUNKed9xqFP8Jos/IRniz1FiIryn6luDYoltDJSYF7RCpbm2doMg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-export-default-from': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-export-default-from': 7.18.6_@babel+core@7.21.8 dev: false - /@babel/plugin-proposal-export-namespace-from/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.18.0 - dev: true - /@babel/plugin-proposal-export-namespace-from/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==} engines: {node: '>=6.9.0'} @@ -6768,20 +6917,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.20.5 dev: false - /@babel/plugin-proposal-json-strings/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==} + /@babel/plugin-proposal-export-namespace-from/7.18.9_@babel+core@7.21.8: + resolution: {integrity: sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.18.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.21.8 /@babel/plugin-proposal-json-strings/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==} @@ -6790,20 +6938,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.20.5 dev: false - /@babel/plugin-proposal-logical-assignment-operators/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==} + /@babel/plugin-proposal-json-strings/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.18.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.21.8 /@babel/plugin-proposal-logical-assignment-operators/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==} @@ -6812,20 +6959,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.20.5 dev: false - /@babel/plugin-proposal-nullish-coalescing-operator/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==} + /@babel/plugin-proposal-logical-assignment-operators/7.20.7_@babel+core@7.21.8: + resolution: {integrity: sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.18.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.21.8 /@babel/plugin-proposal-nullish-coalescing-operator/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==} @@ -6834,20 +6980,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.20.5 dev: false - /@babel/plugin-proposal-numeric-separator/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} + /@babel/plugin-proposal-nullish-coalescing-operator/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.18.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.21.8 /@babel/plugin-proposal-numeric-separator/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} @@ -6856,59 +7001,57 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.20.5 dev: false + /@babel/plugin-proposal-numeric-separator/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.21.8 + /@babel/plugin-proposal-object-rest-spread/7.12.1_@babel+core@7.12.9: resolution: {integrity: sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.12.9 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.17.12 '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.12.9 - '@babel/plugin-transform-parameters': 7.20.3_@babel+core@7.12.9 + '@babel/plugin-transform-parameters': 7.21.3_@babel+core@7.12.9 dev: false - /@babel/plugin-proposal-object-rest-spread/7.20.2_@babel+core@7.18.0: - resolution: {integrity: sha512-Ks6uej9WFK+fvIMesSqbAto5dD8Dz4VuuFvGJFKgIGSkJuRGcrwGECPA1fDgQK3/DbExBJpEkTeYeB8geIFCSQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/compat-data': 7.20.1 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-transform-parameters': 7.20.3_@babel+core@7.18.0 - dev: true - /@babel/plugin-proposal-object-rest-spread/7.20.2_@babel+core@7.20.5: resolution: {integrity: sha512-Ks6uej9WFK+fvIMesSqbAto5dD8Dz4VuuFvGJFKgIGSkJuRGcrwGECPA1fDgQK3/DbExBJpEkTeYeB8geIFCSQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/compat-data': 7.20.1 + '@babel/compat-data': 7.21.7 '@babel/core': 7.20.5 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-transform-parameters': 7.20.3_@babel+core@7.20.5 + '@babel/plugin-transform-parameters': 7.21.3_@babel+core@7.20.5 dev: false - /@babel/plugin-proposal-optional-catch-binding/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==} + /@babel/plugin-proposal-object-rest-spread/7.20.7_@babel+core@7.21.8: + resolution: {integrity: sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.18.0 - dev: true + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-transform-parameters': 7.21.3_@babel+core@7.21.8 /@babel/plugin-proposal-optional-catch-binding/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==} @@ -6917,21 +7060,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.20.5 dev: false - /@babel/plugin-proposal-optional-chaining/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==} + /@babel/plugin-proposal-optional-catch-binding/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.18.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.21.8 /@babel/plugin-proposal-optional-chaining/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==} @@ -6940,11 +7081,34 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.20.5 dev: false + /@babel/plugin-proposal-optional-chaining/7.21.0_@babel+core@7.20.5: + resolution: {integrity: sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.20.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.20.5 + dev: false + + /@babel/plugin-proposal-optional-chaining/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.21.8 + /@babel/plugin-proposal-partial-application/7.17.12_@babel+core@7.20.5: resolution: {integrity: sha512-Qo0Z+5V4+b+wFlhk6GNSOK3zBUR3Yz4S7JZrqOw1MuLfANONu+d2Wuy2l8SdJiGzvdk++LECoKWtA/OwaLIO/g==} engines: {node: '>=6.9.0'} @@ -6967,19 +7131,6 @@ packages: '@babel/plugin-syntax-pipeline-operator': 7.18.6_@babel+core@7.20.5 dev: true - /@babel/plugin-proposal-private-methods/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/plugin-proposal-private-methods/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==} engines: {node: '>=6.9.0'} @@ -6987,26 +7138,23 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.21.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-proposal-private-property-in-object/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==} + /@babel/plugin-proposal-private-methods/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-private-property-in-object': 7.14.5_@babel+core@7.18.0 + '@babel/core': 7.21.8 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 transitivePeerDependencies: - supports-color - dev: true /@babel/plugin-proposal-private-property-in-object/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==} @@ -7016,23 +7164,26 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.21.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5_@babel+core@7.20.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-proposal-unicode-property-regex/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==} - engines: {node: '>=4'} + /@babel/plugin-proposal-private-property-in-object/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-private-property-in-object': 7.14.5_@babel+core@7.21.8 + transitivePeerDependencies: + - supports-color /@babel/plugin-proposal-unicode-property-regex/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==} @@ -7042,17 +7193,18 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.18.0: - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} + /@babel/plugin-proposal-unicode-property-regex/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==} + engines: {node: '>=4'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.20.5: resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} @@ -7061,23 +7213,23 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.20.5: - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} + /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.21.8: + resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 - /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.18.0: - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.21.8: + resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@babel/helper-plugin-utils': 7.17.12 - dev: true /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.20.5: resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} @@ -7086,16 +7238,15 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-class-static-block/7.14.5_@babel+core@7.18.0: - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.21.8: + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@babel/helper-plugin-utils': 7.17.12 - dev: true /@babel/plugin-syntax-class-static-block/7.14.5_@babel+core@7.20.5: resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} @@ -7107,6 +7258,15 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: false + /@babel/plugin-syntax-class-static-block/7.14.5_@babel+core@7.21.8: + resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 + /@babel/plugin-syntax-decorators/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-fqyLgjcxf/1yhyZ6A+yo1u9gJ7eleFQod2lkaUsF9DQ7sbbY3Ligym3L0+I2c0WmqNKDpoD9UTb1AKP3qRMOAQ==} engines: {node: '>=6.9.0'} @@ -7114,16 +7274,18 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 + dev: true - /@babel/plugin-syntax-dynamic-import/7.8.3_@babel+core@7.18.0: - resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} + /@babel/plugin-syntax-decorators/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-tIoPpGBR8UuM4++ccWN3gifhVvQu7ZizuR1fklhRJrd5ewgbkUS+0KVFeWWxELtn18NTLoW32XV7zyOgIAiz+w==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: false /@babel/plugin-syntax-dynamic-import/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} @@ -7131,9 +7293,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.17.12 dev: false + /@babel/plugin-syntax-dynamic-import/7.8.3_@babel+core@7.21.8: + resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 + /@babel/plugin-syntax-export-default-from/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew==} engines: {node: '>=6.9.0'} @@ -7141,16 +7311,18 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 + dev: true - /@babel/plugin-syntax-export-namespace-from/7.8.3_@babel+core@7.18.0: - resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} + /@babel/plugin-syntax-export-default-from/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: false /@babel/plugin-syntax-export-namespace-from/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} @@ -7161,60 +7333,67 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: false - /@babel/plugin-syntax-flow/7.18.6_@babel+core@7.20.5: + /@babel/plugin-syntax-export-namespace-from/7.8.3_@babel+core@7.21.8: + resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 + + /@babel/plugin-syntax-flow/7.18.6_@babel+core@7.21.8: resolution: {integrity: sha512-LUbR+KNTBWCUAqRG9ex5Gnzu2IOkt8jRJbHHXFT9q+L9zm7M/QQbEqXyw1n1pohYvOyWC8CjeyjrSaIwiYjK7A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-syntax-import-assertions/7.20.0_@babel+core@7.18.0: + /@babel/plugin-syntax-import-assertions/7.20.0_@babel+core@7.20.5: resolution: {integrity: sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.20.5 + '@babel/helper-plugin-utils': 7.21.5 + dev: false - /@babel/plugin-syntax-import-assertions/7.20.0_@babel+core@7.20.5: + /@babel/plugin-syntax-import-assertions/7.20.0_@babel+core@7.21.8: resolution: {integrity: sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - dev: false + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 - /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.20.5: + /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.21.8: resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 - /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.18.0: + /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.20.5 + '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.20.5: + /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.21.8: resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 /@babel/plugin-syntax-jsx/7.12.1_@babel+core@7.12.9: resolution: {integrity: sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==} @@ -7222,35 +7401,36 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.12.9 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.17.12 dev: false - /@babel/plugin-syntax-jsx/7.18.6: - resolution: {integrity: sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==} + /@babel/plugin-syntax-jsx/7.21.4: + resolution: {integrity: sha512-5hewiLct5OKyh6PLKEYaFclcqtIgCb6bmELouxjF6up5q3Sov7rOayW4RwhbaBL0dit8rA80GNfY+UuDp2mBbQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-syntax-jsx/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==} + /@babel/plugin-syntax-jsx/7.21.4_@babel+core@7.20.5: + resolution: {integrity: sha512-5hewiLct5OKyh6PLKEYaFclcqtIgCb6bmELouxjF6up5q3Sov7rOayW4RwhbaBL0dit8rA80GNfY+UuDp2mBbQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 + dev: false - /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.18.0: - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} + /@babel/plugin-syntax-jsx/7.21.4_@babel+core@7.21.8: + resolution: {integrity: sha512-5hewiLct5OKyh6PLKEYaFclcqtIgCb6bmELouxjF6up5q3Sov7rOayW4RwhbaBL0dit8rA80GNfY+UuDp2mBbQ==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.20.5: resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} @@ -7259,15 +7439,15 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.18.0: - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} + /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.21.8: + resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@babel/helper-plugin-utils': 7.17.12 - dev: true /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} @@ -7276,15 +7456,15 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.18.0: - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.21.8: + resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@babel/helper-plugin-utils': 7.17.12 - dev: true /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.20.5: resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} @@ -7293,24 +7473,24 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.12.9: - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.21.8: + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.12.9 + '@babel/core': 7.21.8 '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.18.0: + /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.12.9: resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.12.9 '@babel/helper-plugin-utils': 7.17.12 - dev: true + dev: false /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} @@ -7319,15 +7499,15 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.18.0: - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} + /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.21.8: + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} @@ -7335,16 +7515,16 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.18.0: - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.21.8: + resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.21.8 '@babel/helper-plugin-utils': 7.17.12 - dev: true /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} @@ -7353,6 +7533,15 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 + dev: false + + /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.21.8: + resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 /@babel/plugin-syntax-partial-application/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-jEy7lXLt01S/Hp3egTsiqNaeCH+n38iMm33dJ158Cr9JdCef/qR3GB3FrEB6+n7UpmlJ8StiV6Y7aXnjfyBs9w==} @@ -7361,7 +7550,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: true /@babel/plugin-syntax-pipeline-operator/7.18.6_@babel+core@7.20.5: @@ -7371,75 +7560,74 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: true - /@babel/plugin-syntax-private-property-in-object/7.14.5_@babel+core@7.18.0: + /@babel/plugin-syntax-private-property-in-object/7.14.5_@babel+core@7.20.5: resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.20.5 + '@babel/helper-plugin-utils': 7.17.12 + dev: false - /@babel/plugin-syntax-private-property-in-object/7.14.5_@babel+core@7.20.5: + /@babel/plugin-syntax-private-property-in-object/7.14.5_@babel+core@7.21.8: resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - dev: false + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 - /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.18.0: + /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.20.5: resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.17.12 - dev: true + dev: false - /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.20.5: + /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.21.8: resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@babel/helper-plugin-utils': 7.17.12 - /@babel/plugin-syntax-typescript/7.18.6: - resolution: {integrity: sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==} + /@babel/plugin-syntax-typescript/7.21.4: + resolution: {integrity: sha512-xz0D39NvhQn4t4RNsHmDnnsaQizIlUkdtYvLs8La1BlfjQ6JEwxkJGeqJMW2tAXx+q6H+WFuUTXNdYVpEya0YA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-syntax-typescript/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==} + /@babel/plugin-syntax-typescript/7.21.4_@babel+core@7.20.5: + resolution: {integrity: sha512-xz0D39NvhQn4t4RNsHmDnnsaQizIlUkdtYvLs8La1BlfjQ6JEwxkJGeqJMW2tAXx+q6H+WFuUTXNdYVpEya0YA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 + dev: false - /@babel/plugin-transform-arrow-functions/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==} + /@babel/plugin-syntax-typescript/7.21.4_@babel+core@7.21.8: + resolution: {integrity: sha512-xz0D39NvhQn4t4RNsHmDnnsaQizIlUkdtYvLs8La1BlfjQ6JEwxkJGeqJMW2tAXx+q6H+WFuUTXNdYVpEya0YA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-arrow-functions/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==} @@ -7448,22 +7636,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-async-to-generator/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==} + /@babel/plugin-transform-arrow-functions/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-wb1mhwGOCaXHDTcsRYMKF9e5bbMgqwxtqa2Y1ifH96dXJPwbuLX9qHy3clhrxVqgMz7nyNXs8VkxdH8UBcjKqA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-remap-async-to-generator': 7.18.9_@babel+core@7.18.0 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-async-to-generator/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==} @@ -7472,22 +7655,25 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-remap-async-to-generator': 7.18.9_@babel+core@7.20.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-transform-block-scoped-functions/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==} + /@babel/plugin-transform-async-to-generator/7.20.7_@babel+core@7.21.8: + resolution: {integrity: sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-remap-async-to-generator': 7.18.9_@babel+core@7.21.8 + transitivePeerDependencies: + - supports-color /@babel/plugin-transform-block-scoped-functions/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==} @@ -7496,18 +7682,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-block-scoping/7.20.2_@babel+core@7.18.0: - resolution: {integrity: sha512-y5V15+04ry69OV2wULmwhEA6jwSWXO1TwAtIwiPXcvHcoOQUqpyMVd2bDsQJMW8AurjulIyUV8kDqtjSwHy1uQ==} + /@babel/plugin-transform-block-scoped-functions/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-block-scoping/7.20.2_@babel+core@7.20.5: resolution: {integrity: sha512-y5V15+04ry69OV2wULmwhEA6jwSWXO1TwAtIwiPXcvHcoOQUqpyMVd2bDsQJMW8AurjulIyUV8kDqtjSwHy1uQ==} @@ -7516,58 +7701,57 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-classes/7.20.2_@babel+core@7.18.0: - resolution: {integrity: sha512-9rbPp0lCVVoagvtEyQKSo5L8oo0nQS/iif+lwlAz29MccX2642vWDlSZK+2T2buxbopotId2ld7zZAzRfz9j1g==} + /@babel/plugin-transform-block-scoping/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + + /@babel/plugin-transform-classes/7.21.0_@babel+core@7.20.5: + resolution: {integrity: sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.18.0 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.20.5 '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 + '@babel/helper-function-name': 7.21.0 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-replace-supers': 7.19.1 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-replace-supers': 7.21.5 '@babel/helper-split-export-declaration': 7.18.6 globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: true + dev: false - /@babel/plugin-transform-classes/7.20.2_@babel+core@7.20.5: - resolution: {integrity: sha512-9rbPp0lCVVoagvtEyQKSo5L8oo0nQS/iif+lwlAz29MccX2642vWDlSZK+2T2buxbopotId2ld7zZAzRfz9j1g==} + /@babel/plugin-transform-classes/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.21.8 '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 + '@babel/helper-function-name': 7.21.0 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-replace-supers': 7.19.1 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-replace-supers': 7.21.5 '@babel/helper-split-export-declaration': 7.18.6 globals: 11.12.0 transitivePeerDependencies: - supports-color - /@babel/plugin-transform-computed-properties/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - /@babel/plugin-transform-computed-properties/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==} engines: {node: '>=6.9.0'} @@ -7575,18 +7759,18 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-destructuring/7.20.2_@babel+core@7.18.0: - resolution: {integrity: sha512-mENM+ZHrvEgxLTBXUiQ621rRXZes3KWUv6NdQlrnr1TkWVw+hUjQBZuP2X32qKlrlG2BzgR95gkuCRSkJl8vIw==} + /@babel/plugin-transform-computed-properties/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-TR653Ki3pAwxBxUe8srfF3e4Pe3FTA46uaNHYyQwIoM4oWKSoOZiDNyHJ0oIoDIUPSRQbQG7jzgVBX3FPVne1Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/template': 7.20.7 /@babel/plugin-transform-destructuring/7.20.2_@babel+core@7.20.5: resolution: {integrity: sha512-mENM+ZHrvEgxLTBXUiQ621rRXZes3KWUv6NdQlrnr1TkWVw+hUjQBZuP2X32qKlrlG2BzgR95gkuCRSkJl8vIw==} @@ -7595,19 +7779,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-dotall-regex/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==} + /@babel/plugin-transform-destructuring/7.21.3_@babel+core@7.21.8: + resolution: {integrity: sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-dotall-regex/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==} @@ -7617,18 +7799,18 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-duplicate-keys/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==} + /@babel/plugin-transform-dotall-regex/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-duplicate-keys/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==} @@ -7637,19 +7819,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-exponentiation-operator/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==} + /@babel/plugin-transform-duplicate-keys/7.18.9_@babel+core@7.21.8: + resolution: {integrity: sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-exponentiation-operator/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==} @@ -7659,29 +7839,29 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-flow-strip-types/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-wE0xtA7csz+hw4fKPwxmu5jnzAsXPIO57XnRwzXP3T19jWh1BODnPGoG9xKYwvAwusP7iUktHayRFbMPGtODaQ==} + /@babel/plugin-transform-exponentiation-operator/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.20.5 - dev: false + '@babel/core': 7.21.8 + '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.6 + '@babel/helper-plugin-utils': 7.21.5 - /@babel/plugin-transform-for-of/7.18.8_@babel+core@7.18.0: - resolution: {integrity: sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==} + /@babel/plugin-transform-flow-strip-types/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-wE0xtA7csz+hw4fKPwxmu5jnzAsXPIO57XnRwzXP3T19jWh1BODnPGoG9xKYwvAwusP7iUktHayRFbMPGtODaQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.21.8 + dev: false /@babel/plugin-transform-for-of/7.18.8_@babel+core@7.20.5: resolution: {integrity: sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==} @@ -7690,20 +7870,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-function-name/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==} + /@babel/plugin-transform-for-of/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-nYWpjKW/7j/I/mZkGVgHJXh4bA1sfdFnJoOXwJuj4m3Q2EraO/8ZyrkCau9P5tbHQk01RMSt6KYLCsW7730SXQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.18.0 - '@babel/helper-function-name': 7.19.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-function-name/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==} @@ -7712,20 +7889,21 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 - '@babel/helper-function-name': 7.19.0 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.20.5 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-literals/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==} + /@babel/plugin-transform-function-name/7.18.9_@babel+core@7.21.8: + resolution: {integrity: sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.21.8 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-literals/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==} @@ -7734,18 +7912,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-member-expression-literals/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==} + /@babel/plugin-transform-literals/7.18.9_@babel+core@7.21.8: + resolution: {integrity: sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-member-expression-literals/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==} @@ -7754,21 +7931,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-modules-amd/7.19.6_@babel+core@7.18.0: - resolution: {integrity: sha512-uG3od2mXvAtIFQIh0xrpLH6r5fpSQN04gIVovl+ODLdUMANokxQLZnPBHcjmv3GxRjnqwLuHvppjjcelqUFZvg==} + /@babel/plugin-transform-member-expression-literals/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helper-plugin-utils': 7.20.2 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-modules-amd/7.19.6_@babel+core@7.20.5: resolution: {integrity: sha512-uG3od2mXvAtIFQIh0xrpLH6r5fpSQN04gIVovl+ODLdUMANokxQLZnPBHcjmv3GxRjnqwLuHvppjjcelqUFZvg==} @@ -7777,25 +7950,23 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-transform-modules-commonjs/7.19.6_@babel+core@7.18.0: - resolution: {integrity: sha512-8PIa1ym4XRTKuSsOUXqDG0YaOlEuTVvHMe5JCfgBMOtHvJKw/4NGovEGN33viISshG/rZNVrACiBmPQLvWN8xQ==} + /@babel/plugin-transform-modules-amd/7.20.11_@babel+core@7.21.8: + resolution: {integrity: sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-simple-access': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 transitivePeerDependencies: - supports-color - dev: true /@babel/plugin-transform-modules-commonjs/7.19.6_@babel+core@7.20.5: resolution: {integrity: sha512-8PIa1ym4XRTKuSsOUXqDG0YaOlEuTVvHMe5JCfgBMOtHvJKw/4NGovEGN33viISshG/rZNVrACiBmPQLvWN8xQ==} @@ -7810,20 +7981,31 @@ packages: transitivePeerDependencies: - supports-color - /@babel/plugin-transform-modules-systemjs/7.19.6_@babel+core@7.18.0: - resolution: {integrity: sha512-fqGLBepcc3kErfR9R3DnVpURmckXP7gj7bAlrTQyBxrigFqszZCkFkcoxzCp2v32XmwXLvbw+8Yq9/b+QqksjQ==} + /@babel/plugin-transform-modules-commonjs/7.21.5: + resolution: {integrity: sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-hoist-variables': 7.18.6 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-validator-identifier': 7.19.1 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-simple-access': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: false + + /@babel/plugin-transform-modules-commonjs/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-simple-access': 7.21.5 transitivePeerDependencies: - supports-color - dev: true /@babel/plugin-transform-modules-systemjs/7.19.6_@babel+core@7.20.5: resolution: {integrity: sha512-fqGLBepcc3kErfR9R3DnVpURmckXP7gj7bAlrTQyBxrigFqszZCkFkcoxzCp2v32XmwXLvbw+8Yq9/b+QqksjQ==} @@ -7833,25 +8015,26 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-hoist-variables': 7.18.6 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-validator-identifier': 7.19.1 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-transform-modules-umd/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==} + /@babel/plugin-transform-modules-systemjs/7.20.11_@babel+core@7.21.8: + resolution: {integrity: sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.21.8 + '@babel/helper-hoist-variables': 7.18.6 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-identifier': 7.19.1 transitivePeerDependencies: - supports-color - dev: true /@babel/plugin-transform-modules-umd/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==} @@ -7860,22 +8043,23 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-module-transforms': 7.20.2 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-transform-named-capturing-groups-regex/7.19.1_@babel+core@7.18.0: - resolution: {integrity: sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw==} + /@babel/plugin-transform-modules-umd/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': ^7.0.0 + '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + transitivePeerDependencies: + - supports-color /@babel/plugin-transform-named-capturing-groups-regex/7.19.1_@babel+core@7.20.5: resolution: {integrity: sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw==} @@ -7884,19 +8068,19 @@ packages: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-create-regexp-features-plugin': 7.21.8_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-new-target/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==} + /@babel/plugin-transform-named-capturing-groups-regex/7.20.5_@babel+core@7.21.8: + resolution: {integrity: sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': ^7.0.0-0 + '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.21.8_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-new-target/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==} @@ -7905,21 +8089,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-object-super/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} + /@babel/plugin-transform-new-target/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-replace-supers': 7.19.1 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-object-super/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} @@ -7928,51 +8108,62 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-replace-supers': 7.19.1 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-replace-supers': 7.21.5 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-transform-parameters/7.20.3_@babel+core@7.12.9: + /@babel/plugin-transform-object-super/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-replace-supers': 7.21.5 + transitivePeerDependencies: + - supports-color + + /@babel/plugin-transform-parameters/7.20.3_@babel+core@7.20.5: resolution: {integrity: sha512-oZg/Fpx0YDrj13KsLyO8I/CX3Zdw7z0O9qOd95SqcoIzuqy/WTGWvePeHAnZCN54SfdyjHcb1S30gc8zlzlHcA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.12.9 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/core': 7.20.5 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-parameters/7.20.3_@babel+core@7.18.0: - resolution: {integrity: sha512-oZg/Fpx0YDrj13KsLyO8I/CX3Zdw7z0O9qOd95SqcoIzuqy/WTGWvePeHAnZCN54SfdyjHcb1S30gc8zlzlHcA==} + /@babel/plugin-transform-parameters/7.21.3_@babel+core@7.12.9: + resolution: {integrity: sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.12.9 + '@babel/helper-plugin-utils': 7.21.5 + dev: false - /@babel/plugin-transform-parameters/7.20.3_@babel+core@7.20.5: - resolution: {integrity: sha512-oZg/Fpx0YDrj13KsLyO8I/CX3Zdw7z0O9qOd95SqcoIzuqy/WTGWvePeHAnZCN54SfdyjHcb1S30gc8zlzlHcA==} + /@babel/plugin-transform-parameters/7.21.3_@babel+core@7.20.5: + resolution: {integrity: sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-property-literals/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==} + /@babel/plugin-transform-parameters/7.21.3_@babel+core@7.21.8: + resolution: {integrity: sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-property-literals/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==} @@ -7981,9 +8172,18 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false + /@babel/plugin-transform-property-literals/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + /@babel/plugin-transform-react-constant-elements/7.20.2_@babel+core@7.20.5: resolution: {integrity: sha512-KS/G8YI8uwMGKErLFOHS/ekhqdHhpEloxs43NecQHVgo2QuQSyJhGIY1fL8UGl9wy5ItVwwoUL4YxVqsplGq2g==} engines: {node: '>=6.9.0'} @@ -8001,7 +8201,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 + dev: false + + /@babel/plugin-transform-react-display-name/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 dev: false /@babel/plugin-transform-react-jsx-development/7.18.6_@babel+core@7.20.5: @@ -8014,6 +8224,16 @@ packages: '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.20.5 dev: false + /@babel/plugin-transform-react-jsx-development/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.21.8 + dev: false + /@babel/plugin-transform-react-jsx/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==} engines: {node: '>=6.9.0'} @@ -8022,10 +8242,24 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.20.5 - '@babel/types': 7.20.5 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-jsx': 7.21.4_@babel+core@7.20.5 + '@babel/types': 7.21.5 + dev: false + + /@babel/plugin-transform-react-jsx/7.19.0_@babel+core@7.21.8: + resolution: {integrity: sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-jsx': 7.21.4_@babel+core@7.21.8 + '@babel/types': 7.21.5 dev: false /@babel/plugin-transform-react-pure-annotations/7.18.6_@babel+core@7.20.5: @@ -8036,19 +8270,19 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-regenerator/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==} + /@babel/plugin-transform-react-pure-annotations/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-I8VfEPg9r2TRDdvnHgPepTKvuRomzA8+u+nhY7qSI1fR2hRNebasZEETLyM5mAUr0Ku56OkXJ0I7NHJnO6cJiQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - regenerator-transform: 0.15.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-plugin-utils': 7.21.5 + dev: false /@babel/plugin-transform-regenerator/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==} @@ -8057,19 +8291,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - regenerator-transform: 0.15.0 + '@babel/helper-plugin-utils': 7.21.5 + regenerator-transform: 0.15.1 dev: false - /@babel/plugin-transform-reserved-words/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==} + /@babel/plugin-transform-regenerator/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-ZoYBKDb6LyMi5yCsByQ5jmXsHAQDDYeexT1Szvlmui+lADvfSecr5Dxd/PkrTC3pAD182Fcju1VQkB4oCp9M+w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + regenerator-transform: 0.15.1 /@babel/plugin-transform-reserved-words/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==} @@ -8078,35 +8312,34 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-runtime/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-8uRHk9ZmRSnWqUgyae249EJZ94b0yAGLBIqzZzl+0iEdbno55Pmlt/32JZsHwXD9k/uZj18Aqqk35wBX4CBTXA==} + /@babel/plugin-transform-reserved-words/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - babel-plugin-polyfill-corejs2: 0.3.3_@babel+core@7.20.5 - babel-plugin-polyfill-corejs3: 0.5.2_@babel+core@7.20.5 - babel-plugin-polyfill-regenerator: 0.3.1_@babel+core@7.20.5 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: false + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 - /@babel/plugin-transform-shorthand-properties/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==} + /@babel/plugin-transform-runtime/7.21.4_@babel+core@7.21.8: + resolution: {integrity: sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-plugin-utils': 7.21.5 + babel-plugin-polyfill-corejs2: 0.3.3_@babel+core@7.21.8 + babel-plugin-polyfill-corejs3: 0.6.0_@babel+core@7.21.8 + babel-plugin-polyfill-regenerator: 0.4.1_@babel+core@7.21.8 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: false /@babel/plugin-transform-shorthand-properties/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==} @@ -8115,19 +8348,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-spread/7.19.0_@babel+core@7.18.0: - resolution: {integrity: sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==} + /@babel/plugin-transform-shorthand-properties/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-spread/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==} @@ -8136,19 +8367,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 dev: false - /@babel/plugin-transform-sticky-regex/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==} + /@babel/plugin-transform-spread/7.20.7_@babel+core@7.21.8: + resolution: {integrity: sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 /@babel/plugin-transform-sticky-regex/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==} @@ -8157,18 +8388,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-template-literals/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==} + /@babel/plugin-transform-sticky-regex/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-template-literals/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==} @@ -8177,18 +8407,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-typeof-symbol/7.18.9_@babel+core@7.18.0: - resolution: {integrity: sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==} + /@babel/plugin-transform-template-literals/7.18.9_@babel+core@7.21.8: + resolution: {integrity: sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-typeof-symbol/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==} @@ -8197,44 +8426,60 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-typescript/7.18.6: - resolution: {integrity: sha512-ijHNhzIrLj5lQCnI6aaNVRtGVuUZhOXFLRVFs7lLrkXTHip4FKty5oAuQdk4tywG0/WjXmjTfQCWmuzrvFer1w==} + /@babel/plugin-transform-typeof-symbol/7.18.9_@babel+core@7.21.8: + resolution: {integrity: sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/helper-create-class-features-plugin': 7.18.6 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-typescript': 7.18.6 + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + + /@babel/plugin-transform-typescript/7.21.3: + resolution: {integrity: sha512-RQxPz6Iqt8T0uw/WsJNReuBpWpBqs/n7mNo18sKLoTbMp+UrEekhH+pKSVC7gWz+DNjo9gryfV8YzCiT45RgMw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-create-class-features-plugin': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-typescript': 7.21.4 transitivePeerDependencies: - supports-color dev: false - /@babel/plugin-transform-typescript/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-ijHNhzIrLj5lQCnI6aaNVRtGVuUZhOXFLRVFs7lLrkXTHip4FKty5oAuQdk4tywG0/WjXmjTfQCWmuzrvFer1w==} + /@babel/plugin-transform-typescript/7.21.3_@babel+core@7.20.5: + resolution: {integrity: sha512-RQxPz6Iqt8T0uw/WsJNReuBpWpBqs/n7mNo18sKLoTbMp+UrEekhH+pKSVC7gWz+DNjo9gryfV8YzCiT45RgMw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.20.5 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-typescript': 7.21.4_@babel+core@7.20.5 transitivePeerDependencies: - supports-color + dev: false - /@babel/plugin-transform-unicode-escapes/7.18.10_@babel+core@7.18.0: - resolution: {integrity: sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==} + /@babel/plugin-transform-typescript/7.21.3_@babel+core@7.21.8: + resolution: {integrity: sha512-RQxPz6Iqt8T0uw/WsJNReuBpWpBqs/n7mNo18sKLoTbMp+UrEekhH+pKSVC7gWz+DNjo9gryfV8YzCiT45RgMw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-create-class-features-plugin': 7.21.8_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-typescript': 7.21.4_@babel+core@7.21.8 + transitivePeerDependencies: + - supports-color /@babel/plugin-transform-unicode-escapes/7.18.10_@babel+core@7.20.5: resolution: {integrity: sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==} @@ -8243,19 +8488,17 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/plugin-transform-unicode-regex/7.18.6_@babel+core@7.18.0: - resolution: {integrity: sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==} + /@babel/plugin-transform-unicode-escapes/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-LYm/gTOwZqsYohlvFUe/8Tujz75LqqVC2w+2qPHLR+WyWHGCZPN1KBpJCJn+4Bk4gOkQy/IXKIge6az5MqwlOg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/plugin-transform-unicode-regex/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==} @@ -8264,95 +8507,19 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-regexp-features-plugin': 7.19.0_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-create-regexp-features-plugin': 7.21.8_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.21.5 dev: false - /@babel/preset-env/7.18.0_@babel+core@7.18.0: - resolution: {integrity: sha512-cP74OMs7ECLPeG1reiCQ/D/ypyOxgfm8uR6HRYV23vTJ7Lu1nbgj9DQDo/vH59gnn7GOAwtTDPPYV4aXzsMKHA==} + /@babel/plugin-transform-unicode-regex/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/compat-data': 7.20.1 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-validator-option': 7.18.6 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-proposal-async-generator-functions': 7.20.1_@babel+core@7.18.0 - '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-class-static-block': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-dynamic-import': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-export-namespace-from': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-proposal-json-strings': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-logical-assignment-operators': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-numeric-separator': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-object-rest-spread': 7.20.2_@babel+core@7.18.0 - '@babel/plugin-proposal-optional-catch-binding': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-optional-chaining': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-proposal-private-methods': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-private-property-in-object': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-proposal-unicode-property-regex': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.18.0 - '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.18.0 - '@babel/plugin-syntax-class-static-block': 7.14.5_@babel+core@7.18.0 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-syntax-import-assertions': 7.20.0_@babel+core@7.18.0 - '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.18.0 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.18.0 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.18.0 - '@babel/plugin-syntax-private-property-in-object': 7.14.5_@babel+core@7.18.0 - '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.18.0 - '@babel/plugin-transform-arrow-functions': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-async-to-generator': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-block-scoped-functions': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-block-scoping': 7.20.2_@babel+core@7.18.0 - '@babel/plugin-transform-classes': 7.20.2_@babel+core@7.18.0 - '@babel/plugin-transform-computed-properties': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-transform-destructuring': 7.20.2_@babel+core@7.18.0 - '@babel/plugin-transform-dotall-regex': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-duplicate-keys': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-transform-exponentiation-operator': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-for-of': 7.18.8_@babel+core@7.18.0 - '@babel/plugin-transform-function-name': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-transform-literals': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-transform-member-expression-literals': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-modules-amd': 7.19.6_@babel+core@7.18.0 - '@babel/plugin-transform-modules-commonjs': 7.19.6_@babel+core@7.18.0 - '@babel/plugin-transform-modules-systemjs': 7.19.6_@babel+core@7.18.0 - '@babel/plugin-transform-modules-umd': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-named-capturing-groups-regex': 7.19.1_@babel+core@7.18.0 - '@babel/plugin-transform-new-target': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-object-super': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-parameters': 7.20.3_@babel+core@7.18.0 - '@babel/plugin-transform-property-literals': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-regenerator': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-reserved-words': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-shorthand-properties': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-spread': 7.19.0_@babel+core@7.18.0 - '@babel/plugin-transform-sticky-regex': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-transform-typeof-symbol': 7.18.9_@babel+core@7.18.0 - '@babel/plugin-transform-unicode-escapes': 7.18.10_@babel+core@7.18.0 - '@babel/plugin-transform-unicode-regex': 7.18.6_@babel+core@7.18.0 - '@babel/preset-modules': 0.1.5_@babel+core@7.18.0 - '@babel/types': 7.18.4 - babel-plugin-polyfill-corejs2: 0.3.3_@babel+core@7.18.0 - babel-plugin-polyfill-corejs3: 0.5.2_@babel+core@7.18.0 - babel-plugin-polyfill-regenerator: 0.3.1_@babel+core@7.18.0 - core-js-compat: 3.26.1 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.21.8_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 /@babel/preset-env/7.20.2_@babel+core@7.20.5: resolution: {integrity: sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg==} @@ -8401,7 +8568,7 @@ packages: '@babel/plugin-transform-async-to-generator': 7.18.6_@babel+core@7.20.5 '@babel/plugin-transform-block-scoped-functions': 7.18.6_@babel+core@7.20.5 '@babel/plugin-transform-block-scoping': 7.20.2_@babel+core@7.20.5 - '@babel/plugin-transform-classes': 7.20.2_@babel+core@7.20.5 + '@babel/plugin-transform-classes': 7.21.0_@babel+core@7.20.5 '@babel/plugin-transform-computed-properties': 7.18.9_@babel+core@7.20.5 '@babel/plugin-transform-destructuring': 7.20.2_@babel+core@7.20.5 '@babel/plugin-transform-dotall-regex': 7.18.6_@babel+core@7.20.5 @@ -8430,7 +8597,7 @@ packages: '@babel/plugin-transform-unicode-escapes': 7.18.10_@babel+core@7.20.5 '@babel/plugin-transform-unicode-regex': 7.18.6_@babel+core@7.20.5 '@babel/preset-modules': 0.1.5_@babel+core@7.20.5 - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 babel-plugin-polyfill-corejs2: 0.3.3_@babel+core@7.20.5 babel-plugin-polyfill-corejs3: 0.6.0_@babel+core@7.20.5 babel-plugin-polyfill-regenerator: 0.4.1_@babel+core@7.20.5 @@ -8440,30 +8607,103 @@ packages: - supports-color dev: false - /@babel/preset-flow/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-E7BDhL64W6OUqpuyHnSroLnqyRTcG6ZdOBl1OKI/QK/HJfplqK/S3sq1Cckx7oTodJ5yOXyfw7rEADJ6UjoQDQ==} + /@babel/preset-env/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-wH00QnTTldTbf/IefEVyChtRdw5RJvODT/Vb4Vcxq1AZvtXj6T0YeX0cAcXhI6/BdGuiP3GcNIL4OQbI2DVNxg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-validator-option': 7.18.6 - '@babel/plugin-transform-flow-strip-types': 7.18.6_@babel+core@7.20.5 - dev: false + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5_@babel+core@7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-option': 7.21.0 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.20.7_@babel+core@7.21.8 + '@babel/plugin-proposal-async-generator-functions': 7.20.7_@babel+core@7.21.8 + '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-class-static-block': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-proposal-dynamic-import': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-export-namespace-from': 7.18.9_@babel+core@7.21.8 + '@babel/plugin-proposal-json-strings': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-logical-assignment-operators': 7.20.7_@babel+core@7.21.8 + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-numeric-separator': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-object-rest-spread': 7.20.7_@babel+core@7.21.8 + '@babel/plugin-proposal-optional-catch-binding': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-optional-chaining': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-proposal-private-methods': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-private-property-in-object': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-proposal-unicode-property-regex': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.21.8 + '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.21.8 + '@babel/plugin-syntax-class-static-block': 7.14.5_@babel+core@7.21.8 + '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-import-assertions': 7.20.0_@babel+core@7.21.8 + '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.21.8 + '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.21.8 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.21.8 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-private-property-in-object': 7.14.5_@babel+core@7.21.8 + '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.21.8 + '@babel/plugin-transform-arrow-functions': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-async-to-generator': 7.20.7_@babel+core@7.21.8 + '@babel/plugin-transform-block-scoped-functions': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-block-scoping': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-transform-classes': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-transform-computed-properties': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-destructuring': 7.21.3_@babel+core@7.21.8 + '@babel/plugin-transform-dotall-regex': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-duplicate-keys': 7.18.9_@babel+core@7.21.8 + '@babel/plugin-transform-exponentiation-operator': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-for-of': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-function-name': 7.18.9_@babel+core@7.21.8 + '@babel/plugin-transform-literals': 7.18.9_@babel+core@7.21.8 + '@babel/plugin-transform-member-expression-literals': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-modules-amd': 7.20.11_@babel+core@7.21.8 + '@babel/plugin-transform-modules-commonjs': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-modules-systemjs': 7.20.11_@babel+core@7.21.8 + '@babel/plugin-transform-modules-umd': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-named-capturing-groups-regex': 7.20.5_@babel+core@7.21.8 + '@babel/plugin-transform-new-target': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-object-super': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-parameters': 7.21.3_@babel+core@7.21.8 + '@babel/plugin-transform-property-literals': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-regenerator': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-reserved-words': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-shorthand-properties': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-spread': 7.20.7_@babel+core@7.21.8 + '@babel/plugin-transform-sticky-regex': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.21.8 + '@babel/plugin-transform-typeof-symbol': 7.18.9_@babel+core@7.21.8 + '@babel/plugin-transform-unicode-escapes': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-unicode-regex': 7.18.6_@babel+core@7.21.8 + '@babel/preset-modules': 0.1.5_@babel+core@7.21.8 + '@babel/types': 7.21.5 + babel-plugin-polyfill-corejs2: 0.3.3_@babel+core@7.21.8 + babel-plugin-polyfill-corejs3: 0.6.0_@babel+core@7.21.8 + babel-plugin-polyfill-regenerator: 0.4.1_@babel+core@7.21.8 + core-js-compat: 3.26.1 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color - /@babel/preset-modules/0.1.5_@babel+core@7.18.0: - resolution: {integrity: sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==} + /@babel/preset-flow/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-E7BDhL64W6OUqpuyHnSroLnqyRTcG6ZdOBl1OKI/QK/HJfplqK/S3sq1Cckx7oTodJ5yOXyfw7rEADJ6UjoQDQ==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-proposal-unicode-property-regex': 7.18.6_@babel+core@7.18.0 - '@babel/plugin-transform-dotall-regex': 7.18.6_@babel+core@7.18.0 - '@babel/types': 7.20.5 - esutils: 2.0.3 - dev: true + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-option': 7.21.0 + '@babel/plugin-transform-flow-strip-types': 7.18.6_@babel+core@7.21.8 + dev: false /@babel/preset-modules/0.1.5_@babel+core@7.20.5: resolution: {integrity: sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==} @@ -8471,13 +8711,25 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.17.12 '@babel/plugin-proposal-unicode-property-regex': 7.18.6_@babel+core@7.20.5 '@babel/plugin-transform-dotall-regex': 7.18.6_@babel+core@7.20.5 - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 esutils: 2.0.3 dev: false + /@babel/preset-modules/0.1.5_@babel+core@7.21.8: + resolution: {integrity: sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.17.12 + '@babel/plugin-proposal-unicode-property-regex': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-dotall-regex': 7.18.6_@babel+core@7.21.8 + '@babel/types': 7.21.5 + esutils: 2.0.3 + /@babel/preset-react/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg==} engines: {node: '>=6.9.0'} @@ -8485,25 +8737,27 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-validator-option': 7.18.6 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-option': 7.21.0 '@babel/plugin-transform-react-display-name': 7.18.6_@babel+core@7.20.5 '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.20.5 '@babel/plugin-transform-react-jsx-development': 7.18.6_@babel+core@7.20.5 '@babel/plugin-transform-react-pure-annotations': 7.18.6_@babel+core@7.20.5 dev: false - /@babel/preset-typescript/7.18.6: - resolution: {integrity: sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ==} + /@babel/preset-react/7.18.6_@babel+core@7.21.8: + resolution: {integrity: sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-validator-option': 7.18.6 - '@babel/plugin-transform-typescript': 7.18.6 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-option': 7.21.0 + '@babel/plugin-transform-react-display-name': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.21.8 + '@babel/plugin-transform-react-jsx-development': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-react-pure-annotations': 7.18.6_@babel+core@7.21.8 dev: false /@babel/preset-typescript/7.18.6_@babel+core@7.20.5: @@ -8515,17 +8769,48 @@ packages: '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.20.2 '@babel/helper-validator-option': 7.18.6 - '@babel/plugin-transform-typescript': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-typescript': 7.21.3_@babel+core@7.20.5 transitivePeerDependencies: - supports-color + dev: false - /@babel/register/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-tkYtONzaO8rQubZzpBnvZPFcHgh8D9F55IjOsYton4X2IBoyRn2ZSWQqySTZnUn2guZbxbQiAB27hJEbvXamhQ==} + /@babel/preset-typescript/7.21.5: + resolution: {integrity: sha512-iqe3sETat5EOrORXiQ6rWfoOg2y68Cs75B9wNxdPW4kixJxh7aXQE1KPdWLDniC24T/6dSnguF33W9j/ZZQcmA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-option': 7.21.0 + '@babel/plugin-syntax-jsx': 7.21.4 + '@babel/plugin-transform-modules-commonjs': 7.21.5 + '@babel/plugin-transform-typescript': 7.21.3 + transitivePeerDependencies: + - supports-color + dev: false + + /@babel/preset-typescript/7.21.5_@babel+core@7.21.8: + resolution: {integrity: sha512-iqe3sETat5EOrORXiQ6rWfoOg2y68Cs75B9wNxdPW4kixJxh7aXQE1KPdWLDniC24T/6dSnguF33W9j/ZZQcmA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-option': 7.21.0 + '@babel/plugin-syntax-jsx': 7.21.4_@babel+core@7.21.8 + '@babel/plugin-transform-modules-commonjs': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-typescript': 7.21.3_@babel+core@7.21.8 + transitivePeerDependencies: + - supports-color + + /@babel/register/7.21.0_@babel+core@7.21.8: + resolution: {integrity: sha512-9nKsPmYDi5DidAqJaQooxIhsLJiNMkGr8ypQ8Uic7cIox7UCDsM7HuUGxdGT7mSDTYbqzIdsOWzfBton/YJrMw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 @@ -8533,11 +8818,15 @@ packages: source-map-support: 0.5.21 dev: false + /@babel/regjsgen/0.8.0: + resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} + /@babel/runtime/7.18.0: resolution: {integrity: sha512-YMQvx/6nKEaucl0MY56mwIG483xk8SDNdlUwb2Ts6FUpr7fm85DxEmsY18LXBNhcTz6tO6JwZV8w1W06v8UKeg==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.13.11 + dev: false /@babel/runtime/7.18.6: resolution: {integrity: sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ==} @@ -8552,8 +8841,8 @@ packages: dependencies: regenerator-runtime: 0.13.11 - /@babel/runtime/7.21.0: - resolution: {integrity: sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==} + /@babel/runtime/7.21.5: + resolution: {integrity: sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.13.11 @@ -8563,17 +8852,24 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/parser': 7.20.5 - '@babel/types': 7.20.5 - dev: true + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 /@babel/template/7.18.10: resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 - '@babel/parser': 7.20.5 - '@babel/types': 7.20.5 + '@babel/code-frame': 7.21.4 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 + + /@babel/template/7.20.7: + resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.21.4 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 /@babel/traverse/7.18.2: resolution: {integrity: sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==} @@ -8585,48 +8881,48 @@ packages: '@babel/helper-function-name': 7.19.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.20.5 - '@babel/types': 7.20.5 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color dev: true - /@babel/traverse/7.20.5: + /@babel/traverse/7.20.5_supports-color@5.5.0: resolution: {integrity: sha512-WM5ZNN3JITQIq9tFZaw1ojLU3WgWdtkxnhM1AegMS+PvHjkM5IXjmYEGY7yukz5XS4sJyEf2VzWjI8uAavhxBQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 - '@babel/generator': 7.20.5 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 + '@babel/code-frame': 7.21.4 + '@babel/generator': 7.21.5 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.20.5 - '@babel/types': 7.20.5 - debug: 4.3.4 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 + debug: 4.3.4_supports-color@5.5.0 globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: false - /@babel/traverse/7.20.5_supports-color@5.5.0: - resolution: {integrity: sha512-WM5ZNN3JITQIq9tFZaw1ojLU3WgWdtkxnhM1AegMS+PvHjkM5IXjmYEGY7yukz5XS4sJyEf2VzWjI8uAavhxBQ==} + /@babel/traverse/7.21.5: + resolution: {integrity: sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 - '@babel/generator': 7.20.5 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 + '@babel/code-frame': 7.21.4 + '@babel/generator': 7.21.5 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.20.5 - '@babel/types': 7.20.5 - debug: 4.3.4_supports-color@5.5.0 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 + debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: false /@babel/types/7.18.4: resolution: {integrity: sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==} @@ -8634,12 +8930,13 @@ packages: dependencies: '@babel/helper-validator-identifier': 7.19.1 to-fast-properties: 2.0.0 + dev: true - /@babel/types/7.20.5: - resolution: {integrity: sha512-c9fst/h2/dcF7H+MJKZ2T0KjEQ8hY/BNnDk/H3XY8C4Aw/eWQXWn/lWntHF9ooUBnGmEvbfGrTgLWc+um0YDUg==} + /@babel/types/7.21.5: + resolution: {integrity: sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-string-parser': 7.19.4 + '@babel/helper-string-parser': 7.21.5 '@babel/helper-validator-identifier': 7.19.1 to-fast-properties: 2.0.0 @@ -8653,7 +8950,7 @@ packages: /@changesets/apply-release-plan/6.1.3: resolution: {integrity: sha512-ECDNeoc3nfeAe1jqJb5aFQX7CqzQhD2klXRez2JDb/aVpGUbX673HgKrnrgJRuQR/9f2TtLoYIzrGB9qwD77mg==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@changesets/config': 2.3.0 '@changesets/get-version-range-type': 0.3.2 '@changesets/git': 2.0.0 @@ -8671,7 +8968,7 @@ packages: /@changesets/assemble-release-plan/5.2.3: resolution: {integrity: sha512-g7EVZCmnWz3zMBAdrcKhid4hkHT+Ft1n0mLussFMcB1dE2zCuwcvGoy9ec3yOgPGF4hoMtgHaMIk3T3TBdvU9g==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@changesets/errors': 0.1.4 '@changesets/get-dependents-graph': 1.3.5 '@changesets/types': 5.2.1 @@ -8688,7 +8985,7 @@ packages: /@changesets/cli/2.26.0: resolution: {integrity: sha512-0cbTiDms+ICTVtEwAFLNW0jBNex9f5+fFv3I771nBvdnV/mOjd1QJ4+f8KtVSOrwD9SJkk9xbDkWFb0oXd8d1Q==} dependencies: - '@babel/runtime': 7.20.7 + '@babel/runtime': 7.21.5 '@changesets/apply-release-plan': 6.1.3 '@changesets/assemble-release-plan': 5.2.3 '@changesets/changelog-git': 0.1.14 @@ -8754,7 +9051,7 @@ packages: /@changesets/get-release-plan/3.0.16: resolution: {integrity: sha512-OpP9QILpBp1bY2YNIKFzwigKh7Qe9KizRsZomzLe6pK8IUo8onkAAVUD8+JRKSr8R7d4+JRuQrfSSNlEwKyPYg==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@changesets/assemble-release-plan': 5.2.3 '@changesets/config': 2.3.0 '@changesets/pre': 1.0.14 @@ -8770,7 +9067,7 @@ packages: /@changesets/git/1.3.2: resolution: {integrity: sha512-p5UL+urAg0Nnpt70DLiBe2iSsMcDubTo9fTOD/61krmcJ466MGh71OHwdAwu1xG5+NKzeysdy1joRTg8CXcEXA==} dependencies: - '@babel/runtime': 7.18.6 + '@babel/runtime': 7.21.5 '@changesets/errors': 0.1.4 '@changesets/types': 5.0.0 '@manypkg/get-packages': 1.1.3 @@ -8781,7 +9078,7 @@ packages: /@changesets/git/2.0.0: resolution: {integrity: sha512-enUVEWbiqUTxqSnmesyJGWfzd51PY4H7mH9yUw0hPVpZBJ6tQZFMU3F3mT/t9OJ/GjyiM4770i+sehAn6ymx6A==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@changesets/errors': 0.1.4 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 @@ -8813,7 +9110,7 @@ packages: /@changesets/pre/1.0.14: resolution: {integrity: sha512-dTsHmxQWEQekHYHbg+M1mDVYFvegDh9j/kySNuDKdylwfMEevTeDouR7IfHNyVodxZXu17sXoJuf2D0vi55FHQ==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@changesets/errors': 0.1.4 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 @@ -8823,7 +9120,7 @@ packages: /@changesets/read/0.5.5: resolution: {integrity: sha512-bzonrPWc29Tsjvgh+8CqJ0apQOwWim0zheeD4ZK44ApSa/GudnZJTODtA3yNOOuQzeZmL0NUebVoHIurtIkA7w==} dependencies: - '@babel/runtime': 7.18.6 + '@babel/runtime': 7.21.5 '@changesets/git': 1.3.2 '@changesets/logger': 0.0.5 '@changesets/parse': 0.3.13 @@ -8836,7 +9133,7 @@ packages: /@changesets/read/0.5.9: resolution: {integrity: sha512-T8BJ6JS6j1gfO1HFq50kU3qawYxa4NTbI/ASNVVCBTsKquy2HYwM9r7ZnzkiMe8IEObAJtUVGSrePCOxAK2haQ==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@changesets/git': 2.0.0 '@changesets/logger': 0.0.5 '@changesets/parse': 0.3.16 @@ -8861,7 +9158,7 @@ packages: /@changesets/write/0.2.3: resolution: {integrity: sha512-Dbamr7AIMvslKnNYsLFafaVORx4H0pvCA2MHqgtNCySMe1blImEyAEOzDmcgKAkgz4+uwoLz7demIrX+JBr/Xw==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@changesets/types': 5.2.1 fs-extra: 7.0.1 human-id: 1.0.2 @@ -10156,7 +10453,7 @@ packages: resolution: {integrity: sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==} engines: {node: '>= 10.14.2'} dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/types': 26.6.2 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 @@ -10179,7 +10476,7 @@ packages: resolution: {integrity: sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/types': 27.5.1 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 @@ -10202,7 +10499,7 @@ packages: resolution: {integrity: sha512-8vbeZWqLJOvHaDfeMuoHITGKSz5qWc9u04lnWrQE3VyuSw604PzQM824ZeX9XSjUCeDiE3GuxZe5UKa8J61NQw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/types': 29.5.0 '@jridgewell/trace-mapping': 0.3.17 babel-plugin-istanbul: 6.1.1 @@ -10266,10 +10563,6 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 '@jridgewell/trace-mapping': 0.3.17 - /@jridgewell/resolve-uri/3.0.8: - resolution: {integrity: sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==} - engines: {node: '>=6.0.0'} - /@jridgewell/resolve-uri/3.1.0: resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} @@ -10287,12 +10580,6 @@ packages: /@jridgewell/sourcemap-codec/1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} - /@jridgewell/trace-mapping/0.3.14: - resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==} - dependencies: - '@jridgewell/resolve-uri': 3.0.8 - '@jridgewell/sourcemap-codec': 1.4.14 - /@jridgewell/trace-mapping/0.3.17: resolution: {integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==} dependencies: @@ -10313,14 +10600,14 @@ packages: resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==} dev: false - /@loadable/babel-plugin/5.13.2_@babel+core@7.20.5: + /@loadable/babel-plugin/5.13.2_@babel+core@7.21.8: resolution: {integrity: sha512-vSZUVeTH1S1sDbk8Tzft0plZSkN7W4zmVR5w/Bmy4UmvBiu9lin7ztrDpoUTUzxpoups+OJbTc/OosvN0aMXWg==} engines: {node: '>=8'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.21.8 dev: false /@loadable/component/5.15.2_react@18.2.0: @@ -10329,7 +10616,7 @@ packages: peerDependencies: react: '>=16.3.0' dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 hoist-non-react-statics: 3.3.2 react: 18.2.0 react-is: 16.13.1 @@ -10359,7 +10646,7 @@ packages: /@manypkg/find-root/1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@types/node': 12.20.24 find-up: 4.1.0 fs-extra: 8.1.0 @@ -10368,7 +10655,7 @@ packages: /@manypkg/get-packages/1.1.3: resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -10464,7 +10751,7 @@ packages: peerDependencies: '@modern-js-reduck/store': ^1.1.6 dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@modern-js-reduck/store': 1.1.6 dev: false @@ -10473,7 +10760,7 @@ packages: peerDependencies: '@modern-js-reduck/store': ^1.1.6 dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@modern-js-reduck/store': 1.1.6 '@redux-devtools/extension': 3.2.2_redux@4.2.0 redux: 4.2.0 @@ -10484,7 +10771,7 @@ packages: peerDependencies: '@modern-js-reduck/store': ^1.1.6 dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@modern-js-reduck/store': 1.1.6 redux: 4.2.0 redux-promise-middleware: 6.1.2_redux@4.2.0 @@ -10495,7 +10782,7 @@ packages: peerDependencies: '@modern-js-reduck/store': ^1.1.6 dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@modern-js-reduck/store': 1.1.6 immer: 9.0.15 dev: false @@ -10513,7 +10800,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@modern-js-reduck/plugin-auto-actions': 1.1.6_ey2tb66lspd63dpe7kr4h74444 '@modern-js-reduck/plugin-devtools': 1.1.6_ey2tb66lspd63dpe7kr4h74444 '@modern-js-reduck/plugin-effects': 1.1.6_ey2tb66lspd63dpe7kr4h74444 @@ -10528,7 +10815,7 @@ packages: /@modern-js-reduck/store/1.1.6: resolution: {integrity: sha512-cBrdEVouqWRwhrlm7HN9sIIkEVqCPvDQvoLjhhCVAG7rRqOLvg5NfNbnPT1KXY/ZB9xWiOKDdul2uPbgmVsgXQ==} dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 redux: 4.2.0 dev: false @@ -10537,7 +10824,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 '@modern-js/codesmith-api-ejs': 2.2.0_@modern-js+codesmith@2.2.0 '@modern-js/codesmith-api-fs': 2.2.0_@modern-js+codesmith@2.2.0 @@ -10563,7 +10850,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 '@modern-js/codesmith-api-ejs': 2.2.0_@modern-js+codesmith@2.2.0 '@modern-js/codesmith-api-fs': 2.2.0_@modern-js+codesmith@2.2.0 @@ -10589,7 +10876,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 ejs: 3.1.9 dev: true @@ -10599,7 +10886,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 dev: true @@ -10608,7 +10895,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 '@modern-js/utils': 2.18.0 transitivePeerDependencies: @@ -10621,7 +10908,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 handlebars: 4.7.7 dev: true @@ -10629,7 +10916,7 @@ packages: /@modern-js/codesmith-api-json/2.2.0: resolution: {integrity: sha512-hUHzOIp+NZ/iEfZZySG7+x1Fq3/aRyciBwAKUP9gMgmae4ECLwcqHkm3rsoI2qoOjmHqXiMCiiVijSu+IXO5GA==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 comment-json: 4.2.3 declaration-update: 0.0.2 @@ -10643,7 +10930,7 @@ packages: /@modern-js/codesmith-api-npm/2.2.0: resolution: {integrity: sha512-hAHIdJfUp77Ok+Zlz2dTZCEMU3aDCCt5J/XT2OXQecZNsHIQR7uQ84KSYvbyu5gI4ObZfOGqKxm34JlYjT7+Ng==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/codesmith': 2.2.0 '@modern-js/utils': 2.18.0 transitivePeerDependencies: @@ -10657,7 +10944,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@formily/json-schema': 2.2.22_typescript@4.9.3 '@formily/validator': 2.2.22 '@modern-js/codesmith': 2.2.0 @@ -10674,7 +10961,7 @@ packages: peerDependencies: '@modern-js/codesmith': ^2.2.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@formily/json-schema': 2.2.22_typescript@4.9.5 '@formily/validator': 2.2.22 '@modern-js/codesmith': 2.2.0 @@ -10690,7 +10977,7 @@ packages: /@modern-js/codesmith/2.2.0: resolution: {integrity: sha512-PnqiLjDtgUtb/0owbjsFy1PlKldUYzOWffLZ/y27eGGgJk6LRe3MboCwolXcrhoG/hdCA0J0xBhEa5rXCmNa1g==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/utils': 2.18.0 axios: 0.21.4 tar: 6.1.13 @@ -10873,7 +11160,7 @@ packages: /@modern-js/plugin-i18n/2.18.0: resolution: {integrity: sha512-Slu4zeA1VyvJVSq/hjomtf6f5iB8SfAA86Bwun+bHVQWbtzvz6yL34jdYlJsgkXL7L8vdRjR5jeT3pvzuswGzw==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@modern-js/utils': 2.18.0 transitivePeerDependencies: - react @@ -11191,6 +11478,12 @@ packages: '@napi-rs/image-win32-x64-msvc': 1.4.1 dev: false + /@nicolo-ribaudo/eslint-scope-5-internals/5.1.1-v1: + resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==} + dependencies: + eslint-scope: 5.1.1 + dev: false + /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -11218,7 +11511,7 @@ packages: resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} dependencies: '@gar/promisify': 1.1.3 - semver: 7.3.8 + semver: 7.3.7 dev: false /@npmcli/move-file/1.1.2: @@ -11407,7 +11700,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -11416,7 +11709,7 @@ packages: resolution: {integrity: sha512-9N8nRk0oKj1qJzANKl+n9eNSMUGsZtjwNuDCiZ/KA+dt1fE3zq5x2XxclRcAbOIXnZcJ53ozP2Pa60gyELXagA==} engines: {node: '>=8.x'} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 /@rc-component/mutate-observer/1.0.0_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-okqRJSfNisXdI6CUeOLZC5ukBW/8kir2Ii4PJiKpUt+3+uS7dxwJUMxsUZquxA1rQuL8YcEmKVp/TCnR+yUdZA==} @@ -11425,7 +11718,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -11438,7 +11731,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -11451,7 +11744,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/portal': 1.1.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-trigger: 5.3.4_biqbaboplfbrettd7655fr4n2y @@ -11467,7 +11760,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/portal': 1.1.0_biqbaboplfbrettd7655fr4n2y '@rc-component/trigger': 1.6.2_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 @@ -11483,7 +11776,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/portal': 1.1.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-align: 4.0.12_biqbaboplfbrettd7655fr4n2y @@ -11499,7 +11792,7 @@ packages: peerDependencies: redux: ^3.1.0 || ^4.0.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 redux: 4.2.0 dev: false @@ -11969,7 +12262,7 @@ packages: - webpack-command dev: false - /@storybook/addon-docs/6.5.12_lyxbf6yzmlwcnonhor5pgsmxvq: + /@storybook/addon-docs/6.5.12_3ws27vppyezd6n3ow2fajrs4rq: resolution: {integrity: sha512-T+QTkmF7QlMVfXHXEberP8CYti/XMTo9oi6VEbZLx+a2N3qY4GZl7X2g26Sf5V4Za+xnapYKBMEIiJ5SvH9weQ==} peerDependencies: '@storybook/mdx2-csf': ^0.0.3 @@ -11983,8 +12276,8 @@ packages: react-dom: optional: true dependencies: - '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 + '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 '@jest/transform': 26.6.2 '@mdx-js/react': 1.6.22_react@18.2.0 '@storybook/addons': 6.5.12_biqbaboplfbrettd7655fr4n2y @@ -11994,14 +12287,14 @@ packages: '@storybook/core-events': 6.5.12 '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/docs-tools': 6.5.12_biqbaboplfbrettd7655fr4n2y - '@storybook/mdx1-csf': 0.0.1_@babel+core@7.20.5 + '@storybook/mdx1-csf': 0.0.1_@babel+core@7.21.8 '@storybook/node-logger': 6.5.12 '@storybook/postinstall': 6.5.12 '@storybook/preview-web': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/source-loader': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/store': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/theming': 6.5.12_biqbaboplfbrettd7655fr4n2y - babel-loader: 8.2.5_hbih46w65hlccgbwjmpr6qmi6m + babel-loader: 8.2.5_mmpnuuhn2f3w3mywbj64gkozau core-js: 3.30.0 fast-deep-equal: 3.1.3 global: 4.4.0 @@ -12024,7 +12317,7 @@ packages: - webpack-command dev: false - /@storybook/addon-essentials/6.5.12_fwq6h3q6pogs3l7xel6pazfenu: + /@storybook/addon-essentials/6.5.12_qecnbsngvvkeunj7444vl2sc2m: resolution: {integrity: sha512-4AAV0/mQPSk3V0Pie1NIqqgBgScUc0VtBEXDm8BgPeuDNVhPEupnaZgVt+I3GkzzPPo6JjdCsp2L11f3bBSEjw==} peerDependencies: '@babel/core': ^7.9.6 @@ -12081,11 +12374,11 @@ packages: webpack: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@storybook/addon-actions': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/addon-backgrounds': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/addon-controls': 6.5.12_lb6du3saekb5anf2gjv3wxj3oq - '@storybook/addon-docs': 6.5.12_lyxbf6yzmlwcnonhor5pgsmxvq + '@storybook/addon-docs': 6.5.12_3ws27vppyezd6n3ow2fajrs4rq '@storybook/addon-measure': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/addon-outline': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/addon-toolbars': 6.5.12_biqbaboplfbrettd7655fr4n2y @@ -12318,7 +12611,7 @@ packages: typescript: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@storybook/addons': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/api': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/channel-postmessage': 6.5.12 @@ -12338,7 +12631,7 @@ packages: '@types/node': 16.11.68 '@types/webpack': 4.41.32 autoprefixer: 9.8.8 - babel-loader: 8.2.5_em3sh5kto35xuanci4cvhzqfay + babel-loader: 8.2.5_ocf5rtwbdm3mau6pf6fzkqlwt4 case-sensitive-paths-webpack-plugin: 2.4.0 core-js: 3.30.0 css-loader: 3.6.0_webpack@4.46.0 @@ -12387,7 +12680,7 @@ packages: typescript: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@storybook/addons': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/api': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/channel-postmessage': 6.5.12 @@ -12404,7 +12697,7 @@ packages: '@storybook/store': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/theming': 6.5.12_biqbaboplfbrettd7655fr4n2y '@types/node': 16.11.68 - babel-loader: 8.2.5_hbih46w65hlccgbwjmpr6qmi6m + babel-loader: 8.2.5_mmpnuuhn2f3w3mywbj64gkozau babel-plugin-named-exports-order: 0.0.2 browser-assert: 1.2.1 case-sensitive-paths-webpack-plugin: 2.4.0 @@ -12606,35 +12899,35 @@ packages: typescript: optional: true dependencies: - '@babel/core': 7.20.5 - '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-proposal-decorators': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-proposal-export-default-from': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-proposal-object-rest-spread': 7.20.2_@babel+core@7.20.5 - '@babel/plugin-proposal-optional-chaining': 7.18.9_@babel+core@7.20.5 - '@babel/plugin-proposal-private-methods': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-proposal-private-property-in-object': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-transform-arrow-functions': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-transform-block-scoping': 7.20.2_@babel+core@7.20.5 - '@babel/plugin-transform-classes': 7.20.2_@babel+core@7.20.5 - '@babel/plugin-transform-destructuring': 7.20.2_@babel+core@7.20.5 - '@babel/plugin-transform-for-of': 7.18.8_@babel+core@7.20.5 - '@babel/plugin-transform-parameters': 7.20.3_@babel+core@7.20.5 - '@babel/plugin-transform-shorthand-properties': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-transform-spread': 7.19.0_@babel+core@7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 - '@babel/preset-react': 7.18.6_@babel+core@7.20.5 - '@babel/preset-typescript': 7.18.6_@babel+core@7.20.5 - '@babel/register': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-decorators': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-proposal-export-default-from': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-object-rest-spread': 7.20.7_@babel+core@7.21.8 + '@babel/plugin-proposal-optional-chaining': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-proposal-private-methods': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-proposal-private-property-in-object': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-transform-arrow-functions': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-block-scoping': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-transform-classes': 7.21.0_@babel+core@7.21.8 + '@babel/plugin-transform-destructuring': 7.21.3_@babel+core@7.21.8 + '@babel/plugin-transform-for-of': 7.21.5_@babel+core@7.21.8 + '@babel/plugin-transform-parameters': 7.21.3_@babel+core@7.21.8 + '@babel/plugin-transform-shorthand-properties': 7.18.6_@babel+core@7.21.8 + '@babel/plugin-transform-spread': 7.20.7_@babel+core@7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 + '@babel/preset-react': 7.18.6_@babel+core@7.21.8 + '@babel/preset-typescript': 7.21.5_@babel+core@7.21.8 + '@babel/register': 7.21.0_@babel+core@7.21.8 '@storybook/node-logger': 6.5.12 '@storybook/semver': 7.3.2 '@types/node': 16.11.68 '@types/pretty-hrtime': 1.0.1 - babel-loader: 8.2.5_em3sh5kto35xuanci4cvhzqfay + babel-loader: 8.2.5_ocf5rtwbdm3mau6pf6fzkqlwt4 babel-plugin-macros: 3.1.0 - babel-plugin-polyfill-corejs3: 0.1.7_@babel+core@7.20.5 + babel-plugin-polyfill-corejs3: 0.1.7_@babel+core@7.21.8 chalk: 4.1.2 core-js: 3.30.0 express: 4.18.1 @@ -12797,15 +13090,15 @@ packages: '@storybook/mdx2-csf': optional: true dependencies: - '@babel/core': 7.20.5 - '@babel/generator': 7.20.5 - '@babel/parser': 7.20.5 - '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 - '@babel/traverse': 7.20.5 - '@babel/types': 7.18.4 + '@babel/core': 7.21.8 + '@babel/generator': 7.18.2 + '@babel/parser': 7.21.8 + '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 '@storybook/csf': 0.0.2--canary.4566f4d.1 - '@storybook/mdx1-csf': 0.0.1_@babel+core@7.20.5 + '@storybook/mdx1-csf': 0.0.1_@babel+core@7.21.8 core-js: 3.30.0 fs-extra: 9.1.0 global: 4.4.0 @@ -12823,7 +13116,7 @@ packages: /@storybook/docs-tools/6.5.12_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-8brf8W89KVk95flVqW0sYEqkL+FBwb5W9CnwI+Ggd6r2cqXe9jyg+0vDZFdYp6kYNQKrPr4fbXGrGVXQG18/QQ==} dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/store': 6.5.12_biqbaboplfbrettd7655fr4n2y core-js: 3.30.0 @@ -12846,9 +13139,9 @@ packages: typescript: optional: true dependencies: - '@babel/core': 7.20.5 - '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.20.5 - '@babel/preset-react': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.21.8 + '@babel/preset-react': 7.18.6_@babel+core@7.21.8 '@storybook/addons': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/core-client': 6.5.12_5ey2xofmun3swml4ceosmuhnmq '@storybook/core-common': 6.5.12_lb6du3saekb5anf2gjv3wxj3oq @@ -12857,7 +13150,7 @@ packages: '@storybook/ui': 6.5.12_biqbaboplfbrettd7655fr4n2y '@types/node': 16.11.68 '@types/webpack': 4.41.32 - babel-loader: 8.2.5_em3sh5kto35xuanci4cvhzqfay + babel-loader: 8.2.5_ocf5rtwbdm3mau6pf6fzkqlwt4 case-sensitive-paths-webpack-plugin: 2.4.0 chalk: 4.1.2 core-js: 3.30.0 @@ -12904,9 +13197,9 @@ packages: typescript: optional: true dependencies: - '@babel/core': 7.20.5 - '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.20.5 - '@babel/preset-react': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.21.8 + '@babel/preset-react': 7.18.6_@babel+core@7.21.8 '@storybook/addons': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/core-client': 6.5.12_m4gf55mprlsyzqyurygx3deuii '@storybook/core-common': 6.5.12_lb6du3saekb5anf2gjv3wxj3oq @@ -12914,7 +13207,7 @@ packages: '@storybook/theming': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/ui': 6.5.12_biqbaboplfbrettd7655fr4n2y '@types/node': 16.11.68 - babel-loader: 8.2.5_hbih46w65hlccgbwjmpr6qmi6m + babel-loader: 8.2.5_mmpnuuhn2f3w3mywbj64gkozau case-sensitive-paths-webpack-plugin: 2.4.0 chalk: 4.1.2 core-js: 3.30.0 @@ -12951,13 +13244,13 @@ packages: - webpack-command dev: false - /@storybook/mdx1-csf/0.0.1_@babel+core@7.20.5: + /@storybook/mdx1-csf/0.0.1_@babel+core@7.21.8: resolution: {integrity: sha512-4biZIWWzoWlCarMZmTpqcJNgo/RBesYZwGFbQeXiGYsswuvfWARZnW9RE9aUEMZ4XPn7B1N3EKkWcdcWe/K2tg==} dependencies: - '@babel/generator': 7.20.5 - '@babel/parser': 7.20.5 - '@babel/preset-env': 7.20.2_@babel+core@7.20.5 - '@babel/types': 7.18.4 + '@babel/generator': 7.18.2 + '@babel/parser': 7.21.8 + '@babel/preset-env': 7.21.5_@babel+core@7.21.8 + '@babel/types': 7.21.5 '@mdx-js/mdx': 1.6.22 '@types/lodash': 4.14.182 js-string-escape: 1.0.1 @@ -13031,7 +13324,7 @@ packages: - supports-color dev: false - /@storybook/react/6.5.12_pct4un3kv47b56yhn47zn7lcxm: + /@storybook/react/6.5.12_ket2g4gyf3y4x6zueqlsuvvvwa: resolution: {integrity: sha512-1tG8EdSfp+OZAKAWPT2UrexF4o007jEMwQFFXw1atIQrQOADzSnZ7lTYJ08o5TyJwksswtr18tH3oJJ9sG3KPw==} engines: {node: '>=10.13.0'} hasBin: true @@ -13059,9 +13352,9 @@ packages: typescript: optional: true dependencies: - '@babel/core': 7.20.5 - '@babel/preset-flow': 7.18.6_@babel+core@7.20.5 - '@babel/preset-react': 7.18.6_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/preset-flow': 7.18.6_@babel+core@7.21.8 + '@babel/preset-react': 7.18.6_@babel+core@7.21.8 '@pmmmwh/react-refresh-webpack-plugin': 0.5.9_pwipppovxdjwbovranoeivw5d4 '@storybook/addons': 6.5.12_biqbaboplfbrettd7655fr4n2y '@storybook/builder-webpack5': 6.5.12_jlhxydrgaq6yvnzi6eruzqhd3a @@ -13252,93 +13545,93 @@ packages: resolve-from: 5.0.0 dev: false - /@svgr/babel-plugin-add-jsx-attribute/6.5.1_@babel+core@7.20.5: + /@svgr/babel-plugin-add-jsx-attribute/6.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-9PYGcXrAxitycIjRmZB+Q0JaN07GZIWaTBIGQzfaZv+qr1n8X1XUEJ5rZ/vx6OVD9RRYlrNnXWExQXcmZeD/BQ==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-plugin-remove-jsx-attribute/6.0.0_@babel+core@7.20.5: + /@svgr/babel-plugin-remove-jsx-attribute/6.0.0_@babel+core@7.21.8: resolution: {integrity: sha512-aVdtfx9jlaaxc3unA6l+M9YRnKIZjOhQPthLKqmTXC8UVkBLDRGwPKo+r8n3VZN8B34+yVajzPTZ+ptTSuZZCw==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-plugin-remove-jsx-empty-expression/6.0.0_@babel+core@7.20.5: + /@svgr/babel-plugin-remove-jsx-empty-expression/6.0.0_@babel+core@7.21.8: resolution: {integrity: sha512-Ccj42ApsePD451AZJJf1QzTD1B/BOU392URJTeXFxSK709i0KUsGtbwyiqsKu7vsYxpTM0IA5clAKDyf9RCZyA==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-plugin-replace-jsx-attribute-value/6.5.1_@babel+core@7.20.5: + /@svgr/babel-plugin-replace-jsx-attribute-value/6.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-8DPaVVE3fd5JKuIC29dqyMB54sA6mfgki2H2+swh+zNJoynC8pMPzOkidqHOSc6Wj032fhl8Z0TVn1GiPpAiJg==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-plugin-svg-dynamic-title/6.5.1_@babel+core@7.20.5: + /@svgr/babel-plugin-svg-dynamic-title/6.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-FwOEi0Il72iAzlkaHrlemVurgSQRDFbk0OC8dSvD5fSBPHltNh7JtLsxmZUhjYBZo2PpcU/RJvvi6Q0l7O7ogw==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-plugin-svg-em-dimensions/6.5.1_@babel+core@7.20.5: + /@svgr/babel-plugin-svg-em-dimensions/6.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-gWGsiwjb4tw+ITOJ86ndY/DZZ6cuXMNE/SjcDRg+HLuCmwpcjOktwRF9WgAiycTqJD/QXqL2f8IzE2Rzh7aVXA==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-plugin-transform-react-native-svg/6.5.1_@babel+core@7.20.5: + /@svgr/babel-plugin-transform-react-native-svg/6.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-2jT3nTayyYP7kI6aGutkyfJ7UMGtuguD72OjeGLwVNyfPRBD8zQthlvL+fAbAKk5n9ZNcvFkp/b1lZ7VsYqVJg==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-plugin-transform-svg-component/6.5.1_@babel+core@7.20.5: + /@svgr/babel-plugin-transform-svg-component/6.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-a1p6LF5Jt33O3rZoVRBqdxL350oge54iZWHNI6LJB5tQ7EelvD/Mb1mfBiZNAan0dt4i3VArkFRjA4iObuNykQ==} engines: {node: '>=12'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 dev: false - /@svgr/babel-preset/6.5.1_@babel+core@7.20.5: + /@svgr/babel-preset/6.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-6127fvO/FF2oi5EzSQOAjo1LE3OtNVh11R+/8FXa+mHx1ptAaS4cknIjnUA7e6j6fwGGJ17NzaTJFUwOV2zwCw==} engines: {node: '>=10'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@svgr/babel-plugin-add-jsx-attribute': 6.5.1_@babel+core@7.20.5 - '@svgr/babel-plugin-remove-jsx-attribute': 6.0.0_@babel+core@7.20.5 - '@svgr/babel-plugin-remove-jsx-empty-expression': 6.0.0_@babel+core@7.20.5 - '@svgr/babel-plugin-replace-jsx-attribute-value': 6.5.1_@babel+core@7.20.5 - '@svgr/babel-plugin-svg-dynamic-title': 6.5.1_@babel+core@7.20.5 - '@svgr/babel-plugin-svg-em-dimensions': 6.5.1_@babel+core@7.20.5 - '@svgr/babel-plugin-transform-react-native-svg': 6.5.1_@babel+core@7.20.5 - '@svgr/babel-plugin-transform-svg-component': 6.5.1_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@svgr/babel-plugin-add-jsx-attribute': 6.5.1_@babel+core@7.21.8 + '@svgr/babel-plugin-remove-jsx-attribute': 6.0.0_@babel+core@7.21.8 + '@svgr/babel-plugin-remove-jsx-empty-expression': 6.0.0_@babel+core@7.21.8 + '@svgr/babel-plugin-replace-jsx-attribute-value': 6.5.1_@babel+core@7.21.8 + '@svgr/babel-plugin-svg-dynamic-title': 6.5.1_@babel+core@7.21.8 + '@svgr/babel-plugin-svg-em-dimensions': 6.5.1_@babel+core@7.21.8 + '@svgr/babel-plugin-transform-react-native-svg': 6.5.1_@babel+core@7.21.8 + '@svgr/babel-plugin-transform-svg-component': 6.5.1_@babel+core@7.21.8 dev: false /@svgr/core/6.2.0: @@ -13356,8 +13649,8 @@ packages: resolution: {integrity: sha512-/xdLSWxK5QkqG524ONSjvg3V/FkNyCv538OIBdQqPNaAta3AsXj/Bd2FbvR87yMbXO2hFSWiAe/Q6IkVPDw+mw==} engines: {node: '>=10'} dependencies: - '@babel/core': 7.20.5 - '@svgr/babel-preset': 6.5.1_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@svgr/babel-preset': 6.5.1_@babel+core@7.21.8 '@svgr/plugin-jsx': 6.5.1_@svgr+core@6.5.1 camelcase: 6.3.0 cosmiconfig: 7.0.1 @@ -13369,7 +13662,7 @@ packages: resolution: {integrity: sha512-1hnUxxjd83EAxbL4a0JDJoD3Dao3hmjvyvyEV8PzWmLK3B9m9NPlW7GKjFyoWE8nM7HnXzPcmmSyOW8yOddSXw==} engines: {node: '>=10'} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 entities: 4.4.0 dev: false @@ -13379,8 +13672,8 @@ packages: peerDependencies: '@svgr/core': ^6.0.0 dependencies: - '@babel/core': 7.20.5 - '@svgr/babel-preset': 6.5.1_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@svgr/babel-preset': 6.5.1_@babel+core@7.21.8 '@svgr/core': 6.2.0 '@svgr/hast-util-to-babel-ast': 6.5.1 svg-parser: 2.0.4 @@ -13394,8 +13687,8 @@ packages: peerDependencies: '@svgr/core': ^6.0.0 dependencies: - '@babel/core': 7.20.5 - '@svgr/babel-preset': 6.5.1_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@svgr/babel-preset': 6.5.1_@babel+core@7.21.8 '@svgr/core': 6.2.0 '@svgr/hast-util-to-babel-ast': 6.5.1 svg-parser: 2.0.4 @@ -13409,8 +13702,8 @@ packages: peerDependencies: '@svgr/core': ^6.0.0 dependencies: - '@babel/core': 7.20.5 - '@svgr/babel-preset': 6.5.1_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@svgr/babel-preset': 6.5.1_@babel+core@7.21.8 '@svgr/core': 6.5.1 '@svgr/hast-util-to-babel-ast': 6.5.1 svg-parser: 2.0.4 @@ -13592,7 +13885,7 @@ packages: engines: {node: '>=12'} dependencies: '@babel/code-frame': 7.16.7 - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@types/aria-query': 4.2.2 aria-query: 5.0.0 chalk: 4.1.2 @@ -13604,7 +13897,7 @@ packages: resolution: {integrity: sha512-Gy+IoFutbMQcky0k+bqqumXZ1cTGswLsFqmNLzNdSKkU9KGV2u9oXhukCbbJ9/LRPKiqwxEE8VpV/+YZlfkPUA==} engines: {node: '>=8', npm: '>=6', yarn: '>=1'} dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@types/testing-library__jest-dom': 5.14.5 aria-query: 5.0.0 chalk: 3.0.0 @@ -13621,7 +13914,7 @@ packages: react: ^18.0.0 react-dom: ^18.0.0 dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 '@testing-library/dom': 8.14.0 '@types/react-dom': 18.0.6 react: 18.2.0 @@ -13673,11 +13966,11 @@ packages: resolution: {integrity: sha512-2TN6oiwtNjOezilFVl77zwdNPwQWaDBBCCWWxyo1ctiO3vAtd7H/aB/CBJdw9+kqq3+latD0SXoedIuHySSZWw==} dev: true - /@types/babel__core/7.1.20: - resolution: {integrity: sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ==} + /@types/babel__core/7.20.0: + resolution: {integrity: sha512-+n8dL/9GWblDO0iU6eZAwEIJVr5DWigtle+Q6HLOrh/pdbXOhOtqzq8VPPE2zvNJzSKY4vH/z3iT3tn0A3ypiQ==} dependencies: - '@babel/parser': 7.20.5 - '@babel/types': 7.20.5 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.2 @@ -13685,22 +13978,18 @@ packages: /@types/babel__generator/7.6.4: resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==} dependencies: - '@babel/types': 7.20.5 - - /@types/babel__preset-env/7.9.2: - resolution: {integrity: sha512-epEgKQiqTDZdPgYwtriYK1GVAGcyVZVvvw2UatX3+95mogKGimebApcMEWLF12uhUbNIvX284CSQEavnV/OIgw==} - dev: true + '@babel/types': 7.21.5 /@types/babel__template/7.4.1: resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} dependencies: - '@babel/parser': 7.20.5 - '@babel/types': 7.20.5 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 /@types/babel__traverse/7.18.2: resolution: {integrity: sha512-FcFaxOr2V5KZCviw1TnutEMVUVsGt4D2hP1TAfXZAMKuHYW3xQhe3jTxNPWutgCJ3/X1c5yX8ZoGVEItxKbwBg==} dependencies: - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 /@types/body-parser/1.19.2: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} @@ -15300,7 +15589,7 @@ packages: '@ant-design/cssinjs': 1.5.3_biqbaboplfbrettd7655fr4n2y '@ant-design/icons': 5.0.0_biqbaboplfbrettd7655fr4n2y '@ant-design/react-slick': 1.0.0_react@18.2.0 - '@babel/runtime': 7.20.7 + '@babel/runtime': 7.21.5 '@ctrl/tinycolor': 3.4.1 '@rc-component/mutate-observer': 1.0.0_biqbaboplfbrettd7655fr4n2y '@rc-component/tour': 1.1.0_biqbaboplfbrettd7655fr4n2y @@ -15360,7 +15649,7 @@ packages: '@ant-design/cssinjs': 1.6.2_biqbaboplfbrettd7655fr4n2y '@ant-design/icons': 5.0.0_biqbaboplfbrettd7655fr4n2y '@ant-design/react-slick': 1.0.0_react@18.2.0 - '@babel/runtime': 7.20.7 + '@babel/runtime': 7.21.5 '@ctrl/tinycolor': 3.6.0 '@rc-component/mutate-observer': 1.0.0_biqbaboplfbrettd7655fr4n2y '@rc-component/tour': 1.8.0_biqbaboplfbrettd7655fr4n2y @@ -15777,18 +16066,18 @@ packages: /b-validate/1.4.4: resolution: {integrity: sha512-E2tnSnxxKDyxP1G+TMTbVHA8XajfHHOJKeWm9YVRISSPtzTL7ZP/7tIYp01b+O83L5R/6i31+Su+vCOJBnQWFQ==} - /babel-jest/27.5.1_@babel+core@7.20.5: + /babel-jest/27.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: '@babel/core': ^7.8.0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 27.5.1_@babel+core@7.20.5 + babel-preset-jest: 27.5.1_@babel+core@7.21.8 chalk: 4.1.2 graceful-fs: 4.2.10 slash: 3.0.0 @@ -15796,51 +16085,51 @@ packages: - supports-color dev: false - /babel-jest/29.5.0_@babel+core@7.20.5: + /babel-jest/29.5.0_@babel+core@7.21.8: resolution: {integrity: sha512-mA4eCDh5mSo2EcA9xQjVTpmbbNk32Zb3Q3QFQsNhaK56Q+yoXowzFodLux30HRgyOho5rsQ6B0P9QpMkvvnJ0Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.8.0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/transform': 29.5.0 - '@types/babel__core': 7.1.20 + '@types/babel__core': 7.20.0 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.5.0_@babel+core@7.20.5 + babel-preset-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 graceful-fs: 4.2.10 slash: 3.0.0 transitivePeerDependencies: - supports-color - /babel-loader/8.2.5_em3sh5kto35xuanci4cvhzqfay: + /babel-loader/8.2.5_mmpnuuhn2f3w3mywbj64gkozau: resolution: {integrity: sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==} engines: {node: '>= 8.9'} peerDependencies: '@babel/core': ^7.0.0 webpack: '>=2' dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 find-cache-dir: 3.3.2 loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 4.46.0 + webpack: 5.82.1_esbuild@0.15.7 dev: false - /babel-loader/8.2.5_hbih46w65hlccgbwjmpr6qmi6m: + /babel-loader/8.2.5_ocf5rtwbdm3mau6pf6fzkqlwt4: resolution: {integrity: sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==} engines: {node: '>= 8.9'} peerDependencies: '@babel/core': ^7.0.0 webpack: '>=2' dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 find-cache-dir: 3.3.2 loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.82.1_esbuild@0.15.7 + webpack: 4.46.0 dev: false /babel-loader/9.1.0_hbih46w65hlccgbwjmpr6qmi6m: @@ -15892,7 +16181,7 @@ packages: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} engines: {node: '>=8'} dependencies: - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.17.12 '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.2.0 @@ -15904,9 +16193,9 @@ packages: resolution: {integrity: sha512-50wCwD5EMNW4aRpOwtqzyZHIewTYNxLA4nhB+09d8BIssfNfzBRhkBIHiaPv1Si226TQSvp8gxAJm2iY2qs2hQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@babel/template': 7.18.10 - '@babel/types': 7.18.4 - '@types/babel__core': 7.1.20 + '@babel/template': 7.16.7 + '@babel/types': 7.21.5 + '@types/babel__core': 7.20.0 '@types/babel__traverse': 7.18.2 dev: false @@ -15914,16 +16203,16 @@ packages: resolution: {integrity: sha512-zSuuuAlTMT4mzLj2nPnUm6fsE6270vdOfnpbJ+RmruU75UhLFvL0N2NgI7xpeS7NaB6hGqmd5pVpGTDYvi4Q3w==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/template': 7.18.10 - '@babel/types': 7.18.4 - '@types/babel__core': 7.1.20 + '@babel/template': 7.16.7 + '@babel/types': 7.21.5 + '@types/babel__core': 7.20.0 '@types/babel__traverse': 7.18.2 /babel-plugin-lodash/3.3.4: resolution: {integrity: sha512-yDZLjK7TCkWl1gpBeBGmuaDIFhZKmkoL+Cu2MUUjv5VxUZx/z7tBGBCBcQs5RI1Bkz5LLmNdjx7paOyQtMovyg==} dependencies: '@babel/helper-module-imports': 7.18.6 - '@babel/types': 7.20.5 + '@babel/types': 7.21.5 glob: 7.2.3 lodash: 4.17.21 require-package-name: 2.0.1 @@ -15932,7 +16221,7 @@ packages: /babel-plugin-macros/2.8.0: resolution: {integrity: sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==} dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 cosmiconfig: 6.0.0 resolve: 1.22.1 dev: false @@ -15941,7 +16230,7 @@ packages: resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} engines: {node: '>=10', npm: '>=6'} dependencies: - '@babel/runtime': 7.18.6 + '@babel/runtime': 7.21.5 cosmiconfig: 7.0.1 resolve: 1.22.1 dev: false @@ -15960,39 +16249,38 @@ packages: resolution: {integrity: sha512-OgOYHOLoRK+/mvXU9imKHlG6GkPLYrUCvFXG/CM93R/aNNO8pOOF4aS+S8CCHMDQoNSeiOYEZb/G6RwL95Jktw==} dev: false - /babel-plugin-polyfill-corejs2/0.3.3_@babel+core@7.18.0: + /babel-plugin-polyfill-corejs2/0.3.3_@babel+core@7.20.5: resolution: {integrity: sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/compat-data': 7.20.1 - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.18.0 + '@babel/compat-data': 7.21.7 + '@babel/core': 7.20.5 + '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.20.5 semver: 6.3.0 transitivePeerDependencies: - supports-color - dev: true + dev: false - /babel-plugin-polyfill-corejs2/0.3.3_@babel+core@7.20.5: + /babel-plugin-polyfill-corejs2/0.3.3_@babel+core@7.21.8: resolution: {integrity: sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/compat-data': 7.20.1 - '@babel/core': 7.20.5 - '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.20.5 + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.21.8 semver: 6.3.0 transitivePeerDependencies: - supports-color - dev: false - /babel-plugin-polyfill-corejs3/0.1.7_@babel+core@7.20.5: + /babel-plugin-polyfill-corejs3/0.1.7_@babel+core@7.21.8: resolution: {integrity: sha512-u+gbS9bbPhZWEeyy1oR/YaaSpod/KDT07arZHb80aTpl8H5ZBq+uN1nN9/xtX7jQyfLdPfoqI4Rue/MQSWJquw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-define-polyfill-provider': 0.1.5_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/helper-define-polyfill-provider': 0.1.5_@babel+core@7.21.8 core-js-compat: 3.26.1 transitivePeerDependencies: - supports-color @@ -16009,30 +16297,6 @@ packages: - supports-color dev: false - /babel-plugin-polyfill-corejs3/0.5.2_@babel+core@7.18.0: - resolution: {integrity: sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.18.0 - core-js-compat: 3.26.1 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-polyfill-corejs3/0.5.2_@babel+core@7.20.5: - resolution: {integrity: sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.20.5 - '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.20.5 - core-js-compat: 3.26.1 - transitivePeerDependencies: - - supports-color - dev: false - /babel-plugin-polyfill-corejs3/0.6.0_@babel+core@7.20.5: resolution: {integrity: sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA==} peerDependencies: @@ -16045,19 +16309,19 @@ packages: - supports-color dev: false - /babel-plugin-polyfill-regenerator/0.3.1_@babel+core@7.18.0: - resolution: {integrity: sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==} + /babel-plugin-polyfill-corejs3/0.6.0_@babel+core@7.21.8: + resolution: {integrity: sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.18.0 + '@babel/core': 7.21.8 + '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.21.8 + core-js-compat: 3.26.1 transitivePeerDependencies: - supports-color - dev: true - /babel-plugin-polyfill-regenerator/0.3.1_@babel+core@7.20.5: - resolution: {integrity: sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==} + /babel-plugin-polyfill-regenerator/0.4.1_@babel+core@7.20.5: + resolution: {integrity: sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: @@ -16067,16 +16331,15 @@ packages: - supports-color dev: false - /babel-plugin-polyfill-regenerator/0.4.1_@babel+core@7.20.5: + /babel-plugin-polyfill-regenerator/0.4.1_@babel+core@7.21.8: resolution: {integrity: sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.20.5 - '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.20.5 + '@babel/core': 7.21.8 + '@babel/helper-define-polyfill-provider': 0.3.3_@babel+core@7.21.8 transitivePeerDependencies: - supports-color - dev: false /babel-plugin-react-docgen/4.2.1: resolution: {integrity: sha512-UQ0NmGHj/HAqi5Bew8WvNfCk8wSsmdgNd8ZdMjBCICtyCJCq9LiqgqvjCYe570/Wg7AQArSq1VQ60Dd/CHN7mQ==} @@ -16104,8 +16367,8 @@ packages: peerDependencies: styled-components: '>= 2' dependencies: - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-module-imports': 7.18.6 + '@babel/helper-annotate-as-pure': 7.16.7 + '@babel/helper-module-imports': 7.16.7 babel-plugin-syntax-jsx: 6.18.0 lodash: 4.17.21 picomatch: 2.3.1 @@ -16137,51 +16400,51 @@ packages: '@babel/helper-plugin-utils': 7.20.2 dev: false - /babel-preset-current-node-syntax/1.0.1_@babel+core@7.20.5: + /babel-preset-current-node-syntax/1.0.1_@babel+core@7.21.8: resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.20.5 - '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.20.5 - '@babel/plugin-syntax-bigint': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.20.5 - '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.20.5 - '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.20.5 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.20.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.20.5 - '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.20.5 - - /babel-preset-jest/27.5.1_@babel+core@7.20.5: + '@babel/core': 7.21.8 + '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.21.8 + '@babel/plugin-syntax-bigint': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.21.8 + '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.21.8 + '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.21.8 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.21.8 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.21.8 + '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.21.8 + + /babel-preset-jest/27.5.1_@babel+core@7.21.8: resolution: {integrity: sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 babel-plugin-jest-hoist: 27.5.1 - babel-preset-current-node-syntax: 1.0.1_@babel+core@7.20.5 + babel-preset-current-node-syntax: 1.0.1_@babel+core@7.21.8 dev: false - /babel-preset-jest/29.5.0_@babel+core@7.20.5: + /babel-preset-jest/29.5.0_@babel+core@7.21.8: resolution: {integrity: sha512-JOMloxOqdiBSxMAzjRaH023/vvcaSaec49zvg+2LmNsktC7ei39LTJGw02J+9uUtTZUq6xbLyJ4dxe9sSmIuAg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 babel-plugin-jest-hoist: 29.5.0 - babel-preset-current-node-syntax: 1.0.1_@babel+core@7.20.5 + babel-preset-current-node-syntax: 1.0.1_@babel+core@7.21.8 /babel-walk/3.0.0-canary-5: resolution: {integrity: sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw==} engines: {node: '>= 10.0.0'} dependencies: - '@babel/types': 7.18.4 + '@babel/types': 7.21.5 dev: true /bail/1.0.5: @@ -17384,8 +17647,8 @@ packages: /constantinople/4.0.1: resolution: {integrity: sha512-vCrqcSIq4//Gx74TXXCGnHpulY1dskqLTFGDmhrGxzeXL8lF8kvXv6mpNWlJj1uD4DW23D4ljAqbY4RRaaUZIw==} dependencies: - '@babel/parser': 7.20.5 - '@babel/types': 7.18.4 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 dev: true /constants-browserify/1.0.0: @@ -18519,7 +18782,7 @@ packages: /dom-helpers/5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 csstype: 3.1.0 /dom-serializer/1.4.1: @@ -20099,8 +20362,8 @@ packages: resolution: {integrity: sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==} engines: {node: '>=8.3.0'} dependencies: - '@babel/traverse': 7.20.5 - '@babel/types': 7.18.4 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 c8: 7.11.3 transitivePeerDependencies: - supports-color @@ -20876,7 +21139,7 @@ packages: vue-template-compiler: optional: true dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.16.7 chalk: 2.4.2 micromatch: 3.1.10 minimatch: 3.1.2 @@ -21899,7 +22162,7 @@ packages: /history/4.10.1: resolution: {integrity: sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew==} dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 loose-envify: 1.4.0 resolve-pathname: 3.0.0 tiny-invariant: 1.2.0 @@ -23069,8 +23332,8 @@ packages: resolution: {integrity: sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.20.5 - '@babel/parser': 7.20.5 + '@babel/core': 7.21.8 + '@babel/parser': 7.21.8 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 semver: 6.3.0 @@ -23284,11 +23547,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 14.18.35 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23322,11 +23585,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 18.11.17 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23360,11 +23623,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 14.18.35 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23400,11 +23663,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 18.11.17 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23440,11 +23703,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 18.11.17 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23480,11 +23743,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 14.18.35 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23520,11 +23783,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 18.11.17 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23560,11 +23823,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 '@types/node': 14.18.35 - babel-jest: 29.5.0_@babel+core@7.20.5 + babel-jest: 29.5.0_@babel+core@7.21.8 chalk: 4.1.2 ci-info: 3.3.2 deepmerge: 4.3.0 @@ -23785,7 +24048,7 @@ packages: resolution: {integrity: sha512-Kijeg9Dag6CKtIDA7O21zNTACqD5MD/8HfIV8pdD94vFyFuer52SigdC3IQMhab3vACxXMiFk+yMHNdbqtyTGA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.16.7 '@jest/types': 29.5.0 '@types/stack-utils': 2.0.1 chalk: 4.1.2 @@ -23942,18 +24205,18 @@ packages: resolution: {integrity: sha512-x7Wolra5V0tt3wRs3/ts3S6ciSQVypgGQlJpz2rsdQYoUKxMxPNaoHMGJN6qAuPJqS+2iQ1ZUn5kl7HCyls84g==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.20.5 - '@babel/generator': 7.20.5 - '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.20.5 - '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.20.5 - '@babel/traverse': 7.20.5 - '@babel/types': 7.18.4 + '@babel/core': 7.21.8 + '@babel/generator': 7.18.2 + '@babel/plugin-syntax-jsx': 7.21.4_@babel+core@7.21.8 + '@babel/plugin-syntax-typescript': 7.21.4_@babel+core@7.21.8 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 '@jest/expect-utils': 29.5.0 '@jest/transform': 29.5.0 '@jest/types': 29.5.0 '@types/babel__traverse': 7.18.2 '@types/prettier': 2.6.3 - babel-preset-current-node-syntax: 1.0.1_@babel+core@7.20.5 + babel-preset-current-node-syntax: 1.0.1_@babel+core@7.21.8 chalk: 4.1.2 expect: 29.5.0 graceful-fs: 4.2.10 @@ -23964,7 +24227,7 @@ packages: jest-util: 29.5.0 natural-compare: 1.4.0 pretty-format: 29.5.0 - semver: 7.3.8 + semver: 7.3.7 transitivePeerDependencies: - supports-color @@ -24248,6 +24511,7 @@ packages: /jsesc/2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} + hasBin: true /json-buffer/3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -24506,7 +24770,7 @@ packages: resolution: {integrity: sha512-prXSYk799h3GY3iOWnC6ZigYzMPjxN2svgjJ9shk7oMadSNX3wXy0B6F32PMJv7qtMnrIbUxoEHzbutvxR2LBQ==} engines: {node: '>=6.0.0', npm: '>=6.0.0', yarn: '>=1.0.0'} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 app-root-dir: 1.0.2 core-js: 3.30.0 dotenv: 8.6.0 @@ -24890,7 +25154,6 @@ packages: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} dependencies: yallist: 3.1.1 - dev: false /lru-cache/6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} @@ -26248,7 +26511,7 @@ packages: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.9.0 - semver: 7.3.8 + semver: 7.3.7 validate-npm-package-license: 3.0.4 dev: true @@ -27068,7 +27331,7 @@ packages: resolution: {integrity: sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==} engines: {node: '>=10'} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 dev: false /polka/0.5.2: @@ -27261,7 +27524,7 @@ packages: loader-utils: 2.0.4 postcss: 7.0.39 schema-utils: 3.1.2 - semver: 7.3.8 + semver: 7.3.7 webpack: 4.46.0 dev: false @@ -28211,7 +28474,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 dom-align: 1.12.3 lodash: 4.17.21 @@ -28226,7 +28489,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 array-tree-filter: 2.1.0 classnames: 2.3.2 rc-select: 14.1.8_biqbaboplfbrettd7655fr4n2y @@ -28241,7 +28504,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 array-tree-filter: 2.1.0 classnames: 2.3.2 rc-select: 14.2.0_biqbaboplfbrettd7655fr4n2y @@ -28257,7 +28520,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 array-tree-filter: 2.1.0 classnames: 2.3.2 rc-select: 14.3.0_biqbaboplfbrettd7655fr4n2y @@ -28273,7 +28536,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -28284,7 +28547,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28298,7 +28561,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28313,7 +28576,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28327,7 +28590,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28340,7 +28603,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/portal': 1.1.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y @@ -28354,7 +28617,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28366,7 +28629,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/portal': 1.1.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y @@ -28380,7 +28643,7 @@ packages: react: '>=16.11.0' react-dom: '>=16.11.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-trigger: 5.3.4_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28394,7 +28657,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 async-validator: 4.2.5 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28407,7 +28670,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 async-validator: 4.2.5 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28419,7 +28682,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/portal': 1.1.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-dialog: 9.0.2_biqbaboplfbrettd7655fr4n2y @@ -28435,7 +28698,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/portal': 1.1.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-dialog: 9.0.2_biqbaboplfbrettd7655fr4n2y @@ -28451,7 +28714,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-dialog: 8.9.0_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28464,7 +28727,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28476,7 +28739,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/mini-decimal': 1.0.1 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28489,7 +28752,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28501,7 +28764,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28514,7 +28777,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28527,7 +28790,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-menu: 9.8.2_biqbaboplfbrettd7655fr4n2y rc-textarea: 0.4.7_biqbaboplfbrettd7655fr4n2y @@ -28543,7 +28806,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-menu: 9.6.0_biqbaboplfbrettd7655fr4n2y rc-textarea: 0.3.7_biqbaboplfbrettd7655fr4n2y @@ -28558,7 +28821,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-input: 0.2.2_biqbaboplfbrettd7655fr4n2y rc-menu: 9.8.2_biqbaboplfbrettd7655fr4n2y @@ -28575,7 +28838,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-overflow: 1.2.8_biqbaboplfbrettd7655fr4n2y @@ -28591,7 +28854,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-overflow: 1.2.8_biqbaboplfbrettd7655fr4n2y @@ -28608,7 +28871,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-overflow: 1.2.8_biqbaboplfbrettd7655fr4n2y @@ -28623,7 +28886,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28636,7 +28899,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28650,7 +28913,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28663,7 +28926,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28676,7 +28939,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -28687,7 +28950,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -28699,7 +28962,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 date-fns: 2.29.3 dayjs: 1.11.3 @@ -28727,7 +28990,7 @@ packages: moment: optional: true dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 dayjs: 1.11.3 rc-trigger: 5.3.4_biqbaboplfbrettd7655fr4n2y @@ -28754,7 +29017,7 @@ packages: moment: optional: true dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 dayjs: 1.11.3 rc-trigger: 5.3.4_biqbaboplfbrettd7655fr4n2y @@ -28769,7 +29032,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28781,7 +29044,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28794,7 +29057,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28806,7 +29069,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28819,7 +29082,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28832,7 +29095,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28846,7 +29109,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28860,7 +29123,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-overflow: 1.2.8_biqbaboplfbrettd7655fr4n2y @@ -28877,7 +29140,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-overflow: 1.2.8_biqbaboplfbrettd7655fr4n2y @@ -28895,7 +29158,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/trigger': 1.6.2_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y @@ -28913,7 +29176,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-tooltip: 5.2.2_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -28928,7 +29191,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28942,7 +29205,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28955,7 +29218,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28967,7 +29230,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28979,7 +29242,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -28992,7 +29255,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -29007,7 +29270,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/context': 1.3.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y @@ -29023,7 +29286,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/context': 1.3.0_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y @@ -29039,7 +29302,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-dropdown: 4.0.1_biqbaboplfbrettd7655fr4n2y rc-menu: 9.6.0_biqbaboplfbrettd7655fr4n2y @@ -29055,7 +29318,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-dropdown: 4.0.1_biqbaboplfbrettd7655fr4n2y rc-menu: 9.8.2_biqbaboplfbrettd7655fr4n2y @@ -29071,7 +29334,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -29085,7 +29348,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -29100,7 +29363,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-input: 0.2.2_biqbaboplfbrettd7655fr4n2y rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y @@ -29115,7 +29378,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 rc-trigger: 5.3.4_biqbaboplfbrettd7655fr4n2y react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -29126,7 +29389,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-trigger: 5.3.4_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -29138,7 +29401,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@rc-component/trigger': 1.6.2_biqbaboplfbrettd7655fr4n2y classnames: 2.3.2 react: 18.2.0 @@ -29151,7 +29414,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-select: 14.1.8_biqbaboplfbrettd7655fr4n2y rc-tree: 5.6.5_biqbaboplfbrettd7655fr4n2y @@ -29165,7 +29428,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-select: 14.2.0_biqbaboplfbrettd7655fr4n2y rc-tree: 5.7.2_biqbaboplfbrettd7655fr4n2y @@ -29180,7 +29443,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-select: 14.3.0_biqbaboplfbrettd7655fr4n2y rc-tree: 5.7.2_biqbaboplfbrettd7655fr4n2y @@ -29196,7 +29459,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -29211,7 +29474,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -29226,7 +29489,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-align: 4.0.12_biqbaboplfbrettd7655fr4n2y rc-motion: 2.6.3_biqbaboplfbrettd7655fr4n2y @@ -29240,7 +29503,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y react: 18.2.0 @@ -29252,7 +29515,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 react-is: 16.13.1 @@ -29263,7 +29526,7 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 react-is: 16.13.1 @@ -29275,7 +29538,7 @@ packages: react: '*' react-dom: '*' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 classnames: 2.3.2 rc-resize-observer: 1.3.1_biqbaboplfbrettd7655fr4n2y rc-util: 5.29.2_biqbaboplfbrettd7655fr4n2y @@ -29287,7 +29550,7 @@ packages: peerDependencies: react: ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 react: 18.2.0 /react-docgen-typescript/2.2.2_typescript@4.9.3: @@ -29310,9 +29573,9 @@ packages: resolution: {integrity: sha512-4Z5XYpHsn2bbUfaflxoS30VhUvQLBe4GCwwM5v1e1FUOeDdaoJi6wUGSmYp6OdXYEISEAOEIaSPBk4iezNCKBw==} engines: {node: '>=8.10.0'} dependencies: - '@babel/core': 7.20.5 - '@babel/generator': 7.20.5 - '@babel/runtime': 7.21.0 + '@babel/core': 7.21.8 + '@babel/generator': 7.18.2 + '@babel/runtime': 7.21.5 ast-types: 0.14.2 commander: 2.20.3 doctrine: 3.0.0 @@ -29359,7 +29622,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 '@types/react': 18.0.21 focus-lock: 0.11.2 prop-types: 15.8.1 @@ -29378,7 +29641,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 focus-lock: 0.11.2 prop-types: 15.8.1 react: 18.2.0 @@ -29393,7 +29656,7 @@ packages: react: ^16.6.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.6.0 || ^17.0.0 || ^18.0.0 dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 invariant: 2.2.4 prop-types: 15.8.1 react: 18.2.0 @@ -29419,7 +29682,7 @@ packages: peerDependencies: react: ^16.8.4 || ^17.0.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 is-dom: 1.1.0 prop-types: 15.8.1 react: 18.2.0 @@ -29488,7 +29751,7 @@ packages: peerDependencies: react: '>=15' dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 history: 4.10.1 loose-envify: 1.4.0 prop-types: 15.8.1 @@ -29526,7 +29789,7 @@ packages: peerDependencies: react: '>=15' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 history: 4.10.1 hoist-non-react-statics: 3.3.2 loose-envify: 1.4.0 @@ -29560,7 +29823,7 @@ packages: peerDependencies: react: '>= 0.14.0' dependencies: - '@babel/runtime': 7.18.0 + '@babel/runtime': 7.21.5 highlight.js: 10.7.3 lowlight: 1.20.0 prismjs: 1.28.0 @@ -29574,7 +29837,7 @@ packages: react: '>=16.6.0' react-dom: '>=16.6.0' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 @@ -29739,7 +30002,7 @@ packages: /redux/4.2.0: resolution: {integrity: sha512-oSBmcKKIuIR4ME29/AeNUnl5L+hvBq7OaJWzaptTQJAntaPvxIJqfnjbaEiCzzaIz+XmVILfqAM3Ob0aXLPfjA==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 dev: false /reflect-metadata/0.1.13: @@ -29760,6 +30023,12 @@ packages: dependencies: regenerate: 1.4.2 + /regenerate-unicode-properties/10.1.0: + resolution: {integrity: sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==} + engines: {node: '>=4'} + dependencies: + regenerate: 1.4.2 + /regenerate/1.4.2: resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} @@ -29769,10 +30038,10 @@ packages: /regenerator-runtime/0.13.9: resolution: {integrity: sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==} - /regenerator-transform/0.15.0: - resolution: {integrity: sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==} + /regenerator-transform/0.15.1: + resolution: {integrity: sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.21.5 /regex-not/1.0.2: resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} @@ -29806,6 +30075,17 @@ packages: unicode-match-property-ecmascript: 2.0.0 unicode-match-property-value-ecmascript: 2.0.0 + /regexpu-core/5.3.2: + resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} + engines: {node: '>=4'} + dependencies: + '@babel/regjsgen': 0.8.0 + regenerate: 1.4.2 + regenerate-unicode-properties: 10.1.0 + regjsparser: 0.9.1 + unicode-match-property-ecmascript: 2.0.0 + unicode-match-property-value-ecmascript: 2.1.0 + /regjsgen/0.6.0: resolution: {integrity: sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==} @@ -29815,6 +30095,12 @@ packages: dependencies: jsesc: 0.5.0 + /regjsparser/0.9.1: + resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} + hasBin: true + dependencies: + jsesc: 0.5.0 + /rehype-autolink-headings/6.1.1: resolution: {integrity: sha512-NMYzZIsHM3sA14nC5rAFuUPIOfg+DFmf9EY1YMhaNlB7+3kK/ZlE6kqPfuxr1tsJ1XWkTrMtMoyHosU70d35mA==} dependencies: @@ -30264,7 +30550,7 @@ packages: rollup: 2.79.0 typescript: 4.9.3 optionalDependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.21.4 dev: true /rollup-pluginutils/2.8.2: @@ -30532,10 +30818,12 @@ packages: /semver/6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} + hasBin: true /semver/7.3.5: resolution: {integrity: sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==} engines: {node: '>=10'} + hasBin: true dependencies: lru-cache: 6.0.0 dev: true @@ -31534,7 +31822,7 @@ packages: mime: 2.6.0 qs: 6.11.0 readable-stream: 3.6.0 - semver: 7.3.8 + semver: 7.3.7 transitivePeerDependencies: - supports-color @@ -32300,7 +32588,7 @@ packages: /ts-interface-checker/0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - /ts-jest/29.0.5_4lwji6rzi5v6og4d4ttsblyl5u: + /ts-jest/29.0.5_52zzqauzrd55rzw5cwo4tswy3m: resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -32321,9 +32609,10 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.20.5 + '@babel/core': 7.21.8 + '@jest/types': 29.5.0 + babel-jest: 27.5.1_@babel+core@7.21.8 bs-logger: 0.2.6 - esbuild: 0.15.7 fast-json-stable-stringify: 2.1.0 jest: 29.5.0_@types+node@14.18.35 jest-util: 29.3.1 @@ -32333,9 +32622,9 @@ packages: semver: 7.3.8 typescript: 4.9.3 yargs-parser: 21.0.1 - dev: true + dev: false - /ts-jest/29.0.5_hpvvyyw2r5cx4bys4kz4pp4rum: + /ts-jest/29.0.5_igyh6v6dfktrl57oxyjeyvbpt4: resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -32356,7 +32645,6 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.20.5 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.5.0_@types+node@14.18.35 @@ -32369,7 +32657,7 @@ packages: yargs-parser: 21.0.1 dev: true - /ts-jest/29.0.5_igyh6v6dfktrl57oxyjeyvbpt4: + /ts-jest/29.0.5_ph2sidlzcfqeq5xdaxqiro5pqa: resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -32390,7 +32678,9 @@ packages: esbuild: optional: true dependencies: + '@babel/core': 7.21.8 bs-logger: 0.2.6 + esbuild: 0.15.7 fast-json-stable-stringify: 2.1.0 jest: 29.5.0_@types+node@14.18.35 jest-util: 29.3.1 @@ -32402,7 +32692,7 @@ packages: yargs-parser: 21.0.1 dev: true - /ts-jest/29.0.5_xrnaqwspzwbutsq6icoimzhcuu: + /ts-jest/29.0.5_ujbyfodziiwtzbycnht5jcf3hy: resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -32423,9 +32713,7 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.20.5 - '@jest/types': 29.5.0 - babel-jest: 27.5.1_@babel+core@7.20.5 + '@babel/core': 7.21.8 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.5.0_@types+node@14.18.35 @@ -32436,7 +32724,7 @@ packages: semver: 7.3.8 typescript: 4.9.3 yargs-parser: 21.0.1 - dev: false + dev: true /ts-loader/9.3.1_7rk4b2hmmye4ay4nslib7apbti: resolution: {integrity: sha512-OkyShkcZTsTwyS3Kt7a4rsT/t2qvEVQuKCTg4LJmpj9fhFR7ukGdZwV6Qq3tRUkqcXtfGpPR7+hFKHCG/0d3Lw==} @@ -32795,7 +33083,7 @@ packages: resolution: {integrity: sha512-2Vg09mp+nA70AWUedJ8WRgB2me3buq7JGbOnjHnFnNaBzomVu5k7lJ9YGpByIlre+UYr7QRhtlj7+IUKxvCrUA==} engines: {node: '>=12.13.0'} dependencies: - '@babel/parser': 7.20.5 + '@babel/parser': 7.21.8 '@babel/template': 7.18.10 autoprefixer: 10.4.13_postcss@8.4.21 babel-plugin-macros: 2.8.0 @@ -33003,6 +33291,10 @@ packages: resolution: {integrity: sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==} engines: {node: '>=4'} + /unicode-match-property-value-ecmascript/2.1.0: + resolution: {integrity: sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==} + engines: {node: '>=4'} + /unicode-property-aliases-ecmascript/2.0.0: resolution: {integrity: sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==} engines: {node: '>=4'} @@ -34413,8 +34705,8 @@ packages: resolution: {integrity: sha512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w==} engines: {node: '>= 10.0.0'} dependencies: - '@babel/parser': 7.20.5 - '@babel/types': 7.18.4 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 assert-never: 1.2.1 babel-walk: 3.0.0-canary-5 dev: true @@ -34584,7 +34876,6 @@ packages: /yallist/3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - dev: false /yallist/4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} From 14808fe9e2144318f092096f5d4bfc42649d743c Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Fri, 19 May 2023 14:14:16 +0800 Subject: [PATCH 02/10] chore: remove some prebundle --- .../helper-validator-identifier/index.d.ts | 1 - .../helper-validator-identifier/index.js | 1 - .../helper-validator-identifier/license | 22 - .../helper-validator-identifier/package.json | 1 - .../compiled/@babel/parser/index.d.ts | 1 - .../compiled/@babel/parser/index.js | 1 - .../compiled/@babel/parser/license | 19 - .../compiled/@babel/parser/package.json | 1 - .../compiled/@babel/types/index.js | 1 - .../@babel/types/lib/index-legacy.d.ts | 2732 ----------------- .../compiled/@babel/types/license | 22 - .../compiled/@babel/types/package.json | 1 - .../builder-shared/compiled/pug/index.js | 4 +- packages/builder/builder-shared/package.json | 2 + .../helper-validator-identifier/index.d.ts | 1 - .../helper-validator-identifier/index.js | 1 - .../helper-validator-identifier/license | 22 - .../helper-validator-identifier/package.json | 1 - .../compiled/@babel/parser/index.d.ts | 1 - .../compiled/@babel/parser/index.js | 1 - .../compiled/@babel/parser/license | 19 - .../compiled/@babel/parser/package.json | 1 - .../compiled/@babel/types/index.js | 1 - .../@babel/types/lib/index-legacy.d.ts | 2732 ----------------- .../compiled/@babel/types/license | 22 - .../compiled/@babel/types/package.json | 1 - pnpm-lock.yaml | 4 + scripts/prebundle/src/constant.ts | 34 +- 28 files changed, 10 insertions(+), 5640 deletions(-) delete mode 100644 packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.d.ts delete mode 100644 packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.js delete mode 100644 packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/license delete mode 100644 packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/package.json delete mode 100644 packages/builder/builder-shared/compiled/@babel/parser/index.d.ts delete mode 100644 packages/builder/builder-shared/compiled/@babel/parser/index.js delete mode 100644 packages/builder/builder-shared/compiled/@babel/parser/license delete mode 100644 packages/builder/builder-shared/compiled/@babel/parser/package.json delete mode 100644 packages/builder/builder-shared/compiled/@babel/types/index.js delete mode 100644 packages/builder/builder-shared/compiled/@babel/types/lib/index-legacy.d.ts delete mode 100644 packages/builder/builder-shared/compiled/@babel/types/license delete mode 100644 packages/builder/builder-shared/compiled/@babel/types/package.json delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.d.ts delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.js delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/license delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/package.json delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/parser/index.d.ts delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/parser/index.js delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/parser/license delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/parser/package.json delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/types/index.js delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/types/lib/index-legacy.d.ts delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/types/license delete mode 100644 packages/builder/builder-webpack-provider/compiled/@babel/types/package.json diff --git a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.d.ts b/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.js b/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.js deleted file mode 100644 index 4d2018551bb1..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={860:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let i="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const n=new RegExp("["+t+"]");const s=new RegExp("["+t+i+"]");t=i=null;const d=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,43,17,47,20,28,22,13,52,58,1,3,0,14,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,38,6,186,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,19,72,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,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,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,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];const u=[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,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let i=0,n=r.length;ie)return false;t+=r[i+1];if(t>=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&&n.test(String.fromCharCode(e))}return isInAstralSet(e,d)}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&&s.test(String.fromCharCode(e))}return isInAstralSet(e,d)||isInAstralSet(e,u)}function isIdentifierName(e){let r=true;for(let t=0;t{Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={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(t.keyword);const n=new Set(t.strict);const s=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||n.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return i.has(e)}}};var r={};function __nccwpck_require__(t){var i=r[t];if(i!==undefined){return i.exports}var n=r[t]={exports:{}};var s=true;try{e[t](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete r[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:true});Object.defineProperty(e,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(e,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(e,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(e,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});Object.defineProperty(e,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(e,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});var r=__nccwpck_require__(860);var i=__nccwpck_require__(501)})();module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/license b/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/license deleted file mode 100644 index f31575ec773b..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/license +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/package.json b/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/package.json deleted file mode 100644 index 0196031cd2ab..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/helper-validator-identifier/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/helper-validator-identifier","author":"The Babel Team (https://babel.dev/team)","version":"7.16.7","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/@babel/parser/index.d.ts b/packages/builder/builder-shared/compiled/@babel/parser/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/parser/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/@babel/parser/index.js b/packages/builder/builder-shared/compiled/@babel/parser/index.js deleted file mode 100644 index d1e73cc77a1a..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/parser/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var e={};(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:true});function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var i=Object.keys(e);var r,a;for(a=0;a=0)continue;s[r]=e[r]}return s}class Position{constructor(e,t,s){this.line=void 0;this.column=void 0;this.index=void 0;this.line=e;this.column=t;this.index=s}}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 createPositionWithColumnOffset(e,t){const{line:s,column:i,index:r}=e;return new Position(s,i+t,r+t)}const s=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const reflect=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(s){e.reduce(((e,i,r)=>r===t?e[i]=s:e[i]),this)}});const instantiate=(e,t,s)=>Object.keys(s).map((e=>[e,s[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,typeof t==="function"?{value:t,enumerable:false}:typeof t.reflect==="string"?Object.assign({},t,reflect(t.reflect.split("."))):t])).reduce(((e,[t,s])=>Object.defineProperty(e,t,Object.assign({configurable:true},s))),Object.assign(new e,t));var ModuleErrors=e=>({ImportMetaOutsideModule:e(`import.meta may appear only with 'sourceType: "module"'`,{code:s.SourceTypeModuleError}),ImportOutsideModule:e(`'import' and 'export' may appear only with 'sourceType: "module"'`,{code:s.SourceTypeModuleError})});const i={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"};const toNodeDescription=({type:e,prefix:t})=>e==="UpdateExpression"?i.UpdateExpression[String(t)]:i[e];var StandardErrors=e=>({AccessorIsGenerator:e((({kind:e})=>`A ${e}ter cannot be a generator.`)),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((({kind:e})=>`Missing initializer in ${e} declaration.`)),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`)),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`)),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`)),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((({type:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`)),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`)),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((({maxArgumentCount:e})=>`\`import()\` requires exactly ${e===1?"one argument":"one or two arguments"}.`)),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((({radix:e})=>`Expected number in radix ${e}.`)),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((({reservedWord:e})=>`Escape sequence in keyword ${e}.`)),InvalidIdentifier:e((({identifierName:e})=>`Invalid identifier ${e}.`)),InvalidLhs:e((({ancestor:e})=>`Invalid left-hand side in ${toNodeDescription(e)}.`)),InvalidLhsBinding:e((({ancestor:e})=>`Binding invalid left-hand side in ${toNodeDescription(e)}.`)),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((({unexpected:e})=>`Unexpected character '${e}'.`)),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((({identifierName:e})=>`Private name #${e} is not defined.`)),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((({labelName:e})=>`Label '${e}' is already declared.`)),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingOneOfPlugins:e((({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`)),ModuleExportNameHasLoneSurrogate:e((({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`)),ModuleExportUndefined:e((({localName:e})=>`Export '${e}' is not defined.`)),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`)),PrivateNameRedeclaration:e((({identifierName:e})=>`Duplicate private name #${e}.`)),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("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:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`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:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((({keyword:e})=>`Unexpected keyword '${e}'.`)),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((({reservedWord:e})=>`Unexpected reserved word '${e}'.`)),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`)),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`)),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((({identifierName:e})=>`Identifier '${e}' has already been declared.`)),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")});var StrictModeErrors=e=>({StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((({referenceName:e})=>`Assigning to '${e}' in strict mode.`)),StrictEvalArgumentsBinding:e((({bindingName:e})=>`Binding '${e}' in strict mode.`)),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")});const r=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var PipelineOperatorErrors=e=>({PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`)),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({type:e})}; please wrap it in parentheses.`)),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')});const a=["toMessage"];function toParseErrorConstructor(e){let{toMessage:t}=e,s=_objectWithoutPropertiesLoose(e,a);return function constructor({loc:e,details:i}){return instantiate(SyntaxError,Object.assign({},s,{loc:e}),{clone(e={}){const t=e.loc||{};return constructor({loc:new Position("line"in t?t.line:this.loc.line,"column"in t?t.column:this.loc.column,"index"in t?t.index:this.loc.index),details:Object.assign({},this.details,e.details)})},details:{value:i,enumerable:false},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:true},missingPlugin:"missingPlugin"in i&&{reflect:"details.missingPlugin",enumerable:true}})}}function toParseErrorCredentials(e,t){return Object.assign({toMessage:typeof e==="string"?()=>e:e},t)}function ParseErrorEnum(e,t){if(Array.isArray(e)){return t=>ParseErrorEnum(t,e[0])}const i=e(toParseErrorCredentials);const r={};for(const e of Object.keys(i)){r[e]=toParseErrorConstructor(Object.assign({code:s.SyntaxError,reasonCode:e},t?{syntaxPlugin:t}:{},i[e]))}return r}const n=Object.assign({},ParseErrorEnum(ModuleErrors),ParseErrorEnum(StandardErrors),ParseErrorEnum(StrictModeErrors),ParseErrorEnum`pipelineOperator`(PipelineOperatorErrors));const{defineProperty:o}=Object;const toUnenumerable=(e,t)=>o(e,t,{enumerable:false,value:e[t]});function toESTreeLocation(e){e.loc.start&&toUnenumerable(e.loc.start,"index");e.loc.end&&toUnenumerable(e.loc.end,"index");return e}var estree=e=>class extends e{parse(){const e=toESTreeLocation(super.parse());if(this.options.tokens){e.tokens=e.tokens.map(toESTreeLocation)}return e}parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const i=this.estreeParseLiteral(s);i.regex={pattern:e,flags:t};return i}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 i=this.startNodeAt(t.start,t.loc.start);i.value=t.extra.expressionValue;i.raw=t.extra.raw;s.expression=this.finishNodeAt(i,"Literal",t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",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)}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,i,r,a){this.parseMethod(t,s,i,r,a,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();{if(!this.getPluginOption("estree","classFeatures")){return e}}return this.convertPrivateNameToPrivateIdentifier(e)}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,i,r,a,n=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,i,r,a,n);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")){return t}}t.type="PropertyDefinition";return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";t.computed=false;return t}parseObjectMethod(e,t,s,i,r){const a=super.parseObjectMethod(e,t,s,i,r);if(a){a.type="Property";if(a.kind==="method")a.kind="init";a.shorthand=false}return a}parseObjectProperty(e,t,s,i,r){const a=super.parseObjectProperty(e,t,s,i,r);if(a){a.kind="init";a.type="Property"}return a}isValidLVal(e,...t){return e==="Property"?"value":super.isValidLVal(e,...t)}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)){const{key:s,value:i}=e;if(this.isPrivateName(s)){this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start)}this.toAssignable(i,t)}else{super.toAssignable(e,t)}}toAssignableObjectExpressionProp(e){if(e.kind==="get"||e.kind==="set"){this.raise(n.PatternHasAccessor,{at:e.key})}else if(e.method){this.raise(n.PatternHasMethod,{at:e.key})}else{super.toAssignableObjectExpressionProp(...arguments)}}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,i,r){const a=super.parseSubscript(e,t,s,i,r);if(r.optionalChainMember){if(a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression"){a.type=a.type.substring(8)}if(r.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"}finishNodeAt(e,t,s){return toESTreeLocation(super.finishNodeAt(e,t,s))}resetStartLocation(e,t,s){super.resetStartLocation(e,t,s);toESTreeLocation(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t);toESTreeLocation(e)}};class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const h={brace:new TokContext("{"),j_oTag:new TokContext("...",true)};{h.template=new TokContext("`",true)}const c=true;const p=true;const l=true;const u=true;const d=true;const f=true;class ExportedTokenType{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.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 m=new Map;function createKeyword(e,t={}){t.keyword=e;const s=createToken(e,t);m.set(e,s);return s}function createBinop(e,t){return createToken(e,{beforeExpr:c,binop:t})}let y=-1;const x=[];const P=[];const g=[];const T=[];const b=[];const w=[];function createToken(e,t={}){var s,i,r,a;++y;P.push(e);g.push((s=t.binop)!=null?s:-1);T.push((i=t.beforeExpr)!=null?i:false);b.push((r=t.startsExpr)!=null?r:false);w.push((a=t.prefix)!=null?a:false);x.push(new ExportedTokenType(e,t));return y}function createKeywordLike(e,t={}){var s,i,r,a;++y;m.set(e,y);P.push(e);g.push((s=t.binop)!=null?s:-1);T.push((i=t.beforeExpr)!=null?i:false);b.push((r=t.startsExpr)!=null?r:false);w.push((a=t.prefix)!=null?a:false);x.push(new ExportedTokenType("name",t));return y}const A={bracketL:createToken("[",{beforeExpr:c,startsExpr:p}),bracketHashL:createToken("#[",{beforeExpr:c,startsExpr:p}),bracketBarL:createToken("[|",{beforeExpr:c,startsExpr:p}),bracketR:createToken("]"),bracketBarR:createToken("|]"),braceL:createToken("{",{beforeExpr:c,startsExpr:p}),braceBarL:createToken("{|",{beforeExpr:c,startsExpr:p}),braceHashL:createToken("#{",{beforeExpr:c,startsExpr:p}),braceR:createToken("}"),braceBarR:createToken("|}"),parenL:createToken("(",{beforeExpr:c,startsExpr:p}),parenR:createToken(")"),comma:createToken(",",{beforeExpr:c}),semi:createToken(";",{beforeExpr:c}),colon:createToken(":",{beforeExpr:c}),doubleColon:createToken("::",{beforeExpr:c}),dot:createToken("."),question:createToken("?",{beforeExpr:c}),questionDot:createToken("?."),arrow:createToken("=>",{beforeExpr:c}),template:createToken("template"),ellipsis:createToken("...",{beforeExpr:c}),backQuote:createToken("`",{startsExpr:p}),dollarBraceL:createToken("${",{beforeExpr:c,startsExpr:p}),templateTail:createToken("...`",{startsExpr:p}),templateNonTail:createToken("...${",{beforeExpr:c,startsExpr:p}),at:createToken("@"),hash:createToken("#",{startsExpr:p}),interpreterDirective:createToken("#!..."),eq:createToken("=",{beforeExpr:c,isAssign:u}),assign:createToken("_=",{beforeExpr:c,isAssign:u}),slashAssign:createToken("_=",{beforeExpr:c,isAssign:u}),xorAssign:createToken("_=",{beforeExpr:c,isAssign:u}),moduloAssign:createToken("_=",{beforeExpr:c,isAssign:u}),incDec:createToken("++/--",{prefix:d,postfix:f,startsExpr:p}),bang:createToken("!",{beforeExpr:c,prefix:d,startsExpr:p}),tilde:createToken("~",{beforeExpr:c,prefix:d,startsExpr:p}),doubleCaret:createToken("^^",{startsExpr:p}),doubleAt:createToken("@@",{startsExpr:p}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),lt:createBinop("/<=/>=",7),gt:createBinop("/<=/>=",7),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),bitShiftL:createBinop("<>/>>>",8),bitShiftR:createBinop("<>/>>>",8),plusMin:createToken("+/-",{beforeExpr:c,binop:9,prefix:d,startsExpr:p}),modulo:createToken("%",{binop:10,startsExpr:p}),star:createToken("*",{binop:10}),slash:createBinop("/",10),exponent:createToken("**",{beforeExpr:c,binop:11,rightAssociative:true}),_in:createKeyword("in",{beforeExpr:c,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:c,binop:7}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:c}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:c}),_else:createKeyword("else",{beforeExpr:c}),_finally:createKeyword("finally"),_function:createKeyword("function",{startsExpr:p}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:c}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:c,prefix:d,startsExpr:p}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:c,startsExpr:p}),_this:createKeyword("this",{startsExpr:p}),_super:createKeyword("super",{startsExpr:p}),_class:createKeyword("class",{startsExpr:p}),_extends:createKeyword("extends",{beforeExpr:c}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:p}),_null:createKeyword("null",{startsExpr:p}),_true:createKeyword("true",{startsExpr:p}),_false:createKeyword("false",{startsExpr:p}),_typeof:createKeyword("typeof",{beforeExpr:c,prefix:d,startsExpr:p}),_void:createKeyword("void",{beforeExpr:c,prefix:d,startsExpr:p}),_delete:createKeyword("delete",{beforeExpr:c,prefix:d,startsExpr:p}),_do:createKeyword("do",{isLoop:l,beforeExpr:c}),_for:createKeyword("for",{isLoop:l}),_while:createKeyword("while",{isLoop:l}),_as:createKeywordLike("as",{startsExpr:p}),_assert:createKeywordLike("assert",{startsExpr:p}),_async:createKeywordLike("async",{startsExpr:p}),_await:createKeywordLike("await",{startsExpr:p}),_from:createKeywordLike("from",{startsExpr:p}),_get:createKeywordLike("get",{startsExpr:p}),_let:createKeywordLike("let",{startsExpr:p}),_meta:createKeywordLike("meta",{startsExpr:p}),_of:createKeywordLike("of",{startsExpr:p}),_sent:createKeywordLike("sent",{startsExpr:p}),_set:createKeywordLike("set",{startsExpr:p}),_static:createKeywordLike("static",{startsExpr:p}),_yield:createKeywordLike("yield",{startsExpr:p}),_asserts:createKeywordLike("asserts",{startsExpr:p}),_checks:createKeywordLike("checks",{startsExpr:p}),_exports:createKeywordLike("exports",{startsExpr:p}),_global:createKeywordLike("global",{startsExpr:p}),_implements:createKeywordLike("implements",{startsExpr:p}),_intrinsic:createKeywordLike("intrinsic",{startsExpr:p}),_infer:createKeywordLike("infer",{startsExpr:p}),_is:createKeywordLike("is",{startsExpr:p}),_mixins:createKeywordLike("mixins",{startsExpr:p}),_proto:createKeywordLike("proto",{startsExpr:p}),_require:createKeywordLike("require",{startsExpr:p}),_keyof:createKeywordLike("keyof",{startsExpr:p}),_readonly:createKeywordLike("readonly",{startsExpr:p}),_unique:createKeywordLike("unique",{startsExpr:p}),_abstract:createKeywordLike("abstract",{startsExpr:p}),_declare:createKeywordLike("declare",{startsExpr:p}),_enum:createKeywordLike("enum",{startsExpr:p}),_module:createKeywordLike("module",{startsExpr:p}),_namespace:createKeywordLike("namespace",{startsExpr:p}),_interface:createKeywordLike("interface",{startsExpr:p}),_type:createKeywordLike("type",{startsExpr:p}),_opaque:createKeywordLike("opaque",{startsExpr:p}),name:createToken("name",{startsExpr:p}),string:createToken("string",{startsExpr:p}),num:createToken("num",{startsExpr:p}),bigint:createToken("bigint",{startsExpr:p}),decimal:createToken("decimal",{startsExpr:p}),regexp:createToken("regexp",{startsExpr:p}),privateName:createToken("#name",{startsExpr:p}),eof:createToken("eof"),jsxName:createToken("jsxName"),jsxText:createToken("jsxText",{beforeExpr:true}),jsxTagStart:createToken("jsxTagStart",{startsExpr:true}),jsxTagEnd:createToken("jsxTagEnd"),placeholder:createToken("%%",{startsExpr:true})};function tokenIsIdentifier(e){return e>=93&&e<=128}function tokenKeywordOrIdentifierIsKeyword(e){return e<=92}function tokenIsKeywordOrIdentifier(e){return e>=58&&e<=128}function tokenIsLiteralPropertyName(e){return e>=58&&e<=132}function tokenComesBeforeExpression(e){return T[e]}function tokenCanStartExpression(e){return b[e]}function tokenIsAssignment(e){return e>=29&&e<=33}function tokenIsFlowInterfaceOrTypeOrOpaque(e){return e>=125&&e<=127}function tokenIsLoop(e){return e>=90&&e<=92}function tokenIsKeyword(e){return e>=58&&e<=92}function tokenIsOperator(e){return e>=39&&e<=59}function tokenIsPostfix(e){return e===34}function tokenIsPrefix(e){return w[e]}function tokenIsTSTypeOperator(e){return e>=117&&e<=119}function tokenIsTSDeclarationStart(e){return e>=120&&e<=126}function tokenLabelName(e){return P[e]}function tokenOperatorPrecedence(e){return g[e]}function tokenIsBinaryOperator(e){return g[e]!==-1}function tokenIsRightAssociative(e){return e===57}function tokenIsTemplate(e){return e>=24&&e<=25}function getExportedToken(e){return x[e]}{x[8].updateContext=e=>{e.pop()};x[5].updateContext=x[7].updateContext=x[23].updateContext=e=>{e.push(h.brace)};x[22].updateContext=e=>{if(e[e.length-1]===h.template){e.pop()}else{e.push(h.template)}};x[138].updateContext=e=>{e.push(h.j_expr,h.j_oTag)}}let E="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let S="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const C=new RegExp("["+E+"]");const I=new RegExp("["+E+S+"]");E=S=null;const k=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,43,17,47,20,28,22,13,52,58,1,3,0,14,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,38,6,186,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,19,72,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,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,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,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];const N=[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,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let i=0,r=t.length;ie)return false;s+=t[i+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&&C.test(String.fromCharCode(e))}return isInAstralSet(e,k)}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,k)||isInAstralSet(e,N)}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 L=new Set(v.keyword);const M=new Set(v.strict);const O=new Set(v.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||M.has(e)}function isStrictBindOnlyReservedWord(e){return O.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return L.has(e)}function isIteratorStart(e,t,s){return e===64&&t===64&&isIdentifierStart(s)}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 F=0,B=1,R=2,j=4,U=8,_=16,K=32,H=64,z=128,V=256,q=B|R|V;const $=1,W=2,J=4,X=8,G=16,Y=64,Q=128,Z=256,ee=512,te=1024,se=2048;const ie=$|W|X|Q,re=$|0|X|0,ae=$|0|J|0,ne=$|0|G|0,oe=0|W|0|Q,he=0|W|0|0,ce=$|W|X|Z,pe=0|0|0|te,le=0|0|0|Y,ue=$|0|0|Y,de=ce|ee,fe=0|0|0|te,me=se;const ye=4,xe=2,Pe=1,ge=xe|Pe;const Te=xe|ye,be=Pe|ye,we=xe,Ae=Pe,Ee=0;class BaseParser{constructor(){this.sawUnambiguousESM=false;this.ambiguousScriptDifferentAst=false}hasPlugin(e){if(typeof e==="string"){return this.plugins.has(e)}else{const[t,s]=e;if(!this.hasPlugin(t)){return false}const i=this.plugins.get(t);for(const e of Object.keys(s)){if((i==null?void 0:i[e])!==s[e]){return false}}return true}}getPluginOption(e,t){var s;return(s=this.plugins.get(e))==null?void 0:s[t]}}function setTrailingComments(e,t){if(e.trailingComments===undefined){e.trailingComments=t}else{e.trailingComments.unshift(...t)}}function setLeadingComments(e,t){if(e.leadingComments===undefined){e.leadingComments=t}else{e.leadingComments.unshift(...t)}}function setInnerComments(e,t){if(e.innerComments===undefined){e.innerComments=t}else{e.innerComments.unshift(...t)}}function adjustInnerComments(e,t,s){let i=null;let r=t.length;while(i===null&&r>0){i=t[--r]}if(i===null||i.start>s.start){setInnerComments(e,s.comments)}else{setTrailingComments(i,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 i=s-1;const r=t[i];if(r.start===e.end){r.leadingNode=e;i--}const{start:a}=e;for(;i>=0;i--){const s=t[i];const r=s.end;if(r>a){s.containingNode=e;this.finalizeComment(s);t.splice(i,1)}else{if(r===a){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){setLeadingComments(e.trailingNode,t)}}else{const{containingNode:s,start:i}=e;if(this.input.charCodeAt(i-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 i=t[s-1];if(i.leadingNode===e){i.leadingNode=null}}takeSurroundingComments(e,t,s){const{commentStack:i}=this.state;const r=i.length;if(r===0)return;let a=r-1;for(;a>=0;a--){const r=i[a];const n=r.end;const o=r.start;if(o===s){r.leadingNode=e}else if(n===t){r.trailingNode=e}else if(n=48&&e<=57};const Oe=new Set([103,109,115,105,121,117,100,118]);const De={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])};const Fe={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=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 CommentsParser{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.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,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}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){Ie.lastIndex=e;return Ie.test(this.input)?Ie.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(e,{at:t})));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){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(135);return}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(n.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=s+2;Ce.lastIndex=t+2;while(Ce.test(this.input)&&Ce.lastIndex<=s){++this.state.curLine;this.state.lineStart=Ce.lastIndex}if(this.isLookahead)return;const i={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(i);return i}skipLineComment(e){const t=this.state.pos;let s;if(!this.isLookahead)s=this.state.curPosition();let i=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 i={start:e,end:s,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(e,t){this.state.end=this.state.pos;this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.updateContext(s)}}replaceToken(e){this.state.type=e;this.updateContext()}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(n.UnexpectedDigitAfterHash,{at:this.state.curPosition()})}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(t===123?n.RecordExpressionHashIncorrectStartSyntaxType:n.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;if(t===123){this.finishToken(7)}else{this.finishToken(1)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(134,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(134,this.readWord1())}else{this.finishOp(27,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(21)}else{++this.state.pos;this.finishToken(16)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(31,2)}else{this.finishOp(56,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(18)}else{++this.state.pos;this.finishToken(17)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(10);return;case 41:++this.state.pos;this.finishToken(11);return;case 59:++this.state.pos;this.finishToken(13);return;case 44:++this.state.pos;this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(n.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(2)}else{++this.state.pos;this.finishToken(0)}return;case 93:++this.state.pos;this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(n.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(6)}else{++this.state.pos;this.finishToken(5)}return;case 125:++this.state.pos;this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(15,2)}else{++this.state.pos;this.finishToken(14)}return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();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:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(n.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected: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.startLoc;const t=this.state.start+1;let s,i;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(n.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}const t=this.input.charCodeAt(r);if(isNewLine(t)){throw this.raise(n.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}if(s){s=false}else{if(t===91){i=true}else if(t===93&&i){i=false}else if(t===47&&!i){break}s=t===92}}const a=this.input.slice(t,r);++r;let o="";const nextPos=()=>createPositionWithColumnOffset(e,r+2-t);while(r=97){r=t-97+10}else if(t>=65){r=t-65+10}else if(Me(t)){r=t-48}else{r=Infinity}if(r>=e){if(this.options.errorRecovery&&r<=9){r=0;this.raise(n.InvalidDigit,{at:this.state.curPosition(),radix:e})}else if(s){r=0;h=true}else{break}}++this.state.pos;c=c*e+r}if(this.state.pos===r||t!=null&&this.state.pos-r!==t||h){return null}return c}readRadixNumber(e){const t=this.state.curPosition();let s=false;this.state.pos+=2;const i=this.readInt(e);if(i==null){this.raise(n.InvalidDigit,{at:createPositionWithColumnOffset(t,2),radix:e})}const r=this.input.charCodeAt(this.state.pos);if(r===110){++this.state.pos;s=true}else if(r===109){throw this.raise(n.InvalidDecimal,{at:t})}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(n.NumberIdentifier,{at:this.state.curPosition()})}if(s){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e);return}this.finishToken(130,i)}readNumber(e){const t=this.state.pos;const s=this.state.curPosition();let i=false;let r=false;let a=false;let o=false;let h=false;if(!e&&this.readInt(10)===null){this.raise(n.InvalidNumber,{at:this.state.curPosition()})}const c=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(c){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(n.StrictOctalLiteral,{at:s});if(!this.state.strict){const t=e.indexOf("_");if(t>0){this.raise(n.ZeroDigitNumericSeparator,{at:createPositionWithColumnOffset(s,t)})}}h=c&&!/[89]/.test(e)}let p=this.input.charCodeAt(this.state.pos);if(p===46&&!h){++this.state.pos;this.readInt(10);i=true;p=this.input.charCodeAt(this.state.pos)}if((p===69||p===101)&&!h){p=this.input.charCodeAt(++this.state.pos);if(p===43||p===45){++this.state.pos}if(this.readInt(10)===null){this.raise(n.InvalidOrMissingExponent,{at:s})}i=true;o=true;p=this.input.charCodeAt(this.state.pos)}if(p===110){if(i||c){this.raise(n.InvalidBigIntLiteral,{at:s})}++this.state.pos;r=true}if(p===109){this.expectPlugin("decimal",this.state.curPosition());if(o||c){this.raise(n.InvalidDecimal,{at:s})}++this.state.pos;a=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(n.NumberIdentifier,{at:this.state.curPosition()})}const l=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(131,l);return}if(a){this.finishToken(132,l);return}const u=h?parseInt(l,8):parseFloat(l);this.finishToken(130,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){++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(n.InvalidCodePoint,{at:this.state.curPosition()})}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(n.UnterminatedString,{at:this.state.startLoc})}const i=this.input.charCodeAt(this.state.pos);if(i===e)break;if(i===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(i===8232||i===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(i)){throw this.raise(n.UnterminatedString,{at:this.state.startLoc})}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(129,t)}readTemplateContinuation(){if(!this.match(8)){this.unexpected(null,8)}this.state.pos--;this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,s=false;++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(n.UnterminatedTemplate,{at:createPositionWithColumnOffset(this.state.startLoc,1)})}const i=this.input.charCodeAt(this.state.pos);if(i===96){++this.state.pos;e+=this.input.slice(t,this.state.pos);this.finishToken(24,s?null:e);return}if(i===36&&this.input.charCodeAt(this.state.pos+1)===123){this.state.pos+=2;e+=this.input.slice(t,this.state.pos);this.finishToken(25,s?null:e);return}if(i===92){e+=this.input.slice(t,this.state.pos);const i=this.readEscapedChar(true);if(i===null){s=true}else{e+=i}t=this.state.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(i){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,{at:t}){const s=t.index;if(this.state.strict&&!this.state.strictErrors.has(s)){this.raise(e,{at:t})}else{this.state.strictErrors.set(s,[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(n.StrictNumericEscape,{at:createPositionWithColumnOffset(this.state.curPosition(),-1)})}default:if(s>=48&&s<=55){const t=createPositionWithColumnOffset(this.state.curPosition(),-1);const s=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/);let i=s[0];let r=parseInt(i,8);if(r>255){i=i.slice(0,-1);r=parseInt(i,8)}this.state.pos+=i.length-1;const a=this.input.charCodeAt(this.state.pos);if(i!=="0"||a===56||a===57){if(e){return null}else{this.recordStrictModeErrors(n.StrictNumericEscape,{at:t})}}return String.fromCharCode(r)}return String.fromCharCode(s)}}readHexChar(e,t,s){const i=this.state.curPosition();const r=this.readInt(16,e,t,false);if(r===null){if(s){this.raise(n.InvalidEscapeSequence,{at:i})}else{this.state.pos=i.index-1}}return r}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let i=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos=0;t--){const s=n[t];if(s.loc.index===a){return n[t]=e({loc:r,details:i})}if(s.loc.indexthis.hasPlugin(e)))){throw this.raise(n.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}}}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.parser=void 0;this.scopeStack=[];this.inModule=void 0;this.undefinedExports=new Map;this.parser=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&R)>0}get allowSuper(){return(this.currentThisScopeFlags()&_)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&K)>0}get inClass(){return(this.currentThisScopeFlags()&H)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&H)>0&&(e&R)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&z){return true}if(t&(q|H)){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|z)||!this.parser.inModule&&e.flags&B)}declareName(e,t,s){let i=this.currentScope();if(t&X||t&G){this.checkRedeclarationInScope(i,e,t,s);if(t&G){i.functions.add(e)}else{i.lexical.add(e)}if(t&X){this.maybeExportDefined(i,e)}}else if(t&J){for(let r=this.scopeStack.length-1;r>=0;--r){i=this.scopeStack[r];this.checkRedeclarationInScope(i,e,t,s);i.var.add(e);this.maybeExportDefined(i,e);if(i.flags&q)break}}if(this.parser.inModule&&i.flags&B){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.parser.inModule&&e.flags&B){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,i){if(this.isRedeclaredInScope(e,t,s)){this.parser.raise(n.VarRedeclaration,{at:i,identifierName:t})}}isRedeclaredInScope(e,t,s){if(!(s&$))return false;if(s&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&G){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&U&&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.loc.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&q){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(q|H)&&!(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,s){const i=this.currentScope();if(t&se){this.checkRedeclarationInScope(i,e,t,s);this.maybeExportDefined(i,e);i.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&se){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 ClassScope{constructor(){this.privateNames=new Set;this.loneAccessors=new Map;this.undefinedPrivateNames=new Map}}class ClassScopeHandler{constructor(e){this.parser=void 0;this.stack=[];this.undefinedPrivateNames=new Map;this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ClassScope)}exit(){const e=this.stack.pop();const t=this.current();for(const[s,i]of Array.from(e.undefinedPrivateNames)){if(t){if(!t.undefinedPrivateNames.has(s)){t.undefinedPrivateNames.set(s,i)}}else{this.parser.raise(n.InvalidPrivateFieldResolution,{at:i,identifierName:s})}}}declarePrivateName(e,t,s){const{privateNames:i,loneAccessors:r,undefinedPrivateNames:a}=this.current();let o=i.has(e);if(t&ge){const s=o&&r.get(e);if(s){const i=s&ye;const a=t&ye;const n=s≥const h=t≥o=n===h||i!==a;if(!o)r.delete(e)}else if(!o){r.set(e,t)}}if(o){this.parser.raise(n.PrivateNameRedeclaration,{at:s,identifierName:e})}i.add(e);a.delete(e)}usePrivateName(e,t){let s;for(s of this.stack){if(s.privateNames.has(e))return}if(s){s.undefinedPrivateNames.set(e,t)}else{this.parser.raise(n.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}}const Be=0,Re=1,je=2,Ue=3;class ExpressionScope{constructor(e=Be){this.type=void 0;this.type=e}canBeArrowParameterDeclaration(){return this.type===je||this.type===Re}isCertainlyParameterDeclaration(){return this.type===Ue}}class ArrowHeadParsingScope extends ExpressionScope{constructor(e){super(e);this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class ExpressionScopeHandler{constructor(e){this.parser=void 0;this.stack=[new ExpressionScope];this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const s={at:t.loc.start};const{stack:i}=this;let r=i.length-1;let a=i[r];while(!a.isCertainlyParameterDeclaration()){if(a.canBeArrowParameterDeclaration()){a.recordDeclarationError(e,s)}else{return}a=i[--r]}this.parser.raise(e,s)}recordArrowParemeterBindingError(e,{at:t}){const{stack:s}=this;const i=s[s.length-1];const r={at:t.loc.start};if(i.isCertainlyParameterDeclaration()){this.parser.raise(e,r)}else if(i.canBeArrowParameterDeclaration()){i.recordDeclarationError(e,r)}else{return}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let s=t.length-1;let i=t[s];while(i.canBeArrowParameterDeclaration()){if(i.type===je){i.recordDeclarationError(n.AwaitBindingIdentifier,{at:e})}i=t[--s]}}validateAsPattern(){const{stack:e}=this;const t=e[e.length-1];if(!t.canBeArrowParameterDeclaration())return;t.iterateErrors((([t,s])=>{this.parser.raise(t,{at:s});let i=e.length-2;let r=e[i];while(r.canBeArrowParameterDeclaration()){r.clearDeclarationError(s.index);r=e[--i]}}))}}function newParameterDeclarationScope(){return new ExpressionScope(Ue)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Re)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(je)}function newExpressionScope(){return new ExpressionScope}const _e=0,Ke=1,He=2,ze=4,Ve=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()&He)>0}get hasYield(){return(this.currentFlags()&Ke)>0}get hasReturn(){return(this.currentFlags()&ze)>0}get hasIn(){return(this.currentFlags()&Ve)>0}}function functionFlags(e,t){return(e?He:0)|(t?Ke:0)}class UtilParser extends Tokenizer{addExtra(e,t,s,i=true){if(!e)return;const r=e.extra=e.extra||{};if(i){r[t]=s}else{Object.defineProperty(r,t,{enumerable:i,value:s})}}isContextual(e){return this.state.type===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){if(this.isContextual(e)){this.next();return true}return false}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null){throw this.raise(t,{at:this.state.startLoc})}throw this.unexpected(null,e)}}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Se.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){Ne.lastIndex=this.state.end;return Ne.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(13))return;this.raise(n.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const s={node:null};try{const i=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:i,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:i,error:null,thrown:false,aborted:false,failState:null}}catch(e){const i=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:i}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:i}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:r,optionalParametersLoc:a}=e;const o=!!s||!!i||!!a||!!r;if(!t){return o}if(s!=null){this.raise(n.InvalidCoverInitializedName,{at:s})}if(i!=null){this.raise(n.DuplicateProto,{at:i})}if(r!=null){this.raise(n.UnexpectedPrivateField,{at:r})}if(a!=null){this.unexpected(a)}}isLiteralPropertyName(){return tokenIsLiteralPropertyName(this.state.type)}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 i=this.inModule;this.inModule=e;const r=this.scope;const a=this.getScopeHandler();this.scope=new a(this,e);const n=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this);const h=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this);return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=i;this.scope=r;this.prodParam=n;this.classScope=o;this.expressionScope=h}}enterInitialScopes(){let e=_e;if(this.inModule){e|=He}this.scope.enter(B);this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;if(t!==null){this.expectPlugin("destructuringPrivate",t)}}}class ExpressionErrors{constructor(){this.shorthandAssignLoc=null;this.doubleProtoLoc=null;this.privateKeyLoc=null;this.optionalParametersLoc=null}}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 qe=Node.prototype;{qe.__clone=function(){const e=new Node;const t=Object.keys(this);for(let s=0,i=t.length;s({AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("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:e((({reservedType:e})=>`Cannot overwrite reserved type ${e}.`)),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`)),EnumDuplicateMemberName:e((({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`)),EnumInconsistentMemberValues:e((({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`)),EnumInvalidExplicitType:e((({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`)),EnumInvalidExplicitTypeUnknownSupplied:e((({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerPrimaryType:e((({enumName:e,memberName:t,explicitType:s})=>`Enum \`${e}\` has type \`${s}\`, so the initializer of \`${t}\` needs to be a ${s} literal.`)),EnumInvalidMemberInitializerSymbolType:e((({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerUnknownType:e((({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`)),EnumInvalidMemberName:e((({enumName:e,memberName:t,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${s}\`, in enum \`${e}\`.`)),EnumNumberMemberNotInitialized:e((({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`)),EnumStringMemberInconsistentlyInitailized:e((({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`)),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("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:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((({reservedType:e})=>`Unexpected reserved type ${e}.`)),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`."),UnsupportedDeclareExportKind:e((({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`)),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")})));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 tokenIsKeywordOrIdentifier(e)&&e!==97}const Je={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const i=[];for(let r=0;rclass 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!==129&&e!==13&&e!==28){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||14);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.startLoc;this.next();this.expectContextual(107);if(this.state.lastTokStart>t.index+1){this.raise(We.UnexpectedSpaceBetweenModuloChecks,{at:t})}if(this.eat(10)){e.value=this.parseExpression();this.expect(11);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(14);let t=null;let s=null;if(this.match(54)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(54)){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 i=this.startNode();if(this.match(47)){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(10);const r=this.flowParseFunctionTypeParams();s.params=r.params;s.rest=r.rest;s.this=r._this;this.expect(11);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();i.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(i,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,me,e.id.loc.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80)){return this.flowParseDeclareClass(e)}else if(this.match(68)){return this.flowParseDeclareFunction(e)}else if(this.match(74)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual(123)){if(this.match(16)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(We.NestedDeclareModule,{at:this.state.lastTokStartLoc})}return this.flowParseDeclareModule(e)}}else if(this.isContextual(126)){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual(127)){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual(125)){return this.flowParseDeclareInterface(e)}else if(this.match(82)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,ae,e.id.loc.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(F);if(this.match(129)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(5);while(!this.match(8)){let e=this.startNode();if(this.match(83)){this.next();if(!this.isContextual(126)&&!this.match(87)){this.raise(We.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc})}this.parseImport(e)}else{this.expectContextual(121,We.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(8);this.finishNode(t,"BlockStatement");let i=null;let r=false;s.forEach((e=>{if(isEsModuleType(e)){if(i==="CommonJS"){this.raise(We.AmbiguousDeclareModuleKind,{at:e})}i="ES"}else if(e.type==="DeclareModuleExports"){if(r){this.raise(We.DuplicateDeclareModuleExports,{at:e})}if(i==="ES"){this.raise(We.AmbiguousDeclareModuleKind,{at:e})}i="CommonJS";r=true}}));e.kind=i||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(82);if(this.eat(65)){if(this.match(68)||this.match(80)){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(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!t){const e=this.state.value;throw this.raise(We.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Je[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127)){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127)){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(108);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?ne:re,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12))}if(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}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.match(47)){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(We.UnexpectedReservedUnderscore,{at:this.state.startLoc})}}checkReservedType(e,t,s){if(!$e.has(e))return;this.raise(s?We.AssignReservedType:We.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.startLoc,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,re,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(29);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual(126);e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,re,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(14)){e.supertype=this.flowParseTypeInitialiser(14)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(29)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.startLoc;const s=this.startNode();const i=this.flowParseVariance();const r=this.flowParseTypeAnnotatableIdentifier();s.name=r.name;s.variance=i;s.bound=r.typeAnnotation;if(this.match(29)){this.eat(29);s.default=this.flowParseType()}else{if(e){this.raise(We.MissingTypeParamDefault,{at:t})}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.match(47)||this.match(138)){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.match(48)){this.expect(12)}}while(!this.match(48));this.expect(48);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.expect(47);const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.match(48)){e.params.push(this.flowParseType());if(!this.match(48)){this.expect(12)}}this.state.noAnonFunctionType=s;this.expect(48);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.expect(47);while(!this.match(48)){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.match(48)){this.expect(12)}}this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual(125);e.extends=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===14){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(3);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(3);this.expect(3);if(this.match(47)||this.match(10)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(17)){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.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(10);if(this.match(78)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(11);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:i,allowInexact:r}){const a=this.state.inType;this.state.inType=true;const n=this.startNode();n.callProperties=[];n.properties=[];n.indexers=[];n.internalSlots=[];let o;let h;let c=false;if(t&&this.match(6)){this.expect(6);o=9;h=true}else{this.expect(5);o=8;h=false}n.exact=h;while(!this.match(o)){let t=false;let a=null;let o=null;const p=this.startNode();if(i&&this.isContextual(115)){const t=this.lookahead();if(t.type!==14&&t.type!==17){this.next();a=this.state.startLoc;e=false}}if(e&&this.isContextual(104)){const e=this.lookahead();if(e.type!==14&&e.type!==17){this.next();t=true}}const l=this.flowParseVariance();if(this.eat(0)){if(a!=null){this.unexpected(a)}if(this.eat(0)){if(l){this.unexpected(l.loc.start)}n.internalSlots.push(this.flowParseObjectTypeInternalSlot(p,t))}else{n.indexers.push(this.flowParseObjectTypeIndexer(p,t,l))}}else if(this.match(10)||this.match(47)){if(a!=null){this.unexpected(a)}if(l){this.unexpected(l.loc.start)}n.callProperties.push(this.flowParseObjectTypeCallProperty(p,t))}else{let e="init";if(this.isContextual(98)||this.isContextual(103)){const t=this.lookahead();if(tokenIsLiteralPropertyName(t.type)){e=this.state.value;this.next()}}const i=this.flowParseObjectTypeProperty(p,t,a,l,e,s,r!=null?r:!h);if(i===null){c=true;o=this.state.lastTokStartLoc}else{n.properties.push(i)}}this.flowObjectTypeSemicolon();if(o&&!this.match(8)&&!this.match(9)){this.raise(We.UnexpectedExplicitInexactInObject,{at:o})}}this.expect(o);if(s){n.inexact=c}const p=this.finishNode(n,"ObjectTypeAnnotation");this.state.inType=a;return p}flowParseObjectTypeProperty(e,t,s,i,r,a,n){if(this.eat(21)){const t=this.match(12)||this.match(13)||this.match(8)||this.match(9);if(t){if(!a){this.raise(We.InexactInsideNonObject,{at:this.state.lastTokStartLoc})}else if(!n){this.raise(We.InexactInsideExact,{at:this.state.lastTokStartLoc})}if(i){this.raise(We.InexactVariance,{at:i})}return null}if(!a){this.raise(We.UnexpectedSpreadType,{at:this.state.lastTokStartLoc})}if(s!=null){this.unexpected(s)}if(i){this.raise(We.SpreadVariance,{at:i})}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=r;let n=false;if(this.match(47)||this.match(10)){e.method=true;if(s!=null){this.unexpected(s)}if(i){this.unexpected(i.loc.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(r==="get"||r==="set"){this.flowCheckGetterSetterParams(e)}if(!a&&e.key.name==="constructor"&&e.value.this){this.raise(We.ThisParamBannedInConstructor,{at:e.value.this})}}else{if(r!=="init")this.unexpected();e.method=false;if(this.eat(17)){n=true}e.value=this.flowParseTypeInitialiser();e.variance=i}e.optional=n;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.kind==="get"?We.GetterMayNotHaveThisParam:We.SetterMayNotHaveThisParam,{at:e.value.this})}if(s!==t){this.raise(e.kind==="get"?n.BadGetterArity:n.BadSetterArity,{at:e})}if(e.kind==="set"&&e.value.rest){this.raise(n.BadSetterRestParameter,{at:e})}}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let i=s||this.flowParseRestrictedIdentifier(true);while(this.eat(16)){const s=this.startNodeAt(e,t);s.qualification=i;s.id=this.flowParseRestrictedIdentifier(true);i=this.finishNode(s,"QualifiedTypeIdentifier")}return i}flowParseGenericType(e,t,s){const i=this.startNodeAt(e,t);i.typeParameters=null;i.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.match(47)){i.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(87);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(0);while(this.state.possuper.parseFunctionBody(e,true,s)))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(14)){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.isContextual(125)){const e=this.lookahead();if(tokenIsKeywordOrIdentifier(e.type)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){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(80)||tokenIsIdentifier(this.state.type)||this.match(68)||this.match(74)||this.match(82)){return this.flowParseDeclare(e)}}else if(tokenIsIdentifier(this.state.type)){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(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===122){return!this.state.containsEsc}return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===122){return this.state.containsEsc}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,i){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(i);return e}}this.expect(17);const r=this.state.clone();const a=this.state.noArrowAt;const n=this.startNodeAt(t,s);let{consequent:o,failed:h}=this.tryParseConditionalConsequent();let[c,p]=this.getArrowLikeExpressions(o);if(h||p.length>0){const e=[...a];if(p.length>0){this.state=r;this.state.noArrowAt=e;for(let t=0;t1){this.raise(We.AmbiguousConditionalArrow,{at:r.startLoc})}if(h&&c.length===1){this.state=r;e.push(c[0].start);this.state.noArrowAt=e;({consequent:o,failed:h}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=a;this.expect(14);n.test=e;n.consequent=o;n.alternate=this.forwardNoArrowParamsConversionAt(n,(()=>this.parseMaybeAssign(undefined,undefined)));return this.finishNode(n,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(14);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const i=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{i.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){i.forEach((e=>this.finishArrowValidation(e)));return[i,[]]}return partition(i,(e=>e.params.every((e=>this.isAssignable(e,true)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingCommaLoc,false);this.scope.enter(R|j);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(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const i=this.startNodeAt(t,s);i.expression=e;i.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(i,"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(126)){e.exportKind="type";const t=this.startNode();this.next();if(this.match(5)){e.specifiers=this.parseExportSpecifiers(true);this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual(125)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual(122)){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(126)&&this.lookahead().type===55){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state;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.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const{startLoc:i}=this.state;if(this.isContextual(121)){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(We.DeclareClassElement,{at:i})}else if(t.value){this.raise(We.DeclareClassFieldInitializer,{at:t.value})}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(n.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t})}this.finishToken(128,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(6,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(e===62?48:47,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(18,2)}return this.finishOp(17,1)}else if(isIteratorStart(e,t,this.input.charCodeAt(this.state.pos+2))){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(!t&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"){e.left=this.typeCastToParameter(e.left)}super.toAssignable(...arguments)}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(We.TypeCastInPattern,{at:r.typeAnnotation})}}return e}parseArrayLike(e,t,s,i){const r=super.parseArrayLike(e,t,s,i);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(r.elements)}return r}isValidLVal(e,...t){return e==="TypeCastExpression"||super.isValidLVal(e,...t)}parseClassProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,i,r,a){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,i,r,a);if(t.params&&r){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(We.ThisParamBannedInConstructor,{at:t})}}else if(t.type==="MethodDefinition"&&r&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(We.ThisParamBannedInConstructor,{at:t})}}}pushClassPrivateMethod(e,t,s,i){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,i)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.match(47)){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual(110)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}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(We.GetterMayNotHaveThisParam,{at:s})}else if(this.isThisParam(s)){this.raise(We.SetterMayNotHaveThisParam,{at:s})}}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,i,r,a,n,o){if(e.variance){this.unexpected(e.variance.loc.start)}delete e.variance;let h;if(this.match(47)&&!n){h=this.flowParseTypeParameterDeclaration();if(!this.match(10))this.unexpected()}super.parseObjPropValue(e,t,s,i,r,a,n,o);if(h){(e.value||e).typeParameters=h}}parseAssignableListItemTypes(e){if(this.eat(17)){if(e.type!=="Identifier"){this.raise(We.PatternIsOptional,{at:e})}if(this.isThisParam(e)){this.raise(We.ThisParamMayNotBeOptional,{at:e})}e.optional=true}if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(We.ThisParamAnnotationRequired,{at:e})}if(this.match(29)&&this.isThisParam(e)){this.raise(We.ThisParamNoDefault,{at:e})}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const i=super.parseMaybeDefault(e,t,s);if(i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startsuper.parseMaybeAssign(e,t)),i);if(!r.error)return r.node;const{context:s}=this.state;const a=s[s.length-1];if(a===h.j_oTag||a===h.j_expr){s.pop()}}if((s=r)!=null&&s.error||this.match(47)){var a,n;i=i||this.state.clone();let s;const o=this.tryParse((i=>{var r;s=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(s,(()=>{const i=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(i,s);return i}));if((r=a.extra)!=null&&r.parenthesized)i();const n=this.maybeUnwrapTypeCastExpression(a);if(n.type!=="ArrowFunctionExpression")i();n.typeParameters=s;this.resetStartLocationFromNode(n,s);return a}),i);let h=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(We.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:s})}return o.node}h=o.node}if((a=r)!=null&&a.node){this.state=r.failState;return r.node}if(h){this.state=o.failState;return h}if((n=r)!=null&&n.thrown)throw r.error;if(o.thrown)throw o.error;throw this.raise(We.UnexpectedTokenAfterTypeParameter,{at:s})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){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(19))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(14)||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(We.ThisParamMustBeFirst,{at:e.params[t]})}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,i){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const i=this.startNodeAt(t,s);i.callee=e;i.arguments=this.parseCallExpressionArguments(11,false);e=this.finishNode(i,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const r=this.state.clone();const a=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,s)||e()),r);if(!a.error&&!a.aborted)return a.node;const n=this.tryParse((()=>super.parseSubscripts(e,t,s,i)),r);if(n.node&&!n.error)return n.node;if(a.node){this.state=a.failState;return a.node}if(n.node){this.state=n.failState;return n.node}throw a.error||n.error}return super.parseSubscripts(e,t,s,i)}parseSubscript(e,t,s,i,r){if(this.match(18)&&this.isLookaheadToken_lt()){r.optionalChainMember=true;if(i){r.stop=true;return e}this.next();const a=this.startNodeAt(t,s);a.callee=e;a.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(10);a.arguments=this.parseCallExpressionArguments(11,false);a.optional=true;return this.finishCallExpression(a,true)}else if(!i&&this.shouldParseTypes()&&this.match(47)){const i=this.startNodeAt(t,s);i.callee=e;const a=this.tryParse((()=>{i.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(10);i.arguments=this.parseCallExpressionArguments(11,false);if(r.optionalChainMember)i.optional=false;return this.finishCallExpression(i,r.optionalChainMember)}));if(a.node){if(a.error)this.state=a.failState;return a.node}}return super.parseSubscript(e,t,s,i,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;if(this.shouldParseTypes()&&this.match(47)){t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node}e.typeArguments=t}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(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(We.UnterminatedFlowComment,{at:this.state.curPosition()})}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){throw this.raise(We.NestedFlowComment,{at:this.state.startLoc})}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(n.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=e+2+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 i=this.input.charCodeAt(t+e+1);if(s===58&&i===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&i!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(n.UnterminatedComment,{at:this.state.curPosition()})}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(We.EnumBooleanMemberNotInitialized,{at:e,memberName:s,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(!t.explicitType?We.EnumInvalidMemberInitializerUnknownType:t.explicitType==="symbol"?We.EnumInvalidMemberInitializerSymbolType:We.EnumInvalidMemberInitializerPrimaryType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(We.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:s})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(We.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc;const endOfInit=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{const t=this.parseNumericLiteral(this.state.value);if(endOfInit()){return{type:"number",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 129:{const t=this.parseStringLiteral(this.state.value);if(endOfInit()){return{type:"string",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 85:case 86:{const t=this.parseBooleanLiteral(this.match(85));if(endOfInit()){return{type:"boolean",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;const t=this.parseIdentifier(true);const s=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:i}=t;if(i===null){return}if(i!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let r=false;while(!this.match(8)){if(this.eat(21)){r=true;break}const a=this.startNode();const{id:n,init:o}=this.flowEnumMemberRaw();const h=n.name;if(h===""){continue}if(/^[a-z]/.test(h)){this.raise(We.EnumInvalidMemberName,{at:n,memberName:h,suggestion:h[0].toUpperCase()+h.slice(1),enumName:e})}if(s.has(h)){this.raise(We.EnumDuplicateMemberName,{at:n,memberName:h,enumName:e})}s.add(h);const c={enumName:e,explicitType:t,memberName:h};a.id=n;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"boolean");a.init=o.value;i.booleanMembers.push(this.finishNode(a,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"number");a.init=o.value;i.numberMembers.push(this.finishNode(a,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"string");a.init=o.value;i.stringMembers.push(this.finishNode(a,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.loc,c)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,c);break;default:i.defaultedMembers.push(this.finishNode(a,"EnumDefaultedMember"))}}}if(!this.match(8)){this.expect(12)}}return{members:i,hasUnknownMembers:r}}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,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!tokenIsIdentifier(this.state.type)){throw this.raise(We.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.raise(We.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t})}return t}flowEnumBody(e,t){const s=t.name;const i=t.loc.start;const r=this.flowEnumParseExplicitType({enumName:s});this.expect(5);const{members:a,hasUnknownMembers:n}=this.flowEnumMembers({enumName:s,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=a.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=a.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s});this.expect(8);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=a.defaultedMembers;this.expect(8);return this.finishNode(e,"EnumSymbolBody");default:{const empty=()=>{e.members=[];this.expect(8);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const t=a.booleanMembers.length;const r=a.numberMembers.length;const n=a.stringMembers.length;const o=a.defaultedMembers.length;if(!t&&!r&&!n&&!o){return empty()}else if(!t&&!r){e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s});this.expect(8);return this.finishNode(e,"EnumStringBody")}else if(!r&&!n&&t>=o){for(const e of a.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name})}e.members=a.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody")}else if(!t&&!n&&r>=o){for(const e of a.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name})}e.members=a.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody")}else{this.raise(We.EnumInconsistentMemberValues,{at:i,enumName:s});return empty()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),t);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 Ge={__proto__:null,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 Ye=ParseErrorEnum`jsx`((e=>({AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`)),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`)),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?")})));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 jsx=e=>class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(Ye.UnterminatedJsxContent,{at:this.state.startLoc})}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.canStartJSXElement){++this.state.pos;return this.finishToken(138)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(137,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(n.UnterminatedString,{at:this.state.startLoc})}const i=this.input.charCodeAt(this.state.pos);if(i===e)break;if(i===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(i)){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(129,t)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;if(this.codePointAtPos(this.state.pos)===120){e=16;++this.state.pos}const t=this.readInt(e,undefined,false,"bail");if(t!==null&&this.codePointAtPos(this.state.pos)===59){++this.state.pos;return String.fromCodePoint(t)}}else{let t=0;let s=false;while(t++<10&&this.state.posObject.hasOwnProperty.call(e,t)&&e[t];function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}function tsTokenCanStartExpression(e){return tokenCanStartExpression(e)||tokenIsBinaryOperator(e)}const Qe=ParseErrorEnum`typescript`((e=>({AbstractMethodHasImplementation:e((({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`)),AbstractPropertyHasInitializer:e((({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`)),AccesorCannotDeclareThisParameter:e("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:e("An accessor cannot have type parameters."),CannotFindName:e((({name:e})=>`Cannot find name '${e}'.`)),ClassMethodHasDeclare:e("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:e("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:e("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:e("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:e((({kind:e})=>`'declare' is not allowed in ${e}ters.`)),DeclareClassFieldHasInitializer:e("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:e("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:e((({modifier:e})=>`Accessibility modifier already seen.`)),DuplicateModifier:e((({modifier:e})=>`Duplicate modifier: '${e}'.`)),EmptyHeritageClauseType:e((({token:e})=>`'${e}' list cannot be empty.`)),EmptyTypeArguments:e("Type argument list cannot be empty."),EmptyTypeParameters:e("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:e("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:e("An import alias can not use 'import type'."),IncompatibleModifiers:e((({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`)),IndexSignatureHasAbstract:e("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:e((({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`)),IndexSignatureHasDeclare:e("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:e("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:e("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:e("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:e((({modifier:e})=>`'${e}' modifier cannot appear on a type member.`)),InvalidModifierOnTypeParameter:e((({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`)),InvalidModifierOnTypeParameterPositions:e((({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`)),InvalidModifiersOrder:e((({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`)),InvalidTupleMemberLabel:e("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:e("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:e("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:e("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:e("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:e("A required element cannot follow an optional element."),OverrideNotInSubClass:e("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:e("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:e((({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`)),ReadonlyForMethodSignature:e("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:e("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`)),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`))})));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"}function tsIsVarianceAnnotations(e){return e==="in"||e==="out"}var typescript=e=>class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return tokenIsIdentifier(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!tokenIsIdentifier(this.state.type)&&this.state.type!==58){return undefined}const s=this.state.value;if(e.indexOf(s)!==-1){if(t&&this.tsIsStartOfStaticBlocks()){return undefined}if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return s}}return undefined}tsParseModifiers({modified:e,allowedModifiers:t,disallowedModifiers:s,stopOnStartOfClassStaticBlock:i,errorTemplate:r=Qe.InvalidModifierOnTypeMember}){const enforceOrder=(t,s,i,r)=>{if(s===i&&e[r]){this.raise(Qe.InvalidModifiersOrder,{at:t,orderedModifiers:[i,r]})}};const incompatible=(t,s,i,r)=>{if(e[i]&&s===r||e[r]&&s===i){this.raise(Qe.IncompatibleModifiers,{at:t,modifiers:[i,r]})}};for(;;){const{startLoc:a}=this.state;const n=this.tsParseModifier(t.concat(s!=null?s:[]),i);if(!n)break;if(tsIsAccessModifier(n)){if(e.accessibility){this.raise(Qe.DuplicateAccessibilityModifier,{at:a,modifier:n})}else{enforceOrder(a,n,n,"override");enforceOrder(a,n,n,"static");enforceOrder(a,n,n,"readonly");e.accessibility=n}}else if(tsIsVarianceAnnotations(n)){if(e[n]){this.raise(Qe.DuplicateModifier,{at:a,modifier:n})}e[n]=true;enforceOrder(a,n,"in","out")}else{if(Object.hasOwnProperty.call(e,n)){this.raise(Qe.DuplicateModifier,{at:a,modifier:n})}else{enforceOrder(a,n,"static","readonly");enforceOrder(a,n,"static","override");enforceOrder(a,n,"override","readonly");enforceOrder(a,n,"abstract","override");incompatible(a,n,"declare","override");incompatible(a,n,"static","abstract")}e[n]=true}if(s!=null&&s.includes(n)){this.raise(r,{at:a,modifier:n})}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t,s){return nonNull(this.tsParseDelimitedListWorker(e,t,true,s))}tsParseDelimitedListWorker(e,t,s,i){const r=[];let a=-1;for(;;){if(this.tsIsListTerminator(e)){break}a=-1;const i=t();if(i==null){return undefined}r.push(i);if(this.eat(12)){a=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(12)}return undefined}if(i){i.value=a}return r}tsParseBracketedList(e,t,s,i,r){if(!i){if(s){this.expect(0)}else{this.expect(47)}}const a=this.tsParseDelimitedList(e,t,r);if(s){this.expect(3)}else{this.expect(48)}return a}tsParseImportType(){const e=this.startNode();this.expect(83);this.expect(10);if(!this.match(129)){this.raise(Qe.UnsupportedImportTypeArgument,{at:this.state.startLoc})}e.argument=this.parseExprAtom();this.expect(11);if(this.eat(16)){e.qualifier=this.tsParseEntityName()}if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e=true){let t=this.parseIdentifier(e);while(this.eat(16)){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();if(!this.hasPrecedingLineBreak()&&this.match(47)){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(87);if(this.match(83)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName()}if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeQuery")}tsParseInOutModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Qe.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Qe.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(e=this.tsParseNoneModifiers.bind(this)){const t=this.startNode();e(t);t.name=this.tsParseTypeParameterName();t.constraint=this.tsEatThenParseType(81);t.default=this.tsEatThenParseType(29);return this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47)){return this.tsParseTypeParameters(e)}}tsParseTypeParameters(e){const t=this.startNode();if(this.match(47)||this.match(138)){this.next()}else{this.unexpected()}const s={value:-1};t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),false,true,s);if(t.params.length===0){this.raise(Qe.EmptyTypeParameters,{at:t})}if(s.value!==-1){this.addExtra(t,"trailingComma",s.value)}return this.finishNode(t,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type!==75)return null;this.next();const e=this.tsParseTypeReference();if(e.typeParameters){this.raise(Qe.CannotFindName,{at:e.typeName,name:"const"})}return e}tsFillSignature(e,t){const s=e===19;const i="parameters";const r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters();this.expect(10);t[i]=this.tsParseBindingListForSignature();if(s){t[r]=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t[r]=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(Qe.UnsupportedSignatureParameterKind,{at:e,type:e.type})}return e}))}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator()){this.expect(13)}}tsParseSignatureMember(e,t){this.tsFillSignature(14,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();if(tokenIsIdentifier(this.state.type)){this.next();return this.match(14)}return false}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(3);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(17))e.optional=true;const s=e;if(this.match(10)||this.match(47)){if(t){this.raise(Qe.ReadonlyForMethodSignature,{at:e})}const i=s;if(i.kind&&this.match(47)){this.raise(Qe.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()})}this.tsFillSignature(14,i);this.tsParseTypeMemberSemicolon();const r="parameters";const a="typeAnnotation";if(i.kind==="get"){if(i[r].length>0){this.raise(n.BadGetterArity,{at:this.state.curPosition()});if(this.isThisParam(i[r][0])){this.raise(Qe.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}}}else if(i.kind==="set"){if(i[r].length!==1){this.raise(n.BadSetterArity,{at:this.state.curPosition()})}else{const e=i[r][0];if(this.isThisParam(e)){this.raise(Qe.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}if(e.type==="Identifier"&&e.optional){this.raise(Qe.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()})}if(e.type==="RestElement"){this.raise(Qe.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}}if(i[a]){this.raise(Qe.SetAccesorCannotHaveReturnType,{at:i[a]})}}else{i.kind="method"}return this.finishNode(i,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const i=this.tsTryParseTypeAnnotation();if(i)e.typeAnnotation=i;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(77)){const t=this.startNode();this.next();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]});const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e);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)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(8);return e}tsIsStartOfMappedType(){this.next();if(this.eat(53)){return this.isContextual(118)}if(this.isContextual(118)){this.next()}if(!this.match(0)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(58)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(58);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(5);if(this.match(53)){e.readonly=this.state.value;this.next();this.expectContextual(118)}else if(this.eatContextual(118)){e.readonly=true}this.expect(0);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual(93)?this.tsParseType():null;this.expect(3);if(this.match(53)){e.optional=this.state.value;this.next();this.expect(17)}else if(this.eat(17)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(8);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 i;let{type:r}=e;if(t&&r!=="TSRestType"&&r!=="TSOptionalType"&&!(r==="TSNamedTupleMember"&&e.optional)){this.raise(Qe.OptionalTypeBeforeRequired,{at:e})}t=t||r==="TSNamedTupleMember"&&e.optional||r==="TSOptionalType";if(r==="TSRestType"){e=e.typeAnnotation;r=e.type}const a=r==="TSNamedTupleMember";s=(i=s)!=null?i:a;if(s!==a){this.raise(Qe.MixedLabeledAndUnlabeledElements,{at:e})}}));return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(21);let i=this.tsParseType();const r=this.eat(17);const a=this.eat(14);if(a){const e=this.startNodeAtNode(i);e.optional=r;if(i.type==="TSTypeReference"&&!i.typeParameters&&i.typeName.type==="Identifier"){e.label=i.typeName}else{this.raise(Qe.InvalidTupleMemberLabel,{at:i});e.label=i}e.elementType=this.tsParseType();i=this.finishNode(e,"TSNamedTupleMember")}else if(r){const e=this.startNodeAtNode(i);e.typeAnnotation=i;i=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=i;i=this.finishNode(s,"TSRestType")}return i}tsParseParenthesizedType(){const e=this.startNode();this.expect(10);e.typeAnnotation=this.tsParseType();this.expect(11);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.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,s)));return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86: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(113)&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==130&&t.type!==131){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(tokenIsIdentifier(e)||e===88||e===84){const t=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":keywordTypeFromName(this.state.value);if(t!==undefined&&this.lookaheadCharCode()!==46){const e=this.startNode();this.next();return this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0)){if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(3);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(3);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(){const e=this.startNode();const t=this.state.value;this.next();e.operator=t;e.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(t==="readonly"){this.tsCheckTypeAnnotationForReadOnly(e)}return this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Qe.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(112);const t=this.startNode();t.name=this.tsParseTypeParameterName();t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType()));e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17)){return e}}}tsParseTypeOperatorOrHigher(){const e=tokenIsTSTypeOperator(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,s){const i=this.startNode();const r=this.eat(s);const a=[];do{a.push(t())}while(this.eat(s));if(a.length===1&&!r){return a[0]}i.types=a;return this.finishNode(i,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47)){return true}return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(tokenIsIdentifier(this.state.type)||this.match(78)){this.next();return true}if(this.match(5)){const{errors:e}=this.state;const t=e.length;try{this.parseObjectLike(8,true);return e.length===t}catch(e){return false}}if(this.match(0)){this.next();const{errors:e}=this.state;const t=e.length;try{this.parseBindingList(3,93,true);return e.length===t}catch(e){return false}}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(11)||this.match(21)){return true}if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29)){return true}if(this.match(11)){this.next();if(this.match(19)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(78)){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 r=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!r){if(!i){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=i;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const a=this.tsParseTypeAnnotation(false);s.parameterName=r;s.typeAnnotation=a;s.asserts=i;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):undefined}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(this.state.type!==106){return false}const e=this.state.containsEsc;this.next();if(!tokenIsIdentifier(this.state.type)&&!this.match(78)){return false}if(e){this.raise(n.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"})}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType((()=>{if(e)this.expect(14);t.typeAnnotation=this.tsParseType()}));return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType()));this.expect(17);t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));this.expect(14);t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(77)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(Qe.ReservedTypeAssertion,{at:this.state.startLoc})}const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expect(48);e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc;const s=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();e.expression=this.tsParseEntityName();if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}));if(!s.length){this.raise(Qe.EmptyHeritageClauseType,{at:t,token:e})}return s}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(125);if(t.declare)e.declare=true;if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();this.checkIdentifier(e.id,oe)}else{e.id=null;this.raise(Qe.MissingInterfaceName,{at:this.state.startLoc})}e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));if(this.eat(81)){e.extends=this.tsParseHeritageClause("extends")}const s=this.startNode();s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(s,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkIdentifier(e.id,he);e.typeAnnotation=this.tsInType((()=>{e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));this.expect(29);if(this.isContextual(111)&&this.lookahead().type!==16){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}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=true;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=false;try{return e()}finally{this.state.inDisallowConditionalTypesContext=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(129)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(29)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){if(t.const)e.const=true;if(t.declare)e.declare=true;this.expectContextual(122);e.id=this.parseIdentifier();this.checkIdentifier(e.id,e.const?de:ce);this.expect(5);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(8);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(F);this.expect(5);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,8);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkIdentifier(e.id,fe)}if(this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(V);this.prodParam.enter(_e);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual(109)){e.global=true;e.id=this.parseIdentifier()}else if(this.match(129)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(5)){this.scope.enter(V);this.prodParam.enter(_e);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.checkIdentifier(e.id,re);this.expect(29);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(Qe.ImportAliasHasImportType,{at:s})}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual(116);this.expect(10);if(!this.match(129)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(11);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(99)){t=74;s="let"}return this.tsInAmbientContext((()=>{if(t===68){e.declare=true;return this.parseFunctionStatement(e,false,true)}if(t===80){e.declare=true;return this.parseClass(e,true,false)}if(t===122){return this.tsParseEnumDeclaration(e,{declare:true})}if(t===109){return this.tsParseAmbientExternalModuleDeclaration(e)}if(t===75||t===74){if(!this.match(75)||!this.isLookaheadContextual("enum")){e.declare=true;return this.parseVarStatement(e,s||this.state.value,true)}this.expect(75);return this.tsParseEnumDeclaration(e,{const:true,declare:true})}if(t===125){const t=this.tsParseInterfaceDeclaration(e,{declare:true});if(t)return t}if(tokenIsIdentifier(t)){return this.tsParseDeclaration(e,this.state.value,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(5)){this.scope.enter(V);this.prodParam.enter(_e);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(80)||tokenIsIdentifier(this.state.type))){return this.tsParseAbstractDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(129)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&tokenIsIdentifier(this.state.type)){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.match(47)){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const i=this.tsTryParseAndCatch((()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(19);return s}));this.state.maybeInArrowParameters=s;if(!i){return undefined}return this.parseArrowExpression(i,null,true)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47){return undefined}return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType((()=>this.tsInNoContext((()=>{this.expect(47);return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}))));if(e.params.length===0){this.raise(Qe.EmptyTypeArguments,{at:e})}this.expect(48);return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return tokenIsTSDeclarationStart(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const i=this.state.startLoc;let r;let a=false;let n=false;if(e!==undefined){const t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]});r=t.accessibility;n=t.override;a=t.readonly;if(e===false&&(r||a||n)){this.raise(Qe.UnexpectedParameterModifier,{at:i})}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const h=this.parseMaybeDefault(o.start,o.loc.start,o);if(r||a||n){const e=this.startNodeAt(s,i);if(t.length){e.decorators=t}if(r)e.accessibility=r;if(a)e.readonly=a;if(n)e.override=n;if(h.type!=="Identifier"&&h.type!=="AssignmentPattern"){this.raise(Qe.UnsupportedParameterPropertyKind,{at:e})}e.parameter=h;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return h}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(14)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14)}const i=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"||t==="ClassPrivateMethod"?"TSDeclareMethod":undefined;if(i&&!this.match(5)&&this.isLineTerminator()){this.finishNode(e,i);return}if(i==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(Qe.DeclareFunctionHasImplementation,{at:e});if(e.declare){super.parseFunctionBodyAndFinish(e,i,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkIdentifier(e.id,pe)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(Qe.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}}))}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,i,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=false;this.next();const i=this.startNodeAt(t,s);i.expression=e;return this.finishNode(i,"TSNonNullExpression")}let a=false;if(this.match(18)&&this.lookaheadCharCode()===60){if(i){r.stop=true;return e}r.optionalChainMember=a=true;this.next()}if(this.match(47)||this.match(51)){let n;const o=this.tsTryParseAndCatch((()=>{if(!i&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const o=this.tsParseTypeArgumentsInExpression();if(!o)throw this.unexpected();if(a&&!this.match(10)){n=this.state.curPosition();throw this.unexpected()}if(tokenIsTemplate(this.state.type)){const i=this.parseTaggedTemplateExpression(e,t,s,r);i.typeParameters=o;return i}if(!i&&this.eat(10)){const i=this.startNodeAt(t,s);i.callee=e;i.arguments=this.parseCallExpressionArguments(11,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=o;if(r.optionalChainMember){i.optional=a}return this.finishCallExpression(i,r.optionalChainMember)}if(tsTokenCanStartExpression(this.state.type)&&this.state.type!==10){throw this.unexpected()}const h=this.startNodeAt(t,s);h.expression=e;h.typeParameters=o;return this.finishNode(h,"TSInstantiationExpression")}));if(n){this.unexpected(n,10)}if(o)return o}return super.parseSubscript(e,t,s,i,r)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:s}=e;if(s.type==="TSInstantiationExpression"&&!((t=s.extra)!=null&&t.parenthesized)){e.typeParameters=s.typeParameters;e.callee=s.expression}}parseExprOp(e,t,s,i){if(tokenOperatorPrecedence(58)>i&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){const r=this.startNodeAt(t,s);r.expression=e;const a=this.tsTryNextParseConstantContext();if(a){r.typeAnnotation=a}else{r.typeAnnotation=this.tsNextThenParseType()}this.finishNode(r,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(r,t,s,i)}return super.parseExprOp(e,t,s,i)}checkReservedWord(e,t,s,i){if(!this.state.isAmbientContext){super.checkReservedWord(e,t,s,i)}}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(tokenIsIdentifier(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&t.type!==12&&t.type!==97&&t.type!==29){e.importKind="type";this.next();t=this.lookahead()}if(tokenIsIdentifier(this.state.type)&&t.type===29){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(Qe.TypeImportCannotSpecifyDefaultAndNamed,{at:t})}return t}parseExport(e){if(this.match(83)){this.next();if(this.isContextual(126)&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(29)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual(93)){const t=e;this.expectContextual(124);t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual(126)&&this.lookahead().type===5){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual(120)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.match(125)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,s=false){const{isAmbientContext:i}=this.state;const r=super.parseVarStatement(e,t,s||i);if(!i)return r;for(const{id:e,init:s}of r.declarations){if(!s)continue;if(t!=="const"||!!e.typeAnnotation){this.raise(Qe.InitializerNotAllowedInAmbientContext,{at:s})}else if(s.type!=="StringLiteral"&&s.type!=="BooleanLiteral"&&s.type!=="NumericLiteral"&&s.type!=="BigIntLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)&&!isPossiblyLiteralEnum(s)){this.raise(Qe.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:s})}}return r}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();this.expect(75);return this.tsParseEnumDeclaration(e,{const:true})}if(this.isContextual(122)){return this.tsParseEnumDeclaration(this.startNode())}if(this.isContextual(125)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}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]}))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,t,s){const i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:true,errorTemplate:Qe.InvalidModifierOnTypeParameterPositions});const callParseClassMemberWithIsStatic=()=>{if(this.tsIsStartOfStaticBlocks()){this.next();this.next();if(this.tsHasSomeModifiers(t,i)){this.raise(Qe.StaticBlockCannotHaveModifier,{at:this.state.curPosition()})}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,!!t.static)}};if(t.declare){this.tsInAmbientContext(callParseClassMemberWithIsStatic)}else{callParseClassMemberWithIsStatic()}}parseClassMemberWithIsStatic(e,t,s,i){const r=this.tsTryParseIndexSignature(t);if(r){e.body.push(r);if(t.abstract){this.raise(Qe.IndexSignatureHasAbstract,{at:t})}if(t.accessibility){this.raise(Qe.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility})}if(t.declare){this.raise(Qe.IndexSignatureHasDeclare,{at:t})}if(t.override){this.raise(Qe.IndexSignatureHasOverride,{at:t})}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(Qe.NonAbstractClassHasAbstractMethod,{at:t})}if(t.override){if(!s.hadSuperClass){this.raise(Qe.OverrideNotInSubClass,{at:t})}}super.parseClassMemberWithIsStatic(e,t,s,i)}parsePostMemberNameModifiers(e){const t=this.eat(17);if(t)e.optional=true;if(e.readonly&&this.match(10)){this.raise(Qe.ClassMethodHasReadonly,{at:e})}if(e.declare&&this.match(10)){this.raise(Qe.ClassMethodHasDeclare,{at:e})}}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,i){if(!this.state.maybeInArrowParameters||!this.match(17)){return super.parseConditional(e,t,s,i)}const r=this.tryParse((()=>super.parseConditional(e,t,s)));if(!r.node){if(r.error){super.setOptionalParametersError(i,r.error)}return e}if(r.error)this.state=r.failState;return r.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const i=this.startNodeAt(t,s);i.expression=e;i.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(i,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121)){return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)))}const t=this.state.start;const s=this.state.startLoc;const i=this.eatContextual(121);if(i&&(this.isContextual(121)||!this.shouldParseExportDeclaration())){throw this.raise(Qe.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc})}const r=tokenIsIdentifier(this.state.type);const a=r&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);if(!a)return null;if(a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||i){e.exportKind="type"}if(i){this.resetStartLocation(a,t,s);a.declare=true}return a}parseClassId(e,t,s){if((!t||s)&&this.isContextual(110)){return}super.parseClassId(e,t,s,e.declare?pe:ie);const i=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));if(i)e.typeParameters=i}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(35)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(29)){this.raise(Qe.DeclareClassFieldHasInitializer,{at:this.state.startLoc})}if(e.abstract&&this.match(29)){const{key:t}=e;this.raise(Qe.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName: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(Qe.PrivateElementHasAbstract,{at:e})}if(e.accessibility){this.raise(Qe.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility})}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,i,r,a){const n=this.tsTryParseTypeParameters();if(n&&r){this.raise(Qe.ConstructorHasTypeParameters,{at:n})}const{declare:o=false,kind:h}=t;if(o&&(h==="get"||h==="set")){this.raise(Qe.DeclareAccessor,{at:t,kind:h})}if(n)t.typeParameters=n;super.pushClassMethod(e,t,s,i,r,a)}pushClassPrivateMethod(e,t,s,i){const r=this.tsTryParseTypeParameters();if(r)t.typeParameters=r;super.pushClassPrivateMethod(e,t,s,i)}declareClassPrivateMethodInScope(e,t){if(e.type==="TSDeclareMethod")return;if(e.type==="MethodDefinition"&&!e.value.body)return;super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&(this.match(47)||this.match(51))){e.superTypeParameters=this.tsParseTypeArgumentsInExpression()}if(this.eatContextual(110)){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.hasPrecedingLineBreak()&&this.eat(35)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,i,r,a,n,o;let c;let p;let l;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){c=this.state.clone();p=this.tryParse((()=>super.parseMaybeAssign(...e)),c);if(!p.error)return p.node;const{context:t}=this.state;const s=t[t.length-1];if(s===h.j_oTag||s===h.j_expr){t.pop()}}if(!((t=p)!=null&&t.error)&&!this.match(47)){return super.parseMaybeAssign(...e)}let u;c=c||this.state.clone();const d=this.tryParse((t=>{var s,i,r;u=this.tsParseTypeParameters();const a=super.parseMaybeAssign(...e);if(a.type!=="ArrowFunctionExpression"||(s=a.extra)!=null&&s.parenthesized){t()}if(((i=u)==null?void 0:i.params.length)!==0){this.resetStartLocationFromNode(a,u)}a.typeParameters=u;if(this.hasPlugin("jsx")&&a.typeParameters.params.length===1&&!((r=a.typeParameters.extra)!=null&&r.trailingComma)){const e=a.typeParameters.params[0];if(!e.constraint);}return a}),c);if(!d.error&&!d.aborted){if(u)this.reportReservedArrowTypeParam(u);return d.node}if(!p){assert(!this.hasPlugin("jsx"));l=this.tryParse((()=>super.parseMaybeAssign(...e)),c);if(!l.error)return l.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;if(u)this.reportReservedArrowTypeParam(u);return d.node}if((i=l)!=null&&i.node){this.state=l.failState;return l.node}if((r=p)!=null&&r.thrown)throw p.error;if(d.thrown)throw d.error;if((a=l)!=null&&a.thrown)throw l.error;throw((n=p)==null?void 0:n.error)||d.error||((o=l)==null?void 0:o.error)}reportReservedArrowTypeParam(e){var t;if(e.params.length===1&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(Qe.ReservedArrowTypeParam,{at:e})}}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.match(47)){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))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(17)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(Qe.PatternIsOptional,{at:e})}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"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(t){this.expressionScope.recordArrowParemeterBindingError(Qe.UnexpectedTypeCastInParameter,{at:e})}else{this.raise(Qe.UnexpectedTypeCastInParameter,{at:e})}this.toAssignable(e.expression,t);break;case"AssignmentExpression":if(!t&&e.left.type==="TSTypeCastExpression"){e.left=this.typeCastToParameter(e.left)}default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,false);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s){return getOwn$1({TSTypeCastExpression:true,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(s!==le||!t)&&["expression",true],TSTypeAssertion:(s!==le||!t)&&["expression",true]},e)||super.isValidLVal(e,t,s)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e){this.next();return false}else{return super.checkCommaAfterRest(e)}}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||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(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const i=s[0];const r=i&&this.isThisParam(i);return r?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(80)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual(125)){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(Qe.NonClassMethodPropertyHasAbstractModifer,{at:e});return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,80)}}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(Qe.AbstractMethodHasImplementation,{at:t,methodName: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()}parseExportSpecifier(e,t,s,i){if(!t&&i){this.parseTypeOnlyImportExportSpecifier(e,false,s);return this.finishNode(e,"ExportSpecifier")}e.exportKind="value";return super.parseExportSpecifier(e,t,s,i)}parseImportSpecifier(e,t,s,i){if(!t&&i){this.parseTypeOnlyImportExportSpecifier(e,true,s);return this.finishNode(e,"ImportSpecifier")}e.importKind="value";return super.parseImportSpecifier(e,t,s,i)}parseTypeOnlyImportExportSpecifier(e,t,s){const i=t?"imported":"local";const r=t?"local":"exported";let a=e[i];let n;let o=false;let h=true;const c=a.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const s=this.parseIdentifier();if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;a=e;n=t?this.parseIdentifier():this.parseModuleExportName();h=false}else{n=s;h=false}}else if(tokenIsKeywordOrIdentifier(this.state.type)){h=false;n=t?this.parseIdentifier():this.parseModuleExportName()}else{o=true;a=e}}else if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;if(t){a=this.parseIdentifier(true);if(!this.isContextual(93)){this.checkReservedWord(a.name,a.loc.start,true,true)}}else{a=this.parseModuleExportName()}}if(o&&s){this.raise(t?Qe.TypeModifierIsUsedInTypeImports:Qe.TypeModifierIsUsedInTypeExports,{at:c})}e[i]=a;e[r]=n;const p=t?"importKind":"exportKind";e[p]=o?"type":"value";if(h&&this.eatContextual(93)){e[r]=t?this.parseIdentifier():this.parseModuleExportName()}if(!e[r]){e[r]=cloneIdentifier(e[i])}if(t){this.checkIdentifier(e[r],re)}}};function isPossiblyLiteralEnum(e){if(e.type!=="MemberExpression")return false;const{computed:t,property:s}=e;if(t&&s.type!=="StringLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)){return false}return isUncomputedMemberExpressionChain(e.object)}function isUncomputedMemberExpressionChain(e){if(e.type==="Identifier")return true;if(e.type!=="MemberExpression")return false;if(e.computed)return false;return isUncomputedMemberExpressionChain(e.object)}const Ze=ParseErrorEnum`placeholders`((e=>({ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")})));var placeholders=e=>class extends e{parsePlaceholder(e){if(this.match(140)){const t=this.startNode();this.next();this.assertNoSpace();t.name=super.parseIdentifier(true);this.assertNoSpace();this.expect(140);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(140,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)}isValidLVal(e,...t){return e==="Placeholder"||super.isValidLVal(e,...t)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern"}else{super.toAssignable(...arguments)}}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual(99)){return false}if(e)return false;const t=this.lookahead();if(t.type===140){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(14)){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 i=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const r=this.state.strict;const a=this.parsePlaceholder("Identifier");if(a){if(this.match(81)||this.match(140)||this.match(5)){e.id=a}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(a,"ClassBody");return this.finishNode(e,i)}else{throw this.raise(Ze.ClassNameIsRequired,{at:this.state.startLoc})}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,r);return this.finishNode(e,i)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12)){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(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(tokenLabelName(140),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(97)&&!this.match(12)){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(12)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual(97);e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){if(this.state.start>this.state.lastTokEndLoc.index){this.raise(Ze.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}};var v8intrinsic=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc;const t=this.startNode();this.next();if(tokenIsIdentifier(this.state.type)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(10)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function hasPlugin(e,t){const[s,i]=typeof t==="string"?[t,{}]:t;const r=Object.keys(i);const a=r.length===0;return e.some((e=>{if(typeof e==="string"){return a&&e===s}else{const[t,a]=e;if(t!==s){return false}for(const e of r){if(a[e]!==i[e]){return false}}return true}}))}function getPluginOption(e,t,s){const i=e.find((e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}}));if(i&&Array.isArray(i)){return i[1][s]}return null}const et=["minimal","fsharp","hack","smart"];const tt=["^^","@@","^","%","#"];const st=["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(!et.includes(t)){const e=et.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const s=hasPlugin(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(!tt.includes(t)){const e=tt.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")&&!st.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+st.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 it={estree:estree,jsx:jsx,flow:flow,typescript:typescript,v8intrinsic:v8intrinsic,placeholders:placeholders};const rt=Object.keys(it);const at={sourceType:"script",sourceFilename:undefined,startColumn:0,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(at)){t[s]=e&&e[s]!=null?e[s]:at[s]}return t}const getOwn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];const unwrapParenthesizedExpression=e=>e.type==="ParenthesizedExpression"?unwrapParenthesizedExpression(e.expression):e;class LValParser extends NodeUtils{toAssignable(e,t=false){var s,i;let r=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){r=unwrapParenthesizedExpression(e);if(t){if(r.type==="Identifier"){this.expressionScope.recordArrowParemeterBindingError(n.InvalidParenthesizedAssignment,{at:e})}else if(r.type!=="MemberExpression"){this.raise(n.InvalidParenthesizedAssignment,{at:e})}}else{this.raise(n.InvalidParenthesizedAssignment,{at:e})}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,i=e.properties.length,r=i-1;se.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 0:{const e=this.startNode();this.next();e.elements=this.parseBindingList(3,93,true);return this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,true)}return this.parseIdentifier()}parseBindingList(e,t,s,i){const r=[];let a=true;while(!this.eat(e)){if(a){a=false}else{this.expect(12)}if(s&&this.match(12)){r.push(null)}else if(this.eat(e)){break}else if(this.match(21)){r.push(this.parseAssignableListItemTypes(this.parseRestBinding()));if(!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];if(this.match(26)&&this.hasPlugin("decorators")){this.raise(n.UnsupportedParameterDecorator,{at:this.state.startLoc})}while(this.match(26)){e.push(this.parseDecorator())}r.push(this.parseAssignableListItem(i,e))}}return r}parseBindingRestProperty(e){this.next();e.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode();const{type:t,start:s,startLoc:i}=this.state;if(t===21){return this.parseBindingRestProperty(e)}else if(t===134){this.expectPlugin("destructuringPrivate",i);this.classScope.usePrivateName(this.state.value,i);e.key=this.parsePrivateName()}else{this.parsePropertyName(e)}e.method=false;this.parseObjPropValue(e,s,i,false,false,true,false);return e}parseAssignableListItem(e,t){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);const i=this.parseMaybeDefault(s.start,s.loc.start,s);if(t.length){s.decorators=t}return i}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,s){var i,r,a;t=(i=t)!=null?i:this.state.startLoc;e=(r=e)!=null?r:this.state.start;s=(a=s)!=null?a:this.parseBindingAtom();if(!this.eat(29))return s;const n=this.startNodeAt(e,t);n.left=s;n.right=this.parseMaybeAssignAllowIn();return this.finishNode(n,"AssignmentPattern")}isValidLVal(e,t,s){return getOwn({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,{in:t,binding:s=le,checkClashes:i=false,strictModeChanged:r=false,allowingSloppyLetBinding:a=!(s&X),hasParenthesizedAncestor:o=false}){var h;const c=e.type;if(this.isObjectMethod(e))return;if(c==="MemberExpression"){if(s!==le){this.raise(n.InvalidPropertyBindingPattern,{at:e})}return}if(e.type==="Identifier"){this.checkIdentifier(e,s,r,a);const{name:t}=e;if(i){if(i.has(t)){this.raise(n.ParamDupe,{at:e})}else{i.add(t)}}return}const p=this.isValidLVal(e.type,!(o||(h=e.extra)!=null&&h.parenthesized)&&t.type==="AssignmentExpression",s);if(p===true)return;if(p===false){const i=s===le?n.InvalidLhs:n.InvalidLhsBinding;this.raise(i,{at:e,ancestor:t.type==="UpdateExpression"?{type:"UpdateExpression",prefix:t.prefix}:{type:t.type}});return}const[l,u]=Array.isArray(p)?p:[p,c==="ParenthesizedExpression"];const d=e.type==="ArrayPattern"||e.type==="ObjectPattern"||e.type==="ParenthesizedExpression"?e:t;for(const t of[].concat(e[l])){if(t){this.checkLVal(t,{in:d,binding:s,checkClashes:i,allowingSloppyLetBinding:a,strictModeChanged:r,hasParenthesizedAncestor:u})}}}checkIdentifier(e,t,s=false,i=!(t&X)){if(this.state.strict&&(s?isStrictBindReservedWord(e.name,this.inModule):isStrictBindOnlyReservedWord(e.name))){if(t===le){this.raise(n.StrictEvalArguments,{at:e,referenceName:e.name})}else{this.raise(n.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})}}if(!i&&e.name==="let"){this.raise(n.LetInLexicalBinding,{at:e})}if(!(t&le)){this.declareNameFromIdentifier(e,t)}}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(n.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){if(!this.match(12)){return false}this.raise(this.lookaheadCharCode()===e?n.RestTrailingComma:n.ElementAfterRest,{at:this.state.startLoc});return true}}class ExpressionParser extends LValParser{checkProto(e,t,s,i){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const r=e.key;const a=r.type==="Identifier"?r.name:r.value;if(a==="__proto__"){if(t){this.raise(n.RecordNoProto,{at:r});return}if(s.used){if(i){if(i.doubleProtoLoc===null){i.doubleProtoLoc=r.loc.start}}else{this.raise(n.DuplicateProto,{at:r})}}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(135)){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 i=this.parseMaybeAssign(e);if(this.match(12)){const r=this.startNodeAt(t,s);r.expressions=[i];while(this.eat(12)){r.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(r.expressions);return this.finishNode(r,"SequenceExpression")}return i}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.optionalParametersLoc=(s=t==null?void 0:t.loc)!=null?s:this.state.startLoc}parseMaybeAssign(e,t){const s=this.state.start;const i=this.state.startLoc;if(this.isContextual(105)){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,s,i)}return e}}let r;if(e){r=false}else{e=new ExpressionErrors;r=true}const{type:a}=this.state;if(a===10||tokenIsIdentifier(a)){this.state.potentialArrowAt=this.state.start}let n=this.parseMaybeConditional(e);if(t){n=t.call(this,n,s,i)}if(tokenIsAssignment(this.state.type)){const t=this.startNodeAt(s,i);const r=this.state.value;t.operator=r;if(this.match(29)){this.toAssignable(n,true);t.left=n;if(e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=s){e.doubleProtoLoc=null}if(e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=s){e.shorthandAssignLoc=null}if(e.privateKeyLoc!=null&&e.privateKeyLoc.index>=s){this.checkDestructuringPrivate(e);e.privateKeyLoc=null}}else{t.left=n}this.next();t.right=this.parseMaybeAssign();this.checkLVal(n,{in:this.finishNode(t,"AssignmentExpression")});return t}else if(r){this.checkExpressionErrors(e,true)}return n}parseMaybeConditional(e){const t=this.state.start;const s=this.state.startLoc;const i=this.state.potentialArrowAt;const r=this.parseExprOps(e);if(this.shouldExitDescending(r,i)){return r}return this.parseConditional(r,t,s,e)}parseConditional(e,t,s,i){if(this.eat(17)){const i=this.startNodeAt(t,s);i.test=e;i.consequent=this.parseMaybeAssignAllowIn();this.expect(14);i.alternate=this.parseMaybeAssign();return this.finishNode(i,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const i=this.state.potentialArrowAt;const r=this.parseMaybeUnaryOrPrivate(e);if(this.shouldExitDescending(r,i)){return r}return this.parseExprOp(r,t,s,-1)}parseExprOp(e,t,s,i){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);if(i>=tokenOperatorPrecedence(58)||!this.prodParam.hasIn||!this.match(58)){this.raise(n.PrivateInExpectedIn,{at:e,identifierName:t})}this.classScope.usePrivateName(t,e.loc.start)}const r=this.state.type;if(tokenIsOperator(r)&&(this.prodParam.hasIn||!this.match(58))){let a=tokenOperatorPrecedence(r);if(a>i){if(r===39){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,s)}const o=this.startNodeAt(t,s);o.left=e;o.operator=this.state.value;const h=r===41||r===42;const c=r===40;if(c){a=tokenOperatorPrecedence(42)}this.next();if(r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait){throw this.raise(n.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc})}}o.right=this.parseExprOpRightExpr(r,a);this.finishNode(o,h||c?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(c&&(p===41||p===42)||h&&p===40){throw this.raise(n.MixingCoalesceWithLogical,{at:this.state.startLoc})}return this.parseExprOp(o,t,s,i)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const i=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105)){throw this.raise(n.PipeBodyIsTighter,{at:this.state.startLoc})}return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s,i)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,i,tokenIsRightAssociative(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state;const s=this.parseMaybeAssign();const i=r.has(s.type);if(i&&!((e=s.extra)!=null&&e.parenthesized)){this.raise(n.PipeUnparenthesizedBody,{at:t,type:s.type})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(n.PipeTopicUnused,{at:t})}return s}checkExponentialAfterUnary(e){if(this.match(57)){this.raise(n.UnexpectedTokenUnaryExponentiation,{at:e.argument})}}parseMaybeUnary(e,t){const s=this.state.start;const i=this.state.startLoc;const r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,i);if(!t)this.checkExponentialAfterUnary(e);return e}const a=this.match(34);const o=this.startNode();if(tokenIsPrefix(this.state.type)){o.operator=this.state.value;o.prefix=true;if(this.match(72)){this.expectPlugin("throwExpressions")}const s=this.match(89);this.next();o.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=o.argument;if(e.type==="Identifier"){this.raise(n.StrictDelete,{at:o})}else if(this.hasPropertyAsPrivateName(e)){this.raise(n.DeletePrivateField,{at:o})}}if(!a){if(!t)this.checkExponentialAfterUnary(o);return this.finishNode(o,"UnaryExpression")}}const h=this.parseUpdate(o,a,e);if(r){const{type:e}=this.state;const t=this.hasPlugin("v8intrinsic")?tokenCanStartExpression(e):tokenCanStartExpression(e)&&!this.match(54);if(t&&!this.isAmbiguousAwait()){this.raiseOverwrite(n.AwaitNotInAsyncContext,{at:i});return this.parseAwait(s,i)}}return h}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")});return e}const i=this.state.start;const r=this.state.startLoc;let a=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return a;while(tokenIsPostfix(this.state.type)&&!this.canInsertSemicolon()){const e=this.startNodeAt(i,r);e.operator=this.state.value;e.prefix=false;e.argument=a;this.next();this.checkLVal(a,{in:a=this.finishNode(e,"UpdateExpression")})}return a}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const i=this.state.potentialArrowAt;const r=this.parseExprAtom(e);if(this.shouldExitDescending(r,i)){return r}return this.parseSubscripts(r,t,s)}parseSubscripts(e,t,s,i){const r={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,i,r);r.maybeAsyncArrow=false}while(!r.stop);return e}parseSubscript(e,t,s,i,r){const{type:a}=this.state;if(!i&&a===15){return this.parseBind(e,t,s,i,r)}else if(tokenIsTemplate(a)){return this.parseTaggedTemplateExpression(e,t,s,r)}let n=false;if(a===18){if(i&&this.lookaheadCharCode()===40){r.stop=true;return e}r.optionalChainMember=n=true;this.next()}if(!i&&this.match(10)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,r,n)}else{const i=this.eat(0);if(i||n||this.eat(16)){return this.parseMember(e,t,s,r,i,n)}else{r.stop=true;return e}}}parseMember(e,t,s,i,r,a){const o=this.startNodeAt(t,s);o.object=e;o.computed=r;if(r){o.property=this.parseExpression();this.expect(3)}else if(this.match(134)){if(e.type==="Super"){this.raise(n.SuperPrivateField,{at:s})}this.classScope.usePrivateName(this.state.value,this.state.startLoc);o.property=this.parsePrivateName()}else{o.property=this.parseIdentifier(true)}if(i.optionalChainMember){o.optional=a;return this.finishNode(o,"OptionalMemberExpression")}else{return this.finishNode(o,"MemberExpression")}}parseBind(e,t,s,i,r){const a=this.startNodeAt(t,s);a.object=e;this.next();a.callee=this.parseNoCallExpr();r.stop=true;return this.parseSubscripts(this.finishNode(a,"BindExpression"),t,s,i)}parseCoverCallAndAsyncArrowHead(e,t,s,i,r){const a=this.state.maybeInArrowParameters;let n=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;const{maybeAsyncArrow:h,optionalChainMember:c}=i;if(h){this.expressionScope.enter(newAsyncArrowScope());n=new ExpressionErrors}if(c){o.optional=r}if(r){o.arguments=this.parseCallExpressionArguments(11)}else{o.arguments=this.parseCallExpressionArguments(11,e.type==="Import",e.type!=="Super",o,n)}this.finishCallExpression(o,c);if(h&&this.shouldParseAsyncArrow()&&!r){i.stop=true;this.checkDestructuringPrivate(n);this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(h){this.checkExpressionErrors(n,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=a;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,i){const r=this.startNodeAt(t,s);r.tag=e;r.quasi=this.parseTemplate(true);if(i.optionalChainMember){this.raise(n.OptionalChainingNoTemplate,{at:s})}return this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===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(n.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1})}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(n.ImportCallSpreadArgument,{at:t})}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,i,r){const a=[];let o=true;const h=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(o){o=false}else{this.expect(12);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(n.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc})}if(i){this.addTrailingCommaExtraToNode(i)}this.next();break}}a.push(this.parseExprListItem(false,r,s))}this.state.inFSharpPipelineDirectBody=h;return a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.resetPreviousNodeTrailingComments(t);this.expect(19);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingCommaLoc);if(t.innerComments){setInnerComments(e,t.innerComments)}if(t.callee.trailingComments){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;const{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:t=this.startNode();this.next();if(this.match(16)){return this.parseImportMetaProperty(t)}if(!this.match(10)){this.raise(n.UnsupportedImport,{at:this.state.lastTokStartLoc})}return this.finishNode(t,"Import");case 78:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case 90:{return this.parseDo(this.startNode(),false)}case 56:case 31:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(true);case 86:return this.parseBooleanLiteral(false);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:{return this.parseArrayLike(this.state.type===2?4:3,false,true)}case 0:{return this.parseArrayLike(3,true,false,e)}case 6:case 7:{return this.parseObjectLike(this.state.type===6?9:8,false,true)}case 5:{return this.parseObjectLike(8,false,false,e)}case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(false);case 15:{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(n.UnsupportedBind,{at:e})}}case 134:{this.raise(n.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value});return this.parsePrivateName()}case 33:{return this.parseTopicReferenceThenEqualsSign(54,"%")}case 32:{return this.parseTopicReferenceThenEqualsSign(44,"^")}case 37:case 38:{return this.parseTopicReference("hack")}case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){return this.parseTopicReference(e)}else{throw this.unexpected()}}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else{throw this.unexpected()}}default:if(tokenIsIdentifier(s)){if(this.isContextual(123)&&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()){const{type:e}=this.state;if(e===68){this.resetPreviousNodeTrailingComments(s);this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(tokenIsIdentifier(e)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s))}else{return s}}else if(e===90){this.resetPreviousNodeTrailingComments(s);return this.parseDo(this.startNodeAtNode(s),true)}}if(e&&this.match(19)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}else{throw this.unexpected()}}}parseTopicReferenceThenEqualsSign(e,t){const s=this.getPluginOption("pipelineOperator","proposal");if(s){this.state.type=e;this.state.value=t;this.state.pos--;this.state.end--;this.state.endLoc=createPositionWithColumnOffset(this.state.endLoc,-1);return this.parseTopicReference(s)}else{throw this.unexpected()}}parseTopicReference(e){const t=this.startNode();const s=this.state.startLoc;const i=this.state.type;this.next();return this.finishTopicReference(t,s,e,i)}finishTopicReference(e,t,s,i){if(this.testTopicReferenceConfiguration(s,t,i)){const i=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";if(!this.topicReferenceIsAllowedInCurrentContext()){this.raise(s==="smart"?n.PrimaryTopicNotAllowed:n.PipeTopicUnbound,{at:t})}this.registerTopicReference();return this.finishNode(e,i)}else{throw this.raise(n.PipeTopicUnconfiguredToken,{at:t,token:tokenLabelName(i)})}}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":{return this.hasPlugin(["pipelineOperator",{topicToken:tokenLabelName(s)}])}case"smart":return s===27;default:throw this.raise(n.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(n.LineTerminatorBeforeArrow,{at:this.state.curPosition()})}this.expect(19);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(He);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(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(n.SuperNotAllowed,{at:e})}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(n.UnexpectedSuper,{at:e})}if(!this.match(10)&&!this.match(0)&&!this.match(16)){this.raise(n.UnsupportedSuper,{at:e})}return this.finishNode(e,"Super")}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,this.state.start+1));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(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();if(this.match(102)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;const i=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||i){this.raise(n.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:s})}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual(100)){if(!this.inModule){this.raise(n.ImportMetaOutsideModule,{at:t})}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 i;this.next();this.expressionScope.enter(newArrowHeadScope());const r=this.state.maybeInArrowParameters;const a=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const n=this.state.start;const o=this.state.startLoc;const h=[];const c=new ExpressionErrors;let p=true;let l;let u;while(!this.match(11)){if(p){p=false}else{this.expect(12,c.optionalParametersLoc===null?null:c.optionalParametersLoc);if(this.match(11)){u=this.state.startLoc;break}}if(this.match(21)){const e=this.state.start;const t=this.state.startLoc;l=this.state.startLoc;h.push(this.parseParenItem(this.parseRestBinding(),e,t));if(!this.checkCommaAfterRest(41)){break}}else{h.push(this.parseMaybeAssignAllowIn(c,this.parseParenItem))}}const d=this.state.lastTokEndLoc;this.expect(11);this.state.maybeInArrowParameters=r;this.state.inFSharpPipelineDirectBody=a;let f=this.startNodeAt(t,s);if(e&&this.shouldParseArrow(h)&&(f=this.parseArrow(f))){this.checkDestructuringPrivate(c);this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(f,h,false);return f}this.expressionScope.exit();if(!h.length){this.unexpected(this.state.lastTokStartLoc)}if(u)this.unexpected(u);if(l)this.unexpected(l);this.checkExpressionErrors(c,true);this.toReferencedListDeep(h,true);if(h.length>1){i=this.startNodeAt(n,o);i.expressions=h;this.finishNode(i,"SequenceExpression");this.resetEndLocation(i,d)}else{i=h[0]}return this.wrapParenthesis(t,s,i)}wrapParenthesis(e,t,s){if(!this.options.createParenthesizedExpressions){this.addExtra(s,"parenthesized",true);this.addExtra(s,"parenStart",e);this.takeSurroundingComments(s,e,this.state.lastTokEndLoc.index);return s}const i=this.startNodeAt(e,t);i.expression=s;this.finishNode(i,"ParenthesizedExpression");return i}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(16)){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(n.UnexpectedNewTarget,{at:s})}return s}return this.parseNew(e)}parseNew(e){this.parseNewCallee(e);if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(n.ImportCallNotNewExpression,{at:e.callee})}else if(this.isOptionalChain(e.callee)){this.raise(n.OptionalChainingNoNew,{at:this.state.lastTokEndLoc})}else if(this.eat(18)){this.raise(n.OptionalChainingNoNew,{at:this.state.startLoc})}}parseTemplateElement(e){const{start:t,startLoc:s,end:i,value:r}=this.state;const a=t+1;const o=this.startNodeAt(a,createPositionWithColumnOffset(s,1));if(r===null){if(!e){this.raise(n.InvalidEscapeSequenceTemplate,{at:createPositionWithColumnOffset(s,2)})}}const h=this.match(24);const c=h?-1:-2;const p=i+c;o.value={raw:this.input.slice(a,p).replace(/\r\n?/g,"\n"),cooked:r===null?null:r.slice(1,c)};o.tail=h;this.next();this.finishNode(o,"TemplateElement");this.resetEndLocation(o,createPositionWithColumnOffset(this.state.lastTokEndLoc,c));return o}parseTemplate(e){const t=this.startNode();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){t.expressions.push(this.parseTemplateSubstitution());this.readTemplateContinuation();t.quasis.push(s=this.parseTemplateElement(e))}return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,i){if(s){this.expectPlugin("recordAndTuple")}const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const a=Object.create(null);let o=true;const h=this.startNode();h.properties=[];this.next();while(!this.match(e)){if(o){o=false}else{this.expect(12);if(this.match(e)){this.addTrailingCommaExtraToNode(h);break}}let r;if(t){r=this.parseBindingProperty()}else{r=this.parsePropertyDefinition(i);this.checkProto(r,s,a,i)}if(s&&!this.isObjectProperty(r)&&r.type!=="SpreadElement"){this.raise(n.InvalidRecordProperty,{at:r})}if(r.shorthand){this.addExtra(r,"shorthand",true)}h.properties.push(r)}this.next();this.state.inFSharpPipelineDirectBody=r;let c="ObjectExpression";if(t){c="ObjectPattern"}else if(s){c="RecordExpression"}return this.finishNode(h,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart);this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,false)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26)){if(this.hasPlugin("decorators")){this.raise(n.UnsupportedPropertyDecorator,{at:this.state.startLoc})}while(this.match(26)){t.push(this.parseDecorator())}}const s=this.startNode();let i=false;let r=false;let a;let o;if(this.match(21)){if(t.length)this.unexpected();return this.parseSpread()}if(t.length){s.decorators=t;t=[]}s.method=false;if(e){a=this.state.start;o=this.state.startLoc}let h=this.eat(55);this.parsePropertyNamePrefixOperator(s);const c=this.state.containsEsc;const p=this.parsePropertyName(s,e);if(!h&&!c&&this.maybeAsyncOrAccessorProp(s)){const e=p.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;this.resetPreviousNodeTrailingComments(p);h=this.eat(55);this.parsePropertyName(s)}if(e==="get"||e==="set"){r=true;this.resetPreviousNodeTrailingComments(p);s.kind=e;if(this.match(55)){h=true;this.raise(n.AccessorIsGenerator,{at:this.state.curPosition(),kind:e});this.next()}this.parsePropertyName(s)}}this.parseObjPropValue(s,a,o,h,i,false,r,e);return s}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const i=this.getObjectOrClassMethodParams(e);if(i.length!==s){this.raise(e.kind==="get"?n.BadGetterArity:n.BadSetterArity,{at:e})}if(e.kind==="set"&&((t=i[i.length-1])==null?void 0:t.type)==="RestElement"){this.raise(n.BadSetterRestParameter,{at:e})}}parseObjectMethod(e,t,s,i,r){if(r){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(10)){if(i)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,i,r){e.shorthand=false;if(this.eat(14)){e.value=i?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(r);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.loc.start,true,false);if(i){e.value=this.parseMaybeDefault(t,s,cloneIdentifier(e.key))}else if(this.match(29)){const i=this.state.startLoc;if(r!=null){if(r.shorthandAssignLoc===null){r.shorthandAssignLoc=i}}else{this.raise(n.InvalidCoverInitializedName,{at:i})}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,i,r,a,n,o){const h=this.parseObjectMethod(e,i,r,a,n)||this.parseObjectProperty(e,t,s,a,o);if(!h)this.unexpected();return h}parsePropertyName(e,t){if(this.eat(0)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(3)}else{const{type:s,value:i}=this.state;let r;if(tokenIsKeywordOrIdentifier(s)){r=this.parseIdentifier(true)}else{switch(s){case 130:r=this.parseNumericLiteral(i);break;case 129:r=this.parseStringLiteral(i);break;case 131:r=this.parseBigIntLiteral(i);break;case 132:r=this.parseDecimalLiteral(i);break;case 134:{const e=this.state.startLoc;if(t!=null){if(t.privateKeyLoc===null){t.privateKeyLoc=e}}else{this.raise(n.UnexpectedPrivateField,{at:e})}r=this.parsePrivateName();break}default:throw this.unexpected()}}e.key=r;if(s!==134){e.computed=false}}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,i,r,a,n=false){this.initFunction(e,s);e.generator=!!t;const o=i;this.scope.enter(R|_|(n?H:0)|(r?K:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,a,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,i){if(s){this.expectPlugin("recordAndTuple")}const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const a=this.startNode();this.next();a.elements=this.parseExprList(e,!s,i,a);this.state.inFSharpPipelineDirectBody=r;return this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,i){this.scope.enter(R|j);let r=functionFlags(s,false);if(!this.match(5)&&this.prodParam.hasIn){r|=Ve}this.prodParam.enter(r);this.initFunction(e,s);const a=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,i)}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,s){this.toAssignableList(t,s,false);e.params=t}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const i=t&&!this.match(5);this.expressionScope.enter(newExpressionScope());if(i){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const i=this.state.strict;const r=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|ze);e.body=this.parseBlock(true,false,(r=>{const a=!this.isSimpleParamList(e.params);if(r&&a){this.raise(n.IllegalLanguageModeDirective,{at:(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.loc.end:e})}const o=!i&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!a,t,o);if(this.state.strict&&e.id){this.checkIdentifier(e.id,ue,o)}}));this.prodParam.exit();this.state.labels=r}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(n.YieldBindingIdentifier,{at:t});return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(n.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(n.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(n.ArgumentsInClass,{at:t});return}}if(s&&isKeyword(e)){this.raise(n.UnexpectedKeyword,{at:t,keyword:e});return}const r=!this.state.strict?isReservedWord:i?isStrictBindReservedWord:isStrictReservedWord;if(r(e,this.inModule)){this.raise(n.UnexpectedReservedWord,{at:t,reservedWord: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(n.AwaitExpressionFormalParameter,{at:s});if(this.eat(55)){this.raise(n.ObsoleteAwaitStar,{at:s})}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(){if(this.hasPrecedingLineBreak())return true;const{type:e}=this.state;return e===53||e===10||e===0||tokenIsTemplate(e)||e===133||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(n.YieldInParameter,{at:e});this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(55);switch(this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(e.type==="SequenceExpression"){this.raise(n.PipelineHeadSequenceExpression,{at:t})}}}parseSmartPipelineBodyInStyle(e,t,s){const i=this.startNodeAt(t,s);if(this.isSimpleReference(e)){i.callee=e;return this.finishNode(i,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(s);i.expression=e;return this.finishNode(i,"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(19)){throw this.raise(n.PipelineBodyNoArrow,{at:this.state.startLoc})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(n.PipelineTopicUnused,{at:e})}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin(["pipelineOperator",{proposal:"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=Ve&~t;if(s){this.prodParam.enter(t|Ve);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Ve&t;if(s){this.prodParam.enter(t&~Ve);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 i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,s,e);this.state.inFSharpPipelineDirectBody=i;return r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(5);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,8,"module")}finally{t()}this.eat(8);return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const nt={kind:"loop"},ot={kind:"switch"};const ht=0,ct=1,pt=2,lt=4;const ut=/[\uD800-\uDFFF]/u;const dt=/in(?:stanceof)?/y;function babel7CompatTokens(e,t){for(let s=0;s0){for(const[e,t]of Array.from(this.scope.undefinedExports)){this.raise(n.ModuleExportUndefined,{at:t,localName: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 i=s.value;const r=this.input.slice(s.start,s.end);const a=s.value=r.slice(1,-1);this.addExtra(s,"raw",r);this.addExtra(s,"rawValue",a);this.addExtra(s,"expressionValue",i);s.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(28)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual(99)){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)){dt.lastIndex=t;if(dt.test(this.input)){const e=this.codePointAtPos(dt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(26)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const i=this.startNode();let r;if(this.isLet(e)){s=74;r="let"}switch(s){case 60:return this.parseBreakContinueStatement(i,true);case 63:return this.parseBreakContinueStatement(i,false);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(n.StrictFunction,{at:this.state.startLoc})}else if(e!=="if"&&e!=="label"){this.raise(n.SloppyFunction,{at:this.state.startLoc})}}return this.parseFunctionStatement(i,false,!e);case 80:if(e)this.unexpected();return this.parseClass(i,true);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 75:case 74:r=r||this.state.value;if(e&&r!=="var"){this.raise(n.UnexpectedLexicalDeclaration,{at:this.state.startLoc})}return this.parseVarStatement(i,r);case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case 82:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(n.UnexpectedImportExport,{at:this.state.startLoc})}this.next();let e;if(s===83){e=this.parseImport(i);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(i);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(i);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(n.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc})}this.next();return this.parseFunctionStatement(i,true,!e)}}}const a=this.state.value;const o=this.parseExpression();if(tokenIsIdentifier(s)&&o.type==="Identifier"&&this.eat(14)){return this.parseLabeledStatement(i,a,o,e)}else{return this.parseExpressionStatement(i,o)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(n.ImportOutsideModule,{at:e})}}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(80)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(26)){const e=this.parseDecorator();t.push(e)}if(this.match(82)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(n.DecoratorExportClass,{at:this.state.startLoc})}}else if(!this.canHaveLeadingDecorator()){throw this.raise(n.UnexpectedLeadingDecorator,{at:this.state.startLoc})}}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 i;if(this.match(10)){const e=this.state.start;const t=this.state.startLoc;this.next();i=this.parseExpression();this.expect(11);i=this.wrapParenthesis(e,t,i)}else{i=this.parseIdentifier(false);while(this.eat(16)){const e=this.startNodeAt(t,s);e.object=i;e.property=this.parseIdentifier(true);e.computed=false;i=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(i);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(11,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let s;for(s=0;sthis.parseStatement("do")));this.state.labels.pop();this.expect(92);e.test=this.parseHeaderExpression();this.eat(13);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(nt);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)){t=this.state.lastTokStartLoc}this.scope.enter(F);this.expect(10);if(this.match(13)){if(t!==null){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual(99);const i=s&&this.isLetKeyword();if(this.match(74)||this.match(75)||i){const s=this.startNode();const r=i?"let":this.state.value;this.next();this.parseVar(s,true,r);this.finishNode(s,"VariableDeclaration");if((this.match(58)||this.isContextual(101))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t!==null){this.unexpected(t)}return this.parseFor(e,s)}const r=this.isContextual(95);const a=new ExpressionErrors;const o=this.parseExpression(true,a);const h=this.isContextual(101);if(h){if(s){this.raise(n.ForOfLet,{at:o})}if(t===null&&r&&o.type==="Identifier"){this.raise(n.ForOfAsync,{at:o})}}if(h||this.match(58)){this.checkDestructuringPrivate(a);this.toAssignable(o,true);const s=h?"ForOfStatement":"ForInStatement";this.checkLVal(o,{in:{type:s}});return this.parseForIn(e,o,t)}else{this.checkExpressionErrors(a,true)}if(t!==null){this.unexpected(t)}return this.parseFor(e,o)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,ct|(s?0:pt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(66)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(n.IllegalReturn,{at:this.state.startLoc})}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(5);this.state.labels.push(ot);this.scope.enter(F);let s;for(let e;!this.match(8);){if(this.match(61)||this.match(65)){const i=this.match(61);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(i){s.test=this.parseExpression()}else{if(e){this.raise(n.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc})}e=true;s.test=null}this.expect(14)}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(n.NewlineAfterThrow,{at:this.state.lastTokEndLoc})}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?U:0);this.checkLVal(e,{in:{type:"CatchClause"},binding:re,allowingSloppyLetBinding:true});return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(62)){const t=this.startNode();this.next();if(this.match(10)){this.expect(10);t.param=this.parseCatchClauseParam();this.expect(11)}else{t.param=null;this.scope.enter(F)}t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(false,false)));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(67)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(n.NoCatchOrFinally,{at:e})}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t,s=false){this.next();this.parseVar(e,false,t,s);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(n.StrictWith,{at:this.state.startLoc})}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,i){for(const e of this.state.labels){if(e.name===t){this.raise(n.LabelRedeclaration,{at:s,labelName:t})}}const r=tokenIsLoop(this.state.type)?"loop":this.match(71)?"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=r}else{break}}this.state.labels.push({name:t,kind:r,statementStart:this.state.start});e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"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 i=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(5);if(t){this.scope.enter(F)}this.parseBlockBody(i,e,false,8,s);if(t){this.scope.exit()}return this.finishNode(i,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,i,r){const a=e.body=[];const n=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?n:undefined,s,i,r)}parseBlockOrModuleBlockBody(e,t,s,i,r){const a=this.state.strict;let n=false;let o=false;while(!this.match(i)){const i=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(i)){const e=this.stmtToDirective(i);t.push(e);if(!n&&e.value.value==="use strict"){n=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(i)}if(r){r.call(this,n)}if(!a){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(13)?null:this.parseExpression();this.semicolon(false);e.update=this.match(11)?null:this.parseExpression();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for")));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const i=this.match(58);this.next();if(i){if(s!==null)this.unexpected(s)}else{e.await=s!==null}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(n.ForInOfLoopInitializer,{at:t,type:i?"ForInStatement":"ForOfStatement"})}if(t.type==="AssignmentPattern"){this.raise(n.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}})}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for")));this.scope.exit();this.state.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")}parseVar(e,t,s,i=false){const r=e.declarations=[];e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);e.init=!this.eat(29)?null:t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn();if(e.init===null&&!i){if(e.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))){this.raise(n.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})}else if(s==="const"&&!(this.match(58)||this.isContextual(101))){this.raise(n.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})}}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:t==="var"?ae:re})}parseFunction(e,t=ht,s=false){const i=t&ct;const r=t&pt;const a=!!i&&!(t<);this.initFunction(e,s);if(this.match(55)&&r){this.raise(n.GeneratorInSingleStatementContext,{at:this.state.startLoc})}e.generator=this.eat(55);if(i){e.id=this.parseFunctionId(a)}const o=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(R);this.prodParam.enter(functionFlags(s,e.generator));if(!i){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,i?"FunctionDeclaration":"FunctionExpression")}));this.prodParam.exit();this.scope.exit();if(i&&!r){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=o;return e}parseFunctionId(e){return e||tokenIsIdentifier(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(11,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?ae:re:ne,e.id.loc.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const i=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,i);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}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 i=[];const r=this.startNode();r.body=[];this.expect(5);this.withSmartMixTopicForbiddingContext((()=>{while(!this.match(8)){if(this.eat(13)){if(i.length>0){throw this.raise(n.DecoratorSemicolon,{at:this.state.lastTokEndLoc})}continue}if(this.match(26)){i.push(this.parseDecorator());continue}const e=this.startNode();if(i.length){e.decorators=i;this.resetStartLocationFromNode(e,i[0]);i=[]}this.parseClassMember(r,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(n.DecoratorConstructor,{at:e})}}}));this.state.strict=t;this.next();if(i.length){throw this.raise(n.TrailingDecorator,{at:this.state.startLoc})}this.classScope.exit();return this.finishNode(r,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const i=t;i.kind="method";i.computed=false;i.key=s;i.static=false;this.pushClassMethod(e,i,false,false,false,false);return true}else if(this.isClassProperty()){const i=t;i.computed=false;i.key=s;i.static=false;e.body.push(this.parseClassProperty(i));return true}this.resetPreviousNodeTrailingComments(s);return false}parseClassMember(e,t,s){const i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,i)}parseClassMemberWithIsStatic(e,t,s,i){const r=t;const a=t;const o=t;const h=t;const c=t;const p=r;const l=r;t.static=i;this.parsePropertyNamePrefixOperator(t);if(this.eat(55)){p.kind="method";const t=this.match(134);this.parseClassElementName(p);if(t){this.pushClassPrivateMethod(e,a,true,false);return}if(this.isNonstaticConstructor(r)){this.raise(n.ConstructorIsGenerator,{at:r.key})}this.pushClassMethod(e,r,true,false,false,false);return}const u=tokenIsIdentifier(this.state.type)&&!this.state.containsEsc;const d=this.match(134);const f=this.parseClassElementName(t);const m=this.state.startLoc;this.parsePostMemberNameModifiers(l);if(this.isClassMethod()){p.kind="method";if(d){this.pushClassPrivateMethod(e,a,false,false);return}const i=this.isNonstaticConstructor(r);let o=false;if(i){r.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(n.DuplicateConstructor,{at:f})}if(i&&this.hasPlugin("typescript")&&t.override){this.raise(n.OverrideOnConstructor,{at:f})}s.hadConstructor=true;o=s.hadSuperClass}this.pushClassMethod(e,r,false,false,i,o)}else if(this.isClassProperty()){if(d){this.pushClassPrivateProperty(e,h)}else{this.pushClassProperty(e,o)}}else if(u&&f.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);const t=this.eat(55);if(l.optional){this.unexpected(m)}p.kind="method";const s=this.match(134);this.parseClassElementName(p);this.parsePostMemberNameModifiers(l);if(s){this.pushClassPrivateMethod(e,a,t,true)}else{if(this.isNonstaticConstructor(r)){this.raise(n.ConstructorIsAsync,{at:r.key})}this.pushClassMethod(e,r,t,true,false,false)}}else if(u&&(f.name==="get"||f.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f);p.kind=f.name;const t=this.match(134);this.parseClassElementName(r);if(t){this.pushClassPrivateMethod(e,a,false,false)}else{if(this.isNonstaticConstructor(r)){this.raise(n.ConstructorIsAccessor,{at:r.key})}this.pushClassMethod(e,r,false,false,false,false)}this.checkGetterSetterParams(r)}else if(u&&f.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors");this.resetPreviousNodeTrailingComments(f);const t=this.match(134);this.parseClassElementName(o);this.pushClassAccessorProperty(e,c,t)}else if(this.isLineTerminator()){if(d){this.pushClassPrivateProperty(e,h)}else{this.pushClassProperty(e,o)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s}=this.state;if((t===128||t===129)&&e.static&&s==="prototype"){this.raise(n.StaticPrototype,{at:this.state.startLoc})}if(t===134){if(s==="constructor"){this.raise(n.ConstructorClassPrivateField,{at:this.state.startLoc})}const t=this.parsePrivateName();e.key=t;return t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var s;this.scope.enter(H|z|_);const i=this.state.labels;this.state.labels=[];this.prodParam.enter(_e);const r=t.body=[];this.parseBlockOrModuleBlockBody(r,undefined,false,8);this.prodParam.exit();this.scope.exit();this.state.labels=i;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(n.DecoratorStaticBlock,{at:t})}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(n.ConstructorClassField,{at:t.key})}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),Ee,s.key.loc.start)}pushClassAccessorProperty(e,t,s){if(!s&&!t.computed){const e=t.key;if(e.name==="constructor"||e.value==="constructor"){this.raise(n.ConstructorClassField,{at:e})}}const i=this.parseClassAccessorProperty(t);e.body.push(i);if(s){this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),Ee,i.key.loc.start)}}pushClassMethod(e,t,s,i,r,a){e.body.push(this.parseMethod(t,s,i,r,a,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,i){const r=this.parseMethod(t,s,i,false,false,"ClassPrivateMethod",true);e.body.push(r);const a=r.kind==="get"?r.static?Te:we:r.kind==="set"?r.static?be:Ae:Ee;this.declareClassPrivateMethodInScope(r,a)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.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")}parseClassAccessorProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(H|_);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(_e);e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,i=ie){if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();if(t){this.declareNameFromIdentifier(e.id,i)}}else{if(s||!t){e.id=null}else{throw this.raise(n.MissingClassName,{at:this.state.startLoc})}}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(12);const i=s&&this.eatExportStar(e);const r=i&&this.maybeParseExportNamespaceSpecifier(e);const a=s&&(!r||this.eat(12));const n=t||i;if(i&&!r){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!i&&!o||r&&a&&!o){throw this.unexpected(null,5)}let h;if(n||o){h=false;this.parseExportFrom(e,n)}else{h=this.maybeParseExportDeclaration(e)}if(n||o||h){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(65)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}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(93)){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(5)){if(!e.specifiers)e.specifiers=[];const t=e.exportKind==="type";e.specifiers.push(...this.parseExportSpecifiers(t));e.source=null;e.declaration=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual(95))return false;const e=this.nextTokenStart();return!Se.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(68)||t){this.next();if(t){this.next()}return this.parseFunction(e,ct|lt,t)}if(this.match(80)){return this.parseClass(e,true,true)}if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(n.DecoratorBeforeExport,{at:this.state.startLoc})}this.parseDecorators(false);return this.parseClass(e,true,true)}if(this.match(75)||this.match(74)||this.isLet()){throw this.raise(n.UnsupportedDefaultExport,{at:this.state.startLoc})}const s=this.parseMaybeAssignAllowIn();this.semicolon();return s}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsIdentifier(e)){if(e===95&&!this.state.containsEsc||e===99){return false}if((e===126||e===125)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(tokenIsIdentifier(e)&&e!==97||e===5){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(65)){return false}const t=this.nextTokenStart();const s=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||tokenIsIdentifier(this.state.type)&&s){return true}if(this.match(65)&&s){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return false}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else if(t){this.unexpected()}this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(e===26){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){throw this.raise(n.DecoratorBeforeExport,{at:this.state.startLoc})}return true}}return e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,i){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var r;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((r=t.extra)!=null&&r.parenthesized)){this.raise(n.ExportDefaultFromAsIdentifier,{at:t})}}}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(!i&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(n.ExportBindingIsString,{at:t,localName:e.value,exportName:s})}else{this.checkReservedWord(e.name,e.loc.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(n.UnsupportedDecoratorExport,{at:e})}}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)){if(t==="default"){this.raise(n.DuplicateDefaultExport,{at:e})}else{this.raise(n.DuplicateExport,{at:e,exportName:t})}}this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let s=true;this.expect(5);while(!this.eat(8)){if(s){s=false}else{this.expect(12);if(this.eat(8))break}const i=this.isContextual(126);const r=this.match(129);const a=this.startNode();a.local=this.parseModuleExportName();t.push(this.parseExportSpecifier(a,r,e,i))}return t}parseExportSpecifier(e,t,s,i){if(this.eatContextual(93)){e.exported=this.parseModuleExportName()}else if(t){e.exported=cloneStringLiteral(e.local)}else if(!e.exported){e.exported=cloneIdentifier(e.local)}return this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ut);if(t){this.raise(n.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)})}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(129)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(12);const i=s&&this.maybeParseStarImportSpecifier(e);if(s&&!i)this.parseNamedImportSpecifiers(e);this.expectContextual(97)}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(129))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return tokenIsIdentifier(this.state.type)}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t){this.checkLVal(e.local,{in:e,binding:re});return this.finishNode(e,t)}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(8)){break}const s=this.startNode();const i=this.state.value;if(t.has(i)){this.raise(n.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i})}t.add(i);if(this.match(129)){s.key=this.parseStringLiteral(i)}else{s.key=this.parseIdentifier(true)}this.expect(14);if(!this.match(129)){throw this.raise(n.ModuleAttributeInvalidValue,{at:this.state.startLoc})}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(this.match(76)&&!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(n.ModuleAttributeDifferentFromType,{at:s.key})}if(t.has(s.key.name)){this.raise(n.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name})}t.add(s.key.name);this.expect(14);if(!this.match(129)){throw this.raise(n.ModuleAttributeInvalidValue,{at:this.state.startLoc})}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(12));return e}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(5);const e=this.parseAssertEntries();this.eat(8);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();this.next();this.expectContextual(93);this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(5);while(!this.eat(8)){if(t){t=false}else{if(this.eat(14)){throw this.raise(n.DestructureNamedImport,{at:this.state.startLoc})}this.expect(12);if(this.eat(8))break}const s=this.startNode();const i=this.match(129);const r=this.isContextual(126);s.imported=this.parseModuleExportName();const a=this.parseImportSpecifier(s,i,e.importKind==="type"||e.importKind==="typeof",r);e.specifiers.push(a)}}parseImportSpecifier(e,t,s,i){if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{const{imported:s}=e;if(t){throw this.raise(n.ImportBindingIsString,{at:e,importName:s.value})}this.checkReservedWord(s.name,e.loc.start,true,true);if(!e.local){e.local=cloneIdentifier(s)}}return this.finishImportSpecifier(e,"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,i]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,i||{})}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 i=s.parse();if(s.sawUnambiguousESM){return i}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{i.program.sourceType="script"}return i}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 generateExportedTokenTypes(e){const t={};for(const s of Object.keys(e)){t[s]=getExportedToken(e[s])}return t}const ft=generateExportedTokenTypes(A);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 mt={};function getParserClass(e){const t=rt.filter((t=>hasPlugin(e,t)));const s=t.join("/");let i=mt[s];if(!i){i=Parser;for(const e of t){i=it[e](i)}mt[s]=i}return i}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=ft})();module.exports=e})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/@babel/parser/license b/packages/builder/builder-shared/compiled/@babel/parser/license deleted file mode 100644 index d4c7fc583804..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/parser/license +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (C) 2012-2014 by various contributors (see AUTHORS) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/@babel/parser/package.json b/packages/builder/builder-shared/compiled/@babel/parser/package.json deleted file mode 100644 index 58a559b4fcd7..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/parser/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/parser","author":"The Babel Team (https://babel.dev/team)","version":"7.18.4","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/@babel/types/index.js b/packages/builder/builder-shared/compiled/@babel/types/index.js deleted file mode 100644 index 9aa82a4abd4d..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/types/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={4081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=assertNode;var n=r(7731);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}"`)}}},8384:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertAccessor=assertAccessor;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertArrayExpression=assertArrayExpression;t.assertArrayPattern=assertArrayPattern;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertAssignmentPattern=assertAssignmentPattern;t.assertAwaitExpression=assertAwaitExpression;t.assertBigIntLiteral=assertBigIntLiteral;t.assertBinary=assertBinary;t.assertBinaryExpression=assertBinaryExpression;t.assertBindExpression=assertBindExpression;t.assertBlock=assertBlock;t.assertBlockParent=assertBlockParent;t.assertBlockStatement=assertBlockStatement;t.assertBooleanLiteral=assertBooleanLiteral;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertClass=assertClass;t.assertClassAccessorProperty=assertClassAccessorProperty;t.assertClassBody=assertClassBody;t.assertClassDeclaration=assertClassDeclaration;t.assertClassExpression=assertClassExpression;t.assertClassImplements=assertClassImplements;t.assertClassMethod=assertClassMethod;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassProperty=assertClassProperty;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDecimalLiteral=assertDecimalLiteral;t.assertDeclaration=assertDeclaration;t.assertDeclareClass=assertDeclareClass;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertDecorator=assertDecorator;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertDoExpression=assertDoExpression;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertEnumBody=assertEnumBody;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertEnumMember=assertEnumMember;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertExportSpecifier=assertExportSpecifier;t.assertExpression=assertExpression;t.assertExpressionStatement=assertExpressionStatement;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFile=assertFile;t.assertFlow=assertFlow;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertFlowType=assertFlowType;t.assertFor=assertFor;t.assertForInStatement=assertForInStatement;t.assertForOfStatement=assertForOfStatement;t.assertForStatement=assertForStatement;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertFunctionParent=assertFunctionParent;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertImmutable=assertImmutable;t.assertImport=assertImport;t.assertImportAttribute=assertImportAttribute;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertIndexedAccessType=assertIndexedAccessType;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertInterpreterDirective=assertInterpreterDirective;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertJSX=assertJSX;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXFragment=assertJSXFragment;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXText=assertJSXText;t.assertLVal=assertLVal;t.assertLabeledStatement=assertLabeledStatement;t.assertLiteral=assertLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertLoop=assertLoop;t.assertMemberExpression=assertMemberExpression;t.assertMetaProperty=assertMetaProperty;t.assertMethod=assertMethod;t.assertMiscellaneous=assertMiscellaneous;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertModuleDeclaration=assertModuleDeclaration;t.assertModuleExpression=assertModuleExpression;t.assertModuleSpecifier=assertModuleSpecifier;t.assertNewExpression=assertNewExpression;t.assertNoop=assertNoop;t.assertNullLiteral=assertNullLiteral;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteral=assertNumberLiteral;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertNumericLiteral=assertNumericLiteral;t.assertObjectExpression=assertObjectExpression;t.assertObjectMember=assertObjectMember;t.assertObjectMethod=assertObjectMethod;t.assertObjectPattern=assertObjectPattern;t.assertObjectProperty=assertObjectProperty;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertPattern=assertPattern;t.assertPatternLike=assertPatternLike;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPlaceholder=assertPlaceholder;t.assertPrivate=assertPrivate;t.assertPrivateName=assertPrivateName;t.assertProgram=assertProgram;t.assertProperty=assertProperty;t.assertPureish=assertPureish;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertRecordExpression=assertRecordExpression;t.assertRegExpLiteral=assertRegExpLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestElement=assertRestElement;t.assertRestProperty=assertRestProperty;t.assertReturnStatement=assertReturnStatement;t.assertScopable=assertScopable;t.assertSequenceExpression=assertSequenceExpression;t.assertSpreadElement=assertSpreadElement;t.assertSpreadProperty=assertSpreadProperty;t.assertStandardized=assertStandardized;t.assertStatement=assertStatement;t.assertStaticBlock=assertStaticBlock;t.assertStringLiteral=assertStringLiteral;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSuper=assertSuper;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSArrayType=assertTSArrayType;t.assertTSAsExpression=assertTSAsExpression;t.assertTSBaseType=assertTSBaseType;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConditionalType=assertTSConditionalType;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSConstructorType=assertTSConstructorType;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSEntityName=assertTSEntityName;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSFunctionType=assertTSFunctionType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSImportType=assertTSImportType;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSInferType=assertTSInferType;t.assertTSInstantiationExpression=assertTSInstantiationExpression;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSLiteralType=assertTSLiteralType;t.assertTSMappedType=assertTSMappedType;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSOptionalType=assertTSOptionalType;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSRestType=assertTSRestType;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSThisType=assertTSThisType;t.assertTSTupleType=assertTSTupleType;t.assertTSType=assertTSType;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSTypeElement=assertTSTypeElement;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSTypeParameter=assertTSTypeParameter;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeReference=assertTSTypeReference;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnionType=assertTSUnionType;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertTerminatorless=assertTerminatorless;t.assertThisExpression=assertThisExpression;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertThrowStatement=assertThrowStatement;t.assertTopicReference=assertTopicReference;t.assertTryStatement=assertTryStatement;t.assertTupleExpression=assertTupleExpression;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertTypeScript=assertTypeScript;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertUnaryExpression=assertUnaryExpression;t.assertUnaryLike=assertUnaryLike;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertUpdateExpression=assertUpdateExpression;t.assertUserWhitespacable=assertUserWhitespacable;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertWhile=assertWhile;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertYieldExpression=assertYieldExpression;var n=r(9704);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 assertClassAccessorProperty(e,t){assert("ClassAccessorProperty",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 assertStaticBlock(e,t){assert("StaticBlock",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 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 assertTSInstantiationExpression(e,t){assert("TSInstantiationExpression",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 assertStandardized(e,t){assert("Standardized",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 assertAccessor(e,t){assert("Accessor",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 assertMiscellaneous(e,t){assert("Miscellaneous",e,t)}function assertTypeScript(e,t){assert("TypeScript",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)}},1065:()=>{},9424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createFlowUnionType;var n=r(3015);var a=r(3750);function createFlowUnionType(e){const t=(0,a.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},4838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3015);var a=createTypeAnnotationBasedOnTypeof;t["default"]=a;function createTypeAnnotationBasedOnTypeof(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},3015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.anyTypeAnnotation=anyTypeAnnotation;t.argumentPlaceholder=argumentPlaceholder;t.arrayExpression=arrayExpression;t.arrayPattern=arrayPattern;t.arrayTypeAnnotation=arrayTypeAnnotation;t.arrowFunctionExpression=arrowFunctionExpression;t.assignmentExpression=assignmentExpression;t.assignmentPattern=assignmentPattern;t.awaitExpression=awaitExpression;t.bigIntLiteral=bigIntLiteral;t.binaryExpression=binaryExpression;t.bindExpression=bindExpression;t.blockStatement=blockStatement;t.booleanLiteral=booleanLiteral;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.classAccessorProperty=classAccessorProperty;t.classBody=classBody;t.classDeclaration=classDeclaration;t.classExpression=classExpression;t.classImplements=classImplements;t.classMethod=classMethod;t.classPrivateMethod=classPrivateMethod;t.classPrivateProperty=classPrivateProperty;t.classProperty=classProperty;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.decimalLiteral=decimalLiteral;t.declareClass=declareClass;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declareExportDeclaration=declareExportDeclaration;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareOpaqueType=declareOpaqueType;t.declareTypeAlias=declareTypeAlias;t.declareVariable=declareVariable;t.declaredPredicate=declaredPredicate;t.decorator=decorator;t.directive=directive;t.directiveLiteral=directiveLiteral;t.doExpression=doExpression;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.emptyTypeAnnotation=emptyTypeAnnotation;t.enumBooleanBody=enumBooleanBody;t.enumBooleanMember=enumBooleanMember;t.enumDeclaration=enumDeclaration;t.enumDefaultedMember=enumDefaultedMember;t.enumNumberBody=enumNumberBody;t.enumNumberMember=enumNumberMember;t.enumStringBody=enumStringBody;t.enumStringMember=enumStringMember;t.enumSymbolBody=enumSymbolBody;t.existsTypeAnnotation=existsTypeAnnotation;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportDefaultSpecifier=exportDefaultSpecifier;t.exportNamedDeclaration=exportNamedDeclaration;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.exportSpecifier=exportSpecifier;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forOfStatement=forOfStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.identifier=identifier;t.ifStatement=ifStatement;t["import"]=_import;t.importAttribute=importAttribute;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.indexedAccessType=indexedAccessType;t.inferredPredicate=inferredPredicate;t.interfaceDeclaration=interfaceDeclaration;t.interfaceExtends=interfaceExtends;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.interpreterDirective=interpreterDirective;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXText=t.jsxText=jsxText;t.labeledStatement=labeledStatement;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.metaProperty=metaProperty;t.mixedTypeAnnotation=mixedTypeAnnotation;t.moduleExpression=moduleExpression;t.newExpression=newExpression;t.noop=noop;t.nullLiteral=nullLiteral;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteral=NumberLiteral;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.numericLiteral=numericLiteral;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectPattern=objectPattern;t.objectProperty=objectProperty;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.optionalCallExpression=optionalCallExpression;t.optionalIndexedAccessType=optionalIndexedAccessType;t.optionalMemberExpression=optionalMemberExpression;t.parenthesizedExpression=parenthesizedExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.placeholder=placeholder;t.privateName=privateName;t.program=program;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.recordExpression=recordExpression;t.regExpLiteral=regExpLiteral;t.regexLiteral=RegexLiteral;t.restElement=restElement;t.restProperty=RestProperty;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.spreadElement=spreadElement;t.spreadProperty=SpreadProperty;t.staticBlock=staticBlock;t.stringLiteral=stringLiteral;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t["super"]=_super;t.switchCase=switchCase;t.switchStatement=switchStatement;t.symbolTypeAnnotation=symbolTypeAnnotation;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.thisExpression=thisExpression;t.thisTypeAnnotation=thisTypeAnnotation;t.throwStatement=throwStatement;t.topicReference=topicReference;t.tryStatement=tryStatement;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSImportType=t.tsImportType=tsImportType;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSInferType=t.tsInferType=tsInferType;t.tSInstantiationExpression=t.tsInstantiationExpression=tsInstantiationExpression;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSRestType=t.tsRestType=tsRestType;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tupleExpression=tupleExpression;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.unaryExpression=unaryExpression;t.unionTypeAnnotation=unionTypeAnnotation;t.updateExpression=updateExpression;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.whileStatement=whileStatement;t.withStatement=withStatement;t.yieldExpression=yieldExpression;var n=r(3570);function arrayExpression(e=[]){return(0,n.default)({type:"ArrayExpression",elements:e})}function assignmentExpression(e,t,r){return(0,n.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function binaryExpression(e,t,r){return(0,n.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function interpreterDirective(e){return(0,n.default)({type:"InterpreterDirective",value:e})}function directive(e){return(0,n.default)({type:"Directive",value:e})}function directiveLiteral(e){return(0,n.default)({type:"DirectiveLiteral",value:e})}function blockStatement(e,t=[]){return(0,n.default)({type:"BlockStatement",body:e,directives:t})}function breakStatement(e=null){return(0,n.default)({type:"BreakStatement",label:e})}function callExpression(e,t){return(0,n.default)({type:"CallExpression",callee:e,arguments:t})}function catchClause(e=null,t){return(0,n.default)({type:"CatchClause",param:e,body:t})}function conditionalExpression(e,t,r){return(0,n.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function continueStatement(e=null){return(0,n.default)({type:"ContinueStatement",label:e})}function debuggerStatement(){return{type:"DebuggerStatement"}}function doWhileStatement(e,t){return(0,n.default)({type:"DoWhileStatement",test:e,body:t})}function emptyStatement(){return{type:"EmptyStatement"}}function expressionStatement(e){return(0,n.default)({type:"ExpressionStatement",expression:e})}function file(e,t=null,r=null){return(0,n.default)({type:"File",program:e,comments:t,tokens:r})}function forInStatement(e,t,r){return(0,n.default)({type:"ForInStatement",left:e,right:t,body:r})}function forStatement(e=null,t=null,r=null,a){return(0,n.default)({type:"ForStatement",init:e,test:t,update:r,body:a})}function functionDeclaration(e=null,t,r,a=false,i=false){return(0,n.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:a,async:i})}function functionExpression(e=null,t,r,a=false,i=false){return(0,n.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:a,async:i})}function identifier(e){return(0,n.default)({type:"Identifier",name:e})}function ifStatement(e,t,r=null){return(0,n.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function labeledStatement(e,t){return(0,n.default)({type:"LabeledStatement",label:e,body:t})}function stringLiteral(e){return(0,n.default)({type:"StringLiteral",value:e})}function numericLiteral(e){return(0,n.default)({type:"NumericLiteral",value:e})}function nullLiteral(){return{type:"NullLiteral"}}function booleanLiteral(e){return(0,n.default)({type:"BooleanLiteral",value:e})}function regExpLiteral(e,t=""){return(0,n.default)({type:"RegExpLiteral",pattern:e,flags:t})}function logicalExpression(e,t,r){return(0,n.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function memberExpression(e,t,r=false,a=null){return(0,n.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:a})}function newExpression(e,t){return(0,n.default)({type:"NewExpression",callee:e,arguments:t})}function program(e,t=[],r="script",a=null){return(0,n.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:a,sourceFile:null})}function objectExpression(e){return(0,n.default)({type:"ObjectExpression",properties:e})}function objectMethod(e="method",t,r,a,i=false,s=false,o=false){return(0,n.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:a,computed:i,generator:s,async:o})}function objectProperty(e,t,r=false,a=false,i=null){return(0,n.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:a,decorators:i})}function restElement(e){return(0,n.default)({type:"RestElement",argument:e})}function returnStatement(e=null){return(0,n.default)({type:"ReturnStatement",argument:e})}function sequenceExpression(e){return(0,n.default)({type:"SequenceExpression",expressions:e})}function parenthesizedExpression(e){return(0,n.default)({type:"ParenthesizedExpression",expression:e})}function switchCase(e=null,t){return(0,n.default)({type:"SwitchCase",test:e,consequent:t})}function switchStatement(e,t){return(0,n.default)({type:"SwitchStatement",discriminant:e,cases:t})}function thisExpression(){return{type:"ThisExpression"}}function throwStatement(e){return(0,n.default)({type:"ThrowStatement",argument:e})}function tryStatement(e,t=null,r=null){return(0,n.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function unaryExpression(e,t,r=true){return(0,n.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function updateExpression(e,t,r=false){return(0,n.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function variableDeclaration(e,t){return(0,n.default)({type:"VariableDeclaration",kind:e,declarations:t})}function variableDeclarator(e,t=null){return(0,n.default)({type:"VariableDeclarator",id:e,init:t})}function whileStatement(e,t){return(0,n.default)({type:"WhileStatement",test:e,body:t})}function withStatement(e,t){return(0,n.default)({type:"WithStatement",object:e,body:t})}function assignmentPattern(e,t){return(0,n.default)({type:"AssignmentPattern",left:e,right:t})}function arrayPattern(e){return(0,n.default)({type:"ArrayPattern",elements:e})}function arrowFunctionExpression(e,t,r=false){return(0,n.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function classBody(e){return(0,n.default)({type:"ClassBody",body:e})}function classExpression(e=null,t=null,r,a=null){return(0,n.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:a})}function classDeclaration(e,t=null,r,a=null){return(0,n.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:a})}function exportAllDeclaration(e){return(0,n.default)({type:"ExportAllDeclaration",source:e})}function exportDefaultDeclaration(e){return(0,n.default)({type:"ExportDefaultDeclaration",declaration:e})}function exportNamedDeclaration(e=null,t=[],r=null){return(0,n.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function exportSpecifier(e,t){return(0,n.default)({type:"ExportSpecifier",local:e,exported:t})}function forOfStatement(e,t,r,a=false){return(0,n.default)({type:"ForOfStatement",left:e,right:t,body:r,await:a})}function importDeclaration(e,t){return(0,n.default)({type:"ImportDeclaration",specifiers:e,source:t})}function importDefaultSpecifier(e){return(0,n.default)({type:"ImportDefaultSpecifier",local:e})}function importNamespaceSpecifier(e){return(0,n.default)({type:"ImportNamespaceSpecifier",local:e})}function importSpecifier(e,t){return(0,n.default)({type:"ImportSpecifier",local:e,imported:t})}function metaProperty(e,t){return(0,n.default)({type:"MetaProperty",meta:e,property:t})}function classMethod(e="method",t,r,a,i=false,s=false,o=false,l=false){return(0,n.default)({type:"ClassMethod",kind:e,key:t,params:r,body:a,computed:i,static:s,generator:o,async:l})}function objectPattern(e){return(0,n.default)({type:"ObjectPattern",properties:e})}function spreadElement(e){return(0,n.default)({type:"SpreadElement",argument:e})}function _super(){return{type:"Super"}}function taggedTemplateExpression(e,t){return(0,n.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function templateElement(e,t=false){return(0,n.default)({type:"TemplateElement",value:e,tail:t})}function templateLiteral(e,t){return(0,n.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function yieldExpression(e=null,t=false){return(0,n.default)({type:"YieldExpression",argument:e,delegate:t})}function awaitExpression(e){return(0,n.default)({type:"AwaitExpression",argument:e})}function _import(){return{type:"Import"}}function bigIntLiteral(e){return(0,n.default)({type:"BigIntLiteral",value:e})}function exportNamespaceSpecifier(e){return(0,n.default)({type:"ExportNamespaceSpecifier",exported:e})}function optionalMemberExpression(e,t,r=false,a){return(0,n.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:a})}function optionalCallExpression(e,t,r){return(0,n.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function classProperty(e,t=null,r=null,a=null,i=false,s=false){return(0,n.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:a,computed:i,static:s})}function classAccessorProperty(e,t=null,r=null,a=null,i=false,s=false){return(0,n.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:a,computed:i,static:s})}function classPrivateProperty(e,t=null,r=null,a){return(0,n.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:a})}function classPrivateMethod(e="method",t,r,a,i=false){return(0,n.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:a,static:i})}function privateName(e){return(0,n.default)({type:"PrivateName",id:e})}function staticBlock(e){return(0,n.default)({type:"StaticBlock",body:e})}function anyTypeAnnotation(){return{type:"AnyTypeAnnotation"}}function arrayTypeAnnotation(e){return(0,n.default)({type:"ArrayTypeAnnotation",elementType:e})}function booleanTypeAnnotation(){return{type:"BooleanTypeAnnotation"}}function booleanLiteralTypeAnnotation(e){return(0,n.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function nullLiteralTypeAnnotation(){return{type:"NullLiteralTypeAnnotation"}}function classImplements(e,t=null){return(0,n.default)({type:"ClassImplements",id:e,typeParameters:t})}function declareClass(e,t=null,r=null,a){return(0,n.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:a})}function declareFunction(e){return(0,n.default)({type:"DeclareFunction",id:e})}function declareInterface(e,t=null,r=null,a){return(0,n.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:a})}function declareModule(e,t,r=null){return(0,n.default)({type:"DeclareModule",id:e,body:t,kind:r})}function declareModuleExports(e){return(0,n.default)({type:"DeclareModuleExports",typeAnnotation:e})}function declareTypeAlias(e,t=null,r){return(0,n.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function declareOpaqueType(e,t=null,r=null){return(0,n.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function declareVariable(e){return(0,n.default)({type:"DeclareVariable",id:e})}function declareExportDeclaration(e=null,t=null,r=null){return(0,n.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function declareExportAllDeclaration(e){return(0,n.default)({type:"DeclareExportAllDeclaration",source:e})}function declaredPredicate(e){return(0,n.default)({type:"DeclaredPredicate",value:e})}function existsTypeAnnotation(){return{type:"ExistsTypeAnnotation"}}function functionTypeAnnotation(e=null,t,r=null,a){return(0,n.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:a})}function functionTypeParam(e=null,t){return(0,n.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function genericTypeAnnotation(e,t=null){return(0,n.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function inferredPredicate(){return{type:"InferredPredicate"}}function interfaceExtends(e,t=null){return(0,n.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function interfaceDeclaration(e,t=null,r=null,a){return(0,n.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:a})}function interfaceTypeAnnotation(e=null,t){return(0,n.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function intersectionTypeAnnotation(e){return(0,n.default)({type:"IntersectionTypeAnnotation",types:e})}function mixedTypeAnnotation(){return{type:"MixedTypeAnnotation"}}function emptyTypeAnnotation(){return{type:"EmptyTypeAnnotation"}}function nullableTypeAnnotation(e){return(0,n.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function numberLiteralTypeAnnotation(e){return(0,n.default)({type:"NumberLiteralTypeAnnotation",value:e})}function numberTypeAnnotation(){return{type:"NumberTypeAnnotation"}}function objectTypeAnnotation(e,t=[],r=[],a=[],i=false){return(0,n.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:a,exact:i})}function objectTypeInternalSlot(e,t,r,a,i){return(0,n.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:a,method:i})}function objectTypeCallProperty(e){return(0,n.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function objectTypeIndexer(e=null,t,r,a=null){return(0,n.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:a,static:null})}function objectTypeProperty(e,t,r=null){return(0,n.default)({type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function objectTypeSpreadProperty(e){return(0,n.default)({type:"ObjectTypeSpreadProperty",argument:e})}function opaqueType(e,t=null,r=null,a){return(0,n.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:a})}function qualifiedTypeIdentifier(e,t){return(0,n.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function stringLiteralTypeAnnotation(e){return(0,n.default)({type:"StringLiteralTypeAnnotation",value:e})}function stringTypeAnnotation(){return{type:"StringTypeAnnotation"}}function symbolTypeAnnotation(){return{type:"SymbolTypeAnnotation"}}function thisTypeAnnotation(){return{type:"ThisTypeAnnotation"}}function tupleTypeAnnotation(e){return(0,n.default)({type:"TupleTypeAnnotation",types:e})}function typeofTypeAnnotation(e){return(0,n.default)({type:"TypeofTypeAnnotation",argument:e})}function typeAlias(e,t=null,r){return(0,n.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function typeAnnotation(e){return(0,n.default)({type:"TypeAnnotation",typeAnnotation:e})}function typeCastExpression(e,t){return(0,n.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function typeParameter(e=null,t=null,r=null){return(0,n.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function typeParameterDeclaration(e){return(0,n.default)({type:"TypeParameterDeclaration",params:e})}function typeParameterInstantiation(e){return(0,n.default)({type:"TypeParameterInstantiation",params:e})}function unionTypeAnnotation(e){return(0,n.default)({type:"UnionTypeAnnotation",types:e})}function variance(e){return(0,n.default)({type:"Variance",kind:e})}function voidTypeAnnotation(){return{type:"VoidTypeAnnotation"}}function enumDeclaration(e,t){return(0,n.default)({type:"EnumDeclaration",id:e,body:t})}function enumBooleanBody(e){return(0,n.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumNumberBody(e){return(0,n.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumStringBody(e){return(0,n.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumSymbolBody(e){return(0,n.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function enumBooleanMember(e){return(0,n.default)({type:"EnumBooleanMember",id:e,init:null})}function enumNumberMember(e,t){return(0,n.default)({type:"EnumNumberMember",id:e,init:t})}function enumStringMember(e,t){return(0,n.default)({type:"EnumStringMember",id:e,init:t})}function enumDefaultedMember(e){return(0,n.default)({type:"EnumDefaultedMember",id:e})}function indexedAccessType(e,t){return(0,n.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function optionalIndexedAccessType(e,t){return(0,n.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function jsxAttribute(e,t=null){return(0,n.default)({type:"JSXAttribute",name:e,value:t})}function jsxClosingElement(e){return(0,n.default)({type:"JSXClosingElement",name:e})}function jsxElement(e,t=null,r,a=null){return(0,n.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:a})}function jsxEmptyExpression(){return{type:"JSXEmptyExpression"}}function jsxExpressionContainer(e){return(0,n.default)({type:"JSXExpressionContainer",expression:e})}function jsxSpreadChild(e){return(0,n.default)({type:"JSXSpreadChild",expression:e})}function jsxIdentifier(e){return(0,n.default)({type:"JSXIdentifier",name:e})}function jsxMemberExpression(e,t){return(0,n.default)({type:"JSXMemberExpression",object:e,property:t})}function jsxNamespacedName(e,t){return(0,n.default)({type:"JSXNamespacedName",namespace:e,name:t})}function jsxOpeningElement(e,t,r=false){return(0,n.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function jsxSpreadAttribute(e){return(0,n.default)({type:"JSXSpreadAttribute",argument:e})}function jsxText(e){return(0,n.default)({type:"JSXText",value:e})}function jsxFragment(e,t,r){return(0,n.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function jsxOpeningFragment(){return{type:"JSXOpeningFragment"}}function jsxClosingFragment(){return{type:"JSXClosingFragment"}}function noop(){return{type:"Noop"}}function placeholder(e,t){return(0,n.default)({type:"Placeholder",expectedNode:e,name:t})}function v8IntrinsicIdentifier(e){return(0,n.default)({type:"V8IntrinsicIdentifier",name:e})}function argumentPlaceholder(){return{type:"ArgumentPlaceholder"}}function bindExpression(e,t){return(0,n.default)({type:"BindExpression",object:e,callee:t})}function importAttribute(e,t){return(0,n.default)({type:"ImportAttribute",key:e,value:t})}function decorator(e){return(0,n.default)({type:"Decorator",expression:e})}function doExpression(e,t=false){return(0,n.default)({type:"DoExpression",body:e,async:t})}function exportDefaultSpecifier(e){return(0,n.default)({type:"ExportDefaultSpecifier",exported:e})}function recordExpression(e){return(0,n.default)({type:"RecordExpression",properties:e})}function tupleExpression(e=[]){return(0,n.default)({type:"TupleExpression",elements:e})}function decimalLiteral(e){return(0,n.default)({type:"DecimalLiteral",value:e})}function moduleExpression(e){return(0,n.default)({type:"ModuleExpression",body:e})}function topicReference(){return{type:"TopicReference"}}function pipelineTopicExpression(e){return(0,n.default)({type:"PipelineTopicExpression",expression:e})}function pipelineBareFunction(e){return(0,n.default)({type:"PipelineBareFunction",callee:e})}function pipelinePrimaryTopicReference(){return{type:"PipelinePrimaryTopicReference"}}function tsParameterProperty(e){return(0,n.default)({type:"TSParameterProperty",parameter:e})}function tsDeclareFunction(e=null,t=null,r,a=null){return(0,n.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:a})}function tsDeclareMethod(e=null,t,r=null,a,i=null){return(0,n.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:a,returnType:i})}function tsQualifiedName(e,t){return(0,n.default)({type:"TSQualifiedName",left:e,right:t})}function tsCallSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsPropertySignature(e,t=null,r=null){return(0,n.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:r,kind:null})}function tsMethodSignature(e,t=null,r,a=null){return(0,n.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:a,kind:null})}function tsIndexSignature(e,t=null){return(0,n.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function tsAnyKeyword(){return{type:"TSAnyKeyword"}}function tsBooleanKeyword(){return{type:"TSBooleanKeyword"}}function tsBigIntKeyword(){return{type:"TSBigIntKeyword"}}function tsIntrinsicKeyword(){return{type:"TSIntrinsicKeyword"}}function tsNeverKeyword(){return{type:"TSNeverKeyword"}}function tsNullKeyword(){return{type:"TSNullKeyword"}}function tsNumberKeyword(){return{type:"TSNumberKeyword"}}function tsObjectKeyword(){return{type:"TSObjectKeyword"}}function tsStringKeyword(){return{type:"TSStringKeyword"}}function tsSymbolKeyword(){return{type:"TSSymbolKeyword"}}function tsUndefinedKeyword(){return{type:"TSUndefinedKeyword"}}function tsUnknownKeyword(){return{type:"TSUnknownKeyword"}}function tsVoidKeyword(){return{type:"TSVoidKeyword"}}function tsThisType(){return{type:"TSThisType"}}function tsFunctionType(e=null,t,r=null){return(0,n.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructorType(e=null,t,r=null){return(0,n.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsTypeReference(e,t=null){return(0,n.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function tsTypePredicate(e,t=null,r=null){return(0,n.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function tsTypeQuery(e,t=null){return(0,n.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function tsTypeLiteral(e){return(0,n.default)({type:"TSTypeLiteral",members:e})}function tsArrayType(e){return(0,n.default)({type:"TSArrayType",elementType:e})}function tsTupleType(e){return(0,n.default)({type:"TSTupleType",elementTypes:e})}function tsOptionalType(e){return(0,n.default)({type:"TSOptionalType",typeAnnotation:e})}function tsRestType(e){return(0,n.default)({type:"TSRestType",typeAnnotation:e})}function tsNamedTupleMember(e,t,r=false){return(0,n.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function tsUnionType(e){return(0,n.default)({type:"TSUnionType",types:e})}function tsIntersectionType(e){return(0,n.default)({type:"TSIntersectionType",types:e})}function tsConditionalType(e,t,r,a){return(0,n.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:a})}function tsInferType(e){return(0,n.default)({type:"TSInferType",typeParameter:e})}function tsParenthesizedType(e){return(0,n.default)({type:"TSParenthesizedType",typeAnnotation:e})}function tsTypeOperator(e){return(0,n.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function tsIndexedAccessType(e,t){return(0,n.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})}function tsMappedType(e,t=null,r=null){return(0,n.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r})}function tsLiteralType(e){return(0,n.default)({type:"TSLiteralType",literal:e})}function tsExpressionWithTypeArguments(e,t=null){return(0,n.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function tsInterfaceDeclaration(e,t=null,r=null,a){return(0,n.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:a})}function tsInterfaceBody(e){return(0,n.default)({type:"TSInterfaceBody",body:e})}function tsTypeAliasDeclaration(e,t=null,r){return(0,n.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r})}function tsInstantiationExpression(e,t=null){return(0,n.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})}function tsAsExpression(e,t){return(0,n.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function tsTypeAssertion(e,t){return(0,n.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function tsEnumDeclaration(e,t){return(0,n.default)({type:"TSEnumDeclaration",id:e,members:t})}function tsEnumMember(e,t=null){return(0,n.default)({type:"TSEnumMember",id:e,initializer:t})}function tsModuleDeclaration(e,t){return(0,n.default)({type:"TSModuleDeclaration",id:e,body:t})}function tsModuleBlock(e){return(0,n.default)({type:"TSModuleBlock",body:e})}function tsImportType(e,t=null,r=null){return(0,n.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function tsImportEqualsDeclaration(e,t){return(0,n.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function tsExternalModuleReference(e){return(0,n.default)({type:"TSExternalModuleReference",expression:e})}function tsNonNullExpression(e){return(0,n.default)({type:"TSNonNullExpression",expression:e})}function tsExportAssignment(e){return(0,n.default)({type:"TSExportAssignment",expression:e})}function tsNamespaceExportDeclaration(e){return(0,n.default)({type:"TSNamespaceExportDeclaration",id:e})}function tsTypeAnnotation(e){return(0,n.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function tsTypeParameterInstantiation(e){return(0,n.default)({type:"TSTypeParameterInstantiation",params:e})}function tsTypeParameterDeclaration(e){return(0,n.default)({type:"TSTypeParameterDeclaration",params:e})}function tsTypeParameter(e=null,t=null,r){return(0,n.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function NumberLiteral(e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return numericLiteral(e)}function RegexLiteral(e,t=""){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return regExpLiteral(e,t)}function RestProperty(e){console.trace("The node type RestProperty has been renamed to RestElement");return restElement(e)}function SpreadProperty(e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return spreadElement(e)}},3372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});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,"ClassAccessorProperty",{enumerable:true,get:function(){return n.classAccessorProperty}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});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,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});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,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});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,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});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,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});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,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});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,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});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,"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,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});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,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});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,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});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,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});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,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});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,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});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,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});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,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});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,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});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,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});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,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});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,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});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,"Super",{enumerable:true,get:function(){return n.super}});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,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});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,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSInstantiationExpression",{enumerable:true,get:function(){return n.tsInstantiationExpression}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});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,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});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,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});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,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});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,"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,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});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,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});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,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});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,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});var n=r(3015)},2387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildChildren;var n=r(5059);var a=r(1299);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTSUnionType;var n=r(3015);var a=r(2645);function createTSUnionType(e){const t=e.map((e=>e.typeAnnotation));const r=(0,a.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},3570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validateNode;var n=r(5477);var a=r(6071);function validateNode(e){const t=a.BUILDER_KEYS[e.type];for(const r of t){(0,n.default)(e,r,e[r])}return e}},5775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=clone;var n=r(4566);function clone(e){return(0,n.default)(e,false)}},4449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeep;var n=r(4566);function cloneDeep(e){return(0,n.default)(e)}},6130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeepWithoutLoc;var n=r(4566);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},4566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneNode;var n=r(8423);var a=r(5059);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r,n){if(e&&typeof e.type==="string"){return cloneNodeInternal(e,t,r,n)}return e}function cloneIfNodeOrArray(e,t,r,n){if(Array.isArray(e)){return e.map((e=>cloneIfNode(e,t,r,n)))}return cloneIfNode(e,t,r,n)}function cloneNode(e,t=true,r=false){return cloneNodeInternal(e,t,r,new Map)}function cloneNodeInternal(e,t=true,r=false,s){if(!e)return e;const{type:o}=e;const l={type:e.type};if((0,a.isIdentifier)(e)){l.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){l.optional=e.optional}if(i(e,"typeAnnotation")){l.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r,s):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,o)){throw new Error(`Unknown node type: "${o}"`)}else{for(const u of Object.keys(n.NODE_FIELDS[o])){if(i(e,u)){if(t){l[u]=(0,a.isFile)(e)&&u==="comments"?maybeCloneComments(e.comments,t,r,s):cloneIfNodeOrArray(e[u],true,r,s)}else{l[u]=e[u]}}}}if(i(e,"loc")){if(r){l.loc=null}else{l.loc=e.loc}}if(i(e,"leadingComments")){l.leadingComments=maybeCloneComments(e.leadingComments,t,r,s)}if(i(e,"innerComments")){l.innerComments=maybeCloneComments(e.innerComments,t,r,s)}if(i(e,"trailingComments")){l.trailingComments=maybeCloneComments(e.trailingComments,t,r,s)}if(i(e,"extra")){l.extra=Object.assign({},e.extra)}return l}function maybeCloneComments(e,t,r,n){if(!e||!t){return e}return e.map((e=>{const t=n.get(e);if(t)return t;const{type:a,value:i,loc:s}=e;const o={type:a,value:i,loc:s};if(r){o.loc=null}n.set(e,o);return o}))}},4807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneWithoutLoc;var n=r(4566);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},1700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComment;var n=r(5205);function addComment(e,t,r,a){return(0,n.default)(e,t,[{type:a?"CommentLine":"CommentBlock",value:r}])}},5205:(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].push(...r)}}else{e[n]=r}return e}},8805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritInnerComments;var n=r(2890);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},3472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritLeadingComments;var n=r(2890);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},6292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritTrailingComments;var n=r(2890);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},8995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritsComments;var n=r(6292);var a=r(3472);var i=r(8805);function inheritsComments(e,t){(0,n.default)(e,t);(0,a.default)(e,t);(0,i.default)(e,t);return e}},4620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeComments;var n=r(9297);function removeComments(e){n.COMMENT_KEYS.forEach((t=>{e[t]=null}));return e}},262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var n=r(8423);const a=n.FLIPPED_ALIAS_KEYS["Standardized"];t.STANDARDIZED_TYPES=a;const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const s=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=y;const T=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=T;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const S=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=S;const E=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=x;const A=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=v;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const O=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=N;const h=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=h;const j=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=L;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const M=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=B;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const w=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=w;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["Accessor"];t.ACCESSOR_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=K;const k=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=k;const V=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=V;const Y=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=Y;const X=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const q=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=q;const W=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=W;const z=n.FLIPPED_ALIAS_KEYS["Miscellaneous"];t.MISCELLANEOUS_TYPES=z;const G=n.FLIPPED_ALIAS_KEYS["TypeScript"];t.TYPESCRIPT_TYPES=G;const Q=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=Q;const $=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=$;const H=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=H},9297:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const a=["left","init"];t.FOR_INIT_KEYS=a;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;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 T=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=T;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const E=["void","throw",...T,...m,...S];t.UNARY_OPERATORS=E;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const P=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=P;const x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},2658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=ensureBlock;var n=r(2832);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},2164:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=gatherSequenceExpressions;var n=r(3767);var a=r(5059);var i=r(3015);var s=r(4566);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,a.isEmptyStatement)(u)){l=false}if((0,a.isExpression)(u)){o.push(u)}else if((0,a.isExpressionStatement)(u)){o.push(u.expression)}else if((0,a.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,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,a.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,a.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,a.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)}}},4120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBindingIdentifierName;var n=r(8701);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},2832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBlock;var n=r(5059);var a=r(3015);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,a.returnStatement)(e)}else{e=(0,a.expressionStatement)(e)}}r=[e]}return(0,a.blockStatement)(r)}},1400:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toComputedKey;var n=r(5059);var a=r(3015);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,a.stringLiteral)(t.name);return t}},9060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5059);var a=toExpression;t["default"]=a;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}},8701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toIdentifier;var n=r(2389);var a=r(4743);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,a.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||"_"}},9532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toKeyAlias;var n=r(5059);var a=r(4566);var i=r(3001);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,a.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++}}},8395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toSequenceExpression;var n=r(2164);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const a=(0,n.default)(e,t,r);if(!a)return;for(const e of r){t.push(e)}return a}},7841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5059);var a=r(3015);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,a.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}},237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(2389);var a=r(3015);var i=valueToNode;t["default"]=i;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,a.identifier)("undefined")}if(e===true||e===false){return(0,a.booleanLiteral)(e)}if(e===null){return(0,a.nullLiteral)()}if(typeof e==="string"){return(0,a.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,a.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,a.numericLiteral)(0)}else{r=(0,a.numericLiteral)(1)}t=(0,a.binaryExpression)("/",r,(0,a.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,a.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,a.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,a.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,a.identifier)(r)}else{i=(0,a.stringLiteral)(r)}t.push((0,a.objectProperty)(i,valueToNode(e[r])))}return(0,a.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(9704);var a=r(2389);var i=r(4743);var s=r(9297);var o=r(9247);const l=(0,o.defineAliasedType)("Standardized");l("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"]});l("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,a,i){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,a,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});l("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 validator=function(r,n,a){const i=r.operator==="in"?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","PrivateName"];return validator}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});l("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});l("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});l("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});l("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"]});l("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});l("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}})});l("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});l("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"]});l("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});l("DebuggerStatement",{aliases:["Statement"]});l("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});l("EmptyStatement",{aliases:["Statement"]});l("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});l("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}}});l("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","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("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 u={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=u;const p={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=p;const f=Object.assign({},u,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=f;l("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},f,p,{body:{validate:(0,o.assertNodeType)("BlockStatement")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}}),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,a){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});l("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},u,p,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});const c={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=c;l("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{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,a.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 a=/\.(\w+)$/.exec(t);if(!a)return;const[,s]=a;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,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});l("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")}}});l("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});l("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("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:""}}});l("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")}}});l("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 validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return validator}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});l("NewExpression",{inherits:"CallExpression"});l("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"]});l("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});l("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},u,p,{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 validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return validator}()},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"]});l("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","BigIntLiteral","DecimalLiteral","PrivateName");const t=(0,o.assertNodeType)("Expression");const validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"];return validator}()},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","TSAsExpression","TSNonNullExpression","TSTypeAssertion");const t=(0,o.assertNodeType)("Expression");return function(r,a,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(i,"value",i.value)}}()});l("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},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,a]=r;if(e[n].length>a+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});l("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});l("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});l("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});l("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")))}}});l("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")))}}});l("ThisExpression",{aliases:["Expression"]});l("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("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")}}});l("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"]});l("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"]});l("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}`)}}});l("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,a){const i=r.init?e:t;i(r,n,a)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});l("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});l("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{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}})});l("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},u,p,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});l("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});l("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}}});l("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,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});l("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")))}}});l("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});l("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,a){const i=r.source?e:t;i(r,n,a)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});l("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,o.assertOneOf)("type","value"),optional:true}}});l("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","TSAsExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,i){if((0,n.default)("VariableDeclaration",i)){e(r,a,i)}else{t(r,a,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});l("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}}});l("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});l("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});l("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","value"),optional:true}}});l("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 a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta";break}if(!(0,n.default)("Identifier",e.property,{name:a})){throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const d={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,a){const i=r.computed?t:e;i(r,n,a)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=d;const y=Object.assign({},u,d,{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=y;l("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({},y,p,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});l("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});l("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("Super",{aliases:["Expression"]});l("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}}});l("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}}});l("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}`)}}))}}});l("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")}}});l("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("Import",{aliases:["Expression"]});l("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});l("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 validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier"];return validator}()},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)())}}});l("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}}});l("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},d,{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}})});l("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},d,{key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","PrivateName");const t=(0,o.assertNodeType)("Expression");return function(r,n,a){const i=r.computed?t:e;i(r,n,a)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression","PrivateName"))},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}})});l("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}}});l("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},y,p,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});l("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}});l("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},38:(e,t,r)=>{"use strict";var n=r(9247);(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)("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"]})},7683:(e,t,r)=>{"use strict";var n=r(9247);const a=(0,n.defineAliasedType)("Flow");const defineInterfaceishType=(e,t="TypeParameterDeclaration")=>{a(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["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")}})};a("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});a("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});a("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("DeclareClass");a("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});defineInterfaceishType("DeclareInterface");a("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});a("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});a("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});a("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});a("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});a("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["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"))}});a("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});a("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});a("ExistsTypeAnnotation",{aliases:["FlowType"]});a("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["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")}});a("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});a("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("InferredPredicate",{aliases:["FlowPredicate"]});a("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("InterfaceDeclaration");a("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});a("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});a("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});a("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,n.arrayOfType)("ObjectTypeIndexer"),optional:true,default:[]},callProperties:{validate:(0,n.arrayOfType)("ObjectTypeCallProperty"),optional:true,default:[]},internalSlots:{validate:(0,n.arrayOfType)("ObjectTypeInternalSlot"),optional:true,default:[]},exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});a("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["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"))}});a("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});a("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["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")}});a("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["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"))}});a("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});a("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});a("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});a("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});a("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});a("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});a("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});a("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});a("TypeParameter",{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")}});a("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});a("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});a("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});a("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"))}});a("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"))}});a("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"))}});a("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});a("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});a("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});a("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});a("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});a("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});a("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},8423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return a.ALIAS_KEYS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return a.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return a.DEPRECATED_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return a.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return a.NODE_FIELDS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return a.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;Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return a.VISITOR_KEYS}});var n=r(6802);r(9838);r(7683);r(5762);r(2004);r(38);r(8424);var a=r(9247);var i=r(30);n(a.VISITOR_KEYS);n(a.ALIAS_KEYS);n(a.FLIPPED_ALIAS_KEYS);n(a.NODE_FIELDS);n(a.BUILDER_KEYS);n(a.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const s=[].concat(Object.keys(a.VISITOR_KEYS),Object.keys(a.FLIPPED_ALIAS_KEYS),Object.keys(a.DEPRECATED_KEYS));t.TYPES=s},5762:(e,t,r)=>{"use strict";var n=r(9247);const a=(0,n.defineAliasedType)("JSX");a("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});a("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});a("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({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}})});a("JSXEmptyExpression",{});a("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});a("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});a("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}});a("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});a("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});a("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["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}}});a("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});a("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});a("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["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")))}}});a("JSXOpeningFragment",{aliases:["Immutable"]});a("JSXClosingFragment",{aliases:["Immutable"]})},2004:(e,t,r)=>{"use strict";var n=r(9247);var a=r(30);const i=(0,n.defineAliasedType)("Miscellaneous");{i("Noop",{visitor:[]})}i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...a.PLACEHOLDERS)}}});i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},30:(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(9247);const a=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=a;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of a){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(i).forEach((e=>{i[e].forEach((t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)}))}))},8424:(e,t,r)=>{"use strict";var n=r(9247);var a=r(9838);var i=r(9704);const s=(0,n.defineAliasedType)("TypeScript");const o=(0,n.assertValueType)("boolean");const l={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};s("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}}});s("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},a.functionDeclarationCommon,l)});s("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,l)});s("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const u={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),["parameters"]:(0,n.validateArrayOfType)(["Identifier","RestElement"]),["typeAnnotation"]:(0,n.validateOptionalType)("TSTypeAnnotation")};const p={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};s("TSCallSignatureDeclaration",p);s("TSConstructSignatureDeclaration",p);const f={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(o),optional:(0,n.validateOptional)(o)};s("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},f,{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});s("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},u,f,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});s("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const c=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of c){s(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}s("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const d={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};s("TSFunctionType",Object.assign({},d,{fields:u}));s("TSConstructorType",Object.assign({},d,{fields:Object.assign({},u,{abstract:(0,n.validateOptional)(o)})}));s("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("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)(o)}});s("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});s("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});s("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});s("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});s("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});s("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:false},elementType:(0,n.validateType)("TSType")}});const y={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};s("TSUnionType",y);s("TSIntersectionType",y);s("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")}});s("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});s("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});s("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});s("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});s("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(o),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});s("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,a,s){if((0,i.default)("UnaryExpression",s)){t(s,"operator",s.operator);e(s,"argument",s.argument)}else{r(n,a,s)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});s("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});s("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});s("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});s("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSAsExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});s("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});s("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});s("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});s("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(o),global:(0,n.validateOptional)(o),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});s("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});s("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(o),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});s("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});s("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});s("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});s("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});s("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});s("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});s("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});s("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:true},out:{validate:(0,n.assertValueType)("boolean"),optional:true},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},9247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.assertEach=assertEach;t.assertNodeOrValueType=assertNodeOrValueType;t.assertNodeType=assertNodeType;t.assertOneOf=assertOneOf;t.assertOptionalChainStart=assertOptionalChainStart;t.assertShape=assertShape;t.assertValueType=assertValueType;t.chain=chain;t["default"]=defineType;t.defineAliasedType=defineAliasedType;t.typeIs=typeIs;t.validate=validate;t.validateArrayOfType=validateArrayOfType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.validateType=validateType;var n=r(9704);var a=r(5477);const i={};t.VISITOR_KEYS=i;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 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 defineAliasedType(...e){return(t,r={})=>{let n=r.aliases;if(!n){var a,i;if(r.inherits)n=(a=y[r.inherits].aliases)==null?void 0:a.slice();(i=n)!=null?i:n=[];r.aliases=n}const s=e.filter((e=>!n.includes(e)));n.unshift(...s);return defineType(t,r)}}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 a=e.default;if(Array.isArray(a)?a.length>0:a&&typeof a==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(a)?[]:a,optional:e.optional,validate:e.validate}}}}const a=t.visitor||r.visitor||[];const T=t.aliases||r.aliases||[];const m=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 a.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.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=a;u[e]=t.builder=m;l[e]=t.fields=n;s[e]=t.aliases=T;T.forEach((t=>{o[t]=o[t]||[];o[t].push(e)}));if(t.validate){f[e]=t.validate}y[e]=t}const y={}},6071:(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,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return E.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,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return H.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 ae.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.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,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});t.react=void 0;Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});var a=r(2025);var i=r(3177);var s=r(2387);var o=r(4081);var l=r(8384);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(4838);var p=r(9424);var f=r(1308);var c=r(3015);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(3372);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(4566);var T=r(5775);var m=r(4449);var S=r(6130);var E=r(4807);var b=r(1700);var P=r(5205);var x=r(8805);var A=r(3472);var v=r(8995);var g=r(6292);var O=r(4620);var I=r(262);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(9297);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 N=r(2658);var h=r(4120);var j=r(2832);var L=r(1400);var C=r(9060);var M=r(8701);var B=r(9532);var _=r(8395);var w=r(7841);var F=r(237);var R=r(8423);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(9988);var k=r(6077);var V=r(9407);var Y=r(6134);var X=r(3001);var J=r(3750);var U=r(3767);var q=r(3069);var W=r(8179);Object.keys(W).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===W[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return W[e]}})}));var z=r(2018);var G=r(7879);var Q=r(9704);var $=r(594);var H=r(1836);var Z=r(2349);var ee=r(4532);var te=r(7731);var re=r(9151);var ne=r(2810);var ae=r(9327);var ie=r(1087);var se=r(2456);var oe=r(1254);var le=r(2076);var ue=r(2389);var pe=r(193);var fe=r(1542);var ce=r(5477);var de=r(8894);var ye=r(5059);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 Te=r(1065);Object.keys(Te).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===Te[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return Te[e]}})}));const me={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default};t.react=me},9988:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=appendToMemberExpression;var n=r(3015);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}},3750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(5059);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const a=new Set;const i=[];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(!a.has(o.types)){e=e.concat(o.types);a.add(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}},6077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherits;var n=r(9297);var a=r(8995);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,a.default)(e,t);return e}},9407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=prependToMemberExpression;var n=r(3015);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},6134:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeProperties;var n=r(9297);const a=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(a);function removeProperties(e,t={}){const r=t.preserveComments?a: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}}},3001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removePropertiesDeep;var n=r(2018);var a=r(6134);function removePropertiesDeep(e,t){(0,n.default)(e,a.default,t);return e}},2645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(5059);function removeTypeDuplicates(e){const t={};const r={};const a=new Set;const i=[];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(!a.has(s.types)){e.push(...s.types);a.add(s.types)}continue}i.push(s)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},3767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getBindingIdentifiers;var n=r(5059);function getBindingIdentifiers(e,t,r){let a=[].concat(e);const i=Object.create(null);while(a.length){const e=a.shift();if(!e)continue;const s=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)){a.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){a.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(3767);var a=getOuterBindingIdentifiers;t["default"]=a;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},8179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverse;var n=r(8423);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:a}=t;traverseSimpleImpl(e,n,a,r,[])}function traverseSimpleImpl(e,t,r,a,i){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,i,a);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(8423);function traverseFast(e,t,r){if(!e)return;const a=n.VISITOR_KEYS[e.type];if(!a)return;r=r||{};t(e,r);for(const n of a){const a=e[n];if(Array.isArray(a)){for(const e of a){traverseFast(e,t,r)}}else{traverseFast(a,t,r)}}}},2890:(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)))}}},1299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cleanJSXElementLiteralChild;var n=r(3015);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let a=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}},8894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildMatchMemberExpression;var n=r(1542);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},5059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAccessor=isAccessor;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isArrayExpression=isArrayExpression;t.isArrayPattern=isArrayPattern;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isAssignmentExpression=isAssignmentExpression;t.isAssignmentPattern=isAssignmentPattern;t.isAwaitExpression=isAwaitExpression;t.isBigIntLiteral=isBigIntLiteral;t.isBinary=isBinary;t.isBinaryExpression=isBinaryExpression;t.isBindExpression=isBindExpression;t.isBlock=isBlock;t.isBlockParent=isBlockParent;t.isBlockStatement=isBlockStatement;t.isBooleanLiteral=isBooleanLiteral;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isClass=isClass;t.isClassAccessorProperty=isClassAccessorProperty;t.isClassBody=isClassBody;t.isClassDeclaration=isClassDeclaration;t.isClassExpression=isClassExpression;t.isClassImplements=isClassImplements;t.isClassMethod=isClassMethod;t.isClassPrivateMethod=isClassPrivateMethod;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassProperty=isClassProperty;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDecimalLiteral=isDecimalLiteral;t.isDeclaration=isDeclaration;t.isDeclareClass=isDeclareClass;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareVariable=isDeclareVariable;t.isDeclaredPredicate=isDeclaredPredicate;t.isDecorator=isDecorator;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isDoExpression=isDoExpression;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isEnumBody=isEnumBody;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumDeclaration=isEnumDeclaration;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isEnumMember=isEnumMember;t.isEnumNumberBody=isEnumNumberBody;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringBody=isEnumStringBody;t.isEnumStringMember=isEnumStringMember;t.isEnumSymbolBody=isEnumSymbolBody;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDeclaration=isExportDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isExportSpecifier=isExportSpecifier;t.isExpression=isExpression;t.isExpressionStatement=isExpressionStatement;t.isExpressionWrapper=isExpressionWrapper;t.isFile=isFile;t.isFlow=isFlow;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isFlowType=isFlowType;t.isFor=isFor;t.isForInStatement=isForInStatement;t.isForOfStatement=isForOfStatement;t.isForStatement=isForStatement;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isFunctionParent=isFunctionParent;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isImmutable=isImmutable;t.isImport=isImport;t.isImportAttribute=isImportAttribute;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isIndexedAccessType=isIndexedAccessType;t.isInferredPredicate=isInferredPredicate;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isInterpreterDirective=isInterpreterDirective;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isJSX=isJSX;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXClosingFragment=isJSXClosingFragment;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXFragment=isJSXFragment;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXText=isJSXText;t.isLVal=isLVal;t.isLabeledStatement=isLabeledStatement;t.isLiteral=isLiteral;t.isLogicalExpression=isLogicalExpression;t.isLoop=isLoop;t.isMemberExpression=isMemberExpression;t.isMetaProperty=isMetaProperty;t.isMethod=isMethod;t.isMiscellaneous=isMiscellaneous;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isModuleDeclaration=isModuleDeclaration;t.isModuleExpression=isModuleExpression;t.isModuleSpecifier=isModuleSpecifier;t.isNewExpression=isNewExpression;t.isNoop=isNoop;t.isNullLiteral=isNullLiteral;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteral=isNumberLiteral;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isNumericLiteral=isNumericLiteral;t.isObjectExpression=isObjectExpression;t.isObjectMember=isObjectMember;t.isObjectMethod=isObjectMethod;t.isObjectPattern=isObjectPattern;t.isObjectProperty=isObjectProperty;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isOptionalCallExpression=isOptionalCallExpression;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isPattern=isPattern;t.isPatternLike=isPatternLike;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPlaceholder=isPlaceholder;t.isPrivate=isPrivate;t.isPrivateName=isPrivateName;t.isProgram=isProgram;t.isProperty=isProperty;t.isPureish=isPureish;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isRecordExpression=isRecordExpression;t.isRegExpLiteral=isRegExpLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestElement=isRestElement;t.isRestProperty=isRestProperty;t.isReturnStatement=isReturnStatement;t.isScopable=isScopable;t.isSequenceExpression=isSequenceExpression;t.isSpreadElement=isSpreadElement;t.isSpreadProperty=isSpreadProperty;t.isStandardized=isStandardized;t.isStatement=isStatement;t.isStaticBlock=isStaticBlock;t.isStringLiteral=isStringLiteral;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSuper=isSuper;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSArrayType=isTSArrayType;t.isTSAsExpression=isTSAsExpression;t.isTSBaseType=isTSBaseType;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConditionalType=isTSConditionalType;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSConstructorType=isTSConstructorType;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSEntityName=isTSEntityName;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSExportAssignment=isTSExportAssignment;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSFunctionType=isTSFunctionType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSImportType=isTSImportType;t.isTSIndexSignature=isTSIndexSignature;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSInferType=isTSInferType;t.isTSInstantiationExpression=isTSInstantiationExpression;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSIntersectionType=isTSIntersectionType;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSLiteralType=isTSLiteralType;t.isTSMappedType=isTSMappedType;t.isTSMethodSignature=isTSMethodSignature;t.isTSModuleBlock=isTSModuleBlock;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSOptionalType=isTSOptionalType;t.isTSParameterProperty=isTSParameterProperty;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSPropertySignature=isTSPropertySignature;t.isTSQualifiedName=isTSQualifiedName;t.isTSRestType=isTSRestType;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSThisType=isTSThisType;t.isTSTupleType=isTSTupleType;t.isTSType=isTSType;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSTypeElement=isTSTypeElement;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSTypeOperator=isTSTypeOperator;t.isTSTypeParameter=isTSTypeParameter;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeReference=isTSTypeReference;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnionType=isTSUnionType;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isTerminatorless=isTerminatorless;t.isThisExpression=isThisExpression;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isThrowStatement=isThrowStatement;t.isTopicReference=isTopicReference;t.isTryStatement=isTryStatement;t.isTupleExpression=isTupleExpression;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isTypeScript=isTypeScript;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isUnaryExpression=isUnaryExpression;t.isUnaryLike=isUnaryLike;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isUpdateExpression=isUpdateExpression;t.isUserWhitespacable=isUserWhitespacable;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isWhile=isWhile;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isYieldExpression=isYieldExpression;var n=r(7879);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 isClassAccessorProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassAccessorProperty"){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 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 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 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 isTSInstantiationExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSInstantiationExpression"){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 isStandardized(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"InterpreterDirective"===r||"Directive"===r||"DirectiveLiteral"===r||"BlockStatement"===r||"BreakStatement"===r||"CallExpression"===r||"CatchClause"===r||"ConditionalExpression"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"File"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Identifier"===r||"IfStatement"===r||"LabeledStatement"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"Program"===r||"ObjectExpression"===r||"ObjectMethod"===r||"ObjectProperty"===r||"RestElement"===r||"ReturnStatement"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"SwitchCase"===r||"SwitchStatement"===r||"ThisExpression"===r||"ThrowStatement"===r||"TryStatement"===r||"UnaryExpression"===r||"UpdateExpression"===r||"VariableDeclaration"===r||"VariableDeclarator"===r||"WhileStatement"===r||"WithStatement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ArrowFunctionExpression"===r||"ClassBody"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ExportSpecifier"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"MetaProperty"===r||"ClassMethod"===r||"ObjectPattern"===r||"SpreadElement"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateElement"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"ExportNamespaceSpecifier"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"ClassProperty"===r||"ClassAccessorProperty"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r||"StaticBlock"===r||r==="Placeholder"&&("Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode||"BlockStatement"===e.expectedNode||"ClassBody"===e.expectedNode)){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||"TSInstantiationExpression"===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||"StaticBlock"===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||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===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||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===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||"ClassAccessorProperty"===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 isAccessor(e,t){if(!e)return false;const r=e.type;if("ClassAccessorProperty"===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||"EnumDeclaration"===r||"EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r||"EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===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 isMiscellaneous(e,t){if(!e)return false;const r=e.type;if("Noop"===r||"Placeholder"===r||"V8IntrinsicIdentifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeScript(e,t){if(!e)return false;const r=e.type;if("TSParameterProperty"===r||"TSDeclareFunction"===r||"TSDeclareMethod"===r||"TSQualifiedName"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r||"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||"TSNamedTupleMember"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSInterfaceDeclaration"===r||"TSInterfaceBody"===r||"TSTypeAliasDeclaration"===r||"TSInstantiationExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSEnumDeclaration"===r||"TSEnumMember"===r||"TSModuleDeclaration"===r||"TSModuleBlock"===r||"TSImportType"===r||"TSImportEqualsDeclaration"===r||"TSExternalModuleReference"===r||"TSNonNullExpression"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||"TSTypeAnnotation"===r||"TSTypeParameterInstantiation"===r||"TSTypeParameterDeclaration"===r||"TSTypeParameter"===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}},9704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=is;var n=r(7879);var a=r(1254);var i=r(2810);var s=r(8423);function is(e,t,r){if(!t)return false;const o=(0,a.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.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)}}},594:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBinding;var n=r(3767);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const a=n.default.keys[t.type];if(a){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},1836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBlockScoped;var n=r(5059);var a=r(4532);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,a.default)(e)}},2349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isImmutable;var n=r(1254);var a=r(5059);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,a.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},4532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLet;var n=r(5059);var a=r(9297);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[a.BLOCK_SCOPED_SYMBOL])}},7731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNode;var n=r(8423);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},9151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNodesEquivalent;var n=r(8423);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 a=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(8423);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}},9327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"JSXMemberExpression":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.key===e){return!!t.computed}return false;case"ObjectProperty":if(t.key===e){return!!t.computed}return!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(t.key===e){return!!t.computed}return true;case"ClassPrivateProperty":return t.key!==e;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"ImportAttribute":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}},1087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isScope;var n=r(5059);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)}},2456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSpecifierDefault;var n=r(5059);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},1254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isType;var n=r(8423);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}},2076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidES3Identifier;var n=r(2389);const a=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)&&!a.has(e)}},2389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidIdentifier;var n=r(4743);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)}},193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isVar;var n=r(5059);var a=r(9297);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[a.BLOCK_SCOPED_SYMBOL]}},1542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matchesPattern;var n=r(5059);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const a=Array.isArray(t)?t:t.split(".");const i=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){i.push(s.property)}i.push(s);if(i.lengtha.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)}},2025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8894);const a=(0,n.default)("React.Component");var i=a;t["default"]=i},5477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validate;t.validateChild=validateChild;t.validateField=validateField;var n=r(8423);function validate(e,t,r){if(!e)return;const a=n.NODE_FIELDS[e.type];if(!a)return;const i=a[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 a=n.NODE_PARENT_VALIDATIONS[r.type];if(!a)return;a(e,t,r)}},6802:e=>{"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)}},4743:e=>{"use strict";e.exports=require("../helper-validator-identifier")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var i=true;try{e[r](a,a.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(6071);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/@babel/types/lib/index-legacy.d.ts b/packages/builder/builder-shared/compiled/@babel/types/lib/index-legacy.d.ts deleted file mode 100644 index 1e115bbef330..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/types/lib/index-legacy.d.ts +++ /dev/null @@ -1,2732 +0,0 @@ -// NOTE: This file is autogenerated. Do not modify. -// See packages/babel-types/scripts/generators/typescript-legacy.js for script used. - -interface BaseComment { - value: string; - start: number; - end: number; - loc: SourceLocation; - type: "CommentBlock" | "CommentLine"; -} - -export interface CommentBlock extends BaseComment { - type: "CommentBlock"; -} - -export interface CommentLine extends BaseComment { - type: "CommentLine"; -} - -export type Comment = CommentBlock | CommentLine; - -export interface SourceLocation { - start: { - line: number; - column: number; - }; - - end: { - line: number; - column: number; - }; -} - -interface BaseNode { - leadingComments: ReadonlyArray | null; - innerComments: ReadonlyArray | null; - trailingComments: ReadonlyArray | null; - start: number | null; - end: number | null; - loc: SourceLocation | null; - type: Node["type"]; - extra?: Record; -} - -export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | Miscellaneous | MixedTypeAnnotation | ModuleDeclaration | ModuleExpression | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Standardized | Statement | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSStringKeyword | TSSymbolKeyword | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeScript | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression; - -export interface ArrayExpression extends BaseNode { - type: "ArrayExpression"; - elements: Array; -} - -export interface AssignmentExpression extends BaseNode { - type: "AssignmentExpression"; - operator: string; - left: LVal; - right: Expression; -} - -export interface BinaryExpression extends BaseNode { - type: "BinaryExpression"; - operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>"; - left: Expression | PrivateName; - right: Expression; -} - -export interface InterpreterDirective extends BaseNode { - type: "InterpreterDirective"; - value: string; -} - -export interface Directive extends BaseNode { - type: "Directive"; - value: DirectiveLiteral; -} - -export interface DirectiveLiteral extends BaseNode { - type: "DirectiveLiteral"; - value: string; -} - -export interface BlockStatement extends BaseNode { - type: "BlockStatement"; - body: Array; - directives: Array; -} - -export interface BreakStatement extends BaseNode { - type: "BreakStatement"; - label: Identifier | null; -} - -export interface CallExpression extends BaseNode { - type: "CallExpression"; - callee: Expression | V8IntrinsicIdentifier; - arguments: Array; - optional: true | false | null; - typeArguments: TypeParameterInstantiation | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface CatchClause extends BaseNode { - type: "CatchClause"; - param: Identifier | ArrayPattern | ObjectPattern | null; - body: BlockStatement; -} - -export interface ConditionalExpression extends BaseNode { - type: "ConditionalExpression"; - test: Expression; - consequent: Expression; - alternate: Expression; -} - -export interface ContinueStatement extends BaseNode { - type: "ContinueStatement"; - label: Identifier | null; -} - -export interface DebuggerStatement extends BaseNode { - type: "DebuggerStatement"; -} - -export interface DoWhileStatement extends BaseNode { - type: "DoWhileStatement"; - test: Expression; - body: Statement; -} - -export interface EmptyStatement extends BaseNode { - type: "EmptyStatement"; -} - -export interface ExpressionStatement extends BaseNode { - type: "ExpressionStatement"; - expression: Expression; -} - -export interface File extends BaseNode { - type: "File"; - program: Program; - comments: Array | null; - tokens: Array | null; -} - -export interface ForInStatement extends BaseNode { - type: "ForInStatement"; - left: VariableDeclaration | LVal; - right: Expression; - body: Statement; -} - -export interface ForStatement extends BaseNode { - type: "ForStatement"; - init: VariableDeclaration | Expression | null; - test: Expression | null; - update: Expression | null; - body: Statement; -} - -export interface FunctionDeclaration extends BaseNode { - type: "FunctionDeclaration"; - id: Identifier | null; - params: Array; - body: BlockStatement; - generator: boolean; - async: boolean; - declare: boolean | null; - predicate: DeclaredPredicate | InferredPredicate | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface FunctionExpression extends BaseNode { - type: "FunctionExpression"; - id: Identifier | null; - params: Array; - body: BlockStatement; - generator: boolean; - async: boolean; - predicate: DeclaredPredicate | InferredPredicate | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface Identifier extends BaseNode { - type: "Identifier"; - name: string; - decorators: Array | null; - optional: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface IfStatement extends BaseNode { - type: "IfStatement"; - test: Expression; - consequent: Statement; - alternate: Statement | null; -} - -export interface LabeledStatement extends BaseNode { - type: "LabeledStatement"; - label: Identifier; - body: Statement; -} - -export interface StringLiteral extends BaseNode { - type: "StringLiteral"; - value: string; -} - -export interface NumericLiteral extends BaseNode { - type: "NumericLiteral"; - value: number; -} - -export interface NullLiteral extends BaseNode { - type: "NullLiteral"; -} - -export interface BooleanLiteral extends BaseNode { - type: "BooleanLiteral"; - value: boolean; -} - -export interface RegExpLiteral extends BaseNode { - type: "RegExpLiteral"; - pattern: string; - flags: string; -} - -export interface LogicalExpression extends BaseNode { - type: "LogicalExpression"; - operator: "||" | "&&" | "??"; - left: Expression; - right: Expression; -} - -export interface MemberExpression extends BaseNode { - type: "MemberExpression"; - object: Expression; - property: Expression | Identifier | PrivateName; - computed: boolean; - optional: true | false | null; -} - -export interface NewExpression extends BaseNode { - type: "NewExpression"; - callee: Expression | V8IntrinsicIdentifier; - arguments: Array; - optional: true | false | null; - typeArguments: TypeParameterInstantiation | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface Program extends BaseNode { - type: "Program"; - body: Array; - directives: Array; - sourceType: "script" | "module"; - interpreter: InterpreterDirective | null; - sourceFile: string; -} - -export interface ObjectExpression extends BaseNode { - type: "ObjectExpression"; - properties: Array; -} - -export interface ObjectMethod extends BaseNode { - type: "ObjectMethod"; - kind: "method" | "get" | "set"; - key: Expression | Identifier | StringLiteral | NumericLiteral; - params: Array; - body: BlockStatement; - computed: boolean; - generator: boolean; - async: boolean; - decorators: Array | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ObjectProperty extends BaseNode { - type: "ObjectProperty"; - key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName; - value: Expression | PatternLike; - computed: boolean; - shorthand: boolean; - decorators: Array | null; -} - -export interface RestElement extends BaseNode { - type: "RestElement"; - argument: LVal; - decorators: Array | null; - optional: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface ReturnStatement extends BaseNode { - type: "ReturnStatement"; - argument: Expression | null; -} - -export interface SequenceExpression extends BaseNode { - type: "SequenceExpression"; - expressions: Array; -} - -export interface ParenthesizedExpression extends BaseNode { - type: "ParenthesizedExpression"; - expression: Expression; -} - -export interface SwitchCase extends BaseNode { - type: "SwitchCase"; - test: Expression | null; - consequent: Array; -} - -export interface SwitchStatement extends BaseNode { - type: "SwitchStatement"; - discriminant: Expression; - cases: Array; -} - -export interface ThisExpression extends BaseNode { - type: "ThisExpression"; -} - -export interface ThrowStatement extends BaseNode { - type: "ThrowStatement"; - argument: Expression; -} - -export interface TryStatement extends BaseNode { - type: "TryStatement"; - block: BlockStatement; - handler: CatchClause | null; - finalizer: BlockStatement | null; -} - -export interface UnaryExpression extends BaseNode { - type: "UnaryExpression"; - operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof"; - argument: Expression; - prefix: boolean; -} - -export interface UpdateExpression extends BaseNode { - type: "UpdateExpression"; - operator: "++" | "--"; - argument: Expression; - prefix: boolean; -} - -export interface VariableDeclaration extends BaseNode { - type: "VariableDeclaration"; - kind: "var" | "let" | "const"; - declarations: Array; - declare: boolean | null; -} - -export interface VariableDeclarator extends BaseNode { - type: "VariableDeclarator"; - id: LVal; - init: Expression | null; - definite: boolean | null; -} - -export interface WhileStatement extends BaseNode { - type: "WhileStatement"; - test: Expression; - body: Statement; -} - -export interface WithStatement extends BaseNode { - type: "WithStatement"; - object: Expression; - body: Statement; -} - -export interface AssignmentPattern extends BaseNode { - type: "AssignmentPattern"; - left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSTypeAssertion | TSNonNullExpression; - right: Expression; - decorators: Array | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface ArrayPattern extends BaseNode { - type: "ArrayPattern"; - elements: Array; - decorators: Array | null; - optional: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface ArrowFunctionExpression extends BaseNode { - type: "ArrowFunctionExpression"; - params: Array; - body: BlockStatement | Expression; - async: boolean; - expression: boolean; - generator: boolean; - predicate: DeclaredPredicate | InferredPredicate | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ClassBody extends BaseNode { - type: "ClassBody"; - body: Array; -} - -export interface ClassExpression extends BaseNode { - type: "ClassExpression"; - id: Identifier | null; - superClass: Expression | null; - body: ClassBody; - decorators: Array | null; - implements: Array | null; - mixins: InterfaceExtends | null; - superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ClassDeclaration extends BaseNode { - type: "ClassDeclaration"; - id: Identifier; - superClass: Expression | null; - body: ClassBody; - decorators: Array | null; - abstract: boolean | null; - declare: boolean | null; - implements: Array | null; - mixins: InterfaceExtends | null; - superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ExportAllDeclaration extends BaseNode { - type: "ExportAllDeclaration"; - source: StringLiteral; - assertions: Array | null; - exportKind: "type" | "value" | null; -} - -export interface ExportDefaultDeclaration extends BaseNode { - type: "ExportDefaultDeclaration"; - declaration: FunctionDeclaration | ClassDeclaration | Expression; - exportKind: "value" | null; -} - -export interface ExportNamedDeclaration extends BaseNode { - type: "ExportNamedDeclaration"; - declaration: Declaration | null; - specifiers: Array; - source: StringLiteral | null; - assertions: Array | null; - exportKind: "type" | "value" | null; -} - -export interface ExportSpecifier extends BaseNode { - type: "ExportSpecifier"; - local: Identifier; - exported: Identifier | StringLiteral; - exportKind: "type" | "value" | null; -} - -export interface ForOfStatement extends BaseNode { - type: "ForOfStatement"; - left: VariableDeclaration | LVal; - right: Expression; - body: Statement; - await: boolean; -} - -export interface ImportDeclaration extends BaseNode { - type: "ImportDeclaration"; - specifiers: Array; - source: StringLiteral; - assertions: Array | null; - importKind: "type" | "typeof" | "value" | null; -} - -export interface ImportDefaultSpecifier extends BaseNode { - type: "ImportDefaultSpecifier"; - local: Identifier; -} - -export interface ImportNamespaceSpecifier extends BaseNode { - type: "ImportNamespaceSpecifier"; - local: Identifier; -} - -export interface ImportSpecifier extends BaseNode { - type: "ImportSpecifier"; - local: Identifier; - imported: Identifier | StringLiteral; - importKind: "type" | "typeof" | "value" | null; -} - -export interface MetaProperty extends BaseNode { - type: "MetaProperty"; - meta: Identifier; - property: Identifier; -} - -export interface ClassMethod extends BaseNode { - type: "ClassMethod"; - kind: "get" | "set" | "method" | "constructor"; - key: Identifier | StringLiteral | NumericLiteral | Expression; - params: Array; - body: BlockStatement; - computed: boolean; - static: boolean; - generator: boolean; - async: boolean; - abstract: boolean | null; - access: "public" | "private" | "protected" | null; - accessibility: "public" | "private" | "protected" | null; - decorators: Array | null; - optional: boolean | null; - override: boolean; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ObjectPattern extends BaseNode { - type: "ObjectPattern"; - properties: Array; - decorators: Array | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface SpreadElement extends BaseNode { - type: "SpreadElement"; - argument: Expression; -} - -export interface Super extends BaseNode { - type: "Super"; -} - -export interface TaggedTemplateExpression extends BaseNode { - type: "TaggedTemplateExpression"; - tag: Expression; - quasi: TemplateLiteral; - typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; -} - -export interface TemplateElement extends BaseNode { - type: "TemplateElement"; - value: { raw: string, cooked?: string }; - tail: boolean; -} - -export interface TemplateLiteral extends BaseNode { - type: "TemplateLiteral"; - quasis: Array; - expressions: Array; -} - -export interface YieldExpression extends BaseNode { - type: "YieldExpression"; - argument: Expression | null; - delegate: boolean; -} - -export interface AwaitExpression extends BaseNode { - type: "AwaitExpression"; - argument: Expression; -} - -export interface Import extends BaseNode { - type: "Import"; -} - -export interface BigIntLiteral extends BaseNode { - type: "BigIntLiteral"; - value: string; -} - -export interface ExportNamespaceSpecifier extends BaseNode { - type: "ExportNamespaceSpecifier"; - exported: Identifier; -} - -export interface OptionalMemberExpression extends BaseNode { - type: "OptionalMemberExpression"; - object: Expression; - property: Expression | Identifier; - computed: boolean; - optional: boolean; -} - -export interface OptionalCallExpression extends BaseNode { - type: "OptionalCallExpression"; - callee: Expression; - arguments: Array; - optional: boolean; - typeArguments: TypeParameterInstantiation | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface ClassProperty extends BaseNode { - type: "ClassProperty"; - key: Identifier | StringLiteral | NumericLiteral | Expression; - value: Expression | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; - decorators: Array | null; - computed: boolean; - static: boolean; - abstract: boolean | null; - accessibility: "public" | "private" | "protected" | null; - declare: boolean | null; - definite: boolean | null; - optional: boolean | null; - override: boolean; - readonly: boolean | null; - variance: Variance | null; -} - -export interface ClassAccessorProperty extends BaseNode { - type: "ClassAccessorProperty"; - key: Identifier | StringLiteral | NumericLiteral | Expression | PrivateName; - value: Expression | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; - decorators: Array | null; - computed: boolean; - static: boolean; - abstract: boolean | null; - accessibility: "public" | "private" | "protected" | null; - declare: boolean | null; - definite: boolean | null; - optional: boolean | null; - override: boolean; - readonly: boolean | null; - variance: Variance | null; -} - -export interface ClassPrivateProperty extends BaseNode { - type: "ClassPrivateProperty"; - key: PrivateName; - value: Expression | null; - decorators: Array | null; - static: any; - definite: boolean | null; - readonly: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; - variance: Variance | null; -} - -export interface ClassPrivateMethod extends BaseNode { - type: "ClassPrivateMethod"; - kind: "get" | "set" | "method" | "constructor"; - key: PrivateName; - params: Array; - body: BlockStatement; - static: boolean; - abstract: boolean | null; - access: "public" | "private" | "protected" | null; - accessibility: "public" | "private" | "protected" | null; - async: boolean; - computed: boolean; - decorators: Array | null; - generator: boolean; - optional: boolean | null; - override: boolean; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface PrivateName extends BaseNode { - type: "PrivateName"; - id: Identifier; -} - -export interface StaticBlock extends BaseNode { - type: "StaticBlock"; - body: Array; -} - -export interface AnyTypeAnnotation extends BaseNode { - type: "AnyTypeAnnotation"; -} - -export interface ArrayTypeAnnotation extends BaseNode { - type: "ArrayTypeAnnotation"; - elementType: FlowType; -} - -export interface BooleanTypeAnnotation extends BaseNode { - type: "BooleanTypeAnnotation"; -} - -export interface BooleanLiteralTypeAnnotation extends BaseNode { - type: "BooleanLiteralTypeAnnotation"; - value: boolean; -} - -export interface NullLiteralTypeAnnotation extends BaseNode { - type: "NullLiteralTypeAnnotation"; -} - -export interface ClassImplements extends BaseNode { - type: "ClassImplements"; - id: Identifier; - typeParameters: TypeParameterInstantiation | null; -} - -export interface DeclareClass extends BaseNode { - type: "DeclareClass"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - extends: Array | null; - body: ObjectTypeAnnotation; - implements: Array | null; - mixins: Array | null; -} - -export interface DeclareFunction extends BaseNode { - type: "DeclareFunction"; - id: Identifier; - predicate: DeclaredPredicate | null; -} - -export interface DeclareInterface extends BaseNode { - type: "DeclareInterface"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - extends: Array | null; - body: ObjectTypeAnnotation; - implements: Array | null; - mixins: Array | null; -} - -export interface DeclareModule extends BaseNode { - type: "DeclareModule"; - id: Identifier | StringLiteral; - body: BlockStatement; - kind: "CommonJS" | "ES" | null; -} - -export interface DeclareModuleExports extends BaseNode { - type: "DeclareModuleExports"; - typeAnnotation: TypeAnnotation; -} - -export interface DeclareTypeAlias extends BaseNode { - type: "DeclareTypeAlias"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - right: FlowType; -} - -export interface DeclareOpaqueType extends BaseNode { - type: "DeclareOpaqueType"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - supertype: FlowType | null; - impltype: FlowType | null; -} - -export interface DeclareVariable extends BaseNode { - type: "DeclareVariable"; - id: Identifier; -} - -export interface DeclareExportDeclaration extends BaseNode { - type: "DeclareExportDeclaration"; - declaration: Flow | null; - specifiers: Array | null; - source: StringLiteral | null; - default: boolean | null; -} - -export interface DeclareExportAllDeclaration extends BaseNode { - type: "DeclareExportAllDeclaration"; - source: StringLiteral; - exportKind: "type" | "value" | null; -} - -export interface DeclaredPredicate extends BaseNode { - type: "DeclaredPredicate"; - value: Flow; -} - -export interface ExistsTypeAnnotation extends BaseNode { - type: "ExistsTypeAnnotation"; -} - -export interface FunctionTypeAnnotation extends BaseNode { - type: "FunctionTypeAnnotation"; - typeParameters: TypeParameterDeclaration | null; - params: Array; - rest: FunctionTypeParam | null; - returnType: FlowType; - this: FunctionTypeParam | null; -} - -export interface FunctionTypeParam extends BaseNode { - type: "FunctionTypeParam"; - name: Identifier | null; - typeAnnotation: FlowType; - optional: boolean | null; -} - -export interface GenericTypeAnnotation extends BaseNode { - type: "GenericTypeAnnotation"; - id: Identifier | QualifiedTypeIdentifier; - typeParameters: TypeParameterInstantiation | null; -} - -export interface InferredPredicate extends BaseNode { - type: "InferredPredicate"; -} - -export interface InterfaceExtends extends BaseNode { - type: "InterfaceExtends"; - id: Identifier | QualifiedTypeIdentifier; - typeParameters: TypeParameterInstantiation | null; -} - -export interface InterfaceDeclaration extends BaseNode { - type: "InterfaceDeclaration"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - extends: Array | null; - body: ObjectTypeAnnotation; - implements: Array | null; - mixins: Array | null; -} - -export interface InterfaceTypeAnnotation extends BaseNode { - type: "InterfaceTypeAnnotation"; - extends: Array | null; - body: ObjectTypeAnnotation; -} - -export interface IntersectionTypeAnnotation extends BaseNode { - type: "IntersectionTypeAnnotation"; - types: Array; -} - -export interface MixedTypeAnnotation extends BaseNode { - type: "MixedTypeAnnotation"; -} - -export interface EmptyTypeAnnotation extends BaseNode { - type: "EmptyTypeAnnotation"; -} - -export interface NullableTypeAnnotation extends BaseNode { - type: "NullableTypeAnnotation"; - typeAnnotation: FlowType; -} - -export interface NumberLiteralTypeAnnotation extends BaseNode { - type: "NumberLiteralTypeAnnotation"; - value: number; -} - -export interface NumberTypeAnnotation extends BaseNode { - type: "NumberTypeAnnotation"; -} - -export interface ObjectTypeAnnotation extends BaseNode { - type: "ObjectTypeAnnotation"; - properties: Array; - indexers: Array; - callProperties: Array; - internalSlots: Array; - exact: boolean; - inexact: boolean | null; -} - -export interface ObjectTypeInternalSlot extends BaseNode { - type: "ObjectTypeInternalSlot"; - id: Identifier; - value: FlowType; - optional: boolean; - static: boolean; - method: boolean; -} - -export interface ObjectTypeCallProperty extends BaseNode { - type: "ObjectTypeCallProperty"; - value: FlowType; - static: boolean; -} - -export interface ObjectTypeIndexer extends BaseNode { - type: "ObjectTypeIndexer"; - id: Identifier | null; - key: FlowType; - value: FlowType; - variance: Variance | null; - static: boolean; -} - -export interface ObjectTypeProperty extends BaseNode { - type: "ObjectTypeProperty"; - key: Identifier | StringLiteral; - value: FlowType; - variance: Variance | null; - kind: "init" | "get" | "set"; - method: boolean; - optional: boolean; - proto: boolean; - static: boolean; -} - -export interface ObjectTypeSpreadProperty extends BaseNode { - type: "ObjectTypeSpreadProperty"; - argument: FlowType; -} - -export interface OpaqueType extends BaseNode { - type: "OpaqueType"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - supertype: FlowType | null; - impltype: FlowType; -} - -export interface QualifiedTypeIdentifier extends BaseNode { - type: "QualifiedTypeIdentifier"; - id: Identifier; - qualification: Identifier | QualifiedTypeIdentifier; -} - -export interface StringLiteralTypeAnnotation extends BaseNode { - type: "StringLiteralTypeAnnotation"; - value: string; -} - -export interface StringTypeAnnotation extends BaseNode { - type: "StringTypeAnnotation"; -} - -export interface SymbolTypeAnnotation extends BaseNode { - type: "SymbolTypeAnnotation"; -} - -export interface ThisTypeAnnotation extends BaseNode { - type: "ThisTypeAnnotation"; -} - -export interface TupleTypeAnnotation extends BaseNode { - type: "TupleTypeAnnotation"; - types: Array; -} - -export interface TypeofTypeAnnotation extends BaseNode { - type: "TypeofTypeAnnotation"; - argument: FlowType; -} - -export interface TypeAlias extends BaseNode { - type: "TypeAlias"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - right: FlowType; -} - -export interface TypeAnnotation extends BaseNode { - type: "TypeAnnotation"; - typeAnnotation: FlowType; -} - -export interface TypeCastExpression extends BaseNode { - type: "TypeCastExpression"; - expression: Expression; - typeAnnotation: TypeAnnotation; -} - -export interface TypeParameter extends BaseNode { - type: "TypeParameter"; - bound: TypeAnnotation | null; - default: FlowType | null; - variance: Variance | null; - name: string; -} - -export interface TypeParameterDeclaration extends BaseNode { - type: "TypeParameterDeclaration"; - params: Array; -} - -export interface TypeParameterInstantiation extends BaseNode { - type: "TypeParameterInstantiation"; - params: Array; -} - -export interface UnionTypeAnnotation extends BaseNode { - type: "UnionTypeAnnotation"; - types: Array; -} - -export interface Variance extends BaseNode { - type: "Variance"; - kind: "minus" | "plus"; -} - -export interface VoidTypeAnnotation extends BaseNode { - type: "VoidTypeAnnotation"; -} - -export interface EnumDeclaration extends BaseNode { - type: "EnumDeclaration"; - id: Identifier; - body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; -} - -export interface EnumBooleanBody extends BaseNode { - type: "EnumBooleanBody"; - members: Array; - explicitType: boolean; - hasUnknownMembers: boolean; -} - -export interface EnumNumberBody extends BaseNode { - type: "EnumNumberBody"; - members: Array; - explicitType: boolean; - hasUnknownMembers: boolean; -} - -export interface EnumStringBody extends BaseNode { - type: "EnumStringBody"; - members: Array; - explicitType: boolean; - hasUnknownMembers: boolean; -} - -export interface EnumSymbolBody extends BaseNode { - type: "EnumSymbolBody"; - members: Array; - hasUnknownMembers: boolean; -} - -export interface EnumBooleanMember extends BaseNode { - type: "EnumBooleanMember"; - id: Identifier; - init: BooleanLiteral; -} - -export interface EnumNumberMember extends BaseNode { - type: "EnumNumberMember"; - id: Identifier; - init: NumericLiteral; -} - -export interface EnumStringMember extends BaseNode { - type: "EnumStringMember"; - id: Identifier; - init: StringLiteral; -} - -export interface EnumDefaultedMember extends BaseNode { - type: "EnumDefaultedMember"; - id: Identifier; -} - -export interface IndexedAccessType extends BaseNode { - type: "IndexedAccessType"; - objectType: FlowType; - indexType: FlowType; -} - -export interface OptionalIndexedAccessType extends BaseNode { - type: "OptionalIndexedAccessType"; - objectType: FlowType; - indexType: FlowType; - optional: boolean; -} - -export interface JSXAttribute extends BaseNode { - type: "JSXAttribute"; - name: JSXIdentifier | JSXNamespacedName; - value: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null; -} - -export interface JSXClosingElement extends BaseNode { - type: "JSXClosingElement"; - name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; -} - -export interface JSXElement extends BaseNode { - type: "JSXElement"; - openingElement: JSXOpeningElement; - closingElement: JSXClosingElement | null; - children: Array; - selfClosing: boolean | null; -} - -export interface JSXEmptyExpression extends BaseNode { - type: "JSXEmptyExpression"; -} - -export interface JSXExpressionContainer extends BaseNode { - type: "JSXExpressionContainer"; - expression: Expression | JSXEmptyExpression; -} - -export interface JSXSpreadChild extends BaseNode { - type: "JSXSpreadChild"; - expression: Expression; -} - -export interface JSXIdentifier extends BaseNode { - type: "JSXIdentifier"; - name: string; -} - -export interface JSXMemberExpression extends BaseNode { - type: "JSXMemberExpression"; - object: JSXMemberExpression | JSXIdentifier; - property: JSXIdentifier; -} - -export interface JSXNamespacedName extends BaseNode { - type: "JSXNamespacedName"; - namespace: JSXIdentifier; - name: JSXIdentifier; -} - -export interface JSXOpeningElement extends BaseNode { - type: "JSXOpeningElement"; - name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; - attributes: Array; - selfClosing: boolean; - typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; -} - -export interface JSXSpreadAttribute extends BaseNode { - type: "JSXSpreadAttribute"; - argument: Expression; -} - -export interface JSXText extends BaseNode { - type: "JSXText"; - value: string; -} - -export interface JSXFragment extends BaseNode { - type: "JSXFragment"; - openingFragment: JSXOpeningFragment; - closingFragment: JSXClosingFragment; - children: Array; -} - -export interface JSXOpeningFragment extends BaseNode { - type: "JSXOpeningFragment"; -} - -export interface JSXClosingFragment extends BaseNode { - type: "JSXClosingFragment"; -} - -export interface Noop extends BaseNode { - type: "Noop"; -} - -export interface Placeholder extends BaseNode { - type: "Placeholder"; - expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern"; - name: Identifier; -} - -export interface V8IntrinsicIdentifier extends BaseNode { - type: "V8IntrinsicIdentifier"; - name: string; -} - -export interface ArgumentPlaceholder extends BaseNode { - type: "ArgumentPlaceholder"; -} - -export interface BindExpression extends BaseNode { - type: "BindExpression"; - object: Expression; - callee: Expression; -} - -export interface ImportAttribute extends BaseNode { - type: "ImportAttribute"; - key: Identifier | StringLiteral; - value: StringLiteral; -} - -export interface Decorator extends BaseNode { - type: "Decorator"; - expression: Expression; -} - -export interface DoExpression extends BaseNode { - type: "DoExpression"; - body: BlockStatement; - async: boolean; -} - -export interface ExportDefaultSpecifier extends BaseNode { - type: "ExportDefaultSpecifier"; - exported: Identifier; -} - -export interface RecordExpression extends BaseNode { - type: "RecordExpression"; - properties: Array; -} - -export interface TupleExpression extends BaseNode { - type: "TupleExpression"; - elements: Array; -} - -export interface DecimalLiteral extends BaseNode { - type: "DecimalLiteral"; - value: string; -} - -export interface ModuleExpression extends BaseNode { - type: "ModuleExpression"; - body: Program; -} - -export interface TopicReference extends BaseNode { - type: "TopicReference"; -} - -export interface PipelineTopicExpression extends BaseNode { - type: "PipelineTopicExpression"; - expression: Expression; -} - -export interface PipelineBareFunction extends BaseNode { - type: "PipelineBareFunction"; - callee: Expression; -} - -export interface PipelinePrimaryTopicReference extends BaseNode { - type: "PipelinePrimaryTopicReference"; -} - -export interface TSParameterProperty extends BaseNode { - type: "TSParameterProperty"; - parameter: Identifier | AssignmentPattern; - accessibility: "public" | "private" | "protected" | null; - decorators: Array | null; - override: boolean | null; - readonly: boolean | null; -} - -export interface TSDeclareFunction extends BaseNode { - type: "TSDeclareFunction"; - id: Identifier | null; - typeParameters: TSTypeParameterDeclaration | Noop | null; - params: Array; - returnType: TSTypeAnnotation | Noop | null; - async: boolean; - declare: boolean | null; - generator: boolean; -} - -export interface TSDeclareMethod extends BaseNode { - type: "TSDeclareMethod"; - decorators: Array | null; - key: Identifier | StringLiteral | NumericLiteral | Expression; - typeParameters: TSTypeParameterDeclaration | Noop | null; - params: Array; - returnType: TSTypeAnnotation | Noop | null; - abstract: boolean | null; - access: "public" | "private" | "protected" | null; - accessibility: "public" | "private" | "protected" | null; - async: boolean; - computed: boolean; - generator: boolean; - kind: "get" | "set" | "method" | "constructor"; - optional: boolean | null; - override: boolean; - static: boolean; -} - -export interface TSQualifiedName extends BaseNode { - type: "TSQualifiedName"; - left: TSEntityName; - right: Identifier; -} - -export interface TSCallSignatureDeclaration extends BaseNode { - type: "TSCallSignatureDeclaration"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; -} - -export interface TSConstructSignatureDeclaration extends BaseNode { - type: "TSConstructSignatureDeclaration"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; -} - -export interface TSPropertySignature extends BaseNode { - type: "TSPropertySignature"; - key: Expression; - typeAnnotation: TSTypeAnnotation | null; - initializer: Expression | null; - computed: boolean | null; - kind: "get" | "set"; - optional: boolean | null; - readonly: boolean | null; -} - -export interface TSMethodSignature extends BaseNode { - type: "TSMethodSignature"; - key: Expression; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; - computed: boolean | null; - kind: "method" | "get" | "set"; - optional: boolean | null; -} - -export interface TSIndexSignature extends BaseNode { - type: "TSIndexSignature"; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; - readonly: boolean | null; - static: boolean | null; -} - -export interface TSAnyKeyword extends BaseNode { - type: "TSAnyKeyword"; -} - -export interface TSBooleanKeyword extends BaseNode { - type: "TSBooleanKeyword"; -} - -export interface TSBigIntKeyword extends BaseNode { - type: "TSBigIntKeyword"; -} - -export interface TSIntrinsicKeyword extends BaseNode { - type: "TSIntrinsicKeyword"; -} - -export interface TSNeverKeyword extends BaseNode { - type: "TSNeverKeyword"; -} - -export interface TSNullKeyword extends BaseNode { - type: "TSNullKeyword"; -} - -export interface TSNumberKeyword extends BaseNode { - type: "TSNumberKeyword"; -} - -export interface TSObjectKeyword extends BaseNode { - type: "TSObjectKeyword"; -} - -export interface TSStringKeyword extends BaseNode { - type: "TSStringKeyword"; -} - -export interface TSSymbolKeyword extends BaseNode { - type: "TSSymbolKeyword"; -} - -export interface TSUndefinedKeyword extends BaseNode { - type: "TSUndefinedKeyword"; -} - -export interface TSUnknownKeyword extends BaseNode { - type: "TSUnknownKeyword"; -} - -export interface TSVoidKeyword extends BaseNode { - type: "TSVoidKeyword"; -} - -export interface TSThisType extends BaseNode { - type: "TSThisType"; -} - -export interface TSFunctionType extends BaseNode { - type: "TSFunctionType"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; -} - -export interface TSConstructorType extends BaseNode { - type: "TSConstructorType"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; - abstract: boolean | null; -} - -export interface TSTypeReference extends BaseNode { - type: "TSTypeReference"; - typeName: TSEntityName; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSTypePredicate extends BaseNode { - type: "TSTypePredicate"; - parameterName: Identifier | TSThisType; - typeAnnotation: TSTypeAnnotation | null; - asserts: boolean | null; -} - -export interface TSTypeQuery extends BaseNode { - type: "TSTypeQuery"; - exprName: TSEntityName | TSImportType; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSTypeLiteral extends BaseNode { - type: "TSTypeLiteral"; - members: Array; -} - -export interface TSArrayType extends BaseNode { - type: "TSArrayType"; - elementType: TSType; -} - -export interface TSTupleType extends BaseNode { - type: "TSTupleType"; - elementTypes: Array; -} - -export interface TSOptionalType extends BaseNode { - type: "TSOptionalType"; - typeAnnotation: TSType; -} - -export interface TSRestType extends BaseNode { - type: "TSRestType"; - typeAnnotation: TSType; -} - -export interface TSNamedTupleMember extends BaseNode { - type: "TSNamedTupleMember"; - label: Identifier; - elementType: TSType; - optional: boolean; -} - -export interface TSUnionType extends BaseNode { - type: "TSUnionType"; - types: Array; -} - -export interface TSIntersectionType extends BaseNode { - type: "TSIntersectionType"; - types: Array; -} - -export interface TSConditionalType extends BaseNode { - type: "TSConditionalType"; - checkType: TSType; - extendsType: TSType; - trueType: TSType; - falseType: TSType; -} - -export interface TSInferType extends BaseNode { - type: "TSInferType"; - typeParameter: TSTypeParameter; -} - -export interface TSParenthesizedType extends BaseNode { - type: "TSParenthesizedType"; - typeAnnotation: TSType; -} - -export interface TSTypeOperator extends BaseNode { - type: "TSTypeOperator"; - typeAnnotation: TSType; - operator: string; -} - -export interface TSIndexedAccessType extends BaseNode { - type: "TSIndexedAccessType"; - objectType: TSType; - indexType: TSType; -} - -export interface TSMappedType extends BaseNode { - type: "TSMappedType"; - typeParameter: TSTypeParameter; - typeAnnotation: TSType | null; - nameType: TSType | null; - optional: boolean | null; - readonly: boolean | null; -} - -export interface TSLiteralType extends BaseNode { - type: "TSLiteralType"; - literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | UnaryExpression; -} - -export interface TSExpressionWithTypeArguments extends BaseNode { - type: "TSExpressionWithTypeArguments"; - expression: TSEntityName; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSInterfaceDeclaration extends BaseNode { - type: "TSInterfaceDeclaration"; - id: Identifier; - typeParameters: TSTypeParameterDeclaration | null; - extends: Array | null; - body: TSInterfaceBody; - declare: boolean | null; -} - -export interface TSInterfaceBody extends BaseNode { - type: "TSInterfaceBody"; - body: Array; -} - -export interface TSTypeAliasDeclaration extends BaseNode { - type: "TSTypeAliasDeclaration"; - id: Identifier; - typeParameters: TSTypeParameterDeclaration | null; - typeAnnotation: TSType; - declare: boolean | null; -} - -export interface TSInstantiationExpression extends BaseNode { - type: "TSInstantiationExpression"; - expression: Expression; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSAsExpression extends BaseNode { - type: "TSAsExpression"; - expression: Expression; - typeAnnotation: TSType; -} - -export interface TSTypeAssertion extends BaseNode { - type: "TSTypeAssertion"; - typeAnnotation: TSType; - expression: Expression; -} - -export interface TSEnumDeclaration extends BaseNode { - type: "TSEnumDeclaration"; - id: Identifier; - members: Array; - const: boolean | null; - declare: boolean | null; - initializer: Expression | null; -} - -export interface TSEnumMember extends BaseNode { - type: "TSEnumMember"; - id: Identifier | StringLiteral; - initializer: Expression | null; -} - -export interface TSModuleDeclaration extends BaseNode { - type: "TSModuleDeclaration"; - id: Identifier | StringLiteral; - body: TSModuleBlock | TSModuleDeclaration; - declare: boolean | null; - global: boolean | null; -} - -export interface TSModuleBlock extends BaseNode { - type: "TSModuleBlock"; - body: Array; -} - -export interface TSImportType extends BaseNode { - type: "TSImportType"; - argument: StringLiteral; - qualifier: TSEntityName | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSImportEqualsDeclaration extends BaseNode { - type: "TSImportEqualsDeclaration"; - id: Identifier; - moduleReference: TSEntityName | TSExternalModuleReference; - importKind: "type" | "value" | null; - isExport: boolean; -} - -export interface TSExternalModuleReference extends BaseNode { - type: "TSExternalModuleReference"; - expression: StringLiteral; -} - -export interface TSNonNullExpression extends BaseNode { - type: "TSNonNullExpression"; - expression: Expression; -} - -export interface TSExportAssignment extends BaseNode { - type: "TSExportAssignment"; - expression: Expression; -} - -export interface TSNamespaceExportDeclaration extends BaseNode { - type: "TSNamespaceExportDeclaration"; - id: Identifier; -} - -export interface TSTypeAnnotation extends BaseNode { - type: "TSTypeAnnotation"; - typeAnnotation: TSType; -} - -export interface TSTypeParameterInstantiation extends BaseNode { - type: "TSTypeParameterInstantiation"; - params: Array; -} - -export interface TSTypeParameterDeclaration extends BaseNode { - type: "TSTypeParameterDeclaration"; - params: Array; -} - -export interface TSTypeParameter extends BaseNode { - type: "TSTypeParameter"; - constraint: TSType | null; - default: TSType | null; - name: string; - in: boolean | null; - out: boolean | null; -} - -/** - * @deprecated Use `NumericLiteral` - */ -export type NumberLiteral = NumericLiteral; - -/** - * @deprecated Use `RegExpLiteral` - */ -export type RegexLiteral = RegExpLiteral; - -/** - * @deprecated Use `RestElement` - */ -export type RestProperty = RestElement; - -/** - * @deprecated Use `SpreadElement` - */ -export type SpreadProperty = SpreadElement; - -export type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | File | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Identifier | IfStatement | LabeledStatement | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | Program | ObjectExpression | ObjectMethod | ObjectProperty | RestElement | ReturnStatement | SequenceExpression | ParenthesizedExpression | SwitchCase | SwitchStatement | ThisExpression | ThrowStatement | TryStatement | UnaryExpression | UpdateExpression | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | AssignmentPattern | ArrayPattern | ArrowFunctionExpression | ClassBody | ClassExpression | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ForOfStatement | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | MetaProperty | ClassMethod | ObjectPattern | SpreadElement | Super | TaggedTemplateExpression | TemplateElement | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | ExportNamespaceSpecifier | OptionalMemberExpression | OptionalCallExpression | ClassProperty | ClassAccessorProperty | ClassPrivateProperty | ClassPrivateMethod | PrivateName | StaticBlock; -export type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | SequenceExpression | ParenthesizedExpression | ThisExpression | UnaryExpression | UpdateExpression | ArrowFunctionExpression | ClassExpression | MetaProperty | Super | TaggedTemplateExpression | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | OptionalMemberExpression | OptionalCallExpression | TypeCastExpression | JSXElement | JSXFragment | BindExpression | DoExpression | RecordExpression | TupleExpression | DecimalLiteral | ModuleExpression | TopicReference | PipelineTopicExpression | PipelineBareFunction | PipelinePrimaryTopicReference | TSInstantiationExpression | TSAsExpression | TSTypeAssertion | TSNonNullExpression; -export type Binary = BinaryExpression | LogicalExpression; -export type Scopable = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ClassExpression | ClassDeclaration | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; -export type BlockParent = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; -export type Block = BlockStatement | Program | TSModuleBlock; -export type Statement = BlockStatement | BreakStatement | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | ForInStatement | ForStatement | FunctionDeclaration | IfStatement | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | VariableDeclaration | WhileStatement | WithStatement | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ForOfStatement | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration | TSExportAssignment | TSNamespaceExportDeclaration; -export type Terminatorless = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement | YieldExpression | AwaitExpression; -export type CompletionStatement = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement; -export type Conditional = ConditionalExpression | IfStatement; -export type Loop = DoWhileStatement | ForInStatement | ForStatement | WhileStatement | ForOfStatement; -export type While = DoWhileStatement | WhileStatement; -export type ExpressionWrapper = ExpressionStatement | ParenthesizedExpression | TypeCastExpression; -export type For = ForInStatement | ForStatement | ForOfStatement; -export type ForXStatement = ForInStatement | ForOfStatement; -export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod; -export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock; -export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral; -export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration; -export type PatternLike = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSAsExpression | TSTypeAssertion | TSNonNullExpression; -export type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty | TSAsExpression | TSTypeAssertion | TSNonNullExpression; -export type TSEntityName = Identifier | TSQualifiedName; -export type Literal = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | TemplateLiteral | BigIntLiteral | DecimalLiteral; -export type Immutable = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | BigIntLiteral | JSXAttribute | JSXClosingElement | JSXElement | JSXExpressionContainer | JSXSpreadChild | JSXOpeningElement | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment | DecimalLiteral; -export type UserWhitespacable = ObjectMethod | ObjectProperty | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty; -export type Method = ObjectMethod | ClassMethod | ClassPrivateMethod; -export type ObjectMember = ObjectMethod | ObjectProperty; -export type Property = ObjectProperty | ClassProperty | ClassAccessorProperty | ClassPrivateProperty; -export type UnaryLike = UnaryExpression | SpreadElement; -export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern; -export type Class = ClassExpression | ClassDeclaration; -export type ModuleDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration; -export type ExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration; -export type ModuleSpecifier = ExportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ExportNamespaceSpecifier | ExportDefaultSpecifier; -export type Accessor = ClassAccessorProperty; -export type Private = ClassPrivateProperty | ClassPrivateMethod | PrivateName; -export type Flow = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ClassImplements | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | DeclaredPredicate | ExistsTypeAnnotation | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | InferredPredicate | InterfaceExtends | InterfaceDeclaration | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | QualifiedTypeIdentifier | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | UnionTypeAnnotation | Variance | VoidTypeAnnotation | EnumDeclaration | EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody | EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember | IndexedAccessType | OptionalIndexedAccessType; -export type FlowType = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ExistsTypeAnnotation | FunctionTypeAnnotation | GenericTypeAnnotation | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | UnionTypeAnnotation | VoidTypeAnnotation | IndexedAccessType | OptionalIndexedAccessType; -export type FlowBaseAnnotation = AnyTypeAnnotation | BooleanTypeAnnotation | NullLiteralTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NumberTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | VoidTypeAnnotation; -export type FlowDeclaration = DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias; -export type FlowPredicate = DeclaredPredicate | InferredPredicate; -export type EnumBody = EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; -export type EnumMember = EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember; -export type JSX = JSXAttribute | JSXClosingElement | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXSpreadChild | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXSpreadAttribute | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment; -export type Miscellaneous = Noop | Placeholder | V8IntrinsicIdentifier; -export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSTypeAssertion | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter; -export type TSTypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature; -export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType; -export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSLiteralType; - -export interface Aliases { - Standardized: Standardized; - Expression: Expression; - Binary: Binary; - Scopable: Scopable; - BlockParent: BlockParent; - Block: Block; - Statement: Statement; - Terminatorless: Terminatorless; - CompletionStatement: CompletionStatement; - Conditional: Conditional; - Loop: Loop; - While: While; - ExpressionWrapper: ExpressionWrapper; - For: For; - ForXStatement: ForXStatement; - Function: Function; - FunctionParent: FunctionParent; - Pureish: Pureish; - Declaration: Declaration; - PatternLike: PatternLike; - LVal: LVal; - TSEntityName: TSEntityName; - Literal: Literal; - Immutable: Immutable; - UserWhitespacable: UserWhitespacable; - Method: Method; - ObjectMember: ObjectMember; - Property: Property; - UnaryLike: UnaryLike; - Pattern: Pattern; - Class: Class; - ModuleDeclaration: ModuleDeclaration; - ExportDeclaration: ExportDeclaration; - ModuleSpecifier: ModuleSpecifier; - Accessor: Accessor; - Private: Private; - Flow: Flow; - FlowType: FlowType; - FlowBaseAnnotation: FlowBaseAnnotation; - FlowDeclaration: FlowDeclaration; - FlowPredicate: FlowPredicate; - EnumBody: EnumBody; - EnumMember: EnumMember; - JSX: JSX; - Miscellaneous: Miscellaneous; - TypeScript: TypeScript; - TSTypeElement: TSTypeElement; - TSType: TSType; - TSBaseType: TSBaseType; -} - -export function arrayExpression(elements?: Array): ArrayExpression; -export function assignmentExpression(operator: string, left: LVal, right: Expression): AssignmentExpression; -export function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>", left: Expression | PrivateName, right: Expression): BinaryExpression; -export function interpreterDirective(value: string): InterpreterDirective; -export function directive(value: DirectiveLiteral): Directive; -export function directiveLiteral(value: string): DirectiveLiteral; -export function blockStatement(body: Array, directives?: Array): BlockStatement; -export function breakStatement(label?: Identifier | null): BreakStatement; -export function callExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array): CallExpression; -export function catchClause(param: Identifier | ArrayPattern | ObjectPattern | null | undefined, body: BlockStatement): CatchClause; -export function conditionalExpression(test: Expression, consequent: Expression, alternate: Expression): ConditionalExpression; -export function continueStatement(label?: Identifier | null): ContinueStatement; -export function debuggerStatement(): DebuggerStatement; -export function doWhileStatement(test: Expression, body: Statement): DoWhileStatement; -export function emptyStatement(): EmptyStatement; -export function expressionStatement(expression: Expression): ExpressionStatement; -export function file(program: Program, comments?: Array | null, tokens?: Array | null): File; -export function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement; -export function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement; -export function functionDeclaration(id: Identifier | null | undefined, params: Array, body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration; -export function functionExpression(id: Identifier | null | undefined, params: Array, body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression; -export function identifier(name: string): Identifier; -export function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement; -export function labeledStatement(label: Identifier, body: Statement): LabeledStatement; -export function stringLiteral(value: string): StringLiteral; -export function numericLiteral(value: number): NumericLiteral; -export function nullLiteral(): NullLiteral; -export function booleanLiteral(value: boolean): BooleanLiteral; -export function regExpLiteral(pattern: string, flags?: string): RegExpLiteral; -export function logicalExpression(operator: "||" | "&&" | "??", left: Expression, right: Expression): LogicalExpression; -export function memberExpression(object: Expression, property: Expression | Identifier | PrivateName, computed?: boolean, optional?: true | false | null): MemberExpression; -export function newExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array): NewExpression; -export function program(body: Array, directives?: Array, sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program; -export function objectExpression(properties: Array): ObjectExpression; -export function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral, params: Array, body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod; -export function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Array | null): ObjectProperty; -export function restElement(argument: LVal): RestElement; -export function returnStatement(argument?: Expression | null): ReturnStatement; -export function sequenceExpression(expressions: Array): SequenceExpression; -export function parenthesizedExpression(expression: Expression): ParenthesizedExpression; -export function switchCase(test: Expression | null | undefined, consequent: Array): SwitchCase; -export function switchStatement(discriminant: Expression, cases: Array): SwitchStatement; -export function thisExpression(): ThisExpression; -export function throwStatement(argument: Expression): ThrowStatement; -export function tryStatement(block: BlockStatement, handler?: CatchClause | null, finalizer?: BlockStatement | null): TryStatement; -export function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression; -export function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression; -export function variableDeclaration(kind: "var" | "let" | "const", declarations: Array): VariableDeclaration; -export function variableDeclarator(id: LVal, init?: Expression | null): VariableDeclarator; -export function whileStatement(test: Expression, body: Statement): WhileStatement; -export function withStatement(object: Expression, body: Statement): WithStatement; -export function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSTypeAssertion | TSNonNullExpression, right: Expression): AssignmentPattern; -export function arrayPattern(elements: Array): ArrayPattern; -export function arrowFunctionExpression(params: Array, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression; -export function classBody(body: Array): ClassBody; -export function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array | null): ClassExpression; -export function classDeclaration(id: Identifier, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array | null): ClassDeclaration; -export function exportAllDeclaration(source: StringLiteral): ExportAllDeclaration; -export function exportDefaultDeclaration(declaration: FunctionDeclaration | ClassDeclaration | Expression): ExportDefaultDeclaration; -export function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: Array, source?: StringLiteral | null): ExportNamedDeclaration; -export function exportSpecifier(local: Identifier, exported: Identifier | StringLiteral): ExportSpecifier; -export function forOfStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement, _await?: boolean): ForOfStatement; -export function importDeclaration(specifiers: Array, source: StringLiteral): ImportDeclaration; -export function importDefaultSpecifier(local: Identifier): ImportDefaultSpecifier; -export function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpecifier; -export function importSpecifier(local: Identifier, imported: Identifier | StringLiteral): ImportSpecifier; -export function metaProperty(meta: Identifier, property: Identifier): MetaProperty; -export function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | Expression, params: Array, body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod; -export function objectPattern(properties: Array): ObjectPattern; -export function spreadElement(argument: Expression): SpreadElement; -declare function _super(): Super; -export { _super as super} -export function taggedTemplateExpression(tag: Expression, quasi: TemplateLiteral): TaggedTemplateExpression; -export function templateElement(value: { raw: string, cooked?: string }, tail?: boolean): TemplateElement; -export function templateLiteral(quasis: Array, expressions: Array): TemplateLiteral; -export function yieldExpression(argument?: Expression | null, delegate?: boolean): YieldExpression; -export function awaitExpression(argument: Expression): AwaitExpression; -declare function _import(): Import; -export { _import as import} -export function bigIntLiteral(value: string): BigIntLiteral; -export function exportNamespaceSpecifier(exported: Identifier): ExportNamespaceSpecifier; -export function optionalMemberExpression(object: Expression, property: Expression | Identifier, computed: boolean | undefined, optional: boolean): OptionalMemberExpression; -export function optionalCallExpression(callee: Expression, _arguments: Array, optional: boolean): OptionalCallExpression; -export function classProperty(key: Identifier | StringLiteral | NumericLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Array | null, computed?: boolean, _static?: boolean): ClassProperty; -export function classAccessorProperty(key: Identifier | StringLiteral | NumericLiteral | Expression | PrivateName, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Array | null, computed?: boolean, _static?: boolean): ClassAccessorProperty; -export function classPrivateProperty(key: PrivateName, value: Expression | null | undefined, decorators: Array | null | undefined, _static: any): ClassPrivateProperty; -export function classPrivateMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: PrivateName, params: Array, body: BlockStatement, _static?: boolean): ClassPrivateMethod; -export function privateName(id: Identifier): PrivateName; -export function staticBlock(body: Array): StaticBlock; -export function anyTypeAnnotation(): AnyTypeAnnotation; -export function arrayTypeAnnotation(elementType: FlowType): ArrayTypeAnnotation; -export function booleanTypeAnnotation(): BooleanTypeAnnotation; -export function booleanLiteralTypeAnnotation(value: boolean): BooleanLiteralTypeAnnotation; -export function nullLiteralTypeAnnotation(): NullLiteralTypeAnnotation; -export function classImplements(id: Identifier, typeParameters?: TypeParameterInstantiation | null): ClassImplements; -export function declareClass(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): DeclareClass; -export function declareFunction(id: Identifier): DeclareFunction; -export function declareInterface(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): DeclareInterface; -export function declareModule(id: Identifier | StringLiteral, body: BlockStatement, kind?: "CommonJS" | "ES" | null): DeclareModule; -export function declareModuleExports(typeAnnotation: TypeAnnotation): DeclareModuleExports; -export function declareTypeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): DeclareTypeAlias; -export function declareOpaqueType(id: Identifier, typeParameters?: TypeParameterDeclaration | null, supertype?: FlowType | null): DeclareOpaqueType; -export function declareVariable(id: Identifier): DeclareVariable; -export function declareExportDeclaration(declaration?: Flow | null, specifiers?: Array | null, source?: StringLiteral | null): DeclareExportDeclaration; -export function declareExportAllDeclaration(source: StringLiteral): DeclareExportAllDeclaration; -export function declaredPredicate(value: Flow): DeclaredPredicate; -export function existsTypeAnnotation(): ExistsTypeAnnotation; -export function functionTypeAnnotation(typeParameters: TypeParameterDeclaration | null | undefined, params: Array, rest: FunctionTypeParam | null | undefined, returnType: FlowType): FunctionTypeAnnotation; -export function functionTypeParam(name: Identifier | null | undefined, typeAnnotation: FlowType): FunctionTypeParam; -export function genericTypeAnnotation(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): GenericTypeAnnotation; -export function inferredPredicate(): InferredPredicate; -export function interfaceExtends(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): InterfaceExtends; -export function interfaceDeclaration(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): InterfaceDeclaration; -export function interfaceTypeAnnotation(_extends: Array | null | undefined, body: ObjectTypeAnnotation): InterfaceTypeAnnotation; -export function intersectionTypeAnnotation(types: Array): IntersectionTypeAnnotation; -export function mixedTypeAnnotation(): MixedTypeAnnotation; -export function emptyTypeAnnotation(): EmptyTypeAnnotation; -export function nullableTypeAnnotation(typeAnnotation: FlowType): NullableTypeAnnotation; -export function numberLiteralTypeAnnotation(value: number): NumberLiteralTypeAnnotation; -export function numberTypeAnnotation(): NumberTypeAnnotation; -export function objectTypeAnnotation(properties: Array, indexers?: Array, callProperties?: Array, internalSlots?: Array, exact?: boolean): ObjectTypeAnnotation; -export function objectTypeInternalSlot(id: Identifier, value: FlowType, optional: boolean, _static: boolean, method: boolean): ObjectTypeInternalSlot; -export function objectTypeCallProperty(value: FlowType): ObjectTypeCallProperty; -export function objectTypeIndexer(id: Identifier | null | undefined, key: FlowType, value: FlowType, variance?: Variance | null): ObjectTypeIndexer; -export function objectTypeProperty(key: Identifier | StringLiteral, value: FlowType, variance?: Variance | null): ObjectTypeProperty; -export function objectTypeSpreadProperty(argument: FlowType): ObjectTypeSpreadProperty; -export function opaqueType(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, supertype: FlowType | null | undefined, impltype: FlowType): OpaqueType; -export function qualifiedTypeIdentifier(id: Identifier, qualification: Identifier | QualifiedTypeIdentifier): QualifiedTypeIdentifier; -export function stringLiteralTypeAnnotation(value: string): StringLiteralTypeAnnotation; -export function stringTypeAnnotation(): StringTypeAnnotation; -export function symbolTypeAnnotation(): SymbolTypeAnnotation; -export function thisTypeAnnotation(): ThisTypeAnnotation; -export function tupleTypeAnnotation(types: Array): TupleTypeAnnotation; -export function typeofTypeAnnotation(argument: FlowType): TypeofTypeAnnotation; -export function typeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): TypeAlias; -export function typeAnnotation(typeAnnotation: FlowType): TypeAnnotation; -export function typeCastExpression(expression: Expression, typeAnnotation: TypeAnnotation): TypeCastExpression; -export function typeParameter(bound?: TypeAnnotation | null, _default?: FlowType | null, variance?: Variance | null): TypeParameter; -export function typeParameterDeclaration(params: Array): TypeParameterDeclaration; -export function typeParameterInstantiation(params: Array): TypeParameterInstantiation; -export function unionTypeAnnotation(types: Array): UnionTypeAnnotation; -export function variance(kind: "minus" | "plus"): Variance; -export function voidTypeAnnotation(): VoidTypeAnnotation; -export function enumDeclaration(id: Identifier, body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody): EnumDeclaration; -export function enumBooleanBody(members: Array): EnumBooleanBody; -export function enumNumberBody(members: Array): EnumNumberBody; -export function enumStringBody(members: Array): EnumStringBody; -export function enumSymbolBody(members: Array): EnumSymbolBody; -export function enumBooleanMember(id: Identifier): EnumBooleanMember; -export function enumNumberMember(id: Identifier, init: NumericLiteral): EnumNumberMember; -export function enumStringMember(id: Identifier, init: StringLiteral): EnumStringMember; -export function enumDefaultedMember(id: Identifier): EnumDefaultedMember; -export function indexedAccessType(objectType: FlowType, indexType: FlowType): IndexedAccessType; -export function optionalIndexedAccessType(objectType: FlowType, indexType: FlowType): OptionalIndexedAccessType; -export function jsxAttribute(name: JSXIdentifier | JSXNamespacedName, value?: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null): JSXAttribute; -export function jsxClosingElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName): JSXClosingElement; -export function jsxElement(openingElement: JSXOpeningElement, closingElement: JSXClosingElement | null | undefined, children: Array, selfClosing?: boolean | null): JSXElement; -export function jsxEmptyExpression(): JSXEmptyExpression; -export function jsxExpressionContainer(expression: Expression | JSXEmptyExpression): JSXExpressionContainer; -export function jsxSpreadChild(expression: Expression): JSXSpreadChild; -export function jsxIdentifier(name: string): JSXIdentifier; -export function jsxMemberExpression(object: JSXMemberExpression | JSXIdentifier, property: JSXIdentifier): JSXMemberExpression; -export function jsxNamespacedName(namespace: JSXIdentifier, name: JSXIdentifier): JSXNamespacedName; -export function jsxOpeningElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName, attributes: Array, selfClosing?: boolean): JSXOpeningElement; -export function jsxSpreadAttribute(argument: Expression): JSXSpreadAttribute; -export function jsxText(value: string): JSXText; -export function jsxFragment(openingFragment: JSXOpeningFragment, closingFragment: JSXClosingFragment, children: Array): JSXFragment; -export function jsxOpeningFragment(): JSXOpeningFragment; -export function jsxClosingFragment(): JSXClosingFragment; -export function noop(): Noop; -export function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern", name: Identifier): Placeholder; -export function v8IntrinsicIdentifier(name: string): V8IntrinsicIdentifier; -export function argumentPlaceholder(): ArgumentPlaceholder; -export function bindExpression(object: Expression, callee: Expression): BindExpression; -export function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute; -export function decorator(expression: Expression): Decorator; -export function doExpression(body: BlockStatement, async?: boolean): DoExpression; -export function exportDefaultSpecifier(exported: Identifier): ExportDefaultSpecifier; -export function recordExpression(properties: Array): RecordExpression; -export function tupleExpression(elements?: Array): TupleExpression; -export function decimalLiteral(value: string): DecimalLiteral; -export function moduleExpression(body: Program): ModuleExpression; -export function topicReference(): TopicReference; -export function pipelineTopicExpression(expression: Expression): PipelineTopicExpression; -export function pipelineBareFunction(callee: Expression): PipelineBareFunction; -export function pipelinePrimaryTopicReference(): PipelinePrimaryTopicReference; -export function tsParameterProperty(parameter: Identifier | AssignmentPattern): TSParameterProperty; -export function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array, returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction; -export function tsDeclareMethod(decorators: Array | null | undefined, key: Identifier | StringLiteral | NumericLiteral | Expression, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array, returnType?: TSTypeAnnotation | Noop | null): TSDeclareMethod; -export function tsQualifiedName(left: TSEntityName, right: Identifier): TSQualifiedName; -export function tsCallSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSCallSignatureDeclaration; -export function tsConstructSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSConstructSignatureDeclaration; -export function tsPropertySignature(key: Expression, typeAnnotation?: TSTypeAnnotation | null, initializer?: Expression | null): TSPropertySignature; -export function tsMethodSignature(key: Expression, typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSMethodSignature; -export function tsIndexSignature(parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSIndexSignature; -export function tsAnyKeyword(): TSAnyKeyword; -export function tsBooleanKeyword(): TSBooleanKeyword; -export function tsBigIntKeyword(): TSBigIntKeyword; -export function tsIntrinsicKeyword(): TSIntrinsicKeyword; -export function tsNeverKeyword(): TSNeverKeyword; -export function tsNullKeyword(): TSNullKeyword; -export function tsNumberKeyword(): TSNumberKeyword; -export function tsObjectKeyword(): TSObjectKeyword; -export function tsStringKeyword(): TSStringKeyword; -export function tsSymbolKeyword(): TSSymbolKeyword; -export function tsUndefinedKeyword(): TSUndefinedKeyword; -export function tsUnknownKeyword(): TSUnknownKeyword; -export function tsVoidKeyword(): TSVoidKeyword; -export function tsThisType(): TSThisType; -export function tsFunctionType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSFunctionType; -export function tsConstructorType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSConstructorType; -export function tsTypeReference(typeName: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSTypeReference; -export function tsTypePredicate(parameterName: Identifier | TSThisType, typeAnnotation?: TSTypeAnnotation | null, asserts?: boolean | null): TSTypePredicate; -export function tsTypeQuery(exprName: TSEntityName | TSImportType, typeParameters?: TSTypeParameterInstantiation | null): TSTypeQuery; -export function tsTypeLiteral(members: Array): TSTypeLiteral; -export function tsArrayType(elementType: TSType): TSArrayType; -export function tsTupleType(elementTypes: Array): TSTupleType; -export function tsOptionalType(typeAnnotation: TSType): TSOptionalType; -export function tsRestType(typeAnnotation: TSType): TSRestType; -export function tsNamedTupleMember(label: Identifier, elementType: TSType, optional?: boolean): TSNamedTupleMember; -export function tsUnionType(types: Array): TSUnionType; -export function tsIntersectionType(types: Array): TSIntersectionType; -export function tsConditionalType(checkType: TSType, extendsType: TSType, trueType: TSType, falseType: TSType): TSConditionalType; -export function tsInferType(typeParameter: TSTypeParameter): TSInferType; -export function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType; -export function tsTypeOperator(typeAnnotation: TSType): TSTypeOperator; -export function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType; -export function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null, nameType?: TSType | null): TSMappedType; -export function tsLiteralType(literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | UnaryExpression): TSLiteralType; -export function tsExpressionWithTypeArguments(expression: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSExpressionWithTypeArguments; -export function tsInterfaceDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: TSInterfaceBody): TSInterfaceDeclaration; -export function tsInterfaceBody(body: Array): TSInterfaceBody; -export function tsTypeAliasDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, typeAnnotation: TSType): TSTypeAliasDeclaration; -export function tsInstantiationExpression(expression: Expression, typeParameters?: TSTypeParameterInstantiation | null): TSInstantiationExpression; -export function tsAsExpression(expression: Expression, typeAnnotation: TSType): TSAsExpression; -export function tsTypeAssertion(typeAnnotation: TSType, expression: Expression): TSTypeAssertion; -export function tsEnumDeclaration(id: Identifier, members: Array): TSEnumDeclaration; -export function tsEnumMember(id: Identifier | StringLiteral, initializer?: Expression | null): TSEnumMember; -export function tsModuleDeclaration(id: Identifier | StringLiteral, body: TSModuleBlock | TSModuleDeclaration): TSModuleDeclaration; -export function tsModuleBlock(body: Array): TSModuleBlock; -export function tsImportType(argument: StringLiteral, qualifier?: TSEntityName | null, typeParameters?: TSTypeParameterInstantiation | null): TSImportType; -export function tsImportEqualsDeclaration(id: Identifier, moduleReference: TSEntityName | TSExternalModuleReference): TSImportEqualsDeclaration; -export function tsExternalModuleReference(expression: StringLiteral): TSExternalModuleReference; -export function tsNonNullExpression(expression: Expression): TSNonNullExpression; -export function tsExportAssignment(expression: Expression): TSExportAssignment; -export function tsNamespaceExportDeclaration(id: Identifier): TSNamespaceExportDeclaration; -export function tsTypeAnnotation(typeAnnotation: TSType): TSTypeAnnotation; -export function tsTypeParameterInstantiation(params: Array): TSTypeParameterInstantiation; -export function tsTypeParameterDeclaration(params: Array): TSTypeParameterDeclaration; -export function tsTypeParameter(constraint: TSType | null | undefined, _default: TSType | null | undefined, name: string): TSTypeParameter; -export function isAccessor(node: object | null | undefined, opts?: object | null): node is Accessor; -export function assertAccessor(node: object | null | undefined, opts?: object | null): void; -export function isAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is AnyTypeAnnotation; -export function assertAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isArgumentPlaceholder(node: object | null | undefined, opts?: object | null): node is ArgumentPlaceholder; -export function assertArgumentPlaceholder(node: object | null | undefined, opts?: object | null): void; -export function isArrayExpression(node: object | null | undefined, opts?: object | null): node is ArrayExpression; -export function assertArrayExpression(node: object | null | undefined, opts?: object | null): void; -export function isArrayPattern(node: object | null | undefined, opts?: object | null): node is ArrayPattern; -export function assertArrayPattern(node: object | null | undefined, opts?: object | null): void; -export function isArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ArrayTypeAnnotation; -export function assertArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isArrowFunctionExpression(node: object | null | undefined, opts?: object | null): node is ArrowFunctionExpression; -export function assertArrowFunctionExpression(node: object | null | undefined, opts?: object | null): void; -export function isAssignmentExpression(node: object | null | undefined, opts?: object | null): node is AssignmentExpression; -export function assertAssignmentExpression(node: object | null | undefined, opts?: object | null): void; -export function isAssignmentPattern(node: object | null | undefined, opts?: object | null): node is AssignmentPattern; -export function assertAssignmentPattern(node: object | null | undefined, opts?: object | null): void; -export function isAwaitExpression(node: object | null | undefined, opts?: object | null): node is AwaitExpression; -export function assertAwaitExpression(node: object | null | undefined, opts?: object | null): void; -export function isBigIntLiteral(node: object | null | undefined, opts?: object | null): node is BigIntLiteral; -export function assertBigIntLiteral(node: object | null | undefined, opts?: object | null): void; -export function isBinary(node: object | null | undefined, opts?: object | null): node is Binary; -export function assertBinary(node: object | null | undefined, opts?: object | null): void; -export function isBinaryExpression(node: object | null | undefined, opts?: object | null): node is BinaryExpression; -export function assertBinaryExpression(node: object | null | undefined, opts?: object | null): void; -export function isBindExpression(node: object | null | undefined, opts?: object | null): node is BindExpression; -export function assertBindExpression(node: object | null | undefined, opts?: object | null): void; -export function isBlock(node: object | null | undefined, opts?: object | null): node is Block; -export function assertBlock(node: object | null | undefined, opts?: object | null): void; -export function isBlockParent(node: object | null | undefined, opts?: object | null): node is BlockParent; -export function assertBlockParent(node: object | null | undefined, opts?: object | null): void; -export function isBlockStatement(node: object | null | undefined, opts?: object | null): node is BlockStatement; -export function assertBlockStatement(node: object | null | undefined, opts?: object | null): void; -export function isBooleanLiteral(node: object | null | undefined, opts?: object | null): node is BooleanLiteral; -export function assertBooleanLiteral(node: object | null | undefined, opts?: object | null): void; -export function isBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanLiteralTypeAnnotation; -export function assertBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanTypeAnnotation; -export function assertBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isBreakStatement(node: object | null | undefined, opts?: object | null): node is BreakStatement; -export function assertBreakStatement(node: object | null | undefined, opts?: object | null): void; -export function isCallExpression(node: object | null | undefined, opts?: object | null): node is CallExpression; -export function assertCallExpression(node: object | null | undefined, opts?: object | null): void; -export function isCatchClause(node: object | null | undefined, opts?: object | null): node is CatchClause; -export function assertCatchClause(node: object | null | undefined, opts?: object | null): void; -export function isClass(node: object | null | undefined, opts?: object | null): node is Class; -export function assertClass(node: object | null | undefined, opts?: object | null): void; -export function isClassAccessorProperty(node: object | null | undefined, opts?: object | null): node is ClassAccessorProperty; -export function assertClassAccessorProperty(node: object | null | undefined, opts?: object | null): void; -export function isClassBody(node: object | null | undefined, opts?: object | null): node is ClassBody; -export function assertClassBody(node: object | null | undefined, opts?: object | null): void; -export function isClassDeclaration(node: object | null | undefined, opts?: object | null): node is ClassDeclaration; -export function assertClassDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isClassExpression(node: object | null | undefined, opts?: object | null): node is ClassExpression; -export function assertClassExpression(node: object | null | undefined, opts?: object | null): void; -export function isClassImplements(node: object | null | undefined, opts?: object | null): node is ClassImplements; -export function assertClassImplements(node: object | null | undefined, opts?: object | null): void; -export function isClassMethod(node: object | null | undefined, opts?: object | null): node is ClassMethod; -export function assertClassMethod(node: object | null | undefined, opts?: object | null): void; -export function isClassPrivateMethod(node: object | null | undefined, opts?: object | null): node is ClassPrivateMethod; -export function assertClassPrivateMethod(node: object | null | undefined, opts?: object | null): void; -export function isClassPrivateProperty(node: object | null | undefined, opts?: object | null): node is ClassPrivateProperty; -export function assertClassPrivateProperty(node: object | null | undefined, opts?: object | null): void; -export function isClassProperty(node: object | null | undefined, opts?: object | null): node is ClassProperty; -export function assertClassProperty(node: object | null | undefined, opts?: object | null): void; -export function isCompletionStatement(node: object | null | undefined, opts?: object | null): node is CompletionStatement; -export function assertCompletionStatement(node: object | null | undefined, opts?: object | null): void; -export function isConditional(node: object | null | undefined, opts?: object | null): node is Conditional; -export function assertConditional(node: object | null | undefined, opts?: object | null): void; -export function isConditionalExpression(node: object | null | undefined, opts?: object | null): node is ConditionalExpression; -export function assertConditionalExpression(node: object | null | undefined, opts?: object | null): void; -export function isContinueStatement(node: object | null | undefined, opts?: object | null): node is ContinueStatement; -export function assertContinueStatement(node: object | null | undefined, opts?: object | null): void; -export function isDebuggerStatement(node: object | null | undefined, opts?: object | null): node is DebuggerStatement; -export function assertDebuggerStatement(node: object | null | undefined, opts?: object | null): void; -export function isDecimalLiteral(node: object | null | undefined, opts?: object | null): node is DecimalLiteral; -export function assertDecimalLiteral(node: object | null | undefined, opts?: object | null): void; -export function isDeclaration(node: object | null | undefined, opts?: object | null): node is Declaration; -export function assertDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isDeclareClass(node: object | null | undefined, opts?: object | null): node is DeclareClass; -export function assertDeclareClass(node: object | null | undefined, opts?: object | null): void; -export function isDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportAllDeclaration; -export function assertDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportDeclaration; -export function assertDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isDeclareFunction(node: object | null | undefined, opts?: object | null): node is DeclareFunction; -export function assertDeclareFunction(node: object | null | undefined, opts?: object | null): void; -export function isDeclareInterface(node: object | null | undefined, opts?: object | null): node is DeclareInterface; -export function assertDeclareInterface(node: object | null | undefined, opts?: object | null): void; -export function isDeclareModule(node: object | null | undefined, opts?: object | null): node is DeclareModule; -export function assertDeclareModule(node: object | null | undefined, opts?: object | null): void; -export function isDeclareModuleExports(node: object | null | undefined, opts?: object | null): node is DeclareModuleExports; -export function assertDeclareModuleExports(node: object | null | undefined, opts?: object | null): void; -export function isDeclareOpaqueType(node: object | null | undefined, opts?: object | null): node is DeclareOpaqueType; -export function assertDeclareOpaqueType(node: object | null | undefined, opts?: object | null): void; -export function isDeclareTypeAlias(node: object | null | undefined, opts?: object | null): node is DeclareTypeAlias; -export function assertDeclareTypeAlias(node: object | null | undefined, opts?: object | null): void; -export function isDeclareVariable(node: object | null | undefined, opts?: object | null): node is DeclareVariable; -export function assertDeclareVariable(node: object | null | undefined, opts?: object | null): void; -export function isDeclaredPredicate(node: object | null | undefined, opts?: object | null): node is DeclaredPredicate; -export function assertDeclaredPredicate(node: object | null | undefined, opts?: object | null): void; -export function isDecorator(node: object | null | undefined, opts?: object | null): node is Decorator; -export function assertDecorator(node: object | null | undefined, opts?: object | null): void; -export function isDirective(node: object | null | undefined, opts?: object | null): node is Directive; -export function assertDirective(node: object | null | undefined, opts?: object | null): void; -export function isDirectiveLiteral(node: object | null | undefined, opts?: object | null): node is DirectiveLiteral; -export function assertDirectiveLiteral(node: object | null | undefined, opts?: object | null): void; -export function isDoExpression(node: object | null | undefined, opts?: object | null): node is DoExpression; -export function assertDoExpression(node: object | null | undefined, opts?: object | null): void; -export function isDoWhileStatement(node: object | null | undefined, opts?: object | null): node is DoWhileStatement; -export function assertDoWhileStatement(node: object | null | undefined, opts?: object | null): void; -export function isEmptyStatement(node: object | null | undefined, opts?: object | null): node is EmptyStatement; -export function assertEmptyStatement(node: object | null | undefined, opts?: object | null): void; -export function isEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is EmptyTypeAnnotation; -export function assertEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isEnumBody(node: object | null | undefined, opts?: object | null): node is EnumBody; -export function assertEnumBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumBooleanBody(node: object | null | undefined, opts?: object | null): node is EnumBooleanBody; -export function assertEnumBooleanBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumBooleanMember(node: object | null | undefined, opts?: object | null): node is EnumBooleanMember; -export function assertEnumBooleanMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumDeclaration(node: object | null | undefined, opts?: object | null): node is EnumDeclaration; -export function assertEnumDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isEnumDefaultedMember(node: object | null | undefined, opts?: object | null): node is EnumDefaultedMember; -export function assertEnumDefaultedMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumMember(node: object | null | undefined, opts?: object | null): node is EnumMember; -export function assertEnumMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumNumberBody(node: object | null | undefined, opts?: object | null): node is EnumNumberBody; -export function assertEnumNumberBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumNumberMember(node: object | null | undefined, opts?: object | null): node is EnumNumberMember; -export function assertEnumNumberMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumStringBody(node: object | null | undefined, opts?: object | null): node is EnumStringBody; -export function assertEnumStringBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumStringMember(node: object | null | undefined, opts?: object | null): node is EnumStringMember; -export function assertEnumStringMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumSymbolBody(node: object | null | undefined, opts?: object | null): node is EnumSymbolBody; -export function assertEnumSymbolBody(node: object | null | undefined, opts?: object | null): void; -export function isExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ExistsTypeAnnotation; -export function assertExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is ExportAllDeclaration; -export function assertExportAllDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDeclaration; -export function assertExportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDefaultDeclaration; -export function assertExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ExportDefaultSpecifier; -export function assertExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isExportNamedDeclaration(node: object | null | undefined, opts?: object | null): node is ExportNamedDeclaration; -export function assertExportNamedDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ExportNamespaceSpecifier; -export function assertExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isExportSpecifier(node: object | null | undefined, opts?: object | null): node is ExportSpecifier; -export function assertExportSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isExpression(node: object | null | undefined, opts?: object | null): node is Expression; -export function assertExpression(node: object | null | undefined, opts?: object | null): void; -export function isExpressionStatement(node: object | null | undefined, opts?: object | null): node is ExpressionStatement; -export function assertExpressionStatement(node: object | null | undefined, opts?: object | null): void; -export function isExpressionWrapper(node: object | null | undefined, opts?: object | null): node is ExpressionWrapper; -export function assertExpressionWrapper(node: object | null | undefined, opts?: object | null): void; -export function isFile(node: object | null | undefined, opts?: object | null): node is File; -export function assertFile(node: object | null | undefined, opts?: object | null): void; -export function isFlow(node: object | null | undefined, opts?: object | null): node is Flow; -export function assertFlow(node: object | null | undefined, opts?: object | null): void; -export function isFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): node is FlowBaseAnnotation; -export function assertFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isFlowDeclaration(node: object | null | undefined, opts?: object | null): node is FlowDeclaration; -export function assertFlowDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isFlowPredicate(node: object | null | undefined, opts?: object | null): node is FlowPredicate; -export function assertFlowPredicate(node: object | null | undefined, opts?: object | null): void; -export function isFlowType(node: object | null | undefined, opts?: object | null): node is FlowType; -export function assertFlowType(node: object | null | undefined, opts?: object | null): void; -export function isFor(node: object | null | undefined, opts?: object | null): node is For; -export function assertFor(node: object | null | undefined, opts?: object | null): void; -export function isForInStatement(node: object | null | undefined, opts?: object | null): node is ForInStatement; -export function assertForInStatement(node: object | null | undefined, opts?: object | null): void; -export function isForOfStatement(node: object | null | undefined, opts?: object | null): node is ForOfStatement; -export function assertForOfStatement(node: object | null | undefined, opts?: object | null): void; -export function isForStatement(node: object | null | undefined, opts?: object | null): node is ForStatement; -export function assertForStatement(node: object | null | undefined, opts?: object | null): void; -export function isForXStatement(node: object | null | undefined, opts?: object | null): node is ForXStatement; -export function assertForXStatement(node: object | null | undefined, opts?: object | null): void; -export function isFunction(node: object | null | undefined, opts?: object | null): node is Function; -export function assertFunction(node: object | null | undefined, opts?: object | null): void; -export function isFunctionDeclaration(node: object | null | undefined, opts?: object | null): node is FunctionDeclaration; -export function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isFunctionExpression(node: object | null | undefined, opts?: object | null): node is FunctionExpression; -export function assertFunctionExpression(node: object | null | undefined, opts?: object | null): void; -export function isFunctionParent(node: object | null | undefined, opts?: object | null): node is FunctionParent; -export function assertFunctionParent(node: object | null | undefined, opts?: object | null): void; -export function isFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is FunctionTypeAnnotation; -export function assertFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isFunctionTypeParam(node: object | null | undefined, opts?: object | null): node is FunctionTypeParam; -export function assertFunctionTypeParam(node: object | null | undefined, opts?: object | null): void; -export function isGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): node is GenericTypeAnnotation; -export function assertGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isIdentifier(node: object | null | undefined, opts?: object | null): node is Identifier; -export function assertIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isIfStatement(node: object | null | undefined, opts?: object | null): node is IfStatement; -export function assertIfStatement(node: object | null | undefined, opts?: object | null): void; -export function isImmutable(node: object | null | undefined, opts?: object | null): node is Immutable; -export function assertImmutable(node: object | null | undefined, opts?: object | null): void; -export function isImport(node: object | null | undefined, opts?: object | null): node is Import; -export function assertImport(node: object | null | undefined, opts?: object | null): void; -export function isImportAttribute(node: object | null | undefined, opts?: object | null): node is ImportAttribute; -export function assertImportAttribute(node: object | null | undefined, opts?: object | null): void; -export function isImportDeclaration(node: object | null | undefined, opts?: object | null): node is ImportDeclaration; -export function assertImportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ImportDefaultSpecifier; -export function assertImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ImportNamespaceSpecifier; -export function assertImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isImportSpecifier(node: object | null | undefined, opts?: object | null): node is ImportSpecifier; -export function assertImportSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isIndexedAccessType(node: object | null | undefined, opts?: object | null): node is IndexedAccessType; -export function assertIndexedAccessType(node: object | null | undefined, opts?: object | null): void; -export function isInferredPredicate(node: object | null | undefined, opts?: object | null): node is InferredPredicate; -export function assertInferredPredicate(node: object | null | undefined, opts?: object | null): void; -export function isInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is InterfaceDeclaration; -export function assertInterfaceDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isInterfaceExtends(node: object | null | undefined, opts?: object | null): node is InterfaceExtends; -export function assertInterfaceExtends(node: object | null | undefined, opts?: object | null): void; -export function isInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): node is InterfaceTypeAnnotation; -export function assertInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isInterpreterDirective(node: object | null | undefined, opts?: object | null): node is InterpreterDirective; -export function assertInterpreterDirective(node: object | null | undefined, opts?: object | null): void; -export function isIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is IntersectionTypeAnnotation; -export function assertIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isJSX(node: object | null | undefined, opts?: object | null): node is JSX; -export function assertJSX(node: object | null | undefined, opts?: object | null): void; -export function isJSXAttribute(node: object | null | undefined, opts?: object | null): node is JSXAttribute; -export function assertJSXAttribute(node: object | null | undefined, opts?: object | null): void; -export function isJSXClosingElement(node: object | null | undefined, opts?: object | null): node is JSXClosingElement; -export function assertJSXClosingElement(node: object | null | undefined, opts?: object | null): void; -export function isJSXClosingFragment(node: object | null | undefined, opts?: object | null): node is JSXClosingFragment; -export function assertJSXClosingFragment(node: object | null | undefined, opts?: object | null): void; -export function isJSXElement(node: object | null | undefined, opts?: object | null): node is JSXElement; -export function assertJSXElement(node: object | null | undefined, opts?: object | null): void; -export function isJSXEmptyExpression(node: object | null | undefined, opts?: object | null): node is JSXEmptyExpression; -export function assertJSXEmptyExpression(node: object | null | undefined, opts?: object | null): void; -export function isJSXExpressionContainer(node: object | null | undefined, opts?: object | null): node is JSXExpressionContainer; -export function assertJSXExpressionContainer(node: object | null | undefined, opts?: object | null): void; -export function isJSXFragment(node: object | null | undefined, opts?: object | null): node is JSXFragment; -export function assertJSXFragment(node: object | null | undefined, opts?: object | null): void; -export function isJSXIdentifier(node: object | null | undefined, opts?: object | null): node is JSXIdentifier; -export function assertJSXIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isJSXMemberExpression(node: object | null | undefined, opts?: object | null): node is JSXMemberExpression; -export function assertJSXMemberExpression(node: object | null | undefined, opts?: object | null): void; -export function isJSXNamespacedName(node: object | null | undefined, opts?: object | null): node is JSXNamespacedName; -export function assertJSXNamespacedName(node: object | null | undefined, opts?: object | null): void; -export function isJSXOpeningElement(node: object | null | undefined, opts?: object | null): node is JSXOpeningElement; -export function assertJSXOpeningElement(node: object | null | undefined, opts?: object | null): void; -export function isJSXOpeningFragment(node: object | null | undefined, opts?: object | null): node is JSXOpeningFragment; -export function assertJSXOpeningFragment(node: object | null | undefined, opts?: object | null): void; -export function isJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): node is JSXSpreadAttribute; -export function assertJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): void; -export function isJSXSpreadChild(node: object | null | undefined, opts?: object | null): node is JSXSpreadChild; -export function assertJSXSpreadChild(node: object | null | undefined, opts?: object | null): void; -export function isJSXText(node: object | null | undefined, opts?: object | null): node is JSXText; -export function assertJSXText(node: object | null | undefined, opts?: object | null): void; -export function isLVal(node: object | null | undefined, opts?: object | null): node is LVal; -export function assertLVal(node: object | null | undefined, opts?: object | null): void; -export function isLabeledStatement(node: object | null | undefined, opts?: object | null): node is LabeledStatement; -export function assertLabeledStatement(node: object | null | undefined, opts?: object | null): void; -export function isLiteral(node: object | null | undefined, opts?: object | null): node is Literal; -export function assertLiteral(node: object | null | undefined, opts?: object | null): void; -export function isLogicalExpression(node: object | null | undefined, opts?: object | null): node is LogicalExpression; -export function assertLogicalExpression(node: object | null | undefined, opts?: object | null): void; -export function isLoop(node: object | null | undefined, opts?: object | null): node is Loop; -export function assertLoop(node: object | null | undefined, opts?: object | null): void; -export function isMemberExpression(node: object | null | undefined, opts?: object | null): node is MemberExpression; -export function assertMemberExpression(node: object | null | undefined, opts?: object | null): void; -export function isMetaProperty(node: object | null | undefined, opts?: object | null): node is MetaProperty; -export function assertMetaProperty(node: object | null | undefined, opts?: object | null): void; -export function isMethod(node: object | null | undefined, opts?: object | null): node is Method; -export function assertMethod(node: object | null | undefined, opts?: object | null): void; -export function isMiscellaneous(node: object | null | undefined, opts?: object | null): node is Miscellaneous; -export function assertMiscellaneous(node: object | null | undefined, opts?: object | null): void; -export function isMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): node is MixedTypeAnnotation; -export function assertMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isModuleDeclaration(node: object | null | undefined, opts?: object | null): node is ModuleDeclaration; -export function assertModuleDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isModuleExpression(node: object | null | undefined, opts?: object | null): node is ModuleExpression; -export function assertModuleExpression(node: object | null | undefined, opts?: object | null): void; -export function isModuleSpecifier(node: object | null | undefined, opts?: object | null): node is ModuleSpecifier; -export function assertModuleSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isNewExpression(node: object | null | undefined, opts?: object | null): node is NewExpression; -export function assertNewExpression(node: object | null | undefined, opts?: object | null): void; -export function isNoop(node: object | null | undefined, opts?: object | null): node is Noop; -export function assertNoop(node: object | null | undefined, opts?: object | null): void; -export function isNullLiteral(node: object | null | undefined, opts?: object | null): node is NullLiteral; -export function assertNullLiteral(node: object | null | undefined, opts?: object | null): void; -export function isNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullLiteralTypeAnnotation; -export function assertNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullableTypeAnnotation; -export function assertNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isNumericLiteral` */ -export function isNumberLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; -/** @deprecated Use `assertNumericLiteral` */ -export function assertNumberLiteral(node: object | null | undefined, opts?: object | null): void; -export function isNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberLiteralTypeAnnotation; -export function assertNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberTypeAnnotation; -export function assertNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isNumericLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; -export function assertNumericLiteral(node: object | null | undefined, opts?: object | null): void; -export function isObjectExpression(node: object | null | undefined, opts?: object | null): node is ObjectExpression; -export function assertObjectExpression(node: object | null | undefined, opts?: object | null): void; -export function isObjectMember(node: object | null | undefined, opts?: object | null): node is ObjectMember; -export function assertObjectMember(node: object | null | undefined, opts?: object | null): void; -export function isObjectMethod(node: object | null | undefined, opts?: object | null): node is ObjectMethod; -export function assertObjectMethod(node: object | null | undefined, opts?: object | null): void; -export function isObjectPattern(node: object | null | undefined, opts?: object | null): node is ObjectPattern; -export function assertObjectPattern(node: object | null | undefined, opts?: object | null): void; -export function isObjectProperty(node: object | null | undefined, opts?: object | null): node is ObjectProperty; -export function assertObjectProperty(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ObjectTypeAnnotation; -export function assertObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeCallProperty; -export function assertObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeIndexer(node: object | null | undefined, opts?: object | null): node is ObjectTypeIndexer; -export function assertObjectTypeIndexer(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): node is ObjectTypeInternalSlot; -export function assertObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeProperty; -export function assertObjectTypeProperty(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeSpreadProperty; -export function assertObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): void; -export function isOpaqueType(node: object | null | undefined, opts?: object | null): node is OpaqueType; -export function assertOpaqueType(node: object | null | undefined, opts?: object | null): void; -export function isOptionalCallExpression(node: object | null | undefined, opts?: object | null): node is OptionalCallExpression; -export function assertOptionalCallExpression(node: object | null | undefined, opts?: object | null): void; -export function isOptionalIndexedAccessType(node: object | null | undefined, opts?: object | null): node is OptionalIndexedAccessType; -export function assertOptionalIndexedAccessType(node: object | null | undefined, opts?: object | null): void; -export function isOptionalMemberExpression(node: object | null | undefined, opts?: object | null): node is OptionalMemberExpression; -export function assertOptionalMemberExpression(node: object | null | undefined, opts?: object | null): void; -export function isParenthesizedExpression(node: object | null | undefined, opts?: object | null): node is ParenthesizedExpression; -export function assertParenthesizedExpression(node: object | null | undefined, opts?: object | null): void; -export function isPattern(node: object | null | undefined, opts?: object | null): node is Pattern; -export function assertPattern(node: object | null | undefined, opts?: object | null): void; -export function isPatternLike(node: object | null | undefined, opts?: object | null): node is PatternLike; -export function assertPatternLike(node: object | null | undefined, opts?: object | null): void; -export function isPipelineBareFunction(node: object | null | undefined, opts?: object | null): node is PipelineBareFunction; -export function assertPipelineBareFunction(node: object | null | undefined, opts?: object | null): void; -export function isPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): node is PipelinePrimaryTopicReference; -export function assertPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): void; -export function isPipelineTopicExpression(node: object | null | undefined, opts?: object | null): node is PipelineTopicExpression; -export function assertPipelineTopicExpression(node: object | null | undefined, opts?: object | null): void; -export function isPlaceholder(node: object | null | undefined, opts?: object | null): node is Placeholder; -export function assertPlaceholder(node: object | null | undefined, opts?: object | null): void; -export function isPrivate(node: object | null | undefined, opts?: object | null): node is Private; -export function assertPrivate(node: object | null | undefined, opts?: object | null): void; -export function isPrivateName(node: object | null | undefined, opts?: object | null): node is PrivateName; -export function assertPrivateName(node: object | null | undefined, opts?: object | null): void; -export function isProgram(node: object | null | undefined, opts?: object | null): node is Program; -export function assertProgram(node: object | null | undefined, opts?: object | null): void; -export function isProperty(node: object | null | undefined, opts?: object | null): node is Property; -export function assertProperty(node: object | null | undefined, opts?: object | null): void; -export function isPureish(node: object | null | undefined, opts?: object | null): node is Pureish; -export function assertPureish(node: object | null | undefined, opts?: object | null): void; -export function isQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): node is QualifiedTypeIdentifier; -export function assertQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isRecordExpression(node: object | null | undefined, opts?: object | null): node is RecordExpression; -export function assertRecordExpression(node: object | null | undefined, opts?: object | null): void; -export function isRegExpLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; -export function assertRegExpLiteral(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isRegExpLiteral` */ -export function isRegexLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; -/** @deprecated Use `assertRegExpLiteral` */ -export function assertRegexLiteral(node: object | null | undefined, opts?: object | null): void; -export function isRestElement(node: object | null | undefined, opts?: object | null): node is RestElement; -export function assertRestElement(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isRestElement` */ -export function isRestProperty(node: object | null | undefined, opts?: object | null): node is RestElement; -/** @deprecated Use `assertRestElement` */ -export function assertRestProperty(node: object | null | undefined, opts?: object | null): void; -export function isReturnStatement(node: object | null | undefined, opts?: object | null): node is ReturnStatement; -export function assertReturnStatement(node: object | null | undefined, opts?: object | null): void; -export function isScopable(node: object | null | undefined, opts?: object | null): node is Scopable; -export function assertScopable(node: object | null | undefined, opts?: object | null): void; -export function isSequenceExpression(node: object | null | undefined, opts?: object | null): node is SequenceExpression; -export function assertSequenceExpression(node: object | null | undefined, opts?: object | null): void; -export function isSpreadElement(node: object | null | undefined, opts?: object | null): node is SpreadElement; -export function assertSpreadElement(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isSpreadElement` */ -export function isSpreadProperty(node: object | null | undefined, opts?: object | null): node is SpreadElement; -/** @deprecated Use `assertSpreadElement` */ -export function assertSpreadProperty(node: object | null | undefined, opts?: object | null): void; -export function isStandardized(node: object | null | undefined, opts?: object | null): node is Standardized; -export function assertStandardized(node: object | null | undefined, opts?: object | null): void; -export function isStatement(node: object | null | undefined, opts?: object | null): node is Statement; -export function assertStatement(node: object | null | undefined, opts?: object | null): void; -export function isStaticBlock(node: object | null | undefined, opts?: object | null): node is StaticBlock; -export function assertStaticBlock(node: object | null | undefined, opts?: object | null): void; -export function isStringLiteral(node: object | null | undefined, opts?: object | null): node is StringLiteral; -export function assertStringLiteral(node: object | null | undefined, opts?: object | null): void; -export function isStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringLiteralTypeAnnotation; -export function assertStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isStringTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringTypeAnnotation; -export function assertStringTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isSuper(node: object | null | undefined, opts?: object | null): node is Super; -export function assertSuper(node: object | null | undefined, opts?: object | null): void; -export function isSwitchCase(node: object | null | undefined, opts?: object | null): node is SwitchCase; -export function assertSwitchCase(node: object | null | undefined, opts?: object | null): void; -export function isSwitchStatement(node: object | null | undefined, opts?: object | null): node is SwitchStatement; -export function assertSwitchStatement(node: object | null | undefined, opts?: object | null): void; -export function isSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): node is SymbolTypeAnnotation; -export function assertSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTSAnyKeyword(node: object | null | undefined, opts?: object | null): node is TSAnyKeyword; -export function assertTSAnyKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSArrayType(node: object | null | undefined, opts?: object | null): node is TSArrayType; -export function assertTSArrayType(node: object | null | undefined, opts?: object | null): void; -export function isTSAsExpression(node: object | null | undefined, opts?: object | null): node is TSAsExpression; -export function assertTSAsExpression(node: object | null | undefined, opts?: object | null): void; -export function isTSBaseType(node: object | null | undefined, opts?: object | null): node is TSBaseType; -export function assertTSBaseType(node: object | null | undefined, opts?: object | null): void; -export function isTSBigIntKeyword(node: object | null | undefined, opts?: object | null): node is TSBigIntKeyword; -export function assertTSBigIntKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSBooleanKeyword(node: object | null | undefined, opts?: object | null): node is TSBooleanKeyword; -export function assertTSBooleanKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSCallSignatureDeclaration; -export function assertTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSConditionalType(node: object | null | undefined, opts?: object | null): node is TSConditionalType; -export function assertTSConditionalType(node: object | null | undefined, opts?: object | null): void; -export function isTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSConstructSignatureDeclaration; -export function assertTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSConstructorType(node: object | null | undefined, opts?: object | null): node is TSConstructorType; -export function assertTSConstructorType(node: object | null | undefined, opts?: object | null): void; -export function isTSDeclareFunction(node: object | null | undefined, opts?: object | null): node is TSDeclareFunction; -export function assertTSDeclareFunction(node: object | null | undefined, opts?: object | null): void; -export function isTSDeclareMethod(node: object | null | undefined, opts?: object | null): node is TSDeclareMethod; -export function assertTSDeclareMethod(node: object | null | undefined, opts?: object | null): void; -export function isTSEntityName(node: object | null | undefined, opts?: object | null): node is TSEntityName; -export function assertTSEntityName(node: object | null | undefined, opts?: object | null): void; -export function isTSEnumDeclaration(node: object | null | undefined, opts?: object | null): node is TSEnumDeclaration; -export function assertTSEnumDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSEnumMember(node: object | null | undefined, opts?: object | null): node is TSEnumMember; -export function assertTSEnumMember(node: object | null | undefined, opts?: object | null): void; -export function isTSExportAssignment(node: object | null | undefined, opts?: object | null): node is TSExportAssignment; -export function assertTSExportAssignment(node: object | null | undefined, opts?: object | null): void; -export function isTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): node is TSExpressionWithTypeArguments; -export function assertTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): void; -export function isTSExternalModuleReference(node: object | null | undefined, opts?: object | null): node is TSExternalModuleReference; -export function assertTSExternalModuleReference(node: object | null | undefined, opts?: object | null): void; -export function isTSFunctionType(node: object | null | undefined, opts?: object | null): node is TSFunctionType; -export function assertTSFunctionType(node: object | null | undefined, opts?: object | null): void; -export function isTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): node is TSImportEqualsDeclaration; -export function assertTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSImportType(node: object | null | undefined, opts?: object | null): node is TSImportType; -export function assertTSImportType(node: object | null | undefined, opts?: object | null): void; -export function isTSIndexSignature(node: object | null | undefined, opts?: object | null): node is TSIndexSignature; -export function assertTSIndexSignature(node: object | null | undefined, opts?: object | null): void; -export function isTSIndexedAccessType(node: object | null | undefined, opts?: object | null): node is TSIndexedAccessType; -export function assertTSIndexedAccessType(node: object | null | undefined, opts?: object | null): void; -export function isTSInferType(node: object | null | undefined, opts?: object | null): node is TSInferType; -export function assertTSInferType(node: object | null | undefined, opts?: object | null): void; -export function isTSInstantiationExpression(node: object | null | undefined, opts?: object | null): node is TSInstantiationExpression; -export function assertTSInstantiationExpression(node: object | null | undefined, opts?: object | null): void; -export function isTSInterfaceBody(node: object | null | undefined, opts?: object | null): node is TSInterfaceBody; -export function assertTSInterfaceBody(node: object | null | undefined, opts?: object | null): void; -export function isTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is TSInterfaceDeclaration; -export function assertTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSIntersectionType(node: object | null | undefined, opts?: object | null): node is TSIntersectionType; -export function assertTSIntersectionType(node: object | null | undefined, opts?: object | null): void; -export function isTSIntrinsicKeyword(node: object | null | undefined, opts?: object | null): node is TSIntrinsicKeyword; -export function assertTSIntrinsicKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSLiteralType(node: object | null | undefined, opts?: object | null): node is TSLiteralType; -export function assertTSLiteralType(node: object | null | undefined, opts?: object | null): void; -export function isTSMappedType(node: object | null | undefined, opts?: object | null): node is TSMappedType; -export function assertTSMappedType(node: object | null | undefined, opts?: object | null): void; -export function isTSMethodSignature(node: object | null | undefined, opts?: object | null): node is TSMethodSignature; -export function assertTSMethodSignature(node: object | null | undefined, opts?: object | null): void; -export function isTSModuleBlock(node: object | null | undefined, opts?: object | null): node is TSModuleBlock; -export function assertTSModuleBlock(node: object | null | undefined, opts?: object | null): void; -export function isTSModuleDeclaration(node: object | null | undefined, opts?: object | null): node is TSModuleDeclaration; -export function assertTSModuleDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSNamedTupleMember(node: object | null | undefined, opts?: object | null): node is TSNamedTupleMember; -export function assertTSNamedTupleMember(node: object | null | undefined, opts?: object | null): void; -export function isTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): node is TSNamespaceExportDeclaration; -export function assertTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSNeverKeyword(node: object | null | undefined, opts?: object | null): node is TSNeverKeyword; -export function assertTSNeverKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSNonNullExpression(node: object | null | undefined, opts?: object | null): node is TSNonNullExpression; -export function assertTSNonNullExpression(node: object | null | undefined, opts?: object | null): void; -export function isTSNullKeyword(node: object | null | undefined, opts?: object | null): node is TSNullKeyword; -export function assertTSNullKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSNumberKeyword(node: object | null | undefined, opts?: object | null): node is TSNumberKeyword; -export function assertTSNumberKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSObjectKeyword(node: object | null | undefined, opts?: object | null): node is TSObjectKeyword; -export function assertTSObjectKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSOptionalType(node: object | null | undefined, opts?: object | null): node is TSOptionalType; -export function assertTSOptionalType(node: object | null | undefined, opts?: object | null): void; -export function isTSParameterProperty(node: object | null | undefined, opts?: object | null): node is TSParameterProperty; -export function assertTSParameterProperty(node: object | null | undefined, opts?: object | null): void; -export function isTSParenthesizedType(node: object | null | undefined, opts?: object | null): node is TSParenthesizedType; -export function assertTSParenthesizedType(node: object | null | undefined, opts?: object | null): void; -export function isTSPropertySignature(node: object | null | undefined, opts?: object | null): node is TSPropertySignature; -export function assertTSPropertySignature(node: object | null | undefined, opts?: object | null): void; -export function isTSQualifiedName(node: object | null | undefined, opts?: object | null): node is TSQualifiedName; -export function assertTSQualifiedName(node: object | null | undefined, opts?: object | null): void; -export function isTSRestType(node: object | null | undefined, opts?: object | null): node is TSRestType; -export function assertTSRestType(node: object | null | undefined, opts?: object | null): void; -export function isTSStringKeyword(node: object | null | undefined, opts?: object | null): node is TSStringKeyword; -export function assertTSStringKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSSymbolKeyword(node: object | null | undefined, opts?: object | null): node is TSSymbolKeyword; -export function assertTSSymbolKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSThisType(node: object | null | undefined, opts?: object | null): node is TSThisType; -export function assertTSThisType(node: object | null | undefined, opts?: object | null): void; -export function isTSTupleType(node: object | null | undefined, opts?: object | null): node is TSTupleType; -export function assertTSTupleType(node: object | null | undefined, opts?: object | null): void; -export function isTSType(node: object | null | undefined, opts?: object | null): node is TSType; -export function assertTSType(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeAliasDeclaration; -export function assertTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TSTypeAnnotation; -export function assertTSTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeAssertion(node: object | null | undefined, opts?: object | null): node is TSTypeAssertion; -export function assertTSTypeAssertion(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeElement(node: object | null | undefined, opts?: object | null): node is TSTypeElement; -export function assertTSTypeElement(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeLiteral(node: object | null | undefined, opts?: object | null): node is TSTypeLiteral; -export function assertTSTypeLiteral(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeOperator(node: object | null | undefined, opts?: object | null): node is TSTypeOperator; -export function assertTSTypeOperator(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeParameter(node: object | null | undefined, opts?: object | null): node is TSTypeParameter; -export function assertTSTypeParameter(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeParameterDeclaration; -export function assertTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TSTypeParameterInstantiation; -export function assertTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): void; -export function isTSTypePredicate(node: object | null | undefined, opts?: object | null): node is TSTypePredicate; -export function assertTSTypePredicate(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeQuery(node: object | null | undefined, opts?: object | null): node is TSTypeQuery; -export function assertTSTypeQuery(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeReference(node: object | null | undefined, opts?: object | null): node is TSTypeReference; -export function assertTSTypeReference(node: object | null | undefined, opts?: object | null): void; -export function isTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): node is TSUndefinedKeyword; -export function assertTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSUnionType(node: object | null | undefined, opts?: object | null): node is TSUnionType; -export function assertTSUnionType(node: object | null | undefined, opts?: object | null): void; -export function isTSUnknownKeyword(node: object | null | undefined, opts?: object | null): node is TSUnknownKeyword; -export function assertTSUnknownKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSVoidKeyword(node: object | null | undefined, opts?: object | null): node is TSVoidKeyword; -export function assertTSVoidKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): node is TaggedTemplateExpression; -export function assertTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): void; -export function isTemplateElement(node: object | null | undefined, opts?: object | null): node is TemplateElement; -export function assertTemplateElement(node: object | null | undefined, opts?: object | null): void; -export function isTemplateLiteral(node: object | null | undefined, opts?: object | null): node is TemplateLiteral; -export function assertTemplateLiteral(node: object | null | undefined, opts?: object | null): void; -export function isTerminatorless(node: object | null | undefined, opts?: object | null): node is Terminatorless; -export function assertTerminatorless(node: object | null | undefined, opts?: object | null): void; -export function isThisExpression(node: object | null | undefined, opts?: object | null): node is ThisExpression; -export function assertThisExpression(node: object | null | undefined, opts?: object | null): void; -export function isThisTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ThisTypeAnnotation; -export function assertThisTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isThrowStatement(node: object | null | undefined, opts?: object | null): node is ThrowStatement; -export function assertThrowStatement(node: object | null | undefined, opts?: object | null): void; -export function isTopicReference(node: object | null | undefined, opts?: object | null): node is TopicReference; -export function assertTopicReference(node: object | null | undefined, opts?: object | null): void; -export function isTryStatement(node: object | null | undefined, opts?: object | null): node is TryStatement; -export function assertTryStatement(node: object | null | undefined, opts?: object | null): void; -export function isTupleExpression(node: object | null | undefined, opts?: object | null): node is TupleExpression; -export function assertTupleExpression(node: object | null | undefined, opts?: object | null): void; -export function isTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TupleTypeAnnotation; -export function assertTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTypeAlias(node: object | null | undefined, opts?: object | null): node is TypeAlias; -export function assertTypeAlias(node: object | null | undefined, opts?: object | null): void; -export function isTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeAnnotation; -export function assertTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTypeCastExpression(node: object | null | undefined, opts?: object | null): node is TypeCastExpression; -export function assertTypeCastExpression(node: object | null | undefined, opts?: object | null): void; -export function isTypeParameter(node: object | null | undefined, opts?: object | null): node is TypeParameter; -export function assertTypeParameter(node: object | null | undefined, opts?: object | null): void; -export function isTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TypeParameterDeclaration; -export function assertTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TypeParameterInstantiation; -export function assertTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): void; -export function isTypeScript(node: object | null | undefined, opts?: object | null): node is TypeScript; -export function assertTypeScript(node: object | null | undefined, opts?: object | null): void; -export function isTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeofTypeAnnotation; -export function assertTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isUnaryExpression(node: object | null | undefined, opts?: object | null): node is UnaryExpression; -export function assertUnaryExpression(node: object | null | undefined, opts?: object | null): void; -export function isUnaryLike(node: object | null | undefined, opts?: object | null): node is UnaryLike; -export function assertUnaryLike(node: object | null | undefined, opts?: object | null): void; -export function isUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is UnionTypeAnnotation; -export function assertUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isUpdateExpression(node: object | null | undefined, opts?: object | null): node is UpdateExpression; -export function assertUpdateExpression(node: object | null | undefined, opts?: object | null): void; -export function isUserWhitespacable(node: object | null | undefined, opts?: object | null): node is UserWhitespacable; -export function assertUserWhitespacable(node: object | null | undefined, opts?: object | null): void; -export function isV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): node is V8IntrinsicIdentifier; -export function assertV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isVariableDeclaration(node: object | null | undefined, opts?: object | null): node is VariableDeclaration; -export function assertVariableDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isVariableDeclarator(node: object | null | undefined, opts?: object | null): node is VariableDeclarator; -export function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): void; -export function isVariance(node: object | null | undefined, opts?: object | null): node is Variance; -export function assertVariance(node: object | null | undefined, opts?: object | null): void; -export function isVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): node is VoidTypeAnnotation; -export function assertVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isWhile(node: object | null | undefined, opts?: object | null): node is While; -export function assertWhile(node: object | null | undefined, opts?: object | null): void; -export function isWhileStatement(node: object | null | undefined, opts?: object | null): node is WhileStatement; -export function assertWhileStatement(node: object | null | undefined, opts?: object | null): void; -export function isWithStatement(node: object | null | undefined, opts?: object | null): node is WithStatement; -export function assertWithStatement(node: object | null | undefined, opts?: object | null): void; -export function isYieldExpression(node: object | null | undefined, opts?: object | null): node is YieldExpression; -export function assertYieldExpression(node: object | null | undefined, opts?: object | null): void; -export function assertNode(obj: any): void -export function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): StringTypeAnnotation | VoidTypeAnnotation | NumberTypeAnnotation | BooleanTypeAnnotation | GenericTypeAnnotation -export function createUnionTypeAnnotation(types: [T]): T -export function createFlowUnionType(types: [T]): T -export function createUnionTypeAnnotation(types: ReadonlyArray): UnionTypeAnnotation -export function createFlowUnionType(types: ReadonlyArray): UnionTypeAnnotation -export function buildChildren(node: { children: ReadonlyArray }): JSXElement['children'] -export function clone(n: T): T; -export function cloneDeep(n: T): T; -export function cloneDeepWithoutLoc(n: T): T; -export function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T; -export function cloneWithoutLoc(n: T): T; -export type CommentTypeShorthand = 'leading' | 'inner' | 'trailing' -export function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T -export function addComments(node: T, type: CommentTypeShorthand, comments: ReadonlyArray): T -export function inheritInnerComments(node: Node, parent: Node): void -export function inheritLeadingComments(node: Node, parent: Node): void -export function inheritsComments(node: T, parent: Node): void -export function inheritTrailingComments(node: Node, parent: Node): void -export function removeComments(node: T): T -export function ensureBlock(node: Extract): BlockStatement -export function ensureBlock = 'body'>(node: Extract>, key: K): BlockStatement -export function toBindingIdentifierName(name: { toString(): string } | null | undefined): string -export function toBlock(node: Statement | Expression, parent?: Function | null): BlockStatement -export function toComputedKey>(node: T, key?: Expression | Identifier): Expression -export function toExpression(node: Function): FunctionExpression -export function toExpression(node: Class): ClassExpression -export function toExpression(node: ExpressionStatement | Expression | Class | Function): Expression -export function toIdentifier(name: { toString(): string } | null | undefined): string -export function toKeyAlias(node: Method | Property, key?: Node): string -export function toSequenceExpression(nodes: ReadonlyArray, scope: { push(value: { id: LVal; kind: 'var'; init?: Expression}): void; buildUndefinedNode(): Node }): SequenceExpression | undefined -export function toStatement(node: AssignmentExpression, ignore?: boolean): ExpressionStatement -export function toStatement(node: Statement | AssignmentExpression, ignore?: boolean): Statement -export function toStatement(node: Class, ignore: true): ClassDeclaration | undefined -export function toStatement(node: Class, ignore?: boolean): ClassDeclaration -export function toStatement(node: Function, ignore: true): FunctionDeclaration | undefined -export function toStatement(node: Function, ignore?: boolean): FunctionDeclaration -export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore: true): Statement | undefined -export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore?: boolean): Statement -export function valueToNode(value: undefined): Identifier -export function valueToNode(value: boolean): BooleanLiteral -export function valueToNode(value: null): NullLiteral -export function valueToNode(value: string): StringLiteral -export function valueToNode(value: number): NumericLiteral | BinaryExpression | UnaryExpression -export function valueToNode(value: RegExp): RegExpLiteral -export function valueToNode(value: ReadonlyArray): ArrayExpression -export function valueToNode(value: object): ObjectExpression -export function valueToNode(value: undefined | boolean | null | string | number | RegExp | object): Expression -export function removeTypeDuplicates(types: ReadonlyArray): FlowType[] -export function appendToMemberExpression>(member: T, append: MemberExpression['property'], computed?: boolean): T -export function inherits(child: T, parent: Node | null | undefined): T -export function prependToMemberExpression>(member: T, prepend: MemberExpression['object']): T -export function removeProperties( - n: Node, - opts?: { preserveComments: boolean } | null -): void; -export function removePropertiesDeep( - n: T, - opts?: { preserveComments: boolean } | null -): T; -export function getBindingIdentifiers(node: Node, duplicates: true, outerOnly?: boolean): Record> -export function getBindingIdentifiers(node: Node, duplicates?: false, outerOnly?: boolean): Record -export function getBindingIdentifiers(node: Node, duplicates: boolean, outerOnly?: boolean): Record> -export function getOuterBindingIdentifiers(node: Node, duplicates: true): Record> -export function getOuterBindingIdentifiers(node: Node, duplicates?: false): Record -export function getOuterBindingIdentifiers(node: Node, duplicates: boolean): Record> -export type TraversalAncestors = ReadonlyArray<{ - node: Node, - key: string, - index?: number, -}>; -export type TraversalHandler = ( - this: undefined, node: Node, parent: TraversalAncestors, type: T -) => void; -export type TraversalHandlers = { - enter?: TraversalHandler, - exit?: TraversalHandler, -}; -export function traverse(n: Node, h: TraversalHandler | TraversalHandlers, state?: T): void; -export function traverseFast(n: Node, h: TraversalHandler, state?: T): void; -export function shallowEqual(actual: object, expected: T): actual is T -export function buildMatchMemberExpression(match: string, allowPartial?: boolean): (node: Node | null | undefined) => node is MemberExpression -export function is(type: T, n: Node | null | undefined, required?: undefined): n is Extract -export function is>(type: T, n: Node | null | undefined, required: Partial

): n is P -export function is

(type: string, n: Node | null | undefined, required: Partial

): n is P -export function is(type: string, n: Node | null | undefined, required?: Partial): n is Node -export function isBinding(node: Node, parent: Node, grandparent?: Node): boolean -export function isBlockScoped(node: Node): node is FunctionDeclaration | ClassDeclaration | VariableDeclaration -export function isImmutable(node: Node): node is Immutable -export function isLet(node: Node): node is VariableDeclaration -export function isNode(node: object | null | undefined): node is Node -export function isNodesEquivalent>(a: T, b: any): b is T -export function isNodesEquivalent(a: any, b: any): boolean -export function isPlaceholderType(placeholderType: Node['type'], targetType: Node['type']): boolean -export function isReferenced(node: Node, parent: Node, grandparent?: Node): boolean -export function isScope(node: Node, parent: Node): node is Scopable -export function isSpecifierDefault(specifier: ModuleSpecifier): boolean -export function isType(nodetype: string, targetType: T): nodetype is T -export function isType(nodetype: string | null | undefined, targetType: string): boolean -export function isValidES3Identifier(name: string): boolean -export function isValidIdentifier(name: string): boolean -export function isVar(node: Node): node is VariableDeclaration -export function matchesPattern(node: Node | null | undefined, match: string | ReadonlyArray, allowPartial?: boolean): node is MemberExpression -export function validate(n: Node | null | undefined, key: K, value: T[K]): void; -export function validate(n: Node, key: string, value: any): void; diff --git a/packages/builder/builder-shared/compiled/@babel/types/license b/packages/builder/builder-shared/compiled/@babel/types/license deleted file mode 100644 index f31575ec773b..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/types/license +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/@babel/types/package.json b/packages/builder/builder-shared/compiled/@babel/types/package.json deleted file mode 100644 index c47d285e73be..000000000000 --- a/packages/builder/builder-shared/compiled/@babel/types/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/types","author":"The Babel Team (https://babel.dev/team)","version":"7.18.4","license":"MIT","types":"./lib/index-legacy.d.ts"} diff --git a/packages/builder/builder-shared/compiled/pug/index.js b/packages/builder/builder-shared/compiled/pug/index.js index 5082ccec8faa..5ba3dd51a435 100644 --- a/packages/builder/builder-shared/compiled/pug/index.js +++ b/packages/builder/builder-shared/compiled/pug/index.js @@ -1,4 +1,4 @@ -(()=>{var e={5808:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:i,"5module":i+" export import",6:i+" const class extends export import super"};var n=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var o=new RegExp("["+s+"]");var l=new RegExp("["+s+a+"]");s=a=null;var c=[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];var u=[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){var i=65536;for(var r=0;re){return false}i+=t[r+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&l.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)||isInAstralSet(e,u)}var h=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new h(e,{beforeExpr:true,binop:t})}var p={beforeExpr:true},f={startsExpr:true};var d={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return d[e]=new h(e,t)}var m={num:new h("num",f),regexp:new h("regexp",f),string:new h("string",f),name:new h("name",f),eof:new h("eof"),bracketL:new h("[",{beforeExpr:true,startsExpr:true}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:true,startsExpr:true}),braceR:new h("}"),parenL:new h("(",{beforeExpr:true,startsExpr:true}),parenR:new h(")"),comma:new h(",",p),semi:new h(";",p),colon:new h(":",p),dot:new h("."),question:new h("?",p),questionDot:new h("?."),arrow:new h("=>",p),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",p),backQuote:new h("`",f),dollarBraceL:new h("${",{beforeExpr:true,startsExpr:true}),eq:new h("=",{beforeExpr:true,isAssign:true}),assign:new h("_=",{beforeExpr:true,isAssign:true}),incDec:new h("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new h("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new h("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new h("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",f),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",f),_super:kw("super",f),_class:kw("class",f),_extends:kw("extends",p),_export:kw("export"),_import:kw("import",f),_null:kw("null",f),_true:kw("true",f),_false:kw("false",f),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var v=/\r\n?|\n|\u2028|\u2029/;var y=new RegExp(v.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var g=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var x=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var b=Object.prototype;var k=b.hasOwnProperty;var _=b.toString;function has(e,t){return k.call(e,t)}var w=Array.isArray||function(e){return _.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var E=function Position(e,t){this.line=e;this.column=t};E.prototype.offset=function offset(e){return new E(this.line,this.column+e)};var C=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,r=0;;){y.lastIndex=r;var n=y.exec(e);if(n&&n.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(w(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(w(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,r,n,s,a,o){var l={type:i?"Block":"Line",value:r,start:n,end:s};if(e.locations){l.loc=new C(this,a,o)}if(e.ranges){l.range=[n,s]}t.push(l)}}var S=1,T=2,I=S|T,P=4,N=8,O=16,F=32,L=64,R=128;function functionFlags(e,t){return T|(e?P:0)|(t?N:0)}var D=0,B=1,M=2,j=3,V=4,U=5;var z=function Parser(e,i,n){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){for(var a=e.ecmaVersion;;a--){if(s=t[a]){break}}if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var o=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(o);this.reservedWordsStrictBind=wordsRegexp(o+" "+t.strictBind);this.input=String(i);this.containsEsc=false;if(n){this.pos=n;this.lineStart=this.input.lastIndexOf("\n",n-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(v).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=m.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(S);this.regexpState=null};var q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};z.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};q.inFunction.get=function(){return(this.currentVarScope().flags&T)>0};q.inGenerator.get=function(){return(this.currentVarScope().flags&N)>0};q.inAsync.get=function(){return(this.currentVarScope().flags&P)>0};q.allowSuper.get=function(){return(this.currentThisScope().flags&L)>0};q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&R)>0};q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};z.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&T)>0};z.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var r=0;r=,?^&]/.test(n)||n==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length;x.lastIndex=e;e+=x.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};H.eat=function(e){if(this.type===e){this.next();return true}else{return false}};H.isContextual=function(e){return this.type===m.name&&this.value===e&&!this.containsEsc};H.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};H.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};H.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||v.test(this.input.slice(this.lastTokEnd,this.start))};H.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};H.semicolon=function(){if(!this.eat(m.semi)&&!this.insertSemicolon()){this.unexpected()}};H.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};H.expect=function(e){this.eat(e)||this.unexpected()};H.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};H.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var r=e.doubleProto;if(!t){return i>=0||r>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};H.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(n,false,!e);case m._class:if(e){this.unexpected()}return this.parseClass(n,true);case m._if:return this.parseIfStatement(n);case m._return:return this.parseReturnStatement(n);case m._switch:return this.parseSwitchStatement(n);case m._throw:return this.parseThrowStatement(n);case m._try:return this.parseTryStatement(n);case m._const:case m._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(n,s);case m._while:return this.parseWhileStatement(n);case m._with:return this.parseWithStatement(n);case m.braceL:return this.parseBlock(true,n);case m.semi:return this.parseEmptyStatement(n);case m._export:case m._import:if(this.options.ecmaVersion>10&&r===m._import){x.lastIndex=this.pos;var a=x.exec(this.input);var o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(l===40||l===46){return this.parseExpressionStatement(n,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===m._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(n,true,!e)}var c=this.value,u=this.parseExpression();if(r===m.name&&u.type==="Identifier"&&this.eat(m.colon)){return this.parseLabeledStatement(n,c,u,e)}else{return this.parseExpressionStatement(n,u)}}};W.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==m.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r=6){this.eat(m.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(G);this.enterScope(0);this.expect(m.parenL);if(this.type===m.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===m._var||this.type===m._const||i){var r=this.startNode(),n=i?"let":this.value;this.next();this.parseVar(r,true,n);this.finishNode(r,"VariableDeclaration");if((this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var s=new DestructuringErrors;var a=this.parseExpression(true,s);if(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(a,false,s);this.checkLVal(a);return this.parseForIn(e,a)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)};W.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,Q|(i?0:X),false,t)};W.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(m._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};W.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};W.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(m.braceL);this.labels.push(K);this.enterScope(0);var t;for(var i=false;this.type!==m.braceR;){if(this.type===m._case||this.type===m._default){var r=this.type===m._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(m.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};W.parseThrowStatement=function(e){this.next();if(v.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var Y=[];W.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===m._catch){var t=this.startNode();this.next();if(this.eat(m.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?F:0);this.checkLVal(t.param,i?V:M);this.expect(m.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(m._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};W.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};W.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(G);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};W.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};W.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};W.parseLabeledStatement=function(e,t,i,r){for(var n=0,s=this.labels;n=0;l--){var c=this.labels[l];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};W.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};W.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(m.braceL);if(e){this.enterScope(0)}while(this.type!==m.braceR){var r=this.parseStatement(null);t.body.push(r)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};W.parseFor=function(e,t){e.init=t;this.expect(m.semi);e.test=this.type===m.semi?null:this.parseExpression();this.expect(m.semi);e.update=this.type===m.parenR?null:this.parseExpression();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};W.parseForIn=function(e,t){var i=this.type===m._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(t.type==="AssignmentPattern"){this.raise(t.start,"Invalid left-hand side in for-loop")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};W.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var r=this.startNode();this.parseVarId(r,i);if(this.eat(m.eq)){r.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===m._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(m.comma)){break}}return e};W.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,t==="var"?B:M,false)};var Q=1,X=2,J=4;W.parseFunction=function(e,t,i,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===m.star&&t&X){this.unexpected()}e.generator=this.eat(m.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&Q){e.id=t&J&&this.type!==m.name?null:this.parseIdent();if(e.id&&!(t&X)){this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?B:M:j)}}var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&Q)){e.id=this.type===m.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,t&Q?"FunctionDeclaration":"FunctionExpression")};W.parseFunctionParams=function(e){this.expect(m.parenL);e.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};W.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.startNode();var n=false;r.body=[];this.expect(m.braceL);while(this.type!==m.braceR){var s=this.parseClassElement(e.superClass!==null);if(s){r.body.push(s);if(s.type==="MethodDefinition"&&s.kind==="constructor"){if(n){this.raise(s.start,"Duplicate constructor in the same class")}n=true}}}this.strict=i;this.next();e.body=this.finishNode(r,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};W.parseClassElement=function(e){var t=this;if(this.eat(m.semi)){return null}var i=this.startNode();var tryContextual=function(e,r){if(r===void 0)r=false;var n=t.start,s=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==m.parenL&&(!r||!t.canInsertSemicolon())){return true}if(i.key){t.unexpected()}i.computed=false;i.key=t.startNodeAt(n,s);i.key.name=e;t.finishNode(i.key,"Identifier");return false};i.kind="method";i.static=tryContextual("static");var r=this.eat(m.star);var n=false;if(!r){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){n=true;r=this.options.ecmaVersion>=9&&this.eat(m.star)}else if(tryContextual("get")){i.kind="get"}else if(tryContextual("set")){i.kind="set"}}if(!i.key){this.parsePropertyName(i)}var s=i.key;var a=false;if(!i.computed&&!i.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")){if(i.kind!=="method"){this.raise(s.start,"Constructor can't have get/set modifier")}if(r){this.raise(s.start,"Constructor can't be a generator")}if(n){this.raise(s.start,"Constructor can't be an async method")}i.kind="constructor";a=e}else if(i.static&&s.type==="Identifier"&&s.name==="prototype"){this.raise(s.start,"Classes may not have a static property named prototype")}this.parseClassMethod(i,r,n,a);if(i.kind==="get"&&i.value.params.length!==0){this.raiseRecoverable(i.value.start,"getter should have no params")}if(i.kind==="set"&&i.value.params.length!==1){this.raiseRecoverable(i.value.start,"setter should have exactly one param")}if(i.kind==="set"&&i.value.params[0].type==="RestElement"){this.raiseRecoverable(i.value.params[0].start,"Setter cannot use rest params")}return i};W.parseClassMethod=function(e,t,i,r){e.value=this.parseMethod(t,i,r);return this.finishNode(e,"MethodDefinition")};W.parseClassId=function(e,t){if(this.type===m.name){e.id=this.parseIdent();if(t){this.checkLVal(e.id,M,false)}}else{if(t===true){this.unexpected()}e.id=null}};W.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null};W.parseExport=function(e,t){this.next();if(this.eat(m.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(m._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===m._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(r,Q|J,false,i)}else if(this.type===m._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var r=0,n=e.properties;r=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(m._function)){return this.parseFunction(this.startNodeAt(r,n),0,false,true)}if(i&&!this.canInsertSemicolon()){if(this.eat(m.arrow)){return this.parseArrowExpression(this.startNodeAt(r,n),[a],false)}if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===m.name&&!s){a=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(m.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,n),[a],true)}}return a;case m.regexp:var o=this.value;t=this.parseLiteral(o.value);t.regex={pattern:o.pattern,flags:o.flags};return t;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:t=this.startNode();t.value=this.type===m._null?null:this.type===m._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case m.parenL:var l=this.start,c=this.parseParenAndDistinguishExpression(i);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)){e.parenthesizedAssign=l}if(e.parenthesizedBind<0){e.parenthesizedBind=l}}return c;case m.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(m.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case m.braceL:return this.parseObj(false,e);case m._function:t=this.startNode();this.next();return this.parseFunction(t,0);case m._class:return this.parseClass(this.startNode(),false);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();case m._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ee.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case m.parenL:return this.parseDynamicImport(e);case m.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ee.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(m.parenR)){var t=this.start;if(this.eat(m.comma)&&this.eat(m.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ee.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ee.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ee.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();this.expect(m.parenR);return e};ee.parseParenAndDistinguishExpression=function(e){var t=this.start,i=this.startLoc,r,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc;var o=[],l=true,c=false;var u=new DestructuringErrors,h=this.yieldPos,p=this.awaitPos,f;this.yieldPos=0;this.awaitPos=0;while(this.type!==m.parenR){l?l=false:this.expect(m.comma);if(n&&this.afterTrailingComma(m.parenR,true)){c=true;break}else if(this.type===m.ellipsis){f=this.start;o.push(this.parseParenItem(this.parseRestBinding()));if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{o.push(this.parseMaybeAssign(false,u,this.parseParenItem))}}var d=this.start,v=this.startLoc;this.expect(m.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(m.arrow)){this.checkPatternErrors(u,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=h;this.awaitPos=p;return this.parseParenArrowList(t,i,o)}if(!o.length||c){this.unexpected(this.lastTokStart)}if(f){this.unexpected(f)}this.checkExpressionErrors(u,true);this.yieldPos=h||this.yieldPos;this.awaitPos=p||this.awaitPos;if(o.length>1){r=this.startNodeAt(s,a);r.expressions=o;this.finishNodeAt(r,"SequenceExpression",d,v)}else{r=o[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var y=this.startNodeAt(t,i);y.expression=r;return this.finishNode(y,"ParenthesizedExpression")}else{return r}};ee.parseParenItem=function(e){return e};ee.parseParenArrowList=function(e,t,i){return this.parseArrowExpression(this.startNodeAt(e,t),i)};var te=[];ee.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(m.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var r=this.start,n=this.startLoc,s=this.type===m._import;e.callee=this.parseSubscripts(this.parseExprAtom(),r,n,true);if(s&&e.callee.type==="ImportExpression"){this.raise(r,"Cannot use new with import()")}if(this.eat(m.parenL)){e.arguments=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=te}return this.finishNode(e,"NewExpression")};ee.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===m.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===m.backQuote;return this.finishNode(i,"TemplateElement")};ee.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var r=this.parseTemplateElement({isTagged:t});i.quasis=[r];while(!r.tail){if(this.type===m.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(m.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(m.braceR);i.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};ee.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===m.name||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===m.star)&&!v.test(this.input.slice(this.lastTokEnd,this.start))};ee.parseObj=function(e,t){var i=this.startNode(),r=true,n={};i.properties=[];this.next();while(!this.eat(m.braceR)){if(!r){this.expect(m.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(m.braceR)){break}}else{r=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,n,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ee.parseProperty=function(e,t){var i=this.startNode(),r,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(m.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===m.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===m.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){r=this.eat(m.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)){n=true;r=this.options.ecmaVersion>=9&&this.eat(m.star);this.parsePropertyName(i,t)}else{n=false}this.parsePropertyValue(i,e,r,n,s,a,t,o);return this.finishNode(i,"Property")};ee.parsePropertyValue=function(e,t,i,r,n,s,a,o){if((i||r)&&this.type===m.colon){this.unexpected()}if(this.eat(m.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===m.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,r)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==m.comma&&this.type!==m.braceR&&this.type!==m.eq)){if(i||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var l=e.kind==="get"?0:1;if(e.value.params.length!==l){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=n}e.kind="init";if(t){e.value=this.parseMaybeDefault(n,s,e.key)}else if(this.type===m.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(n,s,e.key)}else{e.value=e.key}e.shorthand=true}else{this.unexpected()}};ee.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(m.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ee.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ee.parseMethod=function(e,t,i){var r=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|L|(i?R:0));this.expect(m.parenL);r.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(r,"FunctionExpression")};ee.parseArrowExpression=function(e,t,i){var r=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|O);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=r;this.awaitPos=n;this.awaitIdentPos=s;return this.finishNode(e,"ArrowFunctionExpression")};ee.parseFunctionBody=function(e,t,i){var r=t&&this.type!==m.braceL;var n=this.strict,s=false;if(r){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!n||a){s=this.strictDirective(this.end);if(s&&a){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var o=this.labels;this.labels=[];if(s){this.strict=true}this.checkParams(e,!n&&!s&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLVal(e.id,U)}e.body=this.parseBlock(false,undefined,s&&!n);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=o}this.exitScope()};ee.isSimpleParamList=function(e){for(var t=0,i=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1;n.lexical.push(e);if(this.inModule&&n.flags&S){delete this.undefinedExports[e]}}else if(t===V){var s=this.currentScope();s.lexical.push(e)}else if(t===j){var a=this.currentScope();if(this.treatFunctionsAsVar){r=a.lexical.indexOf(e)>-1}else{r=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&F&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){r=true;break}l.var.push(e);if(this.inModule&&l.flags&S){delete this.undefinedExports[e]}if(l.flags&I){break}}}if(r){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};re.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};re.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};re.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I){return t}}};re.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I&&!(t.flags&O)){return t}}};var se=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new C(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var ae=z.prototype;ae.startNode=function(){return new se(this,this.start,this.startLoc)};ae.startNodeAt=function(e,t){return new se(this,e,t)};function finishNodeAt(e,t,i,r){e.type=t;e.end=i;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=i}return e}ae.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ae.finishNodeAt=function(e,t,i,r){return finishNodeAt.call(this,e,t,i,r)};var oe=function TokContext(e,t,i,r,n){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=r;this.generator=!!n};var le={b_stat:new oe("{",false),b_expr:new oe("{",true),b_tmpl:new oe("${",false),p_stat:new oe("(",false),p_expr:new oe("(",true),q_tmpl:new oe("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new oe("function",false),f_expr:new oe("function",true),f_expr_gen:new oe("function",true,false,null,true),f_gen:new oe("function",false,false,null,true)};var ce=z.prototype;ce.initialContext=function(){return[le.b_stat]};ce.braceIsBlock=function(e){var t=this.curContext();if(t===le.f_expr||t===le.f_stat){return true}if(e===m.colon&&(t===le.b_stat||t===le.b_expr)){return!t.isExpr}if(e===m._return||e===m.name&&this.exprAllowed){return v.test(this.input.slice(this.lastTokEnd,this.start))}if(e===m._else||e===m.semi||e===m.eof||e===m.parenR||e===m.arrow){return true}if(e===m.braceL){return t===le.b_stat}if(e===m._var||e===m._const||e===m.name){return false}return!this.exprAllowed};ce.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ce.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===m.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};m.parenR.updateContext=m.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===le.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?le.b_stat:le.b_expr);this.exprAllowed=true};m.dollarBraceL.updateContext=function(){this.context.push(le.b_tmpl);this.exprAllowed=true};m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?le.p_stat:le.p_expr);this.exprAllowed=true};m.incDec.updateContext=function(){};m._function.updateContext=m._class.updateContext=function(e){if(e.beforeExpr&&e!==m.semi&&e!==m._else&&!(e===m._return&&v.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===m.colon||e===m.braceL)&&this.curContext()===le.b_stat)){this.context.push(le.f_expr)}else{this.context.push(le.f_stat)}this.exprAllowed=false};m.backQuote.updateContext=function(){if(this.curContext()===le.q_tmpl){this.context.pop()}else{this.context.push(le.q_tmpl)}this.exprAllowed=false};m.star.updateContext=function(e){if(e===m._function){var t=this.context.length-1;if(this.context[t]===le.f_expr){this.context[t]=le.f_expr_gen}else{this.context[t]=le.f_gen}}this.exprAllowed=true};m.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==m.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var ue="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var he=ue+" Extended_Pictographic";var pe=he;var fe={9:ue,10:he,11:pe};var de="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var me="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var ve=me+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var ye=ve+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var ge={9:me,10:ve,11:ye};var xe={};function buildUnicodeData(e){var t=xe[e]={binary:wordsRegexp(fe[e]+" "+de),nonBinary:{General_Category:wordsRegexp(de),Script:wordsRegexp(ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var be=z.prototype;var ke=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=xe[e.options.ecmaVersion>=11?11:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};ke.prototype.reset=function reset(e,t,i){var r=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};ke.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};ke.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return-1}var n=i.charCodeAt(e);if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r){return n}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(n<<10)+s-56613888:n};ke.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return r}var n=i.charCodeAt(e),s;if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};ke.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};ke.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};ke.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};ke.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}be.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var r=0;r-1){this.raise(e.start,"Duplicate regular expression flag")}}};be.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};be.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};be.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};be.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};be.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,n=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){n=e.lastIntValue}if(e.eat(125)){if(n!==-1&&n=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};be.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};be.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};be.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}be.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};be.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};be.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};be.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};be.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};be.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierStart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}be.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierPart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}be.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};be.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};be.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};be.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};be.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};be.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};be.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};be.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}be.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(n-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=n}return true}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(r){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}be.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};be.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};be.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}be.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,n);return true}return false};be.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};be.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};be.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}be.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}be.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};be.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};be.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};be.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};be.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};be.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};be.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};be.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}be.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}be.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};be.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}be.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length){return this.finishToken(m.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};we.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};we.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};we.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){y.lastIndex=t;var r;while((r=y.exec(this.input))&&r.index8&&e<14||e>=5760&&g.test(String.fromCharCode(e))){++this.pos}else{break e}}}};we.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};we.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};we.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};we.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var r=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;r=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,i+1)}return this.finishOp(r,i)};we.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(m.assign,3)}}return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};we.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};we.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||v.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};we.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(m.assign,i+1)}return this.finishOp(m.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(m.relational,i)};we.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};we.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(m.questionDot,2)}}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(m.assign,3)}}return this.finishOp(m.coalesce,2)}}return this.finishOp(m.question,1)};we.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};we.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};we.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(v.test(r)){this.raise(i,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new ke(this));o.reset(i,n,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(n,a)}catch(e){}return this.finishToken(m.regexp,{pattern:n,flags:a,value:l})};we.readInt=function(e,t,i){var r=this.options.ecmaVersion>=12&&t===undefined;var n=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var l=0,c=t==null?Infinity:t;l=97){h=u-97+10}else if(u>=65){h=u-65+10}else if(u>=48&&u<=57){h=u-48}else{h=Infinity}if(h>=e){break}o=u;a=a*e+h}if(r&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}we.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)};we.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var n=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,n)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(r===46&&!i){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!i){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(m.num,s)};we.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}we.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else{if(isNewLine(r,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(m.string,t)};var Ee={};we.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ee){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};we.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ee}else{this.raise(e,t)}};we.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};we.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var n=parseInt(r,8);if(n>255){r=r.slice(0,-1);n=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(n)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};we.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};we.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos{"use strict";var r=i(1186);var n=[];e.exports=asap;function asap(e){var t;if(n.length){t=n.pop()}else{t=new RawTask}t.task=e;t.domain=process.domain;r(t)}function RawTask(){this.task=null;this.domain=null}RawTask.prototype.call=function(){if(this.domain){this.domain.enter()}var e=true;try{this.task.call();e=false;if(this.domain){this.domain.exit()}}finally{if(e){r.requestFlush()}this.task=null;this.domain=null;n.push(this)}}},1186:(e,t,i)=>{"use strict";var r;var n=typeof setImmediate==="function";e.exports=rawAsap;function rawAsap(e){if(!s.length){requestFlush();a=true}s[s.length]=e}var s=[];var a=false;var o=0;var l=1024;function flush(){while(ol){for(var t=0,i=s.length-o;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});function assertNever(e,t){if(t){return e}throw new Error("Unhandled discriminated union member: "+JSON.stringify(e))}t.assertNever=assertNever;t["default"]=assertNever},797:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});const a=s(i(2528));if(!(Array.isArray(a.TYPES)&&a.TYPES.every((e=>typeof e==="string")))){throw new Error("@babel/types TYPES does not match the expected type.")}const o=a.FLIPPED_ALIAS_KEYS;const l=new Set(a.TYPES);if(!(o&&typeof o==="object"&&Object.keys(o).every((e=>Array.isArray(o[e])&&o[e].every((e=>typeof e==="string")))))){throw new Error("@babel/types FLIPPED_ALIAS_KEYS does not match the expected type.")}function explode(e){const t={};for(const i in e){const r=o[i];if(r){for(const n of r){if(n in t){if(typeof e[i]==="function"){t[n].enter.push(e[i])}else{if(e[i].enter)t[n].enter.push(e[i].enter);if(e[i].exit)t[n].exit.push(e[i].exit)}}else{if(typeof e[i]==="function"){t[n]={enter:[e[i]],exit:[]}}else{t[n]={enter:e[i].enter?[e[i].enter]:[],exit:e[i].exit?[e[i].exit]:[]}}}}}else if(l.has(i)){if(i in t){if(typeof e[i]==="function"){t[i].enter.push(e[i])}else{if(e[i].enter)t[i].enter.push(e[i].enter);if(e[i].exit)t[i].exit.push(e[i].exit)}}else{if(typeof e[i]==="function"){t[i]={enter:[e[i]],exit:[]}}else{t[i]={enter:e[i].enter?[e[i].enter]:[],exit:e[i].exit?[e[i].exit]:[]}}}}}return t}t["default"]=explode},3414:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.recursive=t.ancestor=t.simple=void 0;const o=s(i(2528));const l=a(i(797));const c=o.VISITOR_KEYS;if(!(c&&typeof c==="object"&&Object.keys(c).every((e=>Array.isArray(c[e])&&c[e].every((e=>typeof e==="string")))))){throw new Error("@babel/types VISITOR_KEYS does not match the expected type.")}function simple(e){const t=l.default(e);return(e,i)=>{(function recurse(e){if(!e)return;const r=t[e.type];if(r===null||r===void 0?void 0:r.enter){for(const t of r.enter){t(e,i)}}for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}if(r===null||r===void 0?void 0:r.exit){for(const t of r.exit){t(e,i)}}})(e)}}t.simple=simple;function ancestor(e){const t=l.default(e);return(e,i)=>{const r=[];(function recurse(e){if(!e)return;const n=t[e.type];const s=e!==r[r.length-1];if(s)r.push(e);if(n===null||n===void 0?void 0:n.enter){for(const t of n.enter){t(e,i,r)}}for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}if(n===null||n===void 0?void 0:n.exit){for(const t of n.exit){t(e,i,r)}}if(s)r.pop()})(e)}}t.ancestor=ancestor;function recursive(e){const t=l.default(e);return(e,i)=>{(function recurse(e){if(!e)return;const r=t[e.type];if(r===null||r===void 0?void 0:r.enter){for(const t of r.enter){t(e,i,recurse)}}else{for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}}})(e)}}t.recursive=recursive},3249:(e,t,i)=>{"use strict";var r=i(2170);var n=i(411);var s=n(r("String.prototype.indexOf"));e.exports=function callBoundIntrinsic(e,t){var i=r(e,!!t);if(typeof i==="function"&&s(e,".prototype.")>-1){return n(i)}return i}},411:(e,t,i)=>{"use strict";var r=i(2796);var n=i(2170);var s=n("%Function.prototype.apply%");var a=n("%Function.prototype.call%");var o=n("%Reflect.apply%",true)||r.call(a,s);var l=n("%Object.getOwnPropertyDescriptor%",true);var c=n("%Object.defineProperty%",true);var u=n("%Math.max%");if(c){try{c({},"a",{value:1})}catch(e){c=null}}e.exports=function callBind(e){var t=o(r,a,arguments);if(l&&c){var i=l(t,"length");if(i.configurable){c(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}}return t};var h=function applyBind(){return o(r,s,arguments)};if(c){c(e.exports,"apply",{value:h})}else{e.exports.apply=h}},340:(e,t,i)=>{"use strict";var r=i(7115);t=e.exports=parse;var n=t.TOKEN_TYPES={LINE_COMMENT:"//",BLOCK_COMMENT:"/**/",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',TEMPLATE_QUOTE:"`",REGEXP:"//g"};var s=t.BRACKETS={"(":")","{":"}","[":"]"};var a={")":"(","}":"{","]":"["};t.parse=parse;function parse(e,i,r){r=r||{};i=i||t.defaultState();var n=r.start||0;var s=r.end||e.length;var a=n;while(a{"use strict";t.__esModule=true;function binaryOperation(e,t,i){switch(e){case"+":return t+i;case"-":return t-i;case"/":return t/i;case"%":return t%i;case"*":return t*i;case"**":return Math.pow(t,i);case"&":return t&i;case"|":return t|i;case">>":return t>>i;case">>>":return t>>>i;case"<<":return t<":return t>i;case"<":return t=":return t>=i;case"<=":return t<=i}}t["default"]=binaryOperation},5122:(e,t,i)=>{"use strict";t.__esModule=true;var r=i(3985);var n=i(2528);var s=i(9484);function expressionToConstant(e,t){if(t===void 0){t={}}var i=true;function toConstant(e){if(!i)return;if(n.isArrayExpression(e)){var r=[];for(var a=0;i&&a{"use strict";e.exports={html:"",xml:'',transitional:'',strict:'',frameset:'',1.1:'',basic:'',mobile:'',plist:''}},8850:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var i=Array.prototype.slice;var r=Object.prototype.toString;var n="[object Function]";e.exports=function bind(e){var s=this;if(typeof s!=="function"||r.call(s)!==n){throw new TypeError(t+s)}var a=i.call(arguments,1);var o;var binder=function(){if(this instanceof o){var t=s.apply(this,a.concat(i.call(arguments)));if(Object(t)===t){return t}return this}else{return s.apply(e,a.concat(i.call(arguments)))}};var l=Math.max(0,s.length-a.length);var c=[];for(var u=0;u{"use strict";var r=i(8850);e.exports=Function.prototype.bind||r},2170:(e,t,i)=>{"use strict";var r;var n=SyntaxError;var s=Function;var a=TypeError;var getEvalledConstructor=function(e){try{return s('"use strict"; return ('+e+").constructor;")()}catch(e){}};var o=Object.getOwnPropertyDescriptor;if(o){try{o({},"")}catch(e){o=null}}var throwTypeError=function(){throw new a};var l=o?function(){try{arguments.callee;return throwTypeError}catch(e){try{return o(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError;var c=i(3710)();var u=Object.getPrototypeOf||function(e){return e.__proto__};var h={};var p=typeof Uint8Array==="undefined"?r:u(Uint8Array);var f={"%AggregateError%":typeof AggregateError==="undefined"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?u([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics==="undefined"?r:Atomics,"%BigInt%":typeof BigInt==="undefined"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array==="undefined"?r:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?r:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array==="undefined"?r:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?r:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?u(u([][Symbol.iterator]())):r,"%JSON%":typeof JSON==="object"?JSON:r,"%Map%":typeof Map==="undefined"?r:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!c?r:u((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?r:Promise,"%Proxy%":typeof Proxy==="undefined"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect==="undefined"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?r:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!c?r:u((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?u(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array==="undefined"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap==="undefined"?r:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?r:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?r:WeakSet};var d=function doEval(e){var t;if(e==="%AsyncFunction%"){t=getEvalledConstructor("async function () {}")}else if(e==="%GeneratorFunction%"){t=getEvalledConstructor("function* () {}")}else if(e==="%AsyncGeneratorFunction%"){t=getEvalledConstructor("async function* () {}")}else if(e==="%AsyncGenerator%"){var i=doEval("%AsyncGeneratorFunction%");if(i){t=i.prototype}}else if(e==="%AsyncIteratorPrototype%"){var r=doEval("%AsyncGenerator%");if(r){t=u(r.prototype)}}f[e]=t;return t};var m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};var v=i(2796);var y=i(9783);var g=v.call(Function.call,Array.prototype.concat);var x=v.call(Function.apply,Array.prototype.splice);var b=v.call(Function.call,String.prototype.replace);var k=v.call(Function.call,String.prototype.slice);var _=v.call(Function.call,RegExp.prototype.exec);var w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var E=/\\(\\)?/g;var C=function stringToPath(e){var t=k(e,0,1);var i=k(e,-1);if(t==="%"&&i!=="%"){throw new n("invalid intrinsic syntax, expected closing `%`")}else if(i==="%"&&t!=="%"){throw new n("invalid intrinsic syntax, expected opening `%`")}var r=[];b(e,w,(function(e,t,i,n){r[r.length]=i?b(n,E,"$1"):t||e}));return r};var A=function getBaseIntrinsic(e,t){var i=e;var r;if(y(m,i)){r=m[i];i="%"+r[0]+"%"}if(y(f,i)){var s=f[i];if(s===h){s=d(i)}if(typeof s==="undefined"&&!t){throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!")}return{alias:r,name:i,value:s}}throw new n("intrinsic "+e+" does not exist!")};e.exports=function GetIntrinsic(e,t){if(typeof e!=="string"||e.length===0){throw new a("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof t!=="boolean"){throw new a('"allowMissing" argument must be a boolean')}if(_(/^%?[^%]*%?$/g,e)===null){throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var i=C(e);var s=i.length>0?i[0]:"";var l=A("%"+s+"%",t);var c=l.name;var u=l.value;var h=false;var p=l.alias;if(p){s=p[0];x(i,g([0,1],p))}for(var d=1,m=true;d=i.length){var E=o(u,v);m=!!E;if(m&&"get"in E&&!("originalValue"in E.get)){u=E.get}else{u=u[v]}}else{m=y(u,v);u=u[v]}if(m&&!h){f[c]=u}}}return u}},3710:(e,t,i)=>{"use strict";var r=typeof Symbol!=="undefined"&&Symbol;var n=i(203);e.exports=function hasNativeSymbols(){if(typeof r!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof r("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return n()}},203:e=>{"use strict";e.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var e={};var t=Symbol("test");var i=Object(t);if(typeof t==="string"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(i)!=="[object Symbol]"){return false}var r=42;e[t]=r;for(t in e){return false}if(typeof Object.keys==="function"&&Object.keys(e).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(e).length!==0){return false}var n=Object.getOwnPropertySymbols(e);if(n.length!==1||n[0]!==t){return false}if(!Object.prototype.propertyIsEnumerable.call(e,t)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==r||s.enumerable!==true){return false}}return true}},1744:(e,t,i)=>{"use strict";var r=i(203);e.exports=function hasToStringTagShams(){return r()&&!!Symbol.toStringTag}},9783:(e,t,i)=>{"use strict";var r=i(2796);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},431:(e,t,i)=>{"use strict";var r=i(9783);function specifierIncluded(e,t){var i=e.split(".");var r=t.split(" ");var n=r.length>1?r[0]:"=";var s=(r.length>1?r[1]:r[0]).split(".");for(var a=0;a<3;++a){var o=parseInt(i[a]||0,10);var l=parseInt(s[a]||0,10);if(o===l){continue}if(n==="<"){return o="){return o>=l}return false}return n===">="}function matchesRange(e,t){var i=t.split(/ ?&& ?/);if(i.length===0){return false}for(var r=0;r{"use strict";var r=i(5808);var n=i(4581);e.exports=isExpression;var s={throw:false,strict:false,lineComment:false};function isExpression(e,t){t=n({},s,t);try{var i=new r.Parser(t,e,0);if(t.strict){i.strict=true}if(!t.lineComment){i.skipLineComment=function(e){this.raise(this.pos,"Line comments not allowed in an expression")}}i.nextToken();i.parseExpression();if(i.type!==r.tokTypes.eof){i.unexpected()}}catch(e){if(!t.throw){return false}throw e}return true}},6907:e=>{e.exports=isPromise;e.exports["default"]=isPromise;function isPromise(e){return!!e&&(typeof e==="object"||typeof e==="function")&&typeof e.then==="function"}},7115:(e,t,i)=>{"use strict";var r=i(3249);var n=i(1744)();var s;var a;var o;var l;if(n){s=r("Object.prototype.hasOwnProperty");a=r("RegExp.prototype.exec");o={};var throwRegexMarker=function(){throw o};l={toString:throwRegexMarker,valueOf:throwRegexMarker};if(typeof Symbol.toPrimitive==="symbol"){l[Symbol.toPrimitive]=throwRegexMarker}}var c=r("Object.prototype.toString");var u=Object.getOwnPropertyDescriptor;var h="[object RegExp]";e.exports=n?function isRegex(e){if(!e||typeof e!=="object"){return false}var t=u(e,"lastIndex");var i=t&&s(t,"value");if(!i){return false}try{a(e,l)}catch(e){return e===o}}:function isRegex(e){if(!e||typeof e!=="object"&&typeof e!=="function"){return false}return c(e)===h}},3734:e=>{"use strict";e.exports=stringify;function stringify(e){if(e instanceof Date){return"new Date("+stringify(e.toISOString())+")"}if(e===undefined){return"undefined"}return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(//g,"\\u003E").replace(/\//g,"\\u002F")}},9147:(e,t,i)=>{"use strict";var r=i(7147);var n=i(9491);var s=i(3803);var a=i(6907);var o=e.exports=function(e){return new Transformer(e)};o.Transformer=Transformer;o.normalizeFn=normalizeFn;o.normalizeFnAsync=normalizeFnAsync;o.normalize=normalize;o.normalizeAsync=normalizeAsync;if(r.readFile){o.readFile=s.denodeify(r.readFile);o.readFileSync=r.readFileSync}else{o.readFile=function(){throw new Error("fs.readFile unsupported")};o.readFileSync=function(){throw new Error("fs.readFileSync unsupported")}}function normalizeFn(e){if(typeof e==="function"){return{fn:e,dependencies:[]}}else if(e&&typeof e==="object"&&typeof e.fn==="function"){if("dependencies"in e){if(!Array.isArray(e.dependencies)){throw new Error("Result should have a dependencies property that is an array")}}else{e.dependencies=[]}return e}else{throw new Error("Invalid result object from transform.")}}function normalizeFnAsync(e,t){return s.resolve(e).then((function(e){if(e&&a(e.fn)){return e.fn.then((function(t){e.fn=t;return e}))}return e})).then(o.normalizeFn).nodeify(t)}function normalize(e){if(typeof e==="string"){return{body:e,dependencies:[]}}else if(e&&typeof e==="object"&&typeof e.body==="string"){if("dependencies"in e){if(!Array.isArray(e.dependencies)){throw new Error("Result should have a dependencies property that is an array")}}else{e.dependencies=[]}return e}else{throw new Error("Invalid result object from transform.")}}function normalizeAsync(e,t){return s.resolve(e).then((function(e){if(e&&a(e.body)){return e.body.then((function(t){e.body=t;return e}))}return e})).then(o.normalize).nodeify(t)}function Transformer(e){n(e,"Transformer must be an object");n(typeof e.name==="string","Transformer must have a name");n(typeof e.outputFormat==="string","Transformer must have an output format");n(["compile","compileAsync","compileFile","compileFileAsync","compileClient","compileClientAsync","compileFileClient","compileFileClientAsync","render","renderAsync","renderFile","renderFileAsync"].some((function(t){return typeof e[t]==="function"})),"Transformer must implement at least one of the potential methods.");this._tr=e;this.name=this._tr.name;this.outputFormat=this._tr.outputFormat;this.inputFormats=this._tr.inputFormats||[this.name]}var l={compile:["compile","render"],compileAsync:["compileAsync","compile","render"],compileFile:["compileFile","compile","renderFile","render"],compileFileAsync:["compileFileAsync","compileFile","compileAsync","compile","renderFile","render"],compileClient:["compileClient"],compileClientAsync:["compileClientAsync","compileClient"],compileFileClient:["compileFileClient","compileClient"],compileFileClientAsync:["compileFileClientAsync","compileFileClient","compileClientAsync","compileClient"],render:["render","compile"],renderAsync:["renderAsync","render","compileAsync","compile"],renderFile:["renderFile","render","compileFile","compile"],renderFileAsync:["renderFileAsync","renderFile","renderAsync","render","compileFileAsync","compileFile","compileAsync","compile"]};Transformer.prototype._hasMethod=function(e){return typeof this._tr[e]==="function"};Transformer.prototype.can=function(e){return l[e].some(function(e){return this._hasMethod(e)}.bind(this))};Transformer.prototype.compile=function(e,t){if(!this._hasMethod("compile")){if(this.can("render")){var i=this;return{fn:function(r){return o.normalize(i._tr.render(e,t,r)).body},dependencies:[]}}if(this.can("compileAsync")){throw new Error('The Transform "'+this.name+'" does not support synchronous compilation')}else if(this.can("compileFileAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling plain strings')}else{throw new Error('The Transform "'+this.name+'" does not support compilation')}}return o.normalizeFn(this._tr.compile(e,t))};Transformer.prototype.compileAsync=function(e,t,i){if(!this.can("compileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling plain strings')).nodeify(i)}if(this._hasMethod("compileAsync")){return o.normalizeFnAsync(this._tr.compileAsync(e,t),i)}else{return o.normalizeFnAsync(this.compile(e,t),i)}};Transformer.prototype.compileFile=function(e,t){if(!this.can("compileFile")){throw new Error('The Transform "'+this.name+'" does not support synchronous compilation')}if(this._hasMethod("compileFile")){return o.normalizeFn(this._tr.compileFile(e,t))}else if(this._hasMethod("renderFile")){return o.normalizeFn(function(i){return o.normalize(this._tr.renderFile(e,t,i)).body}.bind(this))}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return this.compile(o.readFileSync(e,"utf8"),t)}};Transformer.prototype.compileFileAsync=function(e,t,i){if(!this.can("compileFileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compilation'))}if(this._hasMethod("compileFileAsync")){return o.normalizeFnAsync(this._tr.compileFileAsync(e,t),i)}else if(this._hasMethod("compileFile")||this._hasMethod("renderFile")){return o.normalizeFnAsync(this.compileFile(e,t),i)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeFnAsync(o.readFile(e,"utf8").then(function(e){if(this._hasMethod("compileAsync")){return this._tr.compileAsync(e,t)}else{return this.compile(e,t)}}.bind(this)),i)}};Transformer.prototype.compileClient=function(e,t){if(!this.can("compileClient")){if(this.can("compileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.')}else if(this.can("compileFileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')}else{throw new Error('The Transform "'+this.name+'" does not support compiling for the client')}}return o.normalize(this._tr.compileClient(e,t))};Transformer.prototype.compileClientAsync=function(e,t,i){if(!this.can("compileClientAsync")){if(this.can("compileFileClientAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')).nodeify(i)}else{return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(i)}}if(this._hasMethod("compileClientAsync")){return o.normalizeAsync(this._tr.compileClientAsync(e,t),i)}else{return o.normalizeAsync(this._tr.compileClient(e,t),i)}};Transformer.prototype.compileFileClient=function(e,t){if(!this.can("compileFileClient")){if(this.can("compileFileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.')}else{throw new Error('The Transform "'+this.name+'" does not support compiling for the client')}}if(this._hasMethod("compileFileClient")){return o.normalize(this._tr.compileFileClient(e,t))}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalize(this._tr.compileClient(o.readFileSync(e,"utf8"),t))}};Transformer.prototype.compileFileClientAsync=function(e,t,i){if(!this.can("compileFileClientAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(i)}if(this._hasMethod("compileFileClientAsync")){return o.normalizeAsync(this._tr.compileFileClientAsync(e,t),i)}else if(this._hasMethod("compileFileClient")){return o.normalizeAsync(this._tr.compileFileClient(e,t),i)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeAsync(o.readFile(e,"utf8").then(function(e){if(this._hasMethod("compileClientAsync")){return this._tr.compileClientAsync(e,t)}else{return this._tr.compileClient(e,t)}}.bind(this)),i)}};Transformer.prototype.render=function(e,t,i){if(!this.can("render")){if(this.can("renderAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}else if(this.can("renderFileAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering from a string.')}else{throw new Error('The Transform "'+this.name+'" does not support rendering')}}if(this._hasMethod("render")){return o.normalize(this._tr.render(e,t,i))}else{var r=o.normalizeFn(this._tr.compile(e,t));var n=r.fn(i||t);if(typeof n!=="string"){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}return o.normalize({body:n,dependencies:r.dependencies})}};Transformer.prototype.renderAsync=function(e,t,i,r){if(typeof i==="function"){r=i;i=t}if(!this.can("renderAsync")){if(this.can("renderFileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support rendering from a string.')).nodeify(r)}else{return s.reject(new Error('The Transform "'+this.name+'" does not support rendering')).nodeify(r)}}if(this._hasMethod("renderAsync")){return o.normalizeAsync(this._tr.renderAsync(e,t,i),r)}else if(this._hasMethod("render")){return o.normalizeAsync(this._tr.render(e,t,i),r)}else{return o.normalizeAsync(this.compileAsync(e,t).then((function(e){return{body:e.fn(i||t),dependencies:e.dependencies}})),r)}};Transformer.prototype.renderFile=function(e,t,i){if(!this.can("renderFile")){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}if(this._hasMethod("renderFile")){return o.normalize(this._tr.renderFile(e,t,i))}else if(this._hasMethod("render")){if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalize(this._tr.render(o.readFileSync(e,"utf8"),t,i))}else{var r=this.compileFile(e,t);return o.normalize({body:r.fn(i||t),dependencies:r.dependencies})}};Transformer.prototype.renderFileAsync=function(e,t,i,r){if(!this.can("renderFileAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering.')}if(typeof i==="function"){r=i;i=t}if(this._hasMethod("renderFileAsync")){return o.normalizeAsync(this._tr.renderFileAsync(e,t,i),r)}else if(this._hasMethod("renderFile")){return o.normalizeAsync(this._tr.renderFile(e,t,i),r)}else if(this._hasMethod("compile")||this._hasMethod("compileAsync")||this._hasMethod("compileFile")||this._hasMethod("compileFileAsync")){return o.normalizeAsync(this.compileFileAsync(e,t).then((function(e){return{body:e.fn(i||t),dependencies:e.dependencies}})),r)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeAsync(o.readFile(e,"utf8").then(function(e){return this.renderAsync(e,t,i)}.bind(this)),r)}}},4581:e=>{"use strict"; +(()=>{var e={5808:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:i,"5module":i+" export import",6:i+" const class extends export import super"};var n=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var o=new RegExp("["+s+"]");var l=new RegExp("["+s+a+"]");s=a=null;var c=[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];var u=[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){var i=65536;for(var r=0;re){return false}i+=t[r+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&l.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)||isInAstralSet(e,u)}var h=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new h(e,{beforeExpr:true,binop:t})}var p={beforeExpr:true},f={startsExpr:true};var d={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return d[e]=new h(e,t)}var m={num:new h("num",f),regexp:new h("regexp",f),string:new h("string",f),name:new h("name",f),eof:new h("eof"),bracketL:new h("[",{beforeExpr:true,startsExpr:true}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:true,startsExpr:true}),braceR:new h("}"),parenL:new h("(",{beforeExpr:true,startsExpr:true}),parenR:new h(")"),comma:new h(",",p),semi:new h(";",p),colon:new h(":",p),dot:new h("."),question:new h("?",p),questionDot:new h("?."),arrow:new h("=>",p),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",p),backQuote:new h("`",f),dollarBraceL:new h("${",{beforeExpr:true,startsExpr:true}),eq:new h("=",{beforeExpr:true,isAssign:true}),assign:new h("_=",{beforeExpr:true,isAssign:true}),incDec:new h("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new h("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new h("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new h("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",f),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",f),_super:kw("super",f),_class:kw("class",f),_extends:kw("extends",p),_export:kw("export"),_import:kw("import",f),_null:kw("null",f),_true:kw("true",f),_false:kw("false",f),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var v=/\r\n?|\n|\u2028|\u2029/;var y=new RegExp(v.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var g=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var x=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var b=Object.prototype;var k=b.hasOwnProperty;var _=b.toString;function has(e,t){return k.call(e,t)}var w=Array.isArray||function(e){return _.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var E=function Position(e,t){this.line=e;this.column=t};E.prototype.offset=function offset(e){return new E(this.line,this.column+e)};var C=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,r=0;;){y.lastIndex=r;var n=y.exec(e);if(n&&n.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(w(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(w(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,r,n,s,a,o){var l={type:i?"Block":"Line",value:r,start:n,end:s};if(e.locations){l.loc=new C(this,a,o)}if(e.ranges){l.range=[n,s]}t.push(l)}}var S=1,T=2,I=S|T,P=4,N=8,O=16,F=32,L=64,R=128;function functionFlags(e,t){return T|(e?P:0)|(t?N:0)}var D=0,B=1,M=2,j=3,V=4,U=5;var z=function Parser(e,i,n){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){for(var a=e.ecmaVersion;;a--){if(s=t[a]){break}}if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var o=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(o);this.reservedWordsStrictBind=wordsRegexp(o+" "+t.strictBind);this.input=String(i);this.containsEsc=false;if(n){this.pos=n;this.lineStart=this.input.lastIndexOf("\n",n-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(v).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=m.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(S);this.regexpState=null};var q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};z.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};q.inFunction.get=function(){return(this.currentVarScope().flags&T)>0};q.inGenerator.get=function(){return(this.currentVarScope().flags&N)>0};q.inAsync.get=function(){return(this.currentVarScope().flags&P)>0};q.allowSuper.get=function(){return(this.currentThisScope().flags&L)>0};q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&R)>0};q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};z.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&T)>0};z.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var r=0;r=,?^&]/.test(n)||n==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length;x.lastIndex=e;e+=x.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};H.eat=function(e){if(this.type===e){this.next();return true}else{return false}};H.isContextual=function(e){return this.type===m.name&&this.value===e&&!this.containsEsc};H.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};H.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};H.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||v.test(this.input.slice(this.lastTokEnd,this.start))};H.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};H.semicolon=function(){if(!this.eat(m.semi)&&!this.insertSemicolon()){this.unexpected()}};H.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};H.expect=function(e){this.eat(e)||this.unexpected()};H.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};H.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var r=e.doubleProto;if(!t){return i>=0||r>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};H.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(n,false,!e);case m._class:if(e){this.unexpected()}return this.parseClass(n,true);case m._if:return this.parseIfStatement(n);case m._return:return this.parseReturnStatement(n);case m._switch:return this.parseSwitchStatement(n);case m._throw:return this.parseThrowStatement(n);case m._try:return this.parseTryStatement(n);case m._const:case m._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(n,s);case m._while:return this.parseWhileStatement(n);case m._with:return this.parseWithStatement(n);case m.braceL:return this.parseBlock(true,n);case m.semi:return this.parseEmptyStatement(n);case m._export:case m._import:if(this.options.ecmaVersion>10&&r===m._import){x.lastIndex=this.pos;var a=x.exec(this.input);var o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(l===40||l===46){return this.parseExpressionStatement(n,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===m._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(n,true,!e)}var c=this.value,u=this.parseExpression();if(r===m.name&&u.type==="Identifier"&&this.eat(m.colon)){return this.parseLabeledStatement(n,c,u,e)}else{return this.parseExpressionStatement(n,u)}}};W.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==m.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r=6){this.eat(m.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(G);this.enterScope(0);this.expect(m.parenL);if(this.type===m.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===m._var||this.type===m._const||i){var r=this.startNode(),n=i?"let":this.value;this.next();this.parseVar(r,true,n);this.finishNode(r,"VariableDeclaration");if((this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var s=new DestructuringErrors;var a=this.parseExpression(true,s);if(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(a,false,s);this.checkLVal(a);return this.parseForIn(e,a)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)};W.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,Q|(i?0:X),false,t)};W.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(m._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};W.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};W.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(m.braceL);this.labels.push(K);this.enterScope(0);var t;for(var i=false;this.type!==m.braceR;){if(this.type===m._case||this.type===m._default){var r=this.type===m._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(m.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};W.parseThrowStatement=function(e){this.next();if(v.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var Y=[];W.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===m._catch){var t=this.startNode();this.next();if(this.eat(m.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?F:0);this.checkLVal(t.param,i?V:M);this.expect(m.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(m._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};W.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};W.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(G);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};W.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};W.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};W.parseLabeledStatement=function(e,t,i,r){for(var n=0,s=this.labels;n=0;l--){var c=this.labels[l];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};W.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};W.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(m.braceL);if(e){this.enterScope(0)}while(this.type!==m.braceR){var r=this.parseStatement(null);t.body.push(r)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};W.parseFor=function(e,t){e.init=t;this.expect(m.semi);e.test=this.type===m.semi?null:this.parseExpression();this.expect(m.semi);e.update=this.type===m.parenR?null:this.parseExpression();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};W.parseForIn=function(e,t){var i=this.type===m._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(t.type==="AssignmentPattern"){this.raise(t.start,"Invalid left-hand side in for-loop")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};W.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var r=this.startNode();this.parseVarId(r,i);if(this.eat(m.eq)){r.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===m._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(m.comma)){break}}return e};W.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,t==="var"?B:M,false)};var Q=1,X=2,J=4;W.parseFunction=function(e,t,i,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===m.star&&t&X){this.unexpected()}e.generator=this.eat(m.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&Q){e.id=t&J&&this.type!==m.name?null:this.parseIdent();if(e.id&&!(t&X)){this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?B:M:j)}}var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&Q)){e.id=this.type===m.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,t&Q?"FunctionDeclaration":"FunctionExpression")};W.parseFunctionParams=function(e){this.expect(m.parenL);e.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};W.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.startNode();var n=false;r.body=[];this.expect(m.braceL);while(this.type!==m.braceR){var s=this.parseClassElement(e.superClass!==null);if(s){r.body.push(s);if(s.type==="MethodDefinition"&&s.kind==="constructor"){if(n){this.raise(s.start,"Duplicate constructor in the same class")}n=true}}}this.strict=i;this.next();e.body=this.finishNode(r,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};W.parseClassElement=function(e){var t=this;if(this.eat(m.semi)){return null}var i=this.startNode();var tryContextual=function(e,r){if(r===void 0)r=false;var n=t.start,s=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==m.parenL&&(!r||!t.canInsertSemicolon())){return true}if(i.key){t.unexpected()}i.computed=false;i.key=t.startNodeAt(n,s);i.key.name=e;t.finishNode(i.key,"Identifier");return false};i.kind="method";i.static=tryContextual("static");var r=this.eat(m.star);var n=false;if(!r){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){n=true;r=this.options.ecmaVersion>=9&&this.eat(m.star)}else if(tryContextual("get")){i.kind="get"}else if(tryContextual("set")){i.kind="set"}}if(!i.key){this.parsePropertyName(i)}var s=i.key;var a=false;if(!i.computed&&!i.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")){if(i.kind!=="method"){this.raise(s.start,"Constructor can't have get/set modifier")}if(r){this.raise(s.start,"Constructor can't be a generator")}if(n){this.raise(s.start,"Constructor can't be an async method")}i.kind="constructor";a=e}else if(i.static&&s.type==="Identifier"&&s.name==="prototype"){this.raise(s.start,"Classes may not have a static property named prototype")}this.parseClassMethod(i,r,n,a);if(i.kind==="get"&&i.value.params.length!==0){this.raiseRecoverable(i.value.start,"getter should have no params")}if(i.kind==="set"&&i.value.params.length!==1){this.raiseRecoverable(i.value.start,"setter should have exactly one param")}if(i.kind==="set"&&i.value.params[0].type==="RestElement"){this.raiseRecoverable(i.value.params[0].start,"Setter cannot use rest params")}return i};W.parseClassMethod=function(e,t,i,r){e.value=this.parseMethod(t,i,r);return this.finishNode(e,"MethodDefinition")};W.parseClassId=function(e,t){if(this.type===m.name){e.id=this.parseIdent();if(t){this.checkLVal(e.id,M,false)}}else{if(t===true){this.unexpected()}e.id=null}};W.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null};W.parseExport=function(e,t){this.next();if(this.eat(m.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(m._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===m._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(r,Q|J,false,i)}else if(this.type===m._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var r=0,n=e.properties;r=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(m._function)){return this.parseFunction(this.startNodeAt(r,n),0,false,true)}if(i&&!this.canInsertSemicolon()){if(this.eat(m.arrow)){return this.parseArrowExpression(this.startNodeAt(r,n),[a],false)}if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===m.name&&!s){a=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(m.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,n),[a],true)}}return a;case m.regexp:var o=this.value;t=this.parseLiteral(o.value);t.regex={pattern:o.pattern,flags:o.flags};return t;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:t=this.startNode();t.value=this.type===m._null?null:this.type===m._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case m.parenL:var l=this.start,c=this.parseParenAndDistinguishExpression(i);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)){e.parenthesizedAssign=l}if(e.parenthesizedBind<0){e.parenthesizedBind=l}}return c;case m.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(m.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case m.braceL:return this.parseObj(false,e);case m._function:t=this.startNode();this.next();return this.parseFunction(t,0);case m._class:return this.parseClass(this.startNode(),false);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();case m._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ee.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case m.parenL:return this.parseDynamicImport(e);case m.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ee.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(m.parenR)){var t=this.start;if(this.eat(m.comma)&&this.eat(m.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ee.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ee.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ee.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();this.expect(m.parenR);return e};ee.parseParenAndDistinguishExpression=function(e){var t=this.start,i=this.startLoc,r,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc;var o=[],l=true,c=false;var u=new DestructuringErrors,h=this.yieldPos,p=this.awaitPos,f;this.yieldPos=0;this.awaitPos=0;while(this.type!==m.parenR){l?l=false:this.expect(m.comma);if(n&&this.afterTrailingComma(m.parenR,true)){c=true;break}else if(this.type===m.ellipsis){f=this.start;o.push(this.parseParenItem(this.parseRestBinding()));if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{o.push(this.parseMaybeAssign(false,u,this.parseParenItem))}}var d=this.start,v=this.startLoc;this.expect(m.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(m.arrow)){this.checkPatternErrors(u,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=h;this.awaitPos=p;return this.parseParenArrowList(t,i,o)}if(!o.length||c){this.unexpected(this.lastTokStart)}if(f){this.unexpected(f)}this.checkExpressionErrors(u,true);this.yieldPos=h||this.yieldPos;this.awaitPos=p||this.awaitPos;if(o.length>1){r=this.startNodeAt(s,a);r.expressions=o;this.finishNodeAt(r,"SequenceExpression",d,v)}else{r=o[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var y=this.startNodeAt(t,i);y.expression=r;return this.finishNode(y,"ParenthesizedExpression")}else{return r}};ee.parseParenItem=function(e){return e};ee.parseParenArrowList=function(e,t,i){return this.parseArrowExpression(this.startNodeAt(e,t),i)};var te=[];ee.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(m.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var r=this.start,n=this.startLoc,s=this.type===m._import;e.callee=this.parseSubscripts(this.parseExprAtom(),r,n,true);if(s&&e.callee.type==="ImportExpression"){this.raise(r,"Cannot use new with import()")}if(this.eat(m.parenL)){e.arguments=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=te}return this.finishNode(e,"NewExpression")};ee.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===m.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===m.backQuote;return this.finishNode(i,"TemplateElement")};ee.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var r=this.parseTemplateElement({isTagged:t});i.quasis=[r];while(!r.tail){if(this.type===m.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(m.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(m.braceR);i.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};ee.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===m.name||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===m.star)&&!v.test(this.input.slice(this.lastTokEnd,this.start))};ee.parseObj=function(e,t){var i=this.startNode(),r=true,n={};i.properties=[];this.next();while(!this.eat(m.braceR)){if(!r){this.expect(m.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(m.braceR)){break}}else{r=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,n,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ee.parseProperty=function(e,t){var i=this.startNode(),r,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(m.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===m.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===m.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){r=this.eat(m.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)){n=true;r=this.options.ecmaVersion>=9&&this.eat(m.star);this.parsePropertyName(i,t)}else{n=false}this.parsePropertyValue(i,e,r,n,s,a,t,o);return this.finishNode(i,"Property")};ee.parsePropertyValue=function(e,t,i,r,n,s,a,o){if((i||r)&&this.type===m.colon){this.unexpected()}if(this.eat(m.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===m.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,r)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==m.comma&&this.type!==m.braceR&&this.type!==m.eq)){if(i||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var l=e.kind==="get"?0:1;if(e.value.params.length!==l){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=n}e.kind="init";if(t){e.value=this.parseMaybeDefault(n,s,e.key)}else if(this.type===m.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(n,s,e.key)}else{e.value=e.key}e.shorthand=true}else{this.unexpected()}};ee.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(m.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ee.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ee.parseMethod=function(e,t,i){var r=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|L|(i?R:0));this.expect(m.parenL);r.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(r,"FunctionExpression")};ee.parseArrowExpression=function(e,t,i){var r=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|O);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=r;this.awaitPos=n;this.awaitIdentPos=s;return this.finishNode(e,"ArrowFunctionExpression")};ee.parseFunctionBody=function(e,t,i){var r=t&&this.type!==m.braceL;var n=this.strict,s=false;if(r){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!n||a){s=this.strictDirective(this.end);if(s&&a){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var o=this.labels;this.labels=[];if(s){this.strict=true}this.checkParams(e,!n&&!s&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLVal(e.id,U)}e.body=this.parseBlock(false,undefined,s&&!n);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=o}this.exitScope()};ee.isSimpleParamList=function(e){for(var t=0,i=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1;n.lexical.push(e);if(this.inModule&&n.flags&S){delete this.undefinedExports[e]}}else if(t===V){var s=this.currentScope();s.lexical.push(e)}else if(t===j){var a=this.currentScope();if(this.treatFunctionsAsVar){r=a.lexical.indexOf(e)>-1}else{r=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&F&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){r=true;break}l.var.push(e);if(this.inModule&&l.flags&S){delete this.undefinedExports[e]}if(l.flags&I){break}}}if(r){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};re.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};re.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};re.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I){return t}}};re.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I&&!(t.flags&O)){return t}}};var se=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new C(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var ae=z.prototype;ae.startNode=function(){return new se(this,this.start,this.startLoc)};ae.startNodeAt=function(e,t){return new se(this,e,t)};function finishNodeAt(e,t,i,r){e.type=t;e.end=i;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=i}return e}ae.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ae.finishNodeAt=function(e,t,i,r){return finishNodeAt.call(this,e,t,i,r)};var oe=function TokContext(e,t,i,r,n){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=r;this.generator=!!n};var le={b_stat:new oe("{",false),b_expr:new oe("{",true),b_tmpl:new oe("${",false),p_stat:new oe("(",false),p_expr:new oe("(",true),q_tmpl:new oe("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new oe("function",false),f_expr:new oe("function",true),f_expr_gen:new oe("function",true,false,null,true),f_gen:new oe("function",false,false,null,true)};var ce=z.prototype;ce.initialContext=function(){return[le.b_stat]};ce.braceIsBlock=function(e){var t=this.curContext();if(t===le.f_expr||t===le.f_stat){return true}if(e===m.colon&&(t===le.b_stat||t===le.b_expr)){return!t.isExpr}if(e===m._return||e===m.name&&this.exprAllowed){return v.test(this.input.slice(this.lastTokEnd,this.start))}if(e===m._else||e===m.semi||e===m.eof||e===m.parenR||e===m.arrow){return true}if(e===m.braceL){return t===le.b_stat}if(e===m._var||e===m._const||e===m.name){return false}return!this.exprAllowed};ce.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ce.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===m.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};m.parenR.updateContext=m.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===le.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?le.b_stat:le.b_expr);this.exprAllowed=true};m.dollarBraceL.updateContext=function(){this.context.push(le.b_tmpl);this.exprAllowed=true};m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?le.p_stat:le.p_expr);this.exprAllowed=true};m.incDec.updateContext=function(){};m._function.updateContext=m._class.updateContext=function(e){if(e.beforeExpr&&e!==m.semi&&e!==m._else&&!(e===m._return&&v.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===m.colon||e===m.braceL)&&this.curContext()===le.b_stat)){this.context.push(le.f_expr)}else{this.context.push(le.f_stat)}this.exprAllowed=false};m.backQuote.updateContext=function(){if(this.curContext()===le.q_tmpl){this.context.pop()}else{this.context.push(le.q_tmpl)}this.exprAllowed=false};m.star.updateContext=function(e){if(e===m._function){var t=this.context.length-1;if(this.context[t]===le.f_expr){this.context[t]=le.f_expr_gen}else{this.context[t]=le.f_gen}}this.exprAllowed=true};m.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==m.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var ue="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var he=ue+" Extended_Pictographic";var pe=he;var fe={9:ue,10:he,11:pe};var de="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var me="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var ve=me+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var ye=ve+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var ge={9:me,10:ve,11:ye};var xe={};function buildUnicodeData(e){var t=xe[e]={binary:wordsRegexp(fe[e]+" "+de),nonBinary:{General_Category:wordsRegexp(de),Script:wordsRegexp(ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var be=z.prototype;var ke=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=xe[e.options.ecmaVersion>=11?11:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};ke.prototype.reset=function reset(e,t,i){var r=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};ke.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};ke.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return-1}var n=i.charCodeAt(e);if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r){return n}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(n<<10)+s-56613888:n};ke.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return r}var n=i.charCodeAt(e),s;if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};ke.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};ke.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};ke.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};ke.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}be.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var r=0;r-1){this.raise(e.start,"Duplicate regular expression flag")}}};be.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};be.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};be.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};be.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};be.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,n=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){n=e.lastIntValue}if(e.eat(125)){if(n!==-1&&n=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};be.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};be.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};be.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}be.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};be.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};be.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};be.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};be.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};be.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierStart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}be.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierPart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}be.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};be.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};be.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};be.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};be.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};be.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};be.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};be.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}be.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(n-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=n}return true}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(r){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}be.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};be.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};be.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}be.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,n);return true}return false};be.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};be.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};be.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}be.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}be.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};be.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};be.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};be.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};be.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};be.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};be.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};be.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}be.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}be.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};be.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}be.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length){return this.finishToken(m.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};we.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};we.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};we.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){y.lastIndex=t;var r;while((r=y.exec(this.input))&&r.index8&&e<14||e>=5760&&g.test(String.fromCharCode(e))){++this.pos}else{break e}}}};we.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};we.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};we.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};we.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var r=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;r=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,i+1)}return this.finishOp(r,i)};we.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(m.assign,3)}}return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};we.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};we.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||v.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};we.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(m.assign,i+1)}return this.finishOp(m.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(m.relational,i)};we.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};we.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(m.questionDot,2)}}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(m.assign,3)}}return this.finishOp(m.coalesce,2)}}return this.finishOp(m.question,1)};we.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};we.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};we.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(v.test(r)){this.raise(i,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new ke(this));o.reset(i,n,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(n,a)}catch(e){}return this.finishToken(m.regexp,{pattern:n,flags:a,value:l})};we.readInt=function(e,t,i){var r=this.options.ecmaVersion>=12&&t===undefined;var n=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var l=0,c=t==null?Infinity:t;l=97){h=u-97+10}else if(u>=65){h=u-65+10}else if(u>=48&&u<=57){h=u-48}else{h=Infinity}if(h>=e){break}o=u;a=a*e+h}if(r&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}we.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)};we.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var n=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,n)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(r===46&&!i){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!i){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(m.num,s)};we.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}we.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else{if(isNewLine(r,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(m.string,t)};var Ee={};we.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ee){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};we.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ee}else{this.raise(e,t)}};we.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};we.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var n=parseInt(r,8);if(n>255){r=r.slice(0,-1);n=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(n)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};we.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};we.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos{"use strict";var r=i(1186);var n=[];e.exports=asap;function asap(e){var t;if(n.length){t=n.pop()}else{t=new RawTask}t.task=e;t.domain=process.domain;r(t)}function RawTask(){this.task=null;this.domain=null}RawTask.prototype.call=function(){if(this.domain){this.domain.enter()}var e=true;try{this.task.call();e=false;if(this.domain){this.domain.exit()}}finally{if(e){r.requestFlush()}this.task=null;this.domain=null;n.push(this)}}},1186:(e,t,i)=>{"use strict";var r;var n=typeof setImmediate==="function";e.exports=rawAsap;function rawAsap(e){if(!s.length){requestFlush();a=true}s[s.length]=e}var s=[];var a=false;var o=0;var l=1024;function flush(){while(ol){for(var t=0,i=s.length-o;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});function assertNever(e,t){if(t){return e}throw new Error("Unhandled discriminated union member: "+JSON.stringify(e))}t.assertNever=assertNever;t["default"]=assertNever},797:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});const a=s(i(6638));if(!(Array.isArray(a.TYPES)&&a.TYPES.every((e=>typeof e==="string")))){throw new Error("@babel/types TYPES does not match the expected type.")}const o=a.FLIPPED_ALIAS_KEYS;const l=new Set(a.TYPES);if(!(o&&typeof o==="object"&&Object.keys(o).every((e=>Array.isArray(o[e])&&o[e].every((e=>typeof e==="string")))))){throw new Error("@babel/types FLIPPED_ALIAS_KEYS does not match the expected type.")}function explode(e){const t={};for(const i in e){const r=o[i];if(r){for(const n of r){if(n in t){if(typeof e[i]==="function"){t[n].enter.push(e[i])}else{if(e[i].enter)t[n].enter.push(e[i].enter);if(e[i].exit)t[n].exit.push(e[i].exit)}}else{if(typeof e[i]==="function"){t[n]={enter:[e[i]],exit:[]}}else{t[n]={enter:e[i].enter?[e[i].enter]:[],exit:e[i].exit?[e[i].exit]:[]}}}}}else if(l.has(i)){if(i in t){if(typeof e[i]==="function"){t[i].enter.push(e[i])}else{if(e[i].enter)t[i].enter.push(e[i].enter);if(e[i].exit)t[i].exit.push(e[i].exit)}}else{if(typeof e[i]==="function"){t[i]={enter:[e[i]],exit:[]}}else{t[i]={enter:e[i].enter?[e[i].enter]:[],exit:e[i].exit?[e[i].exit]:[]}}}}}return t}t["default"]=explode},3414:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.recursive=t.ancestor=t.simple=void 0;const o=s(i(6638));const l=a(i(797));const c=o.VISITOR_KEYS;if(!(c&&typeof c==="object"&&Object.keys(c).every((e=>Array.isArray(c[e])&&c[e].every((e=>typeof e==="string")))))){throw new Error("@babel/types VISITOR_KEYS does not match the expected type.")}function simple(e){const t=l.default(e);return(e,i)=>{(function recurse(e){if(!e)return;const r=t[e.type];if(r===null||r===void 0?void 0:r.enter){for(const t of r.enter){t(e,i)}}for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}if(r===null||r===void 0?void 0:r.exit){for(const t of r.exit){t(e,i)}}})(e)}}t.simple=simple;function ancestor(e){const t=l.default(e);return(e,i)=>{const r=[];(function recurse(e){if(!e)return;const n=t[e.type];const s=e!==r[r.length-1];if(s)r.push(e);if(n===null||n===void 0?void 0:n.enter){for(const t of n.enter){t(e,i,r)}}for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}if(n===null||n===void 0?void 0:n.exit){for(const t of n.exit){t(e,i,r)}}if(s)r.pop()})(e)}}t.ancestor=ancestor;function recursive(e){const t=l.default(e);return(e,i)=>{(function recurse(e){if(!e)return;const r=t[e.type];if(r===null||r===void 0?void 0:r.enter){for(const t of r.enter){t(e,i,recurse)}}else{for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}}})(e)}}t.recursive=recursive},3249:(e,t,i)=>{"use strict";var r=i(85);var n=i(411);var s=n(r("String.prototype.indexOf"));e.exports=function callBoundIntrinsic(e,t){var i=r(e,!!t);if(typeof i==="function"&&s(e,".prototype.")>-1){return n(i)}return i}},411:(e,t,i)=>{"use strict";var r=i(2796);var n=i(85);var s=n("%Function.prototype.apply%");var a=n("%Function.prototype.call%");var o=n("%Reflect.apply%",true)||r.call(a,s);var l=n("%Object.getOwnPropertyDescriptor%",true);var c=n("%Object.defineProperty%",true);var u=n("%Math.max%");if(c){try{c({},"a",{value:1})}catch(e){c=null}}e.exports=function callBind(e){var t=o(r,a,arguments);if(l&&c){var i=l(t,"length");if(i.configurable){c(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}}return t};var h=function applyBind(){return o(r,s,arguments)};if(c){c(e.exports,"apply",{value:h})}else{e.exports.apply=h}},340:(e,t,i)=>{"use strict";var r=i(7115);t=e.exports=parse;var n=t.TOKEN_TYPES={LINE_COMMENT:"//",BLOCK_COMMENT:"/**/",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',TEMPLATE_QUOTE:"`",REGEXP:"//g"};var s=t.BRACKETS={"(":")","{":"}","[":"]"};var a={")":"(","}":"{","]":"["};t.parse=parse;function parse(e,i,r){r=r||{};i=i||t.defaultState();var n=r.start||0;var s=r.end||e.length;var a=n;while(a{"use strict";t.__esModule=true;function binaryOperation(e,t,i){switch(e){case"+":return t+i;case"-":return t-i;case"/":return t/i;case"%":return t%i;case"*":return t*i;case"**":return Math.pow(t,i);case"&":return t&i;case"|":return t|i;case">>":return t>>i;case">>>":return t>>>i;case"<<":return t<":return t>i;case"<":return t=":return t>=i;case"<=":return t<=i}}t["default"]=binaryOperation},5122:(e,t,i)=>{"use strict";t.__esModule=true;var r=i(7780);var n=i(6638);var s=i(9484);function expressionToConstant(e,t){if(t===void 0){t={}}var i=true;function toConstant(e){if(!i)return;if(n.isArrayExpression(e)){var r=[];for(var a=0;i&&a{"use strict";e.exports={html:"",xml:'',transitional:'',strict:'',frameset:'',1.1:'',basic:'',mobile:'',plist:''}},8850:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var i=Array.prototype.slice;var r=Object.prototype.toString;var n="[object Function]";e.exports=function bind(e){var s=this;if(typeof s!=="function"||r.call(s)!==n){throw new TypeError(t+s)}var a=i.call(arguments,1);var o;var binder=function(){if(this instanceof o){var t=s.apply(this,a.concat(i.call(arguments)));if(Object(t)===t){return t}return this}else{return s.apply(e,a.concat(i.call(arguments)))}};var l=Math.max(0,s.length-a.length);var c=[];for(var u=0;u{"use strict";var r=i(8850);e.exports=Function.prototype.bind||r},85:(e,t,i)=>{"use strict";var r;var n=SyntaxError;var s=Function;var a=TypeError;var getEvalledConstructor=function(e){try{return s('"use strict"; return ('+e+").constructor;")()}catch(e){}};var o=Object.getOwnPropertyDescriptor;if(o){try{o({},"")}catch(e){o=null}}var throwTypeError=function(){throw new a};var l=o?function(){try{arguments.callee;return throwTypeError}catch(e){try{return o(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError;var c=i(3710)();var u=Object.getPrototypeOf||function(e){return e.__proto__};var h={};var p=typeof Uint8Array==="undefined"?r:u(Uint8Array);var f={"%AggregateError%":typeof AggregateError==="undefined"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?u([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics==="undefined"?r:Atomics,"%BigInt%":typeof BigInt==="undefined"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array==="undefined"?r:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?r:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array==="undefined"?r:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?r:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?u(u([][Symbol.iterator]())):r,"%JSON%":typeof JSON==="object"?JSON:r,"%Map%":typeof Map==="undefined"?r:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!c?r:u((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?r:Promise,"%Proxy%":typeof Proxy==="undefined"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect==="undefined"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?r:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!c?r:u((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?u(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array==="undefined"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap==="undefined"?r:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?r:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?r:WeakSet};try{null.error}catch(e){var d=u(u(e));f["%Error.prototype%"]=d}var m=function doEval(e){var t;if(e==="%AsyncFunction%"){t=getEvalledConstructor("async function () {}")}else if(e==="%GeneratorFunction%"){t=getEvalledConstructor("function* () {}")}else if(e==="%AsyncGeneratorFunction%"){t=getEvalledConstructor("async function* () {}")}else if(e==="%AsyncGenerator%"){var i=doEval("%AsyncGeneratorFunction%");if(i){t=i.prototype}}else if(e==="%AsyncIteratorPrototype%"){var r=doEval("%AsyncGenerator%");if(r){t=u(r.prototype)}}f[e]=t;return t};var v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};var y=i(2796);var g=i(9783);var x=y.call(Function.call,Array.prototype.concat);var b=y.call(Function.apply,Array.prototype.splice);var k=y.call(Function.call,String.prototype.replace);var _=y.call(Function.call,String.prototype.slice);var w=y.call(Function.call,RegExp.prototype.exec);var E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var C=/\\(\\)?/g;var A=function stringToPath(e){var t=_(e,0,1);var i=_(e,-1);if(t==="%"&&i!=="%"){throw new n("invalid intrinsic syntax, expected closing `%`")}else if(i==="%"&&t!=="%"){throw new n("invalid intrinsic syntax, expected opening `%`")}var r=[];k(e,E,(function(e,t,i,n){r[r.length]=i?k(n,C,"$1"):t||e}));return r};var S=function getBaseIntrinsic(e,t){var i=e;var r;if(g(v,i)){r=v[i];i="%"+r[0]+"%"}if(g(f,i)){var s=f[i];if(s===h){s=m(i)}if(typeof s==="undefined"&&!t){throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!")}return{alias:r,name:i,value:s}}throw new n("intrinsic "+e+" does not exist!")};e.exports=function GetIntrinsic(e,t){if(typeof e!=="string"||e.length===0){throw new a("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof t!=="boolean"){throw new a('"allowMissing" argument must be a boolean')}if(w(/^%?[^%]*%?$/,e)===null){throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var i=A(e);var s=i.length>0?i[0]:"";var l=S("%"+s+"%",t);var c=l.name;var u=l.value;var h=false;var p=l.alias;if(p){s=p[0];b(i,x([0,1],p))}for(var d=1,m=true;d=i.length){var E=o(u,v);m=!!E;if(m&&"get"in E&&!("originalValue"in E.get)){u=E.get}else{u=u[v]}}else{m=g(u,v);u=u[v]}if(m&&!h){f[c]=u}}}return u}},3710:(e,t,i)=>{"use strict";var r=typeof Symbol!=="undefined"&&Symbol;var n=i(203);e.exports=function hasNativeSymbols(){if(typeof r!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof r("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return n()}},203:e=>{"use strict";e.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var e={};var t=Symbol("test");var i=Object(t);if(typeof t==="string"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(i)!=="[object Symbol]"){return false}var r=42;e[t]=r;for(t in e){return false}if(typeof Object.keys==="function"&&Object.keys(e).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(e).length!==0){return false}var n=Object.getOwnPropertySymbols(e);if(n.length!==1||n[0]!==t){return false}if(!Object.prototype.propertyIsEnumerable.call(e,t)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==r||s.enumerable!==true){return false}}return true}},1744:(e,t,i)=>{"use strict";var r=i(203);e.exports=function hasToStringTagShams(){return r()&&!!Symbol.toStringTag}},9783:(e,t,i)=>{"use strict";var r=i(2796);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},431:(e,t,i)=>{"use strict";var r=i(9783);function specifierIncluded(e,t){var i=e.split(".");var r=t.split(" ");var n=r.length>1?r[0]:"=";var s=(r.length>1?r[1]:r[0]).split(".");for(var a=0;a<3;++a){var o=parseInt(i[a]||0,10);var l=parseInt(s[a]||0,10);if(o===l){continue}if(n==="<"){return o="){return o>=l}return false}return n===">="}function matchesRange(e,t){var i=t.split(/ ?&& ?/);if(i.length===0){return false}for(var r=0;r{"use strict";var r=i(5808);var n=i(4581);e.exports=isExpression;var s={throw:false,strict:false,lineComment:false};function isExpression(e,t){t=n({},s,t);try{var i=new r.Parser(t,e,0);if(t.strict){i.strict=true}if(!t.lineComment){i.skipLineComment=function(e){this.raise(this.pos,"Line comments not allowed in an expression")}}i.nextToken();i.parseExpression();if(i.type!==r.tokTypes.eof){i.unexpected()}}catch(e){if(!t.throw){return false}throw e}return true}},6907:e=>{e.exports=isPromise;e.exports["default"]=isPromise;function isPromise(e){return!!e&&(typeof e==="object"||typeof e==="function")&&typeof e.then==="function"}},7115:(e,t,i)=>{"use strict";var r=i(3249);var n=i(1744)();var s;var a;var o;var l;if(n){s=r("Object.prototype.hasOwnProperty");a=r("RegExp.prototype.exec");o={};var throwRegexMarker=function(){throw o};l={toString:throwRegexMarker,valueOf:throwRegexMarker};if(typeof Symbol.toPrimitive==="symbol"){l[Symbol.toPrimitive]=throwRegexMarker}}var c=r("Object.prototype.toString");var u=Object.getOwnPropertyDescriptor;var h="[object RegExp]";e.exports=n?function isRegex(e){if(!e||typeof e!=="object"){return false}var t=u(e,"lastIndex");var i=t&&s(t,"value");if(!i){return false}try{a(e,l)}catch(e){return e===o}}:function isRegex(e){if(!e||typeof e!=="object"&&typeof e!=="function"){return false}return c(e)===h}},3734:e=>{"use strict";e.exports=stringify;function stringify(e){if(e instanceof Date){return"new Date("+stringify(e.toISOString())+")"}if(e===undefined){return"undefined"}return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(//g,"\\u003E").replace(/\//g,"\\u002F")}},9147:(e,t,i)=>{"use strict";var r=i(7147);var n=i(9491);var s=i(3803);var a=i(6907);var o=e.exports=function(e){return new Transformer(e)};o.Transformer=Transformer;o.normalizeFn=normalizeFn;o.normalizeFnAsync=normalizeFnAsync;o.normalize=normalize;o.normalizeAsync=normalizeAsync;if(r.readFile){o.readFile=s.denodeify(r.readFile);o.readFileSync=r.readFileSync}else{o.readFile=function(){throw new Error("fs.readFile unsupported")};o.readFileSync=function(){throw new Error("fs.readFileSync unsupported")}}function normalizeFn(e){if(typeof e==="function"){return{fn:e,dependencies:[]}}else if(e&&typeof e==="object"&&typeof e.fn==="function"){if("dependencies"in e){if(!Array.isArray(e.dependencies)){throw new Error("Result should have a dependencies property that is an array")}}else{e.dependencies=[]}return e}else{throw new Error("Invalid result object from transform.")}}function normalizeFnAsync(e,t){return s.resolve(e).then((function(e){if(e&&a(e.fn)){return e.fn.then((function(t){e.fn=t;return e}))}return e})).then(o.normalizeFn).nodeify(t)}function normalize(e){if(typeof e==="string"){return{body:e,dependencies:[]}}else if(e&&typeof e==="object"&&typeof e.body==="string"){if("dependencies"in e){if(!Array.isArray(e.dependencies)){throw new Error("Result should have a dependencies property that is an array")}}else{e.dependencies=[]}return e}else{throw new Error("Invalid result object from transform.")}}function normalizeAsync(e,t){return s.resolve(e).then((function(e){if(e&&a(e.body)){return e.body.then((function(t){e.body=t;return e}))}return e})).then(o.normalize).nodeify(t)}function Transformer(e){n(e,"Transformer must be an object");n(typeof e.name==="string","Transformer must have a name");n(typeof e.outputFormat==="string","Transformer must have an output format");n(["compile","compileAsync","compileFile","compileFileAsync","compileClient","compileClientAsync","compileFileClient","compileFileClientAsync","render","renderAsync","renderFile","renderFileAsync"].some((function(t){return typeof e[t]==="function"})),"Transformer must implement at least one of the potential methods.");this._tr=e;this.name=this._tr.name;this.outputFormat=this._tr.outputFormat;this.inputFormats=this._tr.inputFormats||[this.name]}var l={compile:["compile","render"],compileAsync:["compileAsync","compile","render"],compileFile:["compileFile","compile","renderFile","render"],compileFileAsync:["compileFileAsync","compileFile","compileAsync","compile","renderFile","render"],compileClient:["compileClient"],compileClientAsync:["compileClientAsync","compileClient"],compileFileClient:["compileFileClient","compileClient"],compileFileClientAsync:["compileFileClientAsync","compileFileClient","compileClientAsync","compileClient"],render:["render","compile"],renderAsync:["renderAsync","render","compileAsync","compile"],renderFile:["renderFile","render","compileFile","compile"],renderFileAsync:["renderFileAsync","renderFile","renderAsync","render","compileFileAsync","compileFile","compileAsync","compile"]};Transformer.prototype._hasMethod=function(e){return typeof this._tr[e]==="function"};Transformer.prototype.can=function(e){return l[e].some(function(e){return this._hasMethod(e)}.bind(this))};Transformer.prototype.compile=function(e,t){if(!this._hasMethod("compile")){if(this.can("render")){var i=this;return{fn:function(r){return o.normalize(i._tr.render(e,t,r)).body},dependencies:[]}}if(this.can("compileAsync")){throw new Error('The Transform "'+this.name+'" does not support synchronous compilation')}else if(this.can("compileFileAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling plain strings')}else{throw new Error('The Transform "'+this.name+'" does not support compilation')}}return o.normalizeFn(this._tr.compile(e,t))};Transformer.prototype.compileAsync=function(e,t,i){if(!this.can("compileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling plain strings')).nodeify(i)}if(this._hasMethod("compileAsync")){return o.normalizeFnAsync(this._tr.compileAsync(e,t),i)}else{return o.normalizeFnAsync(this.compile(e,t),i)}};Transformer.prototype.compileFile=function(e,t){if(!this.can("compileFile")){throw new Error('The Transform "'+this.name+'" does not support synchronous compilation')}if(this._hasMethod("compileFile")){return o.normalizeFn(this._tr.compileFile(e,t))}else if(this._hasMethod("renderFile")){return o.normalizeFn(function(i){return o.normalize(this._tr.renderFile(e,t,i)).body}.bind(this))}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return this.compile(o.readFileSync(e,"utf8"),t)}};Transformer.prototype.compileFileAsync=function(e,t,i){if(!this.can("compileFileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compilation'))}if(this._hasMethod("compileFileAsync")){return o.normalizeFnAsync(this._tr.compileFileAsync(e,t),i)}else if(this._hasMethod("compileFile")||this._hasMethod("renderFile")){return o.normalizeFnAsync(this.compileFile(e,t),i)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeFnAsync(o.readFile(e,"utf8").then(function(e){if(this._hasMethod("compileAsync")){return this._tr.compileAsync(e,t)}else{return this.compile(e,t)}}.bind(this)),i)}};Transformer.prototype.compileClient=function(e,t){if(!this.can("compileClient")){if(this.can("compileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.')}else if(this.can("compileFileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')}else{throw new Error('The Transform "'+this.name+'" does not support compiling for the client')}}return o.normalize(this._tr.compileClient(e,t))};Transformer.prototype.compileClientAsync=function(e,t,i){if(!this.can("compileClientAsync")){if(this.can("compileFileClientAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')).nodeify(i)}else{return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(i)}}if(this._hasMethod("compileClientAsync")){return o.normalizeAsync(this._tr.compileClientAsync(e,t),i)}else{return o.normalizeAsync(this._tr.compileClient(e,t),i)}};Transformer.prototype.compileFileClient=function(e,t){if(!this.can("compileFileClient")){if(this.can("compileFileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.')}else{throw new Error('The Transform "'+this.name+'" does not support compiling for the client')}}if(this._hasMethod("compileFileClient")){return o.normalize(this._tr.compileFileClient(e,t))}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalize(this._tr.compileClient(o.readFileSync(e,"utf8"),t))}};Transformer.prototype.compileFileClientAsync=function(e,t,i){if(!this.can("compileFileClientAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(i)}if(this._hasMethod("compileFileClientAsync")){return o.normalizeAsync(this._tr.compileFileClientAsync(e,t),i)}else if(this._hasMethod("compileFileClient")){return o.normalizeAsync(this._tr.compileFileClient(e,t),i)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeAsync(o.readFile(e,"utf8").then(function(e){if(this._hasMethod("compileClientAsync")){return this._tr.compileClientAsync(e,t)}else{return this._tr.compileClient(e,t)}}.bind(this)),i)}};Transformer.prototype.render=function(e,t,i){if(!this.can("render")){if(this.can("renderAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}else if(this.can("renderFileAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering from a string.')}else{throw new Error('The Transform "'+this.name+'" does not support rendering')}}if(this._hasMethod("render")){return o.normalize(this._tr.render(e,t,i))}else{var r=o.normalizeFn(this._tr.compile(e,t));var n=r.fn(i||t);if(typeof n!=="string"){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}return o.normalize({body:n,dependencies:r.dependencies})}};Transformer.prototype.renderAsync=function(e,t,i,r){if(typeof i==="function"){r=i;i=t}if(!this.can("renderAsync")){if(this.can("renderFileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support rendering from a string.')).nodeify(r)}else{return s.reject(new Error('The Transform "'+this.name+'" does not support rendering')).nodeify(r)}}if(this._hasMethod("renderAsync")){return o.normalizeAsync(this._tr.renderAsync(e,t,i),r)}else if(this._hasMethod("render")){return o.normalizeAsync(this._tr.render(e,t,i),r)}else{return o.normalizeAsync(this.compileAsync(e,t).then((function(e){return{body:e.fn(i||t),dependencies:e.dependencies}})),r)}};Transformer.prototype.renderFile=function(e,t,i){if(!this.can("renderFile")){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}if(this._hasMethod("renderFile")){return o.normalize(this._tr.renderFile(e,t,i))}else if(this._hasMethod("render")){if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalize(this._tr.render(o.readFileSync(e,"utf8"),t,i))}else{var r=this.compileFile(e,t);return o.normalize({body:r.fn(i||t),dependencies:r.dependencies})}};Transformer.prototype.renderFileAsync=function(e,t,i,r){if(!this.can("renderFileAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering.')}if(typeof i==="function"){r=i;i=t}if(this._hasMethod("renderFileAsync")){return o.normalizeAsync(this._tr.renderFileAsync(e,t,i),r)}else if(this._hasMethod("renderFile")){return o.normalizeAsync(this._tr.renderFile(e,t,i),r)}else if(this._hasMethod("compile")||this._hasMethod("compileAsync")||this._hasMethod("compileFile")||this._hasMethod("compileFileAsync")){return o.normalizeAsync(this.compileFileAsync(e,t).then((function(e){return{body:e.fn(i||t),dependencies:e.dependencies}})),r)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeAsync(o.readFile(e,"utf8").then(function(e){return this.renderAsync(e,t,i)}.bind(this)),r)}}},4581:e=>{"use strict"; /* object-assign (c) Sindre Sorhus @@ -8,4 +8,4 @@ object-assign * Pug * Copyright(c) 2010 TJ Holowaychuk * MIT Licensed - */var r=i(7147);var n=i(1017);var s=i(267);var a=i(5477);var o=i(1227);var l=i(6397);var c=i(1879);var u=i(6502);var h=i(4880);var p=i(5804);var f=i(2696);t.name="Pug";t.runtime=p;t.cache={};function applyPlugins(e,t,i,r){return i.reduce((function(e,i){return i[r]?i[r](e,t):e}),e)}function findReplacementFunc(e,t){var i=e.filter((function(e){return e[t]}));if(i.length>1){throw new Error("Two or more plugins all implement "+t+" method.")}else if(i.length){return i[0][t].bind(i[0])}return null}t.filters={};function compileBody(e,i){var r={};r[i.filename]=e;var p=[];var f=i.plugins||[];var d=l.string(e,{filename:i.filename,basedir:i.basedir,lex:function(e,t){var i={};Object.keys(t).forEach((function(e){i[e]=t[e]}));i.plugins=f.filter((function(e){return!!e.lex})).map((function(e){return e.lex}));var r=applyPlugins(e,{filename:t.filename},f,"preLex");return applyPlugins(s(r,i),t,f,"postLex")},parse:function(e,t){e=e.map((function(e){if(e.type==="path"&&n.extname(e.val)===""){return{type:"path",loc:e.loc,val:e.val+".pug"}}return e}));e=a(e,t);e=applyPlugins(e,t,f,"preParse");var i={};Object.keys(t).forEach((function(e){i[e]=t[e]}));i.plugins=f.filter((function(e){return!!e.parse})).map((function(e){return e.parse}));return applyPlugins(applyPlugins(o(e,i),t,f,"postParse"),t,f,"preLoad")},resolve:function(e,t,r){var n=findReplacementFunc(f,"resolve");if(n){return n(e,t,i)}return l.resolve(e,t,r)},read:function(e,t){p.push(e);var n;var s=findReplacementFunc(f,"read");if(s){n=s(e,i)}else{n=l.read(e,t)}r[e]=Buffer.isBuffer(n)?n.toString("utf8"):n;return n}});d=applyPlugins(d,i,f,"postLoad");d=applyPlugins(d,i,f,"preFilters");var m={};Object.keys(t.filters).forEach((function(e){m[e]=t.filters[e]}));if(i.filters){Object.keys(i.filters).forEach((function(e){m[e]=i.filters[e]}))}d=c.handleFilters(d,m,i.filterOptions,i.filterAliases);d=applyPlugins(d,i,f,"postFilters");d=applyPlugins(d,i,f,"preLink");d=u(d);d=applyPlugins(d,i,f,"postLink");d=applyPlugins(d,i,f,"preCodeGen");var v=(findReplacementFunc(f,"generateCode")||h)(d,{pretty:i.pretty,compileDebug:i.compileDebug,doctype:i.doctype,inlineRuntimeFunctions:i.inlineRuntimeFunctions,globals:i.globals,self:i.self,includeSources:i.includeSources?r:false,templateName:i.templateName});v=applyPlugins(v,i,f,"postCodeGen");if(i.debug){console.error("\nCompiled Function:\n\n%s",v.replace(/^/gm," "))}return{body:v,dependencies:p}}function handleTemplateCache(e,i){var n=e.filename;if(e.cache&&t.cache[n]){return t.cache[n]}else{if(i===undefined)i=r.readFileSync(e.filename,"utf8");var s=t.compile(i,e);if(e.cache)t.cache[n]=s;return s}}t.compile=function(e,t){var t=t||{};e=String(e);var i=compileBody(e,{compileDebug:t.compileDebug!==false,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions,globals:t.globals,self:t.self,includeSources:t.compileDebug===true,debug:t.debug,templateName:"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins});var r=t.inlineRuntimeFunctions?new Function("",i.body+";return template;")():f(i.body);r.dependencies=i.dependencies;return r};t.compileClientWithDependenciesTracked=function(e,t){var t=t||{};e=String(e);var i=compileBody(e,{compileDebug:t.compileDebug,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions!==false,globals:t.globals,self:t.self,includeSources:t.compileDebug,debug:t.debug,templateName:t.name||"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins});var r=i.body;if(t.module){if(t.inlineRuntimeFunctions===false){r='var pug = require("pug-runtime");'+r}r+=" module.exports = "+(t.name||"template")+";"}return{body:r,dependencies:i.dependencies}};t.compileClient=function(e,i){return t.compileClientWithDependenciesTracked(e,i).body};t.compileFile=function(e,t){t=t||{};t.filename=e;return handleTemplateCache(t)};t.render=function(e,i,r){if("function"==typeof i){r=i,i=undefined}if(typeof r==="function"){var n;try{n=t.render(e,i)}catch(e){return r(e)}return r(null,n)}i=i||{};if(i.cache&&!i.filename){throw new Error('the "filename" option is required for caching')}return handleTemplateCache(i,e)(i)};t.renderFile=function(e,i,r){if("function"==typeof i){r=i,i=undefined}if(typeof r==="function"){var n;try{n=t.renderFile(e,i)}catch(e){return r(e)}return r(null,n)}i=i||{};i.filename=e;return handleTemplateCache(i)(i)};t.compileFileClient=function(e,i){var n=e+":client";i=i||{};i.filename=e;if(i.cache&&t.cache[n]){return t.cache[n]}var s=r.readFileSync(i.filename,"utf8");var a=t.compileClient(s,i);if(i.cache)t.cache[n]=a;return a};t.__express=function(e,i,r){if(i.compileDebug==undefined&&process.env.NODE_ENV==="production"){i.compileDebug=false}t.renderFile(e,i,r)}},8349:(e,t,i)=>{var r=i(1631);r.core=i(138);r.isCore=i(1738);r.sync=i(1078);e.exports=r},1631:(e,t,i)=>{var r=i(7147);var n=i(3135);var s=i(1017);var a=i(3515);var o=i(5250);var l=i(2934);var c=i(431);var u=process.platform!=="win32"&&r.realpath&&typeof r.realpath.native==="function"?r.realpath.native:r.realpath;var h=n();var defaultPaths=function(){return[s.join(h,".node_modules"),s.join(h,".node_libraries")]};var p=function isFile(e,t){r.stat(e,(function(e,i){if(!e){return t(null,i.isFile()||i.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var f=function isDirectory(e,t){r.stat(e,(function(e,i){if(!e){return t(null,i.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var d=function realpath(e,t){u(e,(function(i,r){if(i&&i.code!=="ENOENT")t(i);else t(null,i?e:r)}))};var m=function maybeRealpath(e,t,i,r){if(i&&i.preserveSymlinks===false){e(t,r)}else{r(null,t)}};var v=function defaultReadPackage(e,t,i){e(t,(function(e,t){if(e)i(e);else{try{var r=JSON.parse(t);i(null,r)}catch(e){i(null)}}}))};var y=function getPackageCandidates(e,t,i){var r=o(t,i,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()}},138:(e,t,i)=>{var r=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var i=t.length>1?t[0]:"=";var n=(t.length>1?t[1]:t[0]).split(".");for(var s=0;s<3;++s){var a=parseInt(r[s]||0,10);var o=parseInt(n[s]||0,10);if(a===o){continue}if(i==="<"){return a="){return a>=o}return false}return i===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var i=0;i{"use strict";var r=i(2037);e.exports=r.homedir||function homedir(){var e=process.env.HOME;var t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;if(process.platform==="win32"){return process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||e||null}if(process.platform==="darwin"){return e||(t?"/Users/"+t:null)}if(process.platform==="linux"){return e||(process.getuid()===0?"/root":t?"/home/"+t:null)}return e||null}},1738:(e,t,i)=>{var r=i(431);e.exports=function isCore(e){return r(e)}},5250:(e,t,i)=>{var r=i(1017);var n=r.parse||i(4187);var s=function getNodeModulesDirs(e,t){var i="/";if(/^([A-Za-z]:)/.test(e)){i=""}else if(/^\\\\/.test(e)){i="\\\\"}var s=[e];var a=n(e);while(a.dir!==s[s.length-1]){s.push(a.dir);a=n(a.dir)}return s.reduce((function(e,n){return e.concat(t.map((function(e){return r.resolve(i,n,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,i){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(i,e,(function(){return s(e,r)}),t)}var n=s(e,r);return t&&t.paths?n.concat(t.paths):n}},2934:e=>{e.exports=function(e,t){return t||{}}},1078:(e,t,i)=>{var r=i(431);var n=i(7147);var s=i(1017);var a=i(3135);var o=i(3515);var l=i(5250);var c=i(2934);var u=process.platform!=="win32"&&n.realpathSync&&typeof n.realpathSync.native==="function"?n.realpathSync.native:n.realpathSync;var h=a();var defaultPaths=function(){return[s.join(h,".node_modules"),s.join(h,".node_libraries")]};var p=function isFile(e){try{var t=n.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&(t.isFile()||t.isFIFO())};var f=function isDirectory(e){try{var t=n.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&t.isDirectory()};var d=function realpathSync(e){try{return u(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var m=function maybeRealpathSync(e,t,i){if(i&&i.preserveSymlinks===false){return e(t)}return t};var v=function defaultReadPackageSync(e,t){var i=e(t);try{var r=JSON.parse(i);return r}catch(e){}};var y=function getPackageCandidates(e,t,i){var r=l(t,i,e);for(var n=0;n{"use strict";e.exports=TokenStream;function TokenStream(e){if(!Array.isArray(e)){throw new TypeError("tokens must be passed to TokenStream as an array.")}this._tokens=e}TokenStream.prototype.lookahead=function(e){if(this._tokens.length<=e){throw new Error("Cannot read past the end of a stream")}return this._tokens[e]};TokenStream.prototype.peek=function(){if(this._tokens.length===0){throw new Error("Cannot read past the end of a stream")}return this._tokens[0]};TokenStream.prototype.advance=function(){if(this._tokens.length===0){throw new Error("Cannot read past the end of a stream")}return this._tokens.shift()};TokenStream.prototype.defer=function(e){this._tokens.unshift(e)}},4449:e=>{e.exports={area:true,base:true,br:true,col:true,embed:true,hr:true,img:true,input:true,link:true,meta:true,param:true,source:true,track:true,wbr:true}},133:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const o=a(i(4510));const l=i(3414);const c=s(i(2528));const u=a(i(7439));const isScope=e=>c.isFunctionParent(e)||c.isProgram(e);const isBlockScope=e=>c.isBlockStatement(e)||isScope(e);const declaresArguments=e=>c.isFunction(e)&&!c.isArrowFunctionExpression(e);const h=declaresArguments;const p=Symbol("locals");const getLocals=e=>e[p];const declareLocals=e=>e[p]=e[p]||new Set;const setLocal=(e,t)=>declareLocals(e).add(t);function declareFunction(e){for(const t of e.params){declarePattern(t,e)}const t=e.id;if(t){setLocal(e,t.name)}}function declarePattern(e,t){switch(e.type){case"Identifier":setLocal(t,e.name);break;case"ObjectPattern":for(const i of e.properties){switch(i.type){case"RestElement":declarePattern(i.argument,t);break;case"ObjectProperty":declarePattern(i.value,t);break;default:o.default(i);break}}break;case"ArrayPattern":for(const i of e.elements){if(i)declarePattern(i,t)}break;case"RestElement":declarePattern(e.argument,t);break;case"AssignmentPattern":declarePattern(e.left,t);break;default:throw new Error("Unrecognized pattern type: "+e.type)}}function declareModuleSpecifier(e,t,i){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.local.name);return}}}const f=l.ancestor({VariableDeclaration(e,t,i){for(let t=i.length-2;t>=0;t--){if(e.kind==="var"?c.isFunctionParent(i[t]):isBlockScope(i[t])){for(const r of e.declarations){declarePattern(r.id,i[t])}return}}},FunctionDeclaration(e,t,i){if(e.id){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.id.name);return}}}},Function:declareFunction,ClassDeclaration(e,t,i){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.id.name);return}}},TryStatement(e){if(e.handler===null)return;if(e.handler.param===null)return;declarePattern(e.handler.param,e.handler)},ImportDefaultSpecifier:declareModuleSpecifier,ImportSpecifier:declareModuleSpecifier,ImportNamespaceSpecifier:declareModuleSpecifier});const d=l.ancestor({Identifier(e,t,i){var r;const n=e.name;if(n==="undefined")return;const s=i[i.length-2];if(s){if(!u.default(e,s))return;for(const e of i){if(n==="arguments"&&declaresArguments(e)){return}if((r=getLocals(e))===null||r===void 0?void 0:r.has(n)){return}}}t.globals.push(e)},ThisExpression(e,t,i){for(const e of i){if(h(e)){return}}t.globals.push(e)}});function findGlobals(e){const t=[];if(!c.isNode(e)){throw new TypeError("Source must be a Babylon AST")}f(e,undefined);d(e,{globals:t});const i=new Map;for(const e of t){const t=e.type==="ThisExpression"?"this":e.name;const r=i.get(t);if(r){r.push(e)}else{i.set(t,[e])}}return[...i].map((([e,t])=>({name:e,nodes:t}))).sort(((e,t)=>e.namee.name))]);const a=new Set(u.default(r).map((e=>e.name)).filter((e=>!s.has(e))));if(a.size===0)return t;let l="";let p="locals_for_with";let f="result_of_with";if(c.isValidIdentifier(e)){p=e}else{while(a.has(p)||s.has(p)){p+="_"}l=`var ${p} = (${e});`}while(a.has(f)||s.has(f)){f+="_"}const d=["this",...Array.from(a).map((e=>`${JSON.stringify(e)} in ${p} ?\n ${p}.${e} :\n typeof ${e} !== 'undefined' ? ${e} : undefined`))];const m=unwrapReturns(r,t,f);return`;\n ${l}\n ${m.before}\n (function (${Array.from(a).join(", ")}) {\n ${m.body}\n }.call(${d.join(", ")}));\n ${m.after};`}t["default"]=addWith;const p=l.recursive({Function(e,t,i){},ReturnStatement(e,t){t.hasReturn=true;let i="";if(e.argument){i=`value: (${t.source(e.argument)})`}t.replace(e,`return {${i}};`)}});function unwrapReturns(e,t,i){const r=t.split("");const n={hasReturn:false,source(e){return t.slice(e.start,e.end)},replace(e,t){r.fill("",e.start,e.end);r[e.start]=t}};p(e,n);return{before:n.hasReturn?`var ${i} = `:"",body:r.join(""),after:n.hasReturn?`;if (${i}) return ${i}.value`:""}}e.exports=addWith;e.exports["default"]=addWith},7439:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});const a=s(i(2528));function isReferenced(e,t){switch(t.type){case"ObjectProperty":return t.value===e||t.computed;case"BreakStatement":case"ContinueStatement":return false;case"AssignmentExpression":return true}return a.isReferenced(e,t)}t["default"]=isReferenced},3985:e=>{"use strict";e.exports=require("../@babel/parser")},2528:e=>{"use strict";e.exports=require("../@babel/types")},9491:e=>{"use strict";e.exports=require("assert")},3639:e=>{"use strict";e.exports=require("domain")},7147:e=>{"use strict";e.exports=require("fs")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},9928:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18","timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')},5271:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18","timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')}};var t={};function __nccwpck_require__(i){var r=t[i];if(r!==undefined){return r.exports}var n=t[i]={exports:{}};var s=true;try{e[i].call(n.exports,n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[i]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var i=__nccwpck_require__(7638);module.exports=i})(); \ No newline at end of file + */var r=i(7147);var n=i(1017);var s=i(267);var a=i(5477);var o=i(1227);var l=i(6397);var c=i(1879);var u=i(6502);var h=i(4880);var p=i(5804);var f=i(2696);t.name="Pug";t.runtime=p;t.cache={};function applyPlugins(e,t,i,r){return i.reduce((function(e,i){return i[r]?i[r](e,t):e}),e)}function findReplacementFunc(e,t){var i=e.filter((function(e){return e[t]}));if(i.length>1){throw new Error("Two or more plugins all implement "+t+" method.")}else if(i.length){return i[0][t].bind(i[0])}return null}t.filters={};function compileBody(e,i){var r={};r[i.filename]=e;var p=[];var f=i.plugins||[];var d=l.string(e,{filename:i.filename,basedir:i.basedir,lex:function(e,t){var i={};Object.keys(t).forEach((function(e){i[e]=t[e]}));i.plugins=f.filter((function(e){return!!e.lex})).map((function(e){return e.lex}));var r=applyPlugins(e,{filename:t.filename},f,"preLex");return applyPlugins(s(r,i),t,f,"postLex")},parse:function(e,t){e=e.map((function(e){if(e.type==="path"&&n.extname(e.val)===""){return{type:"path",loc:e.loc,val:e.val+".pug"}}return e}));e=a(e,t);e=applyPlugins(e,t,f,"preParse");var i={};Object.keys(t).forEach((function(e){i[e]=t[e]}));i.plugins=f.filter((function(e){return!!e.parse})).map((function(e){return e.parse}));return applyPlugins(applyPlugins(o(e,i),t,f,"postParse"),t,f,"preLoad")},resolve:function(e,t,r){var n=findReplacementFunc(f,"resolve");if(n){return n(e,t,i)}return l.resolve(e,t,r)},read:function(e,t){p.push(e);var n;var s=findReplacementFunc(f,"read");if(s){n=s(e,i)}else{n=l.read(e,t)}r[e]=Buffer.isBuffer(n)?n.toString("utf8"):n;return n}});d=applyPlugins(d,i,f,"postLoad");d=applyPlugins(d,i,f,"preFilters");var m={};Object.keys(t.filters).forEach((function(e){m[e]=t.filters[e]}));if(i.filters){Object.keys(i.filters).forEach((function(e){m[e]=i.filters[e]}))}d=c.handleFilters(d,m,i.filterOptions,i.filterAliases);d=applyPlugins(d,i,f,"postFilters");d=applyPlugins(d,i,f,"preLink");d=u(d);d=applyPlugins(d,i,f,"postLink");d=applyPlugins(d,i,f,"preCodeGen");var v=(findReplacementFunc(f,"generateCode")||h)(d,{pretty:i.pretty,compileDebug:i.compileDebug,doctype:i.doctype,inlineRuntimeFunctions:i.inlineRuntimeFunctions,globals:i.globals,self:i.self,includeSources:i.includeSources?r:false,templateName:i.templateName});v=applyPlugins(v,i,f,"postCodeGen");if(i.debug){console.error("\nCompiled Function:\n\n%s",v.replace(/^/gm," "))}return{body:v,dependencies:p}}function handleTemplateCache(e,i){var n=e.filename;if(e.cache&&t.cache[n]){return t.cache[n]}else{if(i===undefined)i=r.readFileSync(e.filename,"utf8");var s=t.compile(i,e);if(e.cache)t.cache[n]=s;return s}}t.compile=function(e,t){var t=t||{};e=String(e);var i=compileBody(e,{compileDebug:t.compileDebug!==false,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions,globals:t.globals,self:t.self,includeSources:t.compileDebug===true,debug:t.debug,templateName:"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins});var r=t.inlineRuntimeFunctions?new Function("",i.body+";return template;")():f(i.body);r.dependencies=i.dependencies;return r};t.compileClientWithDependenciesTracked=function(e,t){var t=t||{};e=String(e);var i=compileBody(e,{compileDebug:t.compileDebug,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions!==false,globals:t.globals,self:t.self,includeSources:t.compileDebug,debug:t.debug,templateName:t.name||"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins});var r=i.body;if(t.module){if(t.inlineRuntimeFunctions===false){r='var pug = require("pug-runtime");'+r}r+=" module.exports = "+(t.name||"template")+";"}return{body:r,dependencies:i.dependencies}};t.compileClient=function(e,i){return t.compileClientWithDependenciesTracked(e,i).body};t.compileFile=function(e,t){t=t||{};t.filename=e;return handleTemplateCache(t)};t.render=function(e,i,r){if("function"==typeof i){r=i,i=undefined}if(typeof r==="function"){var n;try{n=t.render(e,i)}catch(e){return r(e)}return r(null,n)}i=i||{};if(i.cache&&!i.filename){throw new Error('the "filename" option is required for caching')}return handleTemplateCache(i,e)(i)};t.renderFile=function(e,i,r){if("function"==typeof i){r=i,i=undefined}if(typeof r==="function"){var n;try{n=t.renderFile(e,i)}catch(e){return r(e)}return r(null,n)}i=i||{};i.filename=e;return handleTemplateCache(i)(i)};t.compileFileClient=function(e,i){var n=e+":client";i=i||{};i.filename=e;if(i.cache&&t.cache[n]){return t.cache[n]}var s=r.readFileSync(i.filename,"utf8");var a=t.compileClient(s,i);if(i.cache)t.cache[n]=a;return a};t.__express=function(e,i,r){if(i.compileDebug==undefined&&process.env.NODE_ENV==="production"){i.compileDebug=false}t.renderFile(e,i,r)}},8349:(e,t,i)=>{var r=i(1631);r.core=i(138);r.isCore=i(1738);r.sync=i(1078);e.exports=r},1631:(e,t,i)=>{var r=i(7147);var n=i(3135);var s=i(1017);var a=i(3515);var o=i(5250);var l=i(2934);var c=i(431);var u=process.platform!=="win32"&&r.realpath&&typeof r.realpath.native==="function"?r.realpath.native:r.realpath;var h=n();var defaultPaths=function(){return[s.join(h,".node_modules"),s.join(h,".node_libraries")]};var p=function isFile(e,t){r.stat(e,(function(e,i){if(!e){return t(null,i.isFile()||i.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var f=function isDirectory(e,t){r.stat(e,(function(e,i){if(!e){return t(null,i.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var d=function realpath(e,t){u(e,(function(i,r){if(i&&i.code!=="ENOENT")t(i);else t(null,i?e:r)}))};var m=function maybeRealpath(e,t,i,r){if(i&&i.preserveSymlinks===false){e(t,r)}else{r(null,t)}};var v=function defaultReadPackage(e,t,i){e(t,(function(e,t){if(e)i(e);else{try{var r=JSON.parse(t);i(null,r)}catch(e){i(null)}}}))};var y=function getPackageCandidates(e,t,i){var r=o(t,i,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()}},138:(e,t,i)=>{var r=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var i=t.length>1?t[0]:"=";var n=(t.length>1?t[1]:t[0]).split(".");for(var s=0;s<3;++s){var a=parseInt(r[s]||0,10);var o=parseInt(n[s]||0,10);if(a===o){continue}if(i==="<"){return a="){return a>=o}return false}return i===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var i=0;i{"use strict";var r=i(2037);e.exports=r.homedir||function homedir(){var e=process.env.HOME;var t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;if(process.platform==="win32"){return process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||e||null}if(process.platform==="darwin"){return e||(t?"/Users/"+t:null)}if(process.platform==="linux"){return e||(process.getuid()===0?"/root":t?"/home/"+t:null)}return e||null}},1738:(e,t,i)=>{var r=i(431);e.exports=function isCore(e){return r(e)}},5250:(e,t,i)=>{var r=i(1017);var n=r.parse||i(4187);var s=function getNodeModulesDirs(e,t){var i="/";if(/^([A-Za-z]:)/.test(e)){i=""}else if(/^\\\\/.test(e)){i="\\\\"}var s=[e];var a=n(e);while(a.dir!==s[s.length-1]){s.push(a.dir);a=n(a.dir)}return s.reduce((function(e,n){return e.concat(t.map((function(e){return r.resolve(i,n,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,i){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(i,e,(function(){return s(e,r)}),t)}var n=s(e,r);return t&&t.paths?n.concat(t.paths):n}},2934:e=>{e.exports=function(e,t){return t||{}}},1078:(e,t,i)=>{var r=i(431);var n=i(7147);var s=i(1017);var a=i(3135);var o=i(3515);var l=i(5250);var c=i(2934);var u=process.platform!=="win32"&&n.realpathSync&&typeof n.realpathSync.native==="function"?n.realpathSync.native:n.realpathSync;var h=a();var defaultPaths=function(){return[s.join(h,".node_modules"),s.join(h,".node_libraries")]};var p=function isFile(e){try{var t=n.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&(t.isFile()||t.isFIFO())};var f=function isDirectory(e){try{var t=n.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&t.isDirectory()};var d=function realpathSync(e){try{return u(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var m=function maybeRealpathSync(e,t,i){if(i&&i.preserveSymlinks===false){return e(t)}return t};var v=function defaultReadPackageSync(e,t){var i=e(t);try{var r=JSON.parse(i);return r}catch(e){}};var y=function getPackageCandidates(e,t,i){var r=l(t,i,e);for(var n=0;n{"use strict";e.exports=TokenStream;function TokenStream(e){if(!Array.isArray(e)){throw new TypeError("tokens must be passed to TokenStream as an array.")}this._tokens=e}TokenStream.prototype.lookahead=function(e){if(this._tokens.length<=e){throw new Error("Cannot read past the end of a stream")}return this._tokens[e]};TokenStream.prototype.peek=function(){if(this._tokens.length===0){throw new Error("Cannot read past the end of a stream")}return this._tokens[0]};TokenStream.prototype.advance=function(){if(this._tokens.length===0){throw new Error("Cannot read past the end of a stream")}return this._tokens.shift()};TokenStream.prototype.defer=function(e){this._tokens.unshift(e)}},4449:e=>{e.exports={area:true,base:true,br:true,col:true,embed:true,hr:true,img:true,input:true,link:true,meta:true,param:true,source:true,track:true,wbr:true}},133:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const o=a(i(4510));const l=i(3414);const c=s(i(6638));const u=a(i(7439));const isScope=e=>c.isFunctionParent(e)||c.isProgram(e);const isBlockScope=e=>c.isBlockStatement(e)||isScope(e);const declaresArguments=e=>c.isFunction(e)&&!c.isArrowFunctionExpression(e);const h=declaresArguments;const p=Symbol("locals");const getLocals=e=>e[p];const declareLocals=e=>e[p]=e[p]||new Set;const setLocal=(e,t)=>declareLocals(e).add(t);function declareFunction(e){for(const t of e.params){declarePattern(t,e)}const t=e.id;if(t){setLocal(e,t.name)}}function declarePattern(e,t){switch(e.type){case"Identifier":setLocal(t,e.name);break;case"ObjectPattern":for(const i of e.properties){switch(i.type){case"RestElement":declarePattern(i.argument,t);break;case"ObjectProperty":declarePattern(i.value,t);break;default:o.default(i);break}}break;case"ArrayPattern":for(const i of e.elements){if(i)declarePattern(i,t)}break;case"RestElement":declarePattern(e.argument,t);break;case"AssignmentPattern":declarePattern(e.left,t);break;default:throw new Error("Unrecognized pattern type: "+e.type)}}function declareModuleSpecifier(e,t,i){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.local.name);return}}}const f=l.ancestor({VariableDeclaration(e,t,i){for(let t=i.length-2;t>=0;t--){if(e.kind==="var"?c.isFunctionParent(i[t]):isBlockScope(i[t])){for(const r of e.declarations){declarePattern(r.id,i[t])}return}}},FunctionDeclaration(e,t,i){if(e.id){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.id.name);return}}}},Function:declareFunction,ClassDeclaration(e,t,i){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.id.name);return}}},TryStatement(e){if(e.handler===null)return;if(e.handler.param===null)return;declarePattern(e.handler.param,e.handler)},ImportDefaultSpecifier:declareModuleSpecifier,ImportSpecifier:declareModuleSpecifier,ImportNamespaceSpecifier:declareModuleSpecifier});const d=l.ancestor({Identifier(e,t,i){var r;const n=e.name;if(n==="undefined")return;const s=i[i.length-2];if(s){if(!u.default(e,s))return;for(const e of i){if(n==="arguments"&&declaresArguments(e)){return}if((r=getLocals(e))===null||r===void 0?void 0:r.has(n)){return}}}t.globals.push(e)},ThisExpression(e,t,i){for(const e of i){if(h(e)){return}}t.globals.push(e)}});function findGlobals(e){const t=[];if(!c.isNode(e)){throw new TypeError("Source must be a Babylon AST")}f(e,undefined);d(e,{globals:t});const i=new Map;for(const e of t){const t=e.type==="ThisExpression"?"this":e.name;const r=i.get(t);if(r){r.push(e)}else{i.set(t,[e])}}return[...i].map((([e,t])=>({name:e,nodes:t}))).sort(((e,t)=>e.namee.name))]);const a=new Set(u.default(r).map((e=>e.name)).filter((e=>!s.has(e))));if(a.size===0)return t;let l="";let p="locals_for_with";let f="result_of_with";if(c.isValidIdentifier(e)){p=e}else{while(a.has(p)||s.has(p)){p+="_"}l=`var ${p} = (${e});`}while(a.has(f)||s.has(f)){f+="_"}const d=["this",...Array.from(a).map((e=>`${JSON.stringify(e)} in ${p} ?\n ${p}.${e} :\n typeof ${e} !== 'undefined' ? ${e} : undefined`))];const m=unwrapReturns(r,t,f);return`;\n ${l}\n ${m.before}\n (function (${Array.from(a).join(", ")}) {\n ${m.body}\n }.call(${d.join(", ")}));\n ${m.after};`}t["default"]=addWith;const p=l.recursive({Function(e,t,i){},ReturnStatement(e,t){t.hasReturn=true;let i="";if(e.argument){i=`value: (${t.source(e.argument)})`}t.replace(e,`return {${i}};`)}});function unwrapReturns(e,t,i){const r=t.split("");const n={hasReturn:false,source(e){return t.slice(e.start,e.end)},replace(e,t){r.fill("",e.start,e.end);r[e.start]=t}};p(e,n);return{before:n.hasReturn?`var ${i} = `:"",body:r.join(""),after:n.hasReturn?`;if (${i}) return ${i}.value`:""}}e.exports=addWith;e.exports["default"]=addWith},7439:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});const a=s(i(6638));function isReferenced(e,t){switch(t.type){case"ObjectProperty":return t.value===e||t.computed;case"BreakStatement":case"ContinueStatement":return false;case"AssignmentExpression":return true}return a.isReferenced(e,t)}t["default"]=isReferenced},7780:e=>{"use strict";e.exports=require("@babel/parser")},6638:e=>{"use strict";e.exports=require("@babel/types")},9491:e=>{"use strict";e.exports=require("assert")},3639:e=>{"use strict";e.exports=require("domain")},7147:e=>{"use strict";e.exports=require("fs")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},9928:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18","timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')},5271:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18","timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')}};var t={};function __nccwpck_require__(i){var r=t[i];if(r!==undefined){return r.exports}var n=t[i]={exports:{}};var s=true;try{e[i].call(n.exports,n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[i]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var i=__nccwpck_require__(7638);module.exports=i})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/package.json b/packages/builder/builder-shared/package.json index cbd92d82f0ca..fb2c925a75be 100644 --- a/packages/builder/builder-shared/package.json +++ b/packages/builder/builder-shared/package.json @@ -90,6 +90,8 @@ } }, "dependencies": { + "@babel/types": "^7.21.5", + "@babel/parser": "^7.21.8", "@modern-js/server": "workspace:*", "@modern-js/types": "workspace:*", "@modern-js/utils": "workspace:*", diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.d.ts b/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.js b/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.js deleted file mode 100644 index 4d2018551bb1..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={860:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let i="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const n=new RegExp("["+t+"]");const s=new RegExp("["+t+i+"]");t=i=null;const d=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,43,17,47,20,28,22,13,52,58,1,3,0,14,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,38,6,186,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,19,72,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,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,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,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];const u=[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,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let i=0,n=r.length;ie)return false;t+=r[i+1];if(t>=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&&n.test(String.fromCharCode(e))}return isInAstralSet(e,d)}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&&s.test(String.fromCharCode(e))}return isInAstralSet(e,d)||isInAstralSet(e,u)}function isIdentifierName(e){let r=true;for(let t=0;t{Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={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(t.keyword);const n=new Set(t.strict);const s=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||n.has(e)}function isStrictBindOnlyReservedWord(e){return s.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return i.has(e)}}};var r={};function __nccwpck_require__(t){var i=r[t];if(i!==undefined){return i.exports}var n=r[t]={exports:{}};var s=true;try{e[t](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete r[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:true});Object.defineProperty(e,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(e,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(e,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(e,"isKeyword",{enumerable:true,get:function(){return i.isKeyword}});Object.defineProperty(e,"isReservedWord",{enumerable:true,get:function(){return i.isReservedWord}});Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return i.isStrictBindOnlyReservedWord}});Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:true,get:function(){return i.isStrictBindReservedWord}});Object.defineProperty(e,"isStrictReservedWord",{enumerable:true,get:function(){return i.isStrictReservedWord}});var r=__nccwpck_require__(860);var i=__nccwpck_require__(501)})();module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/license b/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/license deleted file mode 100644 index f31575ec773b..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/license +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/package.json b/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/package.json deleted file mode 100644 index 0196031cd2ab..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/helper-validator-identifier/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/helper-validator-identifier","author":"The Babel Team (https://babel.dev/team)","version":"7.16.7","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/parser/index.d.ts b/packages/builder/builder-webpack-provider/compiled/@babel/parser/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/parser/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/parser/index.js b/packages/builder/builder-webpack-provider/compiled/@babel/parser/index.js deleted file mode 100644 index d1e73cc77a1a..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/parser/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var e={};(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:true});function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var s={};var i=Object.keys(e);var r,a;for(a=0;a=0)continue;s[r]=e[r]}return s}class Position{constructor(e,t,s){this.line=void 0;this.column=void 0;this.index=void 0;this.line=e;this.column=t;this.index=s}}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 createPositionWithColumnOffset(e,t){const{line:s,column:i,index:r}=e;return new Position(s,i+t,r+t)}const s=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const reflect=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(s){e.reduce(((e,i,r)=>r===t?e[i]=s:e[i]),this)}});const instantiate=(e,t,s)=>Object.keys(s).map((e=>[e,s[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,typeof t==="function"?{value:t,enumerable:false}:typeof t.reflect==="string"?Object.assign({},t,reflect(t.reflect.split("."))):t])).reduce(((e,[t,s])=>Object.defineProperty(e,t,Object.assign({configurable:true},s))),Object.assign(new e,t));var ModuleErrors=e=>({ImportMetaOutsideModule:e(`import.meta may appear only with 'sourceType: "module"'`,{code:s.SourceTypeModuleError}),ImportOutsideModule:e(`'import' and 'export' may appear only with 'sourceType: "module"'`,{code:s.SourceTypeModuleError})});const i={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"};const toNodeDescription=({type:e,prefix:t})=>e==="UpdateExpression"?i.UpdateExpression[String(t)]:i[e];var StandardErrors=e=>({AccessorIsGenerator:e((({kind:e})=>`A ${e}ter cannot be a generator.`)),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((({kind:e})=>`Missing initializer in ${e} declaration.`)),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`)),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`)),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`)),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((({type:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`)),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`)),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((({maxArgumentCount:e})=>`\`import()\` requires exactly ${e===1?"one argument":"one or two arguments"}.`)),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((({radix:e})=>`Expected number in radix ${e}.`)),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((({reservedWord:e})=>`Escape sequence in keyword ${e}.`)),InvalidIdentifier:e((({identifierName:e})=>`Invalid identifier ${e}.`)),InvalidLhs:e((({ancestor:e})=>`Invalid left-hand side in ${toNodeDescription(e)}.`)),InvalidLhsBinding:e((({ancestor:e})=>`Binding invalid left-hand side in ${toNodeDescription(e)}.`)),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((({unexpected:e})=>`Unexpected character '${e}'.`)),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((({identifierName:e})=>`Private name #${e} is not defined.`)),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((({labelName:e})=>`Label '${e}' is already declared.`)),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingOneOfPlugins:e((({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`)),ModuleExportNameHasLoneSurrogate:e((({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`)),ModuleExportUndefined:e((({localName:e})=>`Export '${e}' is not defined.`)),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`)),PrivateNameRedeclaration:e((({identifierName:e})=>`Duplicate private name #${e}.`)),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("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:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`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:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((({keyword:e})=>`Unexpected keyword '${e}'.`)),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((({reservedWord:e})=>`Unexpected reserved word '${e}'.`)),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`)),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`)),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((({identifierName:e})=>`Identifier '${e}' has already been declared.`)),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")});var StrictModeErrors=e=>({StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((({referenceName:e})=>`Assigning to '${e}' in strict mode.`)),StrictEvalArgumentsBinding:e((({bindingName:e})=>`Binding '${e}' in strict mode.`)),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")});const r=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var PipelineOperatorErrors=e=>({PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`)),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({type:e})}; please wrap it in parentheses.`)),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')});const a=["toMessage"];function toParseErrorConstructor(e){let{toMessage:t}=e,s=_objectWithoutPropertiesLoose(e,a);return function constructor({loc:e,details:i}){return instantiate(SyntaxError,Object.assign({},s,{loc:e}),{clone(e={}){const t=e.loc||{};return constructor({loc:new Position("line"in t?t.line:this.loc.line,"column"in t?t.column:this.loc.column,"index"in t?t.index:this.loc.index),details:Object.assign({},this.details,e.details)})},details:{value:i,enumerable:false},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:true},missingPlugin:"missingPlugin"in i&&{reflect:"details.missingPlugin",enumerable:true}})}}function toParseErrorCredentials(e,t){return Object.assign({toMessage:typeof e==="string"?()=>e:e},t)}function ParseErrorEnum(e,t){if(Array.isArray(e)){return t=>ParseErrorEnum(t,e[0])}const i=e(toParseErrorCredentials);const r={};for(const e of Object.keys(i)){r[e]=toParseErrorConstructor(Object.assign({code:s.SyntaxError,reasonCode:e},t?{syntaxPlugin:t}:{},i[e]))}return r}const n=Object.assign({},ParseErrorEnum(ModuleErrors),ParseErrorEnum(StandardErrors),ParseErrorEnum(StrictModeErrors),ParseErrorEnum`pipelineOperator`(PipelineOperatorErrors));const{defineProperty:o}=Object;const toUnenumerable=(e,t)=>o(e,t,{enumerable:false,value:e[t]});function toESTreeLocation(e){e.loc.start&&toUnenumerable(e.loc.start,"index");e.loc.end&&toUnenumerable(e.loc.end,"index");return e}var estree=e=>class extends e{parse(){const e=toESTreeLocation(super.parse());if(this.options.tokens){e.tokens=e.tokens.map(toESTreeLocation)}return e}parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const i=this.estreeParseLiteral(s);i.regex={pattern:e,flags:t};return i}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 i=this.startNodeAt(t.start,t.loc.start);i.value=t.extra.expressionValue;i.raw=t.extra.raw;s.expression=this.finishNodeAt(i,"Literal",t.loc.end);s.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(s,"ExpressionStatement",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)}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,i,r,a){this.parseMethod(t,s,i,r,a,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();{if(!this.getPluginOption("estree","classFeatures")){return e}}return this.convertPrivateNameToPrivateIdentifier(e)}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,i,r,a,n=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,s,i,r,a,n);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")){return t}}t.type="PropertyDefinition";return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";t.computed=false;return t}parseObjectMethod(e,t,s,i,r){const a=super.parseObjectMethod(e,t,s,i,r);if(a){a.type="Property";if(a.kind==="method")a.kind="init";a.shorthand=false}return a}parseObjectProperty(e,t,s,i,r){const a=super.parseObjectProperty(e,t,s,i,r);if(a){a.kind="init";a.type="Property"}return a}isValidLVal(e,...t){return e==="Property"?"value":super.isValidLVal(e,...t)}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)){const{key:s,value:i}=e;if(this.isPrivateName(s)){this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start)}this.toAssignable(i,t)}else{super.toAssignable(e,t)}}toAssignableObjectExpressionProp(e){if(e.kind==="get"||e.kind==="set"){this.raise(n.PatternHasAccessor,{at:e.key})}else if(e.method){this.raise(n.PatternHasMethod,{at:e.key})}else{super.toAssignableObjectExpressionProp(...arguments)}}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,i,r){const a=super.parseSubscript(e,t,s,i,r);if(r.optionalChainMember){if(a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression"){a.type=a.type.substring(8)}if(r.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"}finishNodeAt(e,t,s){return toESTreeLocation(super.finishNodeAt(e,t,s))}resetStartLocation(e,t,s){super.resetStartLocation(e,t,s);toESTreeLocation(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t);toESTreeLocation(e)}};class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const h={brace:new TokContext("{"),j_oTag:new TokContext("...",true)};{h.template=new TokContext("`",true)}const c=true;const p=true;const l=true;const u=true;const d=true;const f=true;class ExportedTokenType{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.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 m=new Map;function createKeyword(e,t={}){t.keyword=e;const s=createToken(e,t);m.set(e,s);return s}function createBinop(e,t){return createToken(e,{beforeExpr:c,binop:t})}let y=-1;const x=[];const P=[];const g=[];const T=[];const b=[];const w=[];function createToken(e,t={}){var s,i,r,a;++y;P.push(e);g.push((s=t.binop)!=null?s:-1);T.push((i=t.beforeExpr)!=null?i:false);b.push((r=t.startsExpr)!=null?r:false);w.push((a=t.prefix)!=null?a:false);x.push(new ExportedTokenType(e,t));return y}function createKeywordLike(e,t={}){var s,i,r,a;++y;m.set(e,y);P.push(e);g.push((s=t.binop)!=null?s:-1);T.push((i=t.beforeExpr)!=null?i:false);b.push((r=t.startsExpr)!=null?r:false);w.push((a=t.prefix)!=null?a:false);x.push(new ExportedTokenType("name",t));return y}const A={bracketL:createToken("[",{beforeExpr:c,startsExpr:p}),bracketHashL:createToken("#[",{beforeExpr:c,startsExpr:p}),bracketBarL:createToken("[|",{beforeExpr:c,startsExpr:p}),bracketR:createToken("]"),bracketBarR:createToken("|]"),braceL:createToken("{",{beforeExpr:c,startsExpr:p}),braceBarL:createToken("{|",{beforeExpr:c,startsExpr:p}),braceHashL:createToken("#{",{beforeExpr:c,startsExpr:p}),braceR:createToken("}"),braceBarR:createToken("|}"),parenL:createToken("(",{beforeExpr:c,startsExpr:p}),parenR:createToken(")"),comma:createToken(",",{beforeExpr:c}),semi:createToken(";",{beforeExpr:c}),colon:createToken(":",{beforeExpr:c}),doubleColon:createToken("::",{beforeExpr:c}),dot:createToken("."),question:createToken("?",{beforeExpr:c}),questionDot:createToken("?."),arrow:createToken("=>",{beforeExpr:c}),template:createToken("template"),ellipsis:createToken("...",{beforeExpr:c}),backQuote:createToken("`",{startsExpr:p}),dollarBraceL:createToken("${",{beforeExpr:c,startsExpr:p}),templateTail:createToken("...`",{startsExpr:p}),templateNonTail:createToken("...${",{beforeExpr:c,startsExpr:p}),at:createToken("@"),hash:createToken("#",{startsExpr:p}),interpreterDirective:createToken("#!..."),eq:createToken("=",{beforeExpr:c,isAssign:u}),assign:createToken("_=",{beforeExpr:c,isAssign:u}),slashAssign:createToken("_=",{beforeExpr:c,isAssign:u}),xorAssign:createToken("_=",{beforeExpr:c,isAssign:u}),moduloAssign:createToken("_=",{beforeExpr:c,isAssign:u}),incDec:createToken("++/--",{prefix:d,postfix:f,startsExpr:p}),bang:createToken("!",{beforeExpr:c,prefix:d,startsExpr:p}),tilde:createToken("~",{beforeExpr:c,prefix:d,startsExpr:p}),doubleCaret:createToken("^^",{startsExpr:p}),doubleAt:createToken("@@",{startsExpr:p}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),lt:createBinop("/<=/>=",7),gt:createBinop("/<=/>=",7),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),bitShiftL:createBinop("<>/>>>",8),bitShiftR:createBinop("<>/>>>",8),plusMin:createToken("+/-",{beforeExpr:c,binop:9,prefix:d,startsExpr:p}),modulo:createToken("%",{binop:10,startsExpr:p}),star:createToken("*",{binop:10}),slash:createBinop("/",10),exponent:createToken("**",{beforeExpr:c,binop:11,rightAssociative:true}),_in:createKeyword("in",{beforeExpr:c,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:c,binop:7}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:c}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:c}),_else:createKeyword("else",{beforeExpr:c}),_finally:createKeyword("finally"),_function:createKeyword("function",{startsExpr:p}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:c}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:c,prefix:d,startsExpr:p}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:c,startsExpr:p}),_this:createKeyword("this",{startsExpr:p}),_super:createKeyword("super",{startsExpr:p}),_class:createKeyword("class",{startsExpr:p}),_extends:createKeyword("extends",{beforeExpr:c}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:p}),_null:createKeyword("null",{startsExpr:p}),_true:createKeyword("true",{startsExpr:p}),_false:createKeyword("false",{startsExpr:p}),_typeof:createKeyword("typeof",{beforeExpr:c,prefix:d,startsExpr:p}),_void:createKeyword("void",{beforeExpr:c,prefix:d,startsExpr:p}),_delete:createKeyword("delete",{beforeExpr:c,prefix:d,startsExpr:p}),_do:createKeyword("do",{isLoop:l,beforeExpr:c}),_for:createKeyword("for",{isLoop:l}),_while:createKeyword("while",{isLoop:l}),_as:createKeywordLike("as",{startsExpr:p}),_assert:createKeywordLike("assert",{startsExpr:p}),_async:createKeywordLike("async",{startsExpr:p}),_await:createKeywordLike("await",{startsExpr:p}),_from:createKeywordLike("from",{startsExpr:p}),_get:createKeywordLike("get",{startsExpr:p}),_let:createKeywordLike("let",{startsExpr:p}),_meta:createKeywordLike("meta",{startsExpr:p}),_of:createKeywordLike("of",{startsExpr:p}),_sent:createKeywordLike("sent",{startsExpr:p}),_set:createKeywordLike("set",{startsExpr:p}),_static:createKeywordLike("static",{startsExpr:p}),_yield:createKeywordLike("yield",{startsExpr:p}),_asserts:createKeywordLike("asserts",{startsExpr:p}),_checks:createKeywordLike("checks",{startsExpr:p}),_exports:createKeywordLike("exports",{startsExpr:p}),_global:createKeywordLike("global",{startsExpr:p}),_implements:createKeywordLike("implements",{startsExpr:p}),_intrinsic:createKeywordLike("intrinsic",{startsExpr:p}),_infer:createKeywordLike("infer",{startsExpr:p}),_is:createKeywordLike("is",{startsExpr:p}),_mixins:createKeywordLike("mixins",{startsExpr:p}),_proto:createKeywordLike("proto",{startsExpr:p}),_require:createKeywordLike("require",{startsExpr:p}),_keyof:createKeywordLike("keyof",{startsExpr:p}),_readonly:createKeywordLike("readonly",{startsExpr:p}),_unique:createKeywordLike("unique",{startsExpr:p}),_abstract:createKeywordLike("abstract",{startsExpr:p}),_declare:createKeywordLike("declare",{startsExpr:p}),_enum:createKeywordLike("enum",{startsExpr:p}),_module:createKeywordLike("module",{startsExpr:p}),_namespace:createKeywordLike("namespace",{startsExpr:p}),_interface:createKeywordLike("interface",{startsExpr:p}),_type:createKeywordLike("type",{startsExpr:p}),_opaque:createKeywordLike("opaque",{startsExpr:p}),name:createToken("name",{startsExpr:p}),string:createToken("string",{startsExpr:p}),num:createToken("num",{startsExpr:p}),bigint:createToken("bigint",{startsExpr:p}),decimal:createToken("decimal",{startsExpr:p}),regexp:createToken("regexp",{startsExpr:p}),privateName:createToken("#name",{startsExpr:p}),eof:createToken("eof"),jsxName:createToken("jsxName"),jsxText:createToken("jsxText",{beforeExpr:true}),jsxTagStart:createToken("jsxTagStart",{startsExpr:true}),jsxTagEnd:createToken("jsxTagEnd"),placeholder:createToken("%%",{startsExpr:true})};function tokenIsIdentifier(e){return e>=93&&e<=128}function tokenKeywordOrIdentifierIsKeyword(e){return e<=92}function tokenIsKeywordOrIdentifier(e){return e>=58&&e<=128}function tokenIsLiteralPropertyName(e){return e>=58&&e<=132}function tokenComesBeforeExpression(e){return T[e]}function tokenCanStartExpression(e){return b[e]}function tokenIsAssignment(e){return e>=29&&e<=33}function tokenIsFlowInterfaceOrTypeOrOpaque(e){return e>=125&&e<=127}function tokenIsLoop(e){return e>=90&&e<=92}function tokenIsKeyword(e){return e>=58&&e<=92}function tokenIsOperator(e){return e>=39&&e<=59}function tokenIsPostfix(e){return e===34}function tokenIsPrefix(e){return w[e]}function tokenIsTSTypeOperator(e){return e>=117&&e<=119}function tokenIsTSDeclarationStart(e){return e>=120&&e<=126}function tokenLabelName(e){return P[e]}function tokenOperatorPrecedence(e){return g[e]}function tokenIsBinaryOperator(e){return g[e]!==-1}function tokenIsRightAssociative(e){return e===57}function tokenIsTemplate(e){return e>=24&&e<=25}function getExportedToken(e){return x[e]}{x[8].updateContext=e=>{e.pop()};x[5].updateContext=x[7].updateContext=x[23].updateContext=e=>{e.push(h.brace)};x[22].updateContext=e=>{if(e[e.length-1]===h.template){e.pop()}else{e.push(h.template)}};x[138].updateContext=e=>{e.push(h.j_expr,h.j_oTag)}}let E="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let S="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const C=new RegExp("["+E+"]");const I=new RegExp("["+E+S+"]");E=S=null;const k=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,43,17,47,20,28,22,13,52,58,1,3,0,14,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,38,6,186,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,19,72,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,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,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,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];const N=[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,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let i=0,r=t.length;ie)return false;s+=t[i+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&&C.test(String.fromCharCode(e))}return isInAstralSet(e,k)}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,k)||isInAstralSet(e,N)}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 L=new Set(v.keyword);const M=new Set(v.strict);const O=new Set(v.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||M.has(e)}function isStrictBindOnlyReservedWord(e){return O.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return L.has(e)}function isIteratorStart(e,t,s){return e===64&&t===64&&isIdentifierStart(s)}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 F=0,B=1,R=2,j=4,U=8,_=16,K=32,H=64,z=128,V=256,q=B|R|V;const $=1,W=2,J=4,X=8,G=16,Y=64,Q=128,Z=256,ee=512,te=1024,se=2048;const ie=$|W|X|Q,re=$|0|X|0,ae=$|0|J|0,ne=$|0|G|0,oe=0|W|0|Q,he=0|W|0|0,ce=$|W|X|Z,pe=0|0|0|te,le=0|0|0|Y,ue=$|0|0|Y,de=ce|ee,fe=0|0|0|te,me=se;const ye=4,xe=2,Pe=1,ge=xe|Pe;const Te=xe|ye,be=Pe|ye,we=xe,Ae=Pe,Ee=0;class BaseParser{constructor(){this.sawUnambiguousESM=false;this.ambiguousScriptDifferentAst=false}hasPlugin(e){if(typeof e==="string"){return this.plugins.has(e)}else{const[t,s]=e;if(!this.hasPlugin(t)){return false}const i=this.plugins.get(t);for(const e of Object.keys(s)){if((i==null?void 0:i[e])!==s[e]){return false}}return true}}getPluginOption(e,t){var s;return(s=this.plugins.get(e))==null?void 0:s[t]}}function setTrailingComments(e,t){if(e.trailingComments===undefined){e.trailingComments=t}else{e.trailingComments.unshift(...t)}}function setLeadingComments(e,t){if(e.leadingComments===undefined){e.leadingComments=t}else{e.leadingComments.unshift(...t)}}function setInnerComments(e,t){if(e.innerComments===undefined){e.innerComments=t}else{e.innerComments.unshift(...t)}}function adjustInnerComments(e,t,s){let i=null;let r=t.length;while(i===null&&r>0){i=t[--r]}if(i===null||i.start>s.start){setInnerComments(e,s.comments)}else{setTrailingComments(i,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 i=s-1;const r=t[i];if(r.start===e.end){r.leadingNode=e;i--}const{start:a}=e;for(;i>=0;i--){const s=t[i];const r=s.end;if(r>a){s.containingNode=e;this.finalizeComment(s);t.splice(i,1)}else{if(r===a){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){setLeadingComments(e.trailingNode,t)}}else{const{containingNode:s,start:i}=e;if(this.input.charCodeAt(i-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 i=t[s-1];if(i.leadingNode===e){i.leadingNode=null}}takeSurroundingComments(e,t,s){const{commentStack:i}=this.state;const r=i.length;if(r===0)return;let a=r-1;for(;a>=0;a--){const r=i[a];const n=r.end;const o=r.start;if(o===s){r.leadingNode=e}else if(n===t){r.trailingNode=e}else if(n=48&&e<=57};const Oe=new Set([103,109,115,105,121,117,100,118]);const De={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])};const Fe={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=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 CommentsParser{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.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,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}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){Ie.lastIndex=e;return Ie.test(this.input)?Ie.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++ethis.raise(e,{at:t})));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){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(135);return}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(n.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=s+2;Ce.lastIndex=t+2;while(Ce.test(this.input)&&Ce.lastIndex<=s){++this.state.curLine;this.state.lineStart=Ce.lastIndex}if(this.isLookahead)return;const i={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(i);return i}skipLineComment(e){const t=this.state.pos;let s;if(!this.isLookahead)s=this.state.curPosition();let i=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 i={start:e,end:s,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(e,t){this.state.end=this.state.pos;this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.updateContext(s)}}replaceToken(e){this.state.type=e;this.updateContext()}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(n.UnexpectedDigitAfterHash,{at:this.state.curPosition()})}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(t===123?n.RecordExpressionHashIncorrectStartSyntaxType:n.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;if(t===123){this.finishToken(7)}else{this.finishToken(1)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(134,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(134,this.readWord1())}else{this.finishOp(27,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(21)}else{++this.state.pos;this.finishToken(16)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(31,2)}else{this.finishOp(56,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(18)}else{++this.state.pos;this.finishToken(17)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(10);return;case 41:++this.state.pos;this.finishToken(11);return;case 59:++this.state.pos;this.finishToken(13);return;case 44:++this.state.pos;this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(n.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(2)}else{++this.state.pos;this.finishToken(0)}return;case 93:++this.state.pos;this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(n.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(6)}else{++this.state.pos;this.finishToken(5)}return;case 125:++this.state.pos;this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(15,2)}else{++this.state.pos;this.finishToken(14)}return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();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:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(n.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected: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.startLoc;const t=this.state.start+1;let s,i;let{pos:r}=this.state;for(;;++r){if(r>=this.length){throw this.raise(n.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}const t=this.input.charCodeAt(r);if(isNewLine(t)){throw this.raise(n.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}if(s){s=false}else{if(t===91){i=true}else if(t===93&&i){i=false}else if(t===47&&!i){break}s=t===92}}const a=this.input.slice(t,r);++r;let o="";const nextPos=()=>createPositionWithColumnOffset(e,r+2-t);while(r=97){r=t-97+10}else if(t>=65){r=t-65+10}else if(Me(t)){r=t-48}else{r=Infinity}if(r>=e){if(this.options.errorRecovery&&r<=9){r=0;this.raise(n.InvalidDigit,{at:this.state.curPosition(),radix:e})}else if(s){r=0;h=true}else{break}}++this.state.pos;c=c*e+r}if(this.state.pos===r||t!=null&&this.state.pos-r!==t||h){return null}return c}readRadixNumber(e){const t=this.state.curPosition();let s=false;this.state.pos+=2;const i=this.readInt(e);if(i==null){this.raise(n.InvalidDigit,{at:createPositionWithColumnOffset(t,2),radix:e})}const r=this.input.charCodeAt(this.state.pos);if(r===110){++this.state.pos;s=true}else if(r===109){throw this.raise(n.InvalidDecimal,{at:t})}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(n.NumberIdentifier,{at:this.state.curPosition()})}if(s){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e);return}this.finishToken(130,i)}readNumber(e){const t=this.state.pos;const s=this.state.curPosition();let i=false;let r=false;let a=false;let o=false;let h=false;if(!e&&this.readInt(10)===null){this.raise(n.InvalidNumber,{at:this.state.curPosition()})}const c=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(c){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(n.StrictOctalLiteral,{at:s});if(!this.state.strict){const t=e.indexOf("_");if(t>0){this.raise(n.ZeroDigitNumericSeparator,{at:createPositionWithColumnOffset(s,t)})}}h=c&&!/[89]/.test(e)}let p=this.input.charCodeAt(this.state.pos);if(p===46&&!h){++this.state.pos;this.readInt(10);i=true;p=this.input.charCodeAt(this.state.pos)}if((p===69||p===101)&&!h){p=this.input.charCodeAt(++this.state.pos);if(p===43||p===45){++this.state.pos}if(this.readInt(10)===null){this.raise(n.InvalidOrMissingExponent,{at:s})}i=true;o=true;p=this.input.charCodeAt(this.state.pos)}if(p===110){if(i||c){this.raise(n.InvalidBigIntLiteral,{at:s})}++this.state.pos;r=true}if(p===109){this.expectPlugin("decimal",this.state.curPosition());if(o||c){this.raise(n.InvalidDecimal,{at:s})}++this.state.pos;a=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(n.NumberIdentifier,{at:this.state.curPosition()})}const l=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(131,l);return}if(a){this.finishToken(132,l);return}const u=h?parseInt(l,8):parseFloat(l);this.finishToken(130,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let s;if(t===123){++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(n.InvalidCodePoint,{at:this.state.curPosition()})}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(n.UnterminatedString,{at:this.state.startLoc})}const i=this.input.charCodeAt(this.state.pos);if(i===e)break;if(i===92){t+=this.input.slice(s,this.state.pos);t+=this.readEscapedChar(false);s=this.state.pos}else if(i===8232||i===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(i)){throw this.raise(n.UnterminatedString,{at:this.state.startLoc})}else{++this.state.pos}}t+=this.input.slice(s,this.state.pos++);this.finishToken(129,t)}readTemplateContinuation(){if(!this.match(8)){this.unexpected(null,8)}this.state.pos--;this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,s=false;++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(n.UnterminatedTemplate,{at:createPositionWithColumnOffset(this.state.startLoc,1)})}const i=this.input.charCodeAt(this.state.pos);if(i===96){++this.state.pos;e+=this.input.slice(t,this.state.pos);this.finishToken(24,s?null:e);return}if(i===36&&this.input.charCodeAt(this.state.pos+1)===123){this.state.pos+=2;e+=this.input.slice(t,this.state.pos);this.finishToken(25,s?null:e);return}if(i===92){e+=this.input.slice(t,this.state.pos);const i=this.readEscapedChar(true);if(i===null){s=true}else{e+=i}t=this.state.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(i){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,{at:t}){const s=t.index;if(this.state.strict&&!this.state.strictErrors.has(s)){this.raise(e,{at:t})}else{this.state.strictErrors.set(s,[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(n.StrictNumericEscape,{at:createPositionWithColumnOffset(this.state.curPosition(),-1)})}default:if(s>=48&&s<=55){const t=createPositionWithColumnOffset(this.state.curPosition(),-1);const s=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/);let i=s[0];let r=parseInt(i,8);if(r>255){i=i.slice(0,-1);r=parseInt(i,8)}this.state.pos+=i.length-1;const a=this.input.charCodeAt(this.state.pos);if(i!=="0"||a===56||a===57){if(e){return null}else{this.recordStrictModeErrors(n.StrictNumericEscape,{at:t})}}return String.fromCharCode(r)}return String.fromCharCode(s)}}readHexChar(e,t,s){const i=this.state.curPosition();const r=this.readInt(16,e,t,false);if(r===null){if(s){this.raise(n.InvalidEscapeSequence,{at:i})}else{this.state.pos=i.index-1}}return r}readWord1(e){this.state.containsEsc=false;let t="";const s=this.state.pos;let i=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos=0;t--){const s=n[t];if(s.loc.index===a){return n[t]=e({loc:r,details:i})}if(s.loc.indexthis.hasPlugin(e)))){throw this.raise(n.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}}}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.parser=void 0;this.scopeStack=[];this.inModule=void 0;this.undefinedExports=new Map;this.parser=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&R)>0}get allowSuper(){return(this.currentThisScopeFlags()&_)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&K)>0}get inClass(){return(this.currentThisScopeFlags()&H)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&H)>0&&(e&R)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&z){return true}if(t&(q|H)){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|z)||!this.parser.inModule&&e.flags&B)}declareName(e,t,s){let i=this.currentScope();if(t&X||t&G){this.checkRedeclarationInScope(i,e,t,s);if(t&G){i.functions.add(e)}else{i.lexical.add(e)}if(t&X){this.maybeExportDefined(i,e)}}else if(t&J){for(let r=this.scopeStack.length-1;r>=0;--r){i=this.scopeStack[r];this.checkRedeclarationInScope(i,e,t,s);i.var.add(e);this.maybeExportDefined(i,e);if(i.flags&q)break}}if(this.parser.inModule&&i.flags&B){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.parser.inModule&&e.flags&B){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,s,i){if(this.isRedeclaredInScope(e,t,s)){this.parser.raise(n.VarRedeclaration,{at:i,identifierName:t})}}isRedeclaredInScope(e,t,s){if(!(s&$))return false;if(s&X){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(s&G){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&U&&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.loc.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&q){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(q|H)&&!(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,s){const i=this.currentScope();if(t&se){this.checkRedeclarationInScope(i,e,t,s);this.maybeExportDefined(i,e);i.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(...arguments))return true;if(s&se){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 ClassScope{constructor(){this.privateNames=new Set;this.loneAccessors=new Map;this.undefinedPrivateNames=new Map}}class ClassScopeHandler{constructor(e){this.parser=void 0;this.stack=[];this.undefinedPrivateNames=new Map;this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ClassScope)}exit(){const e=this.stack.pop();const t=this.current();for(const[s,i]of Array.from(e.undefinedPrivateNames)){if(t){if(!t.undefinedPrivateNames.has(s)){t.undefinedPrivateNames.set(s,i)}}else{this.parser.raise(n.InvalidPrivateFieldResolution,{at:i,identifierName:s})}}}declarePrivateName(e,t,s){const{privateNames:i,loneAccessors:r,undefinedPrivateNames:a}=this.current();let o=i.has(e);if(t&ge){const s=o&&r.get(e);if(s){const i=s&ye;const a=t&ye;const n=s≥const h=t≥o=n===h||i!==a;if(!o)r.delete(e)}else if(!o){r.set(e,t)}}if(o){this.parser.raise(n.PrivateNameRedeclaration,{at:s,identifierName:e})}i.add(e);a.delete(e)}usePrivateName(e,t){let s;for(s of this.stack){if(s.privateNames.has(e))return}if(s){s.undefinedPrivateNames.set(e,t)}else{this.parser.raise(n.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}}const Be=0,Re=1,je=2,Ue=3;class ExpressionScope{constructor(e=Be){this.type=void 0;this.type=e}canBeArrowParameterDeclaration(){return this.type===je||this.type===Re}isCertainlyParameterDeclaration(){return this.type===Ue}}class ArrowHeadParsingScope extends ExpressionScope{constructor(e){super(e);this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class ExpressionScopeHandler{constructor(e){this.parser=void 0;this.stack=[new ExpressionScope];this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const s={at:t.loc.start};const{stack:i}=this;let r=i.length-1;let a=i[r];while(!a.isCertainlyParameterDeclaration()){if(a.canBeArrowParameterDeclaration()){a.recordDeclarationError(e,s)}else{return}a=i[--r]}this.parser.raise(e,s)}recordArrowParemeterBindingError(e,{at:t}){const{stack:s}=this;const i=s[s.length-1];const r={at:t.loc.start};if(i.isCertainlyParameterDeclaration()){this.parser.raise(e,r)}else if(i.canBeArrowParameterDeclaration()){i.recordDeclarationError(e,r)}else{return}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let s=t.length-1;let i=t[s];while(i.canBeArrowParameterDeclaration()){if(i.type===je){i.recordDeclarationError(n.AwaitBindingIdentifier,{at:e})}i=t[--s]}}validateAsPattern(){const{stack:e}=this;const t=e[e.length-1];if(!t.canBeArrowParameterDeclaration())return;t.iterateErrors((([t,s])=>{this.parser.raise(t,{at:s});let i=e.length-2;let r=e[i];while(r.canBeArrowParameterDeclaration()){r.clearDeclarationError(s.index);r=e[--i]}}))}}function newParameterDeclarationScope(){return new ExpressionScope(Ue)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Re)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(je)}function newExpressionScope(){return new ExpressionScope}const _e=0,Ke=1,He=2,ze=4,Ve=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()&He)>0}get hasYield(){return(this.currentFlags()&Ke)>0}get hasReturn(){return(this.currentFlags()&ze)>0}get hasIn(){return(this.currentFlags()&Ve)>0}}function functionFlags(e,t){return(e?He:0)|(t?Ke:0)}class UtilParser extends Tokenizer{addExtra(e,t,s,i=true){if(!e)return;const r=e.extra=e.extra||{};if(i){r[t]=s}else{Object.defineProperty(r,t,{enumerable:i,value:s})}}isContextual(e){return this.state.type===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){if(this.isContextual(e)){this.next();return true}return false}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null){throw this.raise(t,{at:this.state.startLoc})}throw this.unexpected(null,e)}}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Se.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){Ne.lastIndex=this.state.end;return Ne.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(13))return;this.raise(n.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const s={node:null};try{const i=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:i,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:i,error:null,thrown:false,aborted:false,failState:null}}catch(e){const i=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:i}}if(e===s){return{node:s.node,error:null,thrown:false,aborted:true,failState:i}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:r,optionalParametersLoc:a}=e;const o=!!s||!!i||!!a||!!r;if(!t){return o}if(s!=null){this.raise(n.InvalidCoverInitializedName,{at:s})}if(i!=null){this.raise(n.DuplicateProto,{at:i})}if(r!=null){this.raise(n.UnexpectedPrivateField,{at:r})}if(a!=null){this.unexpected(a)}}isLiteralPropertyName(){return tokenIsLiteralPropertyName(this.state.type)}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 i=this.inModule;this.inModule=e;const r=this.scope;const a=this.getScopeHandler();this.scope=new a(this,e);const n=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this);const h=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this);return()=>{this.state.labels=t;this.exportedIdentifiers=s;this.inModule=i;this.scope=r;this.prodParam=n;this.classScope=o;this.expressionScope=h}}enterInitialScopes(){let e=_e;if(this.inModule){e|=He}this.scope.enter(B);this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;if(t!==null){this.expectPlugin("destructuringPrivate",t)}}}class ExpressionErrors{constructor(){this.shorthandAssignLoc=null;this.doubleProtoLoc=null;this.privateKeyLoc=null;this.optionalParametersLoc=null}}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 qe=Node.prototype;{qe.__clone=function(){const e=new Node;const t=Object.keys(this);for(let s=0,i=t.length;s({AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("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:e((({reservedType:e})=>`Cannot overwrite reserved type ${e}.`)),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`)),EnumDuplicateMemberName:e((({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`)),EnumInconsistentMemberValues:e((({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`)),EnumInvalidExplicitType:e((({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`)),EnumInvalidExplicitTypeUnknownSupplied:e((({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerPrimaryType:e((({enumName:e,memberName:t,explicitType:s})=>`Enum \`${e}\` has type \`${s}\`, so the initializer of \`${t}\` needs to be a ${s} literal.`)),EnumInvalidMemberInitializerSymbolType:e((({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerUnknownType:e((({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`)),EnumInvalidMemberName:e((({enumName:e,memberName:t,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${s}\`, in enum \`${e}\`.`)),EnumNumberMemberNotInitialized:e((({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`)),EnumStringMemberInconsistentlyInitailized:e((({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`)),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("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:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((({reservedType:e})=>`Unexpected reserved type ${e}.`)),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`."),UnsupportedDeclareExportKind:e((({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`)),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")})));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 tokenIsKeywordOrIdentifier(e)&&e!==97}const Je={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const s=[];const i=[];for(let r=0;rclass 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!==129&&e!==13&&e!==28){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||14);const s=this.flowParseType();this.state.inType=t;return s}flowParsePredicate(){const e=this.startNode();const t=this.state.startLoc;this.next();this.expectContextual(107);if(this.state.lastTokStart>t.index+1){this.raise(We.UnexpectedSpaceBetweenModuloChecks,{at:t})}if(this.eat(10)){e.value=this.parseExpression();this.expect(11);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(14);let t=null;let s=null;if(this.match(54)){this.state.inType=e;s=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(54)){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 i=this.startNode();if(this.match(47)){s.typeParameters=this.flowParseTypeParameterDeclaration()}else{s.typeParameters=null}this.expect(10);const r=this.flowParseFunctionTypeParams();s.params=r.params;s.rest=r.rest;s.this=r._this;this.expect(11);[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();i.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(i,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,me,e.id.loc.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80)){return this.flowParseDeclareClass(e)}else if(this.match(68)){return this.flowParseDeclareFunction(e)}else if(this.match(74)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual(123)){if(this.match(16)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(We.NestedDeclareModule,{at:this.state.lastTokStartLoc})}return this.flowParseDeclareModule(e)}}else if(this.isContextual(126)){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual(127)){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual(125)){return this.flowParseDeclareInterface(e)}else if(this.match(82)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,ae,e.id.loc.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(F);if(this.match(129)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const s=t.body=[];this.expect(5);while(!this.match(8)){let e=this.startNode();if(this.match(83)){this.next();if(!this.isContextual(126)&&!this.match(87)){this.raise(We.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc})}this.parseImport(e)}else{this.expectContextual(121,We.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}s.push(e)}this.scope.exit();this.expect(8);this.finishNode(t,"BlockStatement");let i=null;let r=false;s.forEach((e=>{if(isEsModuleType(e)){if(i==="CommonJS"){this.raise(We.AmbiguousDeclareModuleKind,{at:e})}i="ES"}else if(e.type==="DeclareModuleExports"){if(r){this.raise(We.DuplicateDeclareModuleExports,{at:e})}if(i==="ES"){this.raise(We.AmbiguousDeclareModuleKind,{at:e})}i="CommonJS";r=true}}));e.kind=i||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(82);if(this.eat(65)){if(this.match(68)||this.match(80)){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(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!t){const e=this.state.value;throw this.raise(We.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Je[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127)){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127)){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(108);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?ne:re,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12))}if(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}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.match(47)){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(We.UnexpectedReservedUnderscore,{at:this.state.startLoc})}}checkReservedType(e,t,s){if(!$e.has(e))return;this.raise(s?We.AssignReservedType:We.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.startLoc,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,re,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(29);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual(126);e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,re,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(14)){e.supertype=this.flowParseTypeInitialiser(14)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(29)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.startLoc;const s=this.startNode();const i=this.flowParseVariance();const r=this.flowParseTypeAnnotatableIdentifier();s.name=r.name;s.variance=i;s.bound=r.typeAnnotation;if(this.match(29)){this.eat(29);s.default=this.flowParseType()}else{if(e){this.raise(We.MissingTypeParamDefault,{at:t})}}return this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.match(47)||this.match(138)){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.match(48)){this.expect(12)}}while(!this.match(48));this.expect(48);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.expect(47);const s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.match(48)){e.params.push(this.flowParseType());if(!this.match(48)){this.expect(12)}}this.state.noAnonFunctionType=s;this.expect(48);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.expect(47);while(!this.match(48)){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.match(48)){this.expect(12)}}this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual(125);e.extends=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,s){e.static=t;if(this.lookahead().type===14){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(3);e.value=this.flowParseTypeInitialiser();e.variance=s;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(3);this.expect(3);if(this.match(47)||this.match(10)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(17)){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.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(10);if(this.match(78)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(11);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:i,allowInexact:r}){const a=this.state.inType;this.state.inType=true;const n=this.startNode();n.callProperties=[];n.properties=[];n.indexers=[];n.internalSlots=[];let o;let h;let c=false;if(t&&this.match(6)){this.expect(6);o=9;h=true}else{this.expect(5);o=8;h=false}n.exact=h;while(!this.match(o)){let t=false;let a=null;let o=null;const p=this.startNode();if(i&&this.isContextual(115)){const t=this.lookahead();if(t.type!==14&&t.type!==17){this.next();a=this.state.startLoc;e=false}}if(e&&this.isContextual(104)){const e=this.lookahead();if(e.type!==14&&e.type!==17){this.next();t=true}}const l=this.flowParseVariance();if(this.eat(0)){if(a!=null){this.unexpected(a)}if(this.eat(0)){if(l){this.unexpected(l.loc.start)}n.internalSlots.push(this.flowParseObjectTypeInternalSlot(p,t))}else{n.indexers.push(this.flowParseObjectTypeIndexer(p,t,l))}}else if(this.match(10)||this.match(47)){if(a!=null){this.unexpected(a)}if(l){this.unexpected(l.loc.start)}n.callProperties.push(this.flowParseObjectTypeCallProperty(p,t))}else{let e="init";if(this.isContextual(98)||this.isContextual(103)){const t=this.lookahead();if(tokenIsLiteralPropertyName(t.type)){e=this.state.value;this.next()}}const i=this.flowParseObjectTypeProperty(p,t,a,l,e,s,r!=null?r:!h);if(i===null){c=true;o=this.state.lastTokStartLoc}else{n.properties.push(i)}}this.flowObjectTypeSemicolon();if(o&&!this.match(8)&&!this.match(9)){this.raise(We.UnexpectedExplicitInexactInObject,{at:o})}}this.expect(o);if(s){n.inexact=c}const p=this.finishNode(n,"ObjectTypeAnnotation");this.state.inType=a;return p}flowParseObjectTypeProperty(e,t,s,i,r,a,n){if(this.eat(21)){const t=this.match(12)||this.match(13)||this.match(8)||this.match(9);if(t){if(!a){this.raise(We.InexactInsideNonObject,{at:this.state.lastTokStartLoc})}else if(!n){this.raise(We.InexactInsideExact,{at:this.state.lastTokStartLoc})}if(i){this.raise(We.InexactVariance,{at:i})}return null}if(!a){this.raise(We.UnexpectedSpreadType,{at:this.state.lastTokStartLoc})}if(s!=null){this.unexpected(s)}if(i){this.raise(We.SpreadVariance,{at:i})}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=s!=null;e.kind=r;let n=false;if(this.match(47)||this.match(10)){e.method=true;if(s!=null){this.unexpected(s)}if(i){this.unexpected(i.loc.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(r==="get"||r==="set"){this.flowCheckGetterSetterParams(e)}if(!a&&e.key.name==="constructor"&&e.value.this){this.raise(We.ThisParamBannedInConstructor,{at:e.value.this})}}else{if(r!=="init")this.unexpected();e.method=false;if(this.eat(17)){n=true}e.value=this.flowParseTypeInitialiser();e.variance=i}e.optional=n;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const s=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.kind==="get"?We.GetterMayNotHaveThisParam:We.SetterMayNotHaveThisParam,{at:e.value.this})}if(s!==t){this.raise(e.kind==="get"?n.BadGetterArity:n.BadSetterArity,{at:e})}if(e.kind==="set"&&e.value.rest){this.raise(n.BadSetterRestParameter,{at:e})}}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start;t=t||this.state.startLoc;let i=s||this.flowParseRestrictedIdentifier(true);while(this.eat(16)){const s=this.startNodeAt(e,t);s.qualification=i;s.id=this.flowParseRestrictedIdentifier(true);i=this.finishNode(s,"QualifiedTypeIdentifier")}return i}flowParseGenericType(e,t,s){const i=this.startNodeAt(e,t);i.typeParameters=null;i.id=this.flowParseQualifiedTypeIdentifier(e,t,s);if(this.match(47)){i.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(87);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(0);while(this.state.possuper.parseFunctionBody(e,true,s)))}return super.parseFunctionBody(e,false,s)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(14)){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.isContextual(125)){const e=this.lookahead();if(tokenIsKeywordOrIdentifier(e.type)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){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(80)||tokenIsIdentifier(this.state.type)||this.match(68)||this.match(74)||this.match(82)){return this.flowParseDeclare(e)}}else if(tokenIsIdentifier(this.state.type)){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(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===122){return!this.state.containsEsc}return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===122){return this.state.containsEsc}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,i){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(i);return e}}this.expect(17);const r=this.state.clone();const a=this.state.noArrowAt;const n=this.startNodeAt(t,s);let{consequent:o,failed:h}=this.tryParseConditionalConsequent();let[c,p]=this.getArrowLikeExpressions(o);if(h||p.length>0){const e=[...a];if(p.length>0){this.state=r;this.state.noArrowAt=e;for(let t=0;t1){this.raise(We.AmbiguousConditionalArrow,{at:r.startLoc})}if(h&&c.length===1){this.state=r;e.push(c[0].start);this.state.noArrowAt=e;({consequent:o,failed:h}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=a;this.expect(14);n.test=e;n.consequent=o;n.alternate=this.forwardNoArrowParamsConversionAt(n,(()=>this.parseMaybeAssign(undefined,undefined)));return this.finishNode(n,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(14);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e];const i=[];while(s.length!==0){const e=s.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{i.push(e)}s.push(e.body)}else if(e.type==="ConditionalExpression"){s.push(e.consequent);s.push(e.alternate)}}if(t){i.forEach((e=>this.finishArrowValidation(e)));return[i,[]]}return partition(i,(e=>e.params.every((e=>this.isAssignable(e,true)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingCommaLoc,false);this.scope.enter(R|j);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(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const i=this.startNodeAt(t,s);i.expression=e;i.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(i,"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(126)){e.exportKind="type";const t=this.startNode();this.next();if(this.match(5)){e.specifiers=this.parseExportSpecifiers(true);this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual(125)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual(122)){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(126)&&this.lookahead().type===55){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state;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.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,s){const{startLoc:i}=this.state;if(this.isContextual(121)){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(We.DeclareClassElement,{at:i})}else if(t.value){this.raise(We.DeclareClassFieldInitializer,{at:t.value})}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(n.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t})}this.finishToken(128,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(6,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(e===62?48:47,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(18,2)}return this.finishOp(17,1)}else if(isIteratorStart(e,t,this.input.charCodeAt(this.state.pos+2))){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(!t&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"){e.left=this.typeCastToParameter(e.left)}super.toAssignable(...arguments)}toAssignableList(e,t,s){for(let t=0;t1||!t)){this.raise(We.TypeCastInPattern,{at:r.typeAnnotation})}}return e}parseArrayLike(e,t,s,i){const r=super.parseArrayLike(e,t,s,i);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(r.elements)}return r}isValidLVal(e,...t){return e==="TypeCastExpression"||super.isValidLVal(e,...t)}parseClassProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,i,r,a){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,s,i,r,a);if(t.params&&r){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(We.ThisParamBannedInConstructor,{at:t})}}else if(t.type==="MethodDefinition"&&r&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(We.ThisParamBannedInConstructor,{at:t})}}}pushClassPrivateMethod(e,t,s,i){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,s,i)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.match(47)){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual(110)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}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(We.GetterMayNotHaveThisParam,{at:s})}else if(this.isThisParam(s)){this.raise(We.SetterMayNotHaveThisParam,{at:s})}}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,i,r,a,n,o){if(e.variance){this.unexpected(e.variance.loc.start)}delete e.variance;let h;if(this.match(47)&&!n){h=this.flowParseTypeParameterDeclaration();if(!this.match(10))this.unexpected()}super.parseObjPropValue(e,t,s,i,r,a,n,o);if(h){(e.value||e).typeParameters=h}}parseAssignableListItemTypes(e){if(this.eat(17)){if(e.type!=="Identifier"){this.raise(We.PatternIsOptional,{at:e})}if(this.isThisParam(e)){this.raise(We.ThisParamMayNotBeOptional,{at:e})}e.optional=true}if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(We.ThisParamAnnotationRequired,{at:e})}if(this.match(29)&&this.isThisParam(e)){this.raise(We.ThisParamNoDefault,{at:e})}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,s){const i=super.parseMaybeDefault(e,t,s);if(i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startsuper.parseMaybeAssign(e,t)),i);if(!r.error)return r.node;const{context:s}=this.state;const a=s[s.length-1];if(a===h.j_oTag||a===h.j_expr){s.pop()}}if((s=r)!=null&&s.error||this.match(47)){var a,n;i=i||this.state.clone();let s;const o=this.tryParse((i=>{var r;s=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(s,(()=>{const i=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(i,s);return i}));if((r=a.extra)!=null&&r.parenthesized)i();const n=this.maybeUnwrapTypeCastExpression(a);if(n.type!=="ArrowFunctionExpression")i();n.typeParameters=s;this.resetStartLocationFromNode(n,s);return a}),i);let h=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(We.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:s})}return o.node}h=o.node}if((a=r)!=null&&a.node){this.state=r.failState;return r.node}if(h){this.state=o.failState;return h}if((n=r)!=null&&n.thrown)throw r.error;if(o.thrown)throw o.error;throw this.raise(We.UnexpectedTokenAfterTypeParameter,{at:s})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){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(19))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(14)||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(We.ThisParamMustBeFirst,{at:e.params[t]})}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,s,i){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const i=this.startNodeAt(t,s);i.callee=e;i.arguments=this.parseCallExpressionArguments(11,false);e=this.finishNode(i,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const r=this.state.clone();const a=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,s)||e()),r);if(!a.error&&!a.aborted)return a.node;const n=this.tryParse((()=>super.parseSubscripts(e,t,s,i)),r);if(n.node&&!n.error)return n.node;if(a.node){this.state=a.failState;return a.node}if(n.node){this.state=n.failState;return n.node}throw a.error||n.error}return super.parseSubscripts(e,t,s,i)}parseSubscript(e,t,s,i,r){if(this.match(18)&&this.isLookaheadToken_lt()){r.optionalChainMember=true;if(i){r.stop=true;return e}this.next();const a=this.startNodeAt(t,s);a.callee=e;a.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(10);a.arguments=this.parseCallExpressionArguments(11,false);a.optional=true;return this.finishCallExpression(a,true)}else if(!i&&this.shouldParseTypes()&&this.match(47)){const i=this.startNodeAt(t,s);i.callee=e;const a=this.tryParse((()=>{i.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(10);i.arguments=this.parseCallExpressionArguments(11,false);if(r.optionalChainMember)i.optional=false;return this.finishCallExpression(i,r.optionalChainMember)}));if(a.node){if(a.error)this.state=a.failState;return a.node}}return super.parseSubscript(e,t,s,i,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;if(this.shouldParseTypes()&&this.match(47)){t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node}e.typeArguments=t}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(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(We.UnterminatedFlowComment,{at:this.state.curPosition()})}return s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){throw this.raise(We.NestedFlowComment,{at:this.state.startLoc})}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(n.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=e+2+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 i=this.input.charCodeAt(t+e+1);if(s===58&&i===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(s===58&&i!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(n.UnterminatedComment,{at:this.state.curPosition()})}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(We.EnumBooleanMemberNotInitialized,{at:e,memberName:s,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(!t.explicitType?We.EnumInvalidMemberInitializerUnknownType:t.explicitType==="symbol"?We.EnumInvalidMemberInitializerSymbolType:We.EnumInvalidMemberInitializerPrimaryType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(We.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:s})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(We.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc;const endOfInit=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{const t=this.parseNumericLiteral(this.state.value);if(endOfInit()){return{type:"number",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 129:{const t=this.parseStringLiteral(this.state.value);if(endOfInit()){return{type:"string",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 85:case 86:{const t=this.parseBooleanLiteral(this.match(85));if(endOfInit()){return{type:"boolean",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;const t=this.parseIdentifier(true);const s=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:t,init:s}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:i}=t;if(i===null){return}if(i!==s){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set;const i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let r=false;while(!this.match(8)){if(this.eat(21)){r=true;break}const a=this.startNode();const{id:n,init:o}=this.flowEnumMemberRaw();const h=n.name;if(h===""){continue}if(/^[a-z]/.test(h)){this.raise(We.EnumInvalidMemberName,{at:n,memberName:h,suggestion:h[0].toUpperCase()+h.slice(1),enumName:e})}if(s.has(h)){this.raise(We.EnumDuplicateMemberName,{at:n,memberName:h,enumName:e})}s.add(h);const c={enumName:e,explicitType:t,memberName:h};a.id=n;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"boolean");a.init=o.value;i.booleanMembers.push(this.finishNode(a,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"number");a.init=o.value;i.numberMembers.push(this.finishNode(a,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"string");a.init=o.value;i.stringMembers.push(this.finishNode(a,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.loc,c)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,c);break;default:i.defaultedMembers.push(this.finishNode(a,"EnumDefaultedMember"))}}}if(!this.match(8)){this.expect(12)}}return{members:i,hasUnknownMembers:r}}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,{enumName:s})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:s})}return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!tokenIsIdentifier(this.state.type)){throw this.raise(We.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.raise(We.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t})}return t}flowEnumBody(e,t){const s=t.name;const i=t.loc.start;const r=this.flowEnumParseExplicitType({enumName:s});this.expect(5);const{members:a,hasUnknownMembers:n}=this.flowEnumMembers({enumName:s,explicitType:r});e.hasUnknownMembers=n;switch(r){case"boolean":e.explicitType=true;e.members=a.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=a.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s});this.expect(8);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=a.defaultedMembers;this.expect(8);return this.finishNode(e,"EnumSymbolBody");default:{const empty=()=>{e.members=[];this.expect(8);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const t=a.booleanMembers.length;const r=a.numberMembers.length;const n=a.stringMembers.length;const o=a.defaultedMembers.length;if(!t&&!r&&!n&&!o){return empty()}else if(!t&&!r){e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s});this.expect(8);return this.finishNode(e,"EnumStringBody")}else if(!r&&!n&&t>=o){for(const e of a.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name})}e.members=a.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody")}else if(!t&&!n&&r>=o){for(const e of a.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name})}e.members=a.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody")}else{this.raise(We.EnumInconsistentMemberValues,{at:i,enumName:s});return empty()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),t);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 Ge={__proto__:null,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 Ye=ParseErrorEnum`jsx`((e=>({AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`)),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`)),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?")})));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 jsx=e=>class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(Ye.UnterminatedJsxContent,{at:this.state.startLoc})}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.canStartJSXElement){++this.state.pos;return this.finishToken(138)}return super.getTokenFromCode(s)}e+=this.input.slice(t,this.state.pos);return this.finishToken(137,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(n.UnterminatedString,{at:this.state.startLoc})}const i=this.input.charCodeAt(this.state.pos);if(i===e)break;if(i===38){t+=this.input.slice(s,this.state.pos);t+=this.jsxReadEntity();s=this.state.pos}else if(isNewLine(i)){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(129,t)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;if(this.codePointAtPos(this.state.pos)===120){e=16;++this.state.pos}const t=this.readInt(e,undefined,false,"bail");if(t!==null&&this.codePointAtPos(this.state.pos)===59){++this.state.pos;return String.fromCodePoint(t)}}else{let t=0;let s=false;while(t++<10&&this.state.posObject.hasOwnProperty.call(e,t)&&e[t];function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}function tsTokenCanStartExpression(e){return tokenCanStartExpression(e)||tokenIsBinaryOperator(e)}const Qe=ParseErrorEnum`typescript`((e=>({AbstractMethodHasImplementation:e((({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`)),AbstractPropertyHasInitializer:e((({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`)),AccesorCannotDeclareThisParameter:e("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:e("An accessor cannot have type parameters."),CannotFindName:e((({name:e})=>`Cannot find name '${e}'.`)),ClassMethodHasDeclare:e("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:e("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:e("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:e("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:e((({kind:e})=>`'declare' is not allowed in ${e}ters.`)),DeclareClassFieldHasInitializer:e("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:e("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:e((({modifier:e})=>`Accessibility modifier already seen.`)),DuplicateModifier:e((({modifier:e})=>`Duplicate modifier: '${e}'.`)),EmptyHeritageClauseType:e((({token:e})=>`'${e}' list cannot be empty.`)),EmptyTypeArguments:e("Type argument list cannot be empty."),EmptyTypeParameters:e("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:e("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:e("An import alias can not use 'import type'."),IncompatibleModifiers:e((({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`)),IndexSignatureHasAbstract:e("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:e((({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`)),IndexSignatureHasDeclare:e("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:e("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:e("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:e("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:e((({modifier:e})=>`'${e}' modifier cannot appear on a type member.`)),InvalidModifierOnTypeParameter:e((({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`)),InvalidModifierOnTypeParameterPositions:e((({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`)),InvalidModifiersOrder:e((({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`)),InvalidTupleMemberLabel:e("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:e("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:e("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:e("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:e("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:e("A required element cannot follow an optional element."),OverrideNotInSubClass:e("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:e("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:e((({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`)),ReadonlyForMethodSignature:e("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:e("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`)),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`))})));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"}function tsIsVarianceAnnotations(e){return e==="in"||e==="out"}var typescript=e=>class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return tokenIsIdentifier(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!tokenIsIdentifier(this.state.type)&&this.state.type!==58){return undefined}const s=this.state.value;if(e.indexOf(s)!==-1){if(t&&this.tsIsStartOfStaticBlocks()){return undefined}if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return s}}return undefined}tsParseModifiers({modified:e,allowedModifiers:t,disallowedModifiers:s,stopOnStartOfClassStaticBlock:i,errorTemplate:r=Qe.InvalidModifierOnTypeMember}){const enforceOrder=(t,s,i,r)=>{if(s===i&&e[r]){this.raise(Qe.InvalidModifiersOrder,{at:t,orderedModifiers:[i,r]})}};const incompatible=(t,s,i,r)=>{if(e[i]&&s===r||e[r]&&s===i){this.raise(Qe.IncompatibleModifiers,{at:t,modifiers:[i,r]})}};for(;;){const{startLoc:a}=this.state;const n=this.tsParseModifier(t.concat(s!=null?s:[]),i);if(!n)break;if(tsIsAccessModifier(n)){if(e.accessibility){this.raise(Qe.DuplicateAccessibilityModifier,{at:a,modifier:n})}else{enforceOrder(a,n,n,"override");enforceOrder(a,n,n,"static");enforceOrder(a,n,n,"readonly");e.accessibility=n}}else if(tsIsVarianceAnnotations(n)){if(e[n]){this.raise(Qe.DuplicateModifier,{at:a,modifier:n})}e[n]=true;enforceOrder(a,n,"in","out")}else{if(Object.hasOwnProperty.call(e,n)){this.raise(Qe.DuplicateModifier,{at:a,modifier:n})}else{enforceOrder(a,n,"static","readonly");enforceOrder(a,n,"static","override");enforceOrder(a,n,"override","readonly");enforceOrder(a,n,"abstract","override");incompatible(a,n,"declare","override");incompatible(a,n,"static","abstract")}e[n]=true}if(s!=null&&s.includes(n)){this.raise(r,{at:a,modifier:n})}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}tsParseList(e,t){const s=[];while(!this.tsIsListTerminator(e)){s.push(t())}return s}tsParseDelimitedList(e,t,s){return nonNull(this.tsParseDelimitedListWorker(e,t,true,s))}tsParseDelimitedListWorker(e,t,s,i){const r=[];let a=-1;for(;;){if(this.tsIsListTerminator(e)){break}a=-1;const i=t();if(i==null){return undefined}r.push(i);if(this.eat(12)){a=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e)){break}if(s){this.expect(12)}return undefined}if(i){i.value=a}return r}tsParseBracketedList(e,t,s,i,r){if(!i){if(s){this.expect(0)}else{this.expect(47)}}const a=this.tsParseDelimitedList(e,t,r);if(s){this.expect(3)}else{this.expect(48)}return a}tsParseImportType(){const e=this.startNode();this.expect(83);this.expect(10);if(!this.match(129)){this.raise(Qe.UnsupportedImportTypeArgument,{at:this.state.startLoc})}e.argument=this.parseExprAtom();this.expect(11);if(this.eat(16)){e.qualifier=this.tsParseEntityName()}if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e=true){let t=this.parseIdentifier(e);while(this.eat(16)){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();if(!this.hasPrecedingLineBreak()&&this.match(47)){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(87);if(this.match(83)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName()}if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeQuery")}tsParseInOutModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Qe.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Qe.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(e=this.tsParseNoneModifiers.bind(this)){const t=this.startNode();e(t);t.name=this.tsParseTypeParameterName();t.constraint=this.tsEatThenParseType(81);t.default=this.tsEatThenParseType(29);return this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47)){return this.tsParseTypeParameters(e)}}tsParseTypeParameters(e){const t=this.startNode();if(this.match(47)||this.match(138)){this.next()}else{this.unexpected()}const s={value:-1};t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),false,true,s);if(t.params.length===0){this.raise(Qe.EmptyTypeParameters,{at:t})}if(s.value!==-1){this.addExtra(t,"trailingComma",s.value)}return this.finishNode(t,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type!==75)return null;this.next();const e=this.tsParseTypeReference();if(e.typeParameters){this.raise(Qe.CannotFindName,{at:e.typeName,name:"const"})}return e}tsFillSignature(e,t){const s=e===19;const i="parameters";const r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters();this.expect(10);t[i]=this.tsParseBindingListForSignature();if(s){t[r]=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t[r]=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(Qe.UnsupportedSignatureParameterKind,{at:e,type:e.type})}return e}))}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator()){this.expect(13)}}tsParseSignatureMember(e,t){this.tsFillSignature(14,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();if(tokenIsIdentifier(this.state.type)){this.next();return this.match(14)}return false}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(3);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(17))e.optional=true;const s=e;if(this.match(10)||this.match(47)){if(t){this.raise(Qe.ReadonlyForMethodSignature,{at:e})}const i=s;if(i.kind&&this.match(47)){this.raise(Qe.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()})}this.tsFillSignature(14,i);this.tsParseTypeMemberSemicolon();const r="parameters";const a="typeAnnotation";if(i.kind==="get"){if(i[r].length>0){this.raise(n.BadGetterArity,{at:this.state.curPosition()});if(this.isThisParam(i[r][0])){this.raise(Qe.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}}}else if(i.kind==="set"){if(i[r].length!==1){this.raise(n.BadSetterArity,{at:this.state.curPosition()})}else{const e=i[r][0];if(this.isThisParam(e)){this.raise(Qe.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}if(e.type==="Identifier"&&e.optional){this.raise(Qe.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()})}if(e.type==="RestElement"){this.raise(Qe.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}}if(i[a]){this.raise(Qe.SetAccesorCannotHaveReturnType,{at:i[a]})}}else{i.kind="method"}return this.finishNode(i,"TSMethodSignature")}else{const e=s;if(t)e.readonly=true;const i=this.tsTryParseTypeAnnotation();if(i)e.typeAnnotation=i;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(77)){const t=this.startNode();this.next();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]});const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e);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)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(8);return e}tsIsStartOfMappedType(){this.next();if(this.eat(53)){return this.isContextual(118)}if(this.isContextual(118)){this.next()}if(!this.match(0)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(58)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(58);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(5);if(this.match(53)){e.readonly=this.state.value;this.next();this.expectContextual(118)}else if(this.eatContextual(118)){e.readonly=true}this.expect(0);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual(93)?this.tsParseType():null;this.expect(3);if(this.match(53)){e.optional=this.state.value;this.next();this.expect(17)}else if(this.eat(17)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(8);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 i;let{type:r}=e;if(t&&r!=="TSRestType"&&r!=="TSOptionalType"&&!(r==="TSNamedTupleMember"&&e.optional)){this.raise(Qe.OptionalTypeBeforeRequired,{at:e})}t=t||r==="TSNamedTupleMember"&&e.optional||r==="TSOptionalType";if(r==="TSRestType"){e=e.typeAnnotation;r=e.type}const a=r==="TSNamedTupleMember";s=(i=s)!=null?i:a;if(s!==a){this.raise(Qe.MixedLabeledAndUnlabeledElements,{at:e})}}));return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const s=this.eat(21);let i=this.tsParseType();const r=this.eat(17);const a=this.eat(14);if(a){const e=this.startNodeAtNode(i);e.optional=r;if(i.type==="TSTypeReference"&&!i.typeParameters&&i.typeName.type==="Identifier"){e.label=i.typeName}else{this.raise(Qe.InvalidTupleMemberLabel,{at:i});e.label=i}e.elementType=this.tsParseType();i=this.finishNode(e,"TSNamedTupleMember")}else if(r){const e=this.startNodeAtNode(i);e.typeAnnotation=i;i=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=i;i=this.finishNode(s,"TSRestType")}return i}tsParseParenthesizedType(){const e=this.startNode();this.expect(10);e.typeAnnotation=this.tsParseType();this.expect(11);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.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,s)));return this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86: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(113)&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==130&&t.type!==131){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(tokenIsIdentifier(e)||e===88||e===84){const t=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":keywordTypeFromName(this.state.value);if(t!==undefined&&this.lookaheadCharCode()!==46){const e=this.startNode();this.next();return this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0)){if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(3);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(3);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(){const e=this.startNode();const t=this.state.value;this.next();e.operator=t;e.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(t==="readonly"){this.tsCheckTypeAnnotationForReadOnly(e)}return this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Qe.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(112);const t=this.startNode();t.name=this.tsParseTypeParameterName();t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType()));e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17)){return e}}}tsParseTypeOperatorOrHigher(){const e=tokenIsTSTypeOperator(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,s){const i=this.startNode();const r=this.eat(s);const a=[];do{a.push(t())}while(this.eat(s));if(a.length===1&&!r){return a[0]}i.types=a;return this.finishNode(i,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47)){return true}return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(tokenIsIdentifier(this.state.type)||this.match(78)){this.next();return true}if(this.match(5)){const{errors:e}=this.state;const t=e.length;try{this.parseObjectLike(8,true);return e.length===t}catch(e){return false}}if(this.match(0)){this.next();const{errors:e}=this.state;const t=e.length;try{this.parseBindingList(3,93,true);return e.length===t}catch(e){return false}}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(11)||this.match(21)){return true}if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29)){return true}if(this.match(11)){this.next();if(this.match(19)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const s=this.startNode();const i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(78)){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 r=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!r){if(!i){return this.tsParseTypeAnnotation(false,t)}s.parameterName=this.parseIdentifier();s.asserts=i;s.typeAnnotation=null;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const a=this.tsParseTypeAnnotation(false);s.parameterName=r;s.typeAnnotation=a;s.asserts=i;t.typeAnnotation=this.finishNode(s,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):undefined}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(this.state.type!==106){return false}const e=this.state.containsEsc;this.next();if(!tokenIsIdentifier(this.state.type)&&!this.match(78)){return false}if(e){this.raise(n.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"})}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType((()=>{if(e)this.expect(14);t.typeAnnotation=this.tsParseType()}));return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType()));this.expect(17);t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));this.expect(14);t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(77)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(Qe.ReservedTypeAssertion,{at:this.state.startLoc})}const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expect(48);e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc;const s=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();e.expression=this.tsParseEntityName();if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}));if(!s.length){this.raise(Qe.EmptyHeritageClauseType,{at:t,token:e})}return s}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(125);if(t.declare)e.declare=true;if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();this.checkIdentifier(e.id,oe)}else{e.id=null;this.raise(Qe.MissingInterfaceName,{at:this.state.startLoc})}e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));if(this.eat(81)){e.extends=this.tsParseHeritageClause("extends")}const s=this.startNode();s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(s,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkIdentifier(e.id,he);e.typeAnnotation=this.tsInType((()=>{e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));this.expect(29);if(this.isContextual(111)&&this.lookahead().type!==16){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}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=true;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=false;try{return e()}finally{this.state.inDisallowConditionalTypesContext=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(129)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(29)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){if(t.const)e.const=true;if(t.declare)e.declare=true;this.expectContextual(122);e.id=this.parseIdentifier();this.checkIdentifier(e.id,e.const?de:ce);this.expect(5);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(8);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(F);this.expect(5);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,8);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkIdentifier(e.id,fe)}if(this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(V);this.prodParam.enter(_e);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual(109)){e.global=true;e.id=this.parseIdentifier()}else if(this.match(129)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(5)){this.scope.enter(V);this.prodParam.enter(_e);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.checkIdentifier(e.id,re);this.expect(29);const s=this.tsParseModuleReference();if(e.importKind==="type"&&s.type!=="TSExternalModuleReference"){this.raise(Qe.ImportAliasHasImportType,{at:s})}e.moduleReference=s;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual(116);this.expect(10);if(!this.match(129)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(11);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(99)){t=74;s="let"}return this.tsInAmbientContext((()=>{if(t===68){e.declare=true;return this.parseFunctionStatement(e,false,true)}if(t===80){e.declare=true;return this.parseClass(e,true,false)}if(t===122){return this.tsParseEnumDeclaration(e,{declare:true})}if(t===109){return this.tsParseAmbientExternalModuleDeclaration(e)}if(t===75||t===74){if(!this.match(75)||!this.isLookaheadContextual("enum")){e.declare=true;return this.parseVarStatement(e,s||this.state.value,true)}this.expect(75);return this.tsParseEnumDeclaration(e,{const:true,declare:true})}if(t===125){const t=this.tsParseInterfaceDeclaration(e,{declare:true});if(t)return t}if(tokenIsIdentifier(t)){return this.tsParseDeclaration(e,this.state.value,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(5)){this.scope.enter(V);this.prodParam.enter(_e);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(80)||tokenIsIdentifier(this.state.type))){return this.tsParseAbstractDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(129)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(s)&&tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(s)&&tokenIsIdentifier(this.state.type)){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.match(47)){return undefined}const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const i=this.tsTryParseAndCatch((()=>{const s=this.startNodeAt(e,t);s.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(s);s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(19);return s}));this.state.maybeInArrowParameters=s;if(!i){return undefined}return this.parseArrowExpression(i,null,true)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47){return undefined}return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType((()=>this.tsInNoContext((()=>{this.expect(47);return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}))));if(e.params.length===0){this.raise(Qe.EmptyTypeArguments,{at:e})}this.expect(48);return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return tokenIsTSDeclarationStart(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start;const i=this.state.startLoc;let r;let a=false;let n=false;if(e!==undefined){const t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]});r=t.accessibility;n=t.override;a=t.readonly;if(e===false&&(r||a||n)){this.raise(Qe.UnexpectedParameterModifier,{at:i})}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const h=this.parseMaybeDefault(o.start,o.loc.start,o);if(r||a||n){const e=this.startNodeAt(s,i);if(t.length){e.decorators=t}if(r)e.accessibility=r;if(a)e.readonly=a;if(n)e.override=n;if(h.type!=="Identifier"&&h.type!=="AssignmentPattern"){this.raise(Qe.UnsupportedParameterPropertyKind,{at:e})}e.parameter=h;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return h}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t,s=false){if(this.match(14)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14)}const i=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"||t==="ClassPrivateMethod"?"TSDeclareMethod":undefined;if(i&&!this.match(5)&&this.isLineTerminator()){this.finishNode(e,i);return}if(i==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(Qe.DeclareFunctionHasImplementation,{at:e});if(e.declare){super.parseFunctionBodyAndFinish(e,i,s);return}}super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkIdentifier(e.id,pe)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(Qe.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}}))}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,i,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=false;this.next();const i=this.startNodeAt(t,s);i.expression=e;return this.finishNode(i,"TSNonNullExpression")}let a=false;if(this.match(18)&&this.lookaheadCharCode()===60){if(i){r.stop=true;return e}r.optionalChainMember=a=true;this.next()}if(this.match(47)||this.match(51)){let n;const o=this.tsTryParseAndCatch((()=>{if(!i&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e){return e}}const o=this.tsParseTypeArgumentsInExpression();if(!o)throw this.unexpected();if(a&&!this.match(10)){n=this.state.curPosition();throw this.unexpected()}if(tokenIsTemplate(this.state.type)){const i=this.parseTaggedTemplateExpression(e,t,s,r);i.typeParameters=o;return i}if(!i&&this.eat(10)){const i=this.startNodeAt(t,s);i.callee=e;i.arguments=this.parseCallExpressionArguments(11,false);this.tsCheckForInvalidTypeCasts(i.arguments);i.typeParameters=o;if(r.optionalChainMember){i.optional=a}return this.finishCallExpression(i,r.optionalChainMember)}if(tsTokenCanStartExpression(this.state.type)&&this.state.type!==10){throw this.unexpected()}const h=this.startNodeAt(t,s);h.expression=e;h.typeParameters=o;return this.finishNode(h,"TSInstantiationExpression")}));if(n){this.unexpected(n,10)}if(o)return o}return super.parseSubscript(e,t,s,i,r)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:s}=e;if(s.type==="TSInstantiationExpression"&&!((t=s.extra)!=null&&t.parenthesized)){e.typeParameters=s.typeParameters;e.callee=s.expression}}parseExprOp(e,t,s,i){if(tokenOperatorPrecedence(58)>i&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){const r=this.startNodeAt(t,s);r.expression=e;const a=this.tsTryNextParseConstantContext();if(a){r.typeAnnotation=a}else{r.typeAnnotation=this.tsNextThenParseType()}this.finishNode(r,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(r,t,s,i)}return super.parseExprOp(e,t,s,i)}checkReservedWord(e,t,s,i){if(!this.state.isAmbientContext){super.checkReservedWord(e,t,s,i)}}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(tokenIsIdentifier(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&t.type!==12&&t.type!==97&&t.type!==29){e.importKind="type";this.next();t=this.lookahead()}if(tokenIsIdentifier(this.state.type)&&t.type===29){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(Qe.TypeImportCannotSpecifyDefaultAndNamed,{at:t})}return t}parseExport(e){if(this.match(83)){this.next();if(this.isContextual(126)&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(29)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual(93)){const t=e;this.expectContextual(124);t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual(126)&&this.lookahead().type===5){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual(120)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.match(125)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,s=false){const{isAmbientContext:i}=this.state;const r=super.parseVarStatement(e,t,s||i);if(!i)return r;for(const{id:e,init:s}of r.declarations){if(!s)continue;if(t!=="const"||!!e.typeAnnotation){this.raise(Qe.InitializerNotAllowedInAmbientContext,{at:s})}else if(s.type!=="StringLiteral"&&s.type!=="BooleanLiteral"&&s.type!=="NumericLiteral"&&s.type!=="BigIntLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)&&!isPossiblyLiteralEnum(s)){this.raise(Qe.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:s})}}return r}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();this.expect(75);return this.tsParseEnumDeclaration(e,{const:true})}if(this.isContextual(122)){return this.tsParseEnumDeclaration(this.startNode())}if(this.isContextual(125)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}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]}))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,t,s){const i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:true,errorTemplate:Qe.InvalidModifierOnTypeParameterPositions});const callParseClassMemberWithIsStatic=()=>{if(this.tsIsStartOfStaticBlocks()){this.next();this.next();if(this.tsHasSomeModifiers(t,i)){this.raise(Qe.StaticBlockCannotHaveModifier,{at:this.state.curPosition()})}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,s,!!t.static)}};if(t.declare){this.tsInAmbientContext(callParseClassMemberWithIsStatic)}else{callParseClassMemberWithIsStatic()}}parseClassMemberWithIsStatic(e,t,s,i){const r=this.tsTryParseIndexSignature(t);if(r){e.body.push(r);if(t.abstract){this.raise(Qe.IndexSignatureHasAbstract,{at:t})}if(t.accessibility){this.raise(Qe.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility})}if(t.declare){this.raise(Qe.IndexSignatureHasDeclare,{at:t})}if(t.override){this.raise(Qe.IndexSignatureHasOverride,{at:t})}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(Qe.NonAbstractClassHasAbstractMethod,{at:t})}if(t.override){if(!s.hadSuperClass){this.raise(Qe.OverrideNotInSubClass,{at:t})}}super.parseClassMemberWithIsStatic(e,t,s,i)}parsePostMemberNameModifiers(e){const t=this.eat(17);if(t)e.optional=true;if(e.readonly&&this.match(10)){this.raise(Qe.ClassMethodHasReadonly,{at:e})}if(e.declare&&this.match(10)){this.raise(Qe.ClassMethodHasDeclare,{at:e})}}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,i){if(!this.state.maybeInArrowParameters||!this.match(17)){return super.parseConditional(e,t,s,i)}const r=this.tryParse((()=>super.parseConditional(e,t,s)));if(!r.node){if(r.error){super.setOptionalParametersError(i,r.error)}return e}if(r.error)this.state=r.failState;return r.node}parseParenItem(e,t,s){e=super.parseParenItem(e,t,s);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const i=this.startNodeAt(t,s);i.expression=e;i.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(i,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121)){return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)))}const t=this.state.start;const s=this.state.startLoc;const i=this.eatContextual(121);if(i&&(this.isContextual(121)||!this.shouldParseExportDeclaration())){throw this.raise(Qe.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc})}const r=tokenIsIdentifier(this.state.type);const a=r&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);if(!a)return null;if(a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||i){e.exportKind="type"}if(i){this.resetStartLocation(a,t,s);a.declare=true}return a}parseClassId(e,t,s){if((!t||s)&&this.isContextual(110)){return}super.parseClassId(e,t,s,e.declare?pe:ie);const i=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));if(i)e.typeParameters=i}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(35)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(29)){this.raise(Qe.DeclareClassFieldHasInitializer,{at:this.state.startLoc})}if(e.abstract&&this.match(29)){const{key:t}=e;this.raise(Qe.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName: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(Qe.PrivateElementHasAbstract,{at:e})}if(e.accessibility){this.raise(Qe.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility})}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,i,r,a){const n=this.tsTryParseTypeParameters();if(n&&r){this.raise(Qe.ConstructorHasTypeParameters,{at:n})}const{declare:o=false,kind:h}=t;if(o&&(h==="get"||h==="set")){this.raise(Qe.DeclareAccessor,{at:t,kind:h})}if(n)t.typeParameters=n;super.pushClassMethod(e,t,s,i,r,a)}pushClassPrivateMethod(e,t,s,i){const r=this.tsTryParseTypeParameters();if(r)t.typeParameters=r;super.pushClassPrivateMethod(e,t,s,i)}declareClassPrivateMethodInScope(e,t){if(e.type==="TSDeclareMethod")return;if(e.type==="MethodDefinition"&&!e.value.body)return;super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&(this.match(47)||this.match(51))){e.superTypeParameters=this.tsParseTypeArgumentsInExpression()}if(this.eatContextual(110)){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.hasPrecedingLineBreak()&&this.eat(35)){e.definite=true}const s=this.tsTryParseTypeAnnotation();if(s){e.id.typeAnnotation=s;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,s,i,r,a,n,o;let c;let p;let l;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){c=this.state.clone();p=this.tryParse((()=>super.parseMaybeAssign(...e)),c);if(!p.error)return p.node;const{context:t}=this.state;const s=t[t.length-1];if(s===h.j_oTag||s===h.j_expr){t.pop()}}if(!((t=p)!=null&&t.error)&&!this.match(47)){return super.parseMaybeAssign(...e)}let u;c=c||this.state.clone();const d=this.tryParse((t=>{var s,i,r;u=this.tsParseTypeParameters();const a=super.parseMaybeAssign(...e);if(a.type!=="ArrowFunctionExpression"||(s=a.extra)!=null&&s.parenthesized){t()}if(((i=u)==null?void 0:i.params.length)!==0){this.resetStartLocationFromNode(a,u)}a.typeParameters=u;if(this.hasPlugin("jsx")&&a.typeParameters.params.length===1&&!((r=a.typeParameters.extra)!=null&&r.trailingComma)){const e=a.typeParameters.params[0];if(!e.constraint);}return a}),c);if(!d.error&&!d.aborted){if(u)this.reportReservedArrowTypeParam(u);return d.node}if(!p){assert(!this.hasPlugin("jsx"));l=this.tryParse((()=>super.parseMaybeAssign(...e)),c);if(!l.error)return l.node}if((s=p)!=null&&s.node){this.state=p.failState;return p.node}if(d.node){this.state=d.failState;if(u)this.reportReservedArrowTypeParam(u);return d.node}if((i=l)!=null&&i.node){this.state=l.failState;return l.node}if((r=p)!=null&&r.thrown)throw p.error;if(d.thrown)throw d.error;if((a=l)!=null&&a.thrown)throw l.error;throw((n=p)==null?void 0:n.error)||d.error||((o=l)==null?void 0:o.error)}reportReservedArrowTypeParam(e){var t;if(e.params.length===1&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(Qe.ReservedArrowTypeParam,{at:e})}}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.match(47)){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))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(17)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(Qe.PatternIsOptional,{at:e})}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"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(t){this.expressionScope.recordArrowParemeterBindingError(Qe.UnexpectedTypeCastInParameter,{at:e})}else{this.raise(Qe.UnexpectedTypeCastInParameter,{at:e})}this.toAssignable(e.expression,t);break;case"AssignmentExpression":if(!t&&e.left.type==="TSTypeCastExpression"){e.left=this.typeCastToParameter(e.left)}default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,false);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s){return getOwn$1({TSTypeCastExpression:true,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(s!==le||!t)&&["expression",true],TSTypeAssertion:(s!==le||!t)&&["expression",true]},e)||super.isValidLVal(e,t,s)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const s=super.parseMaybeDecoratorArguments(e);s.typeParameters=t;return s}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e){this.next();return false}else{return super.checkCommaAfterRest(e)}}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||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(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const s=this.getObjectOrClassMethodParams(e);const i=s[0];const r=i&&this.isThisParam(i);return r?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(80)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual(125)){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(Qe.NonClassMethodPropertyHasAbstractModifer,{at:e});return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,80)}}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(Qe.AbstractMethodHasImplementation,{at:t,methodName: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()}parseExportSpecifier(e,t,s,i){if(!t&&i){this.parseTypeOnlyImportExportSpecifier(e,false,s);return this.finishNode(e,"ExportSpecifier")}e.exportKind="value";return super.parseExportSpecifier(e,t,s,i)}parseImportSpecifier(e,t,s,i){if(!t&&i){this.parseTypeOnlyImportExportSpecifier(e,true,s);return this.finishNode(e,"ImportSpecifier")}e.importKind="value";return super.parseImportSpecifier(e,t,s,i)}parseTypeOnlyImportExportSpecifier(e,t,s){const i=t?"imported":"local";const r=t?"local":"exported";let a=e[i];let n;let o=false;let h=true;const c=a.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const s=this.parseIdentifier();if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;a=e;n=t?this.parseIdentifier():this.parseModuleExportName();h=false}else{n=s;h=false}}else if(tokenIsKeywordOrIdentifier(this.state.type)){h=false;n=t?this.parseIdentifier():this.parseModuleExportName()}else{o=true;a=e}}else if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;if(t){a=this.parseIdentifier(true);if(!this.isContextual(93)){this.checkReservedWord(a.name,a.loc.start,true,true)}}else{a=this.parseModuleExportName()}}if(o&&s){this.raise(t?Qe.TypeModifierIsUsedInTypeImports:Qe.TypeModifierIsUsedInTypeExports,{at:c})}e[i]=a;e[r]=n;const p=t?"importKind":"exportKind";e[p]=o?"type":"value";if(h&&this.eatContextual(93)){e[r]=t?this.parseIdentifier():this.parseModuleExportName()}if(!e[r]){e[r]=cloneIdentifier(e[i])}if(t){this.checkIdentifier(e[r],re)}}};function isPossiblyLiteralEnum(e){if(e.type!=="MemberExpression")return false;const{computed:t,property:s}=e;if(t&&s.type!=="StringLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)){return false}return isUncomputedMemberExpressionChain(e.object)}function isUncomputedMemberExpressionChain(e){if(e.type==="Identifier")return true;if(e.type!=="MemberExpression")return false;if(e.computed)return false;return isUncomputedMemberExpressionChain(e.object)}const Ze=ParseErrorEnum`placeholders`((e=>({ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")})));var placeholders=e=>class extends e{parsePlaceholder(e){if(this.match(140)){const t=this.startNode();this.next();this.assertNoSpace();t.name=super.parseIdentifier(true);this.assertNoSpace();this.expect(140);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(140,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)}isValidLVal(e,...t){return e==="Placeholder"||super.isValidLVal(e,...t)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern"}else{super.toAssignable(...arguments)}}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual(99)){return false}if(e)return false;const t=this.lookahead();if(t.type===140){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(14)){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 i=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const r=this.state.strict;const a=this.parsePlaceholder("Identifier");if(a){if(this.match(81)||this.match(140)||this.match(5)){e.id=a}else if(s||!t){e.id=null;e.body=this.finishPlaceholder(a,"ClassBody");return this.finishNode(e,i)}else{throw this.raise(Ze.ClassNameIsRequired,{at:this.state.startLoc})}}else{this.parseClassId(e,t,s)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,r);return this.finishNode(e,i)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12)){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(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(tokenLabelName(140),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(97)&&!this.match(12)){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(12)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual(97);e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){if(this.state.start>this.state.lastTokEndLoc.index){this.raise(Ze.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}};var v8intrinsic=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc;const t=this.startNode();this.next();if(tokenIsIdentifier(this.state.type)){const e=this.parseIdentifierName(this.state.start);const s=this.createIdentifier(t,e);s.type="V8IntrinsicIdentifier";if(this.match(10)){return s}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function hasPlugin(e,t){const[s,i]=typeof t==="string"?[t,{}]:t;const r=Object.keys(i);const a=r.length===0;return e.some((e=>{if(typeof e==="string"){return a&&e===s}else{const[t,a]=e;if(t!==s){return false}for(const e of r){if(a[e]!==i[e]){return false}}return true}}))}function getPluginOption(e,t,s){const i=e.find((e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}}));if(i&&Array.isArray(i)){return i[1][s]}return null}const et=["minimal","fsharp","hack","smart"];const tt=["^^","@@","^","%","#"];const st=["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(!et.includes(t)){const e=et.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const s=hasPlugin(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(!tt.includes(t)){const e=tt.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")&&!st.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+st.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 it={estree:estree,jsx:jsx,flow:flow,typescript:typescript,v8intrinsic:v8intrinsic,placeholders:placeholders};const rt=Object.keys(it);const at={sourceType:"script",sourceFilename:undefined,startColumn:0,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(at)){t[s]=e&&e[s]!=null?e[s]:at[s]}return t}const getOwn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];const unwrapParenthesizedExpression=e=>e.type==="ParenthesizedExpression"?unwrapParenthesizedExpression(e.expression):e;class LValParser extends NodeUtils{toAssignable(e,t=false){var s,i;let r=undefined;if(e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized){r=unwrapParenthesizedExpression(e);if(t){if(r.type==="Identifier"){this.expressionScope.recordArrowParemeterBindingError(n.InvalidParenthesizedAssignment,{at:e})}else if(r.type!=="MemberExpression"){this.raise(n.InvalidParenthesizedAssignment,{at:e})}}else{this.raise(n.InvalidParenthesizedAssignment,{at:e})}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,i=e.properties.length,r=i-1;se.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 0:{const e=this.startNode();this.next();e.elements=this.parseBindingList(3,93,true);return this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,true)}return this.parseIdentifier()}parseBindingList(e,t,s,i){const r=[];let a=true;while(!this.eat(e)){if(a){a=false}else{this.expect(12)}if(s&&this.match(12)){r.push(null)}else if(this.eat(e)){break}else if(this.match(21)){r.push(this.parseAssignableListItemTypes(this.parseRestBinding()));if(!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];if(this.match(26)&&this.hasPlugin("decorators")){this.raise(n.UnsupportedParameterDecorator,{at:this.state.startLoc})}while(this.match(26)){e.push(this.parseDecorator())}r.push(this.parseAssignableListItem(i,e))}}return r}parseBindingRestProperty(e){this.next();e.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode();const{type:t,start:s,startLoc:i}=this.state;if(t===21){return this.parseBindingRestProperty(e)}else if(t===134){this.expectPlugin("destructuringPrivate",i);this.classScope.usePrivateName(this.state.value,i);e.key=this.parsePrivateName()}else{this.parsePropertyName(e)}e.method=false;this.parseObjPropValue(e,s,i,false,false,true,false);return e}parseAssignableListItem(e,t){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);const i=this.parseMaybeDefault(s.start,s.loc.start,s);if(t.length){s.decorators=t}return i}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,s){var i,r,a;t=(i=t)!=null?i:this.state.startLoc;e=(r=e)!=null?r:this.state.start;s=(a=s)!=null?a:this.parseBindingAtom();if(!this.eat(29))return s;const n=this.startNodeAt(e,t);n.left=s;n.right=this.parseMaybeAssignAllowIn();return this.finishNode(n,"AssignmentPattern")}isValidLVal(e,t,s){return getOwn({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,{in:t,binding:s=le,checkClashes:i=false,strictModeChanged:r=false,allowingSloppyLetBinding:a=!(s&X),hasParenthesizedAncestor:o=false}){var h;const c=e.type;if(this.isObjectMethod(e))return;if(c==="MemberExpression"){if(s!==le){this.raise(n.InvalidPropertyBindingPattern,{at:e})}return}if(e.type==="Identifier"){this.checkIdentifier(e,s,r,a);const{name:t}=e;if(i){if(i.has(t)){this.raise(n.ParamDupe,{at:e})}else{i.add(t)}}return}const p=this.isValidLVal(e.type,!(o||(h=e.extra)!=null&&h.parenthesized)&&t.type==="AssignmentExpression",s);if(p===true)return;if(p===false){const i=s===le?n.InvalidLhs:n.InvalidLhsBinding;this.raise(i,{at:e,ancestor:t.type==="UpdateExpression"?{type:"UpdateExpression",prefix:t.prefix}:{type:t.type}});return}const[l,u]=Array.isArray(p)?p:[p,c==="ParenthesizedExpression"];const d=e.type==="ArrayPattern"||e.type==="ObjectPattern"||e.type==="ParenthesizedExpression"?e:t;for(const t of[].concat(e[l])){if(t){this.checkLVal(t,{in:d,binding:s,checkClashes:i,allowingSloppyLetBinding:a,strictModeChanged:r,hasParenthesizedAncestor:u})}}}checkIdentifier(e,t,s=false,i=!(t&X)){if(this.state.strict&&(s?isStrictBindReservedWord(e.name,this.inModule):isStrictBindOnlyReservedWord(e.name))){if(t===le){this.raise(n.StrictEvalArguments,{at:e,referenceName:e.name})}else{this.raise(n.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})}}if(!i&&e.name==="let"){this.raise(n.LetInLexicalBinding,{at:e})}if(!(t&le)){this.declareNameFromIdentifier(e,t)}}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(n.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){if(!this.match(12)){return false}this.raise(this.lookaheadCharCode()===e?n.RestTrailingComma:n.ElementAfterRest,{at:this.state.startLoc});return true}}class ExpressionParser extends LValParser{checkProto(e,t,s,i){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const r=e.key;const a=r.type==="Identifier"?r.name:r.value;if(a==="__proto__"){if(t){this.raise(n.RecordNoProto,{at:r});return}if(s.used){if(i){if(i.doubleProtoLoc===null){i.doubleProtoLoc=r.loc.start}}else{this.raise(n.DuplicateProto,{at:r})}}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(135)){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 i=this.parseMaybeAssign(e);if(this.match(12)){const r=this.startNodeAt(t,s);r.expressions=[i];while(this.eat(12)){r.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(r.expressions);return this.finishNode(r,"SequenceExpression")}return i}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.optionalParametersLoc=(s=t==null?void 0:t.loc)!=null?s:this.state.startLoc}parseMaybeAssign(e,t){const s=this.state.start;const i=this.state.startLoc;if(this.isContextual(105)){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,s,i)}return e}}let r;if(e){r=false}else{e=new ExpressionErrors;r=true}const{type:a}=this.state;if(a===10||tokenIsIdentifier(a)){this.state.potentialArrowAt=this.state.start}let n=this.parseMaybeConditional(e);if(t){n=t.call(this,n,s,i)}if(tokenIsAssignment(this.state.type)){const t=this.startNodeAt(s,i);const r=this.state.value;t.operator=r;if(this.match(29)){this.toAssignable(n,true);t.left=n;if(e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=s){e.doubleProtoLoc=null}if(e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=s){e.shorthandAssignLoc=null}if(e.privateKeyLoc!=null&&e.privateKeyLoc.index>=s){this.checkDestructuringPrivate(e);e.privateKeyLoc=null}}else{t.left=n}this.next();t.right=this.parseMaybeAssign();this.checkLVal(n,{in:this.finishNode(t,"AssignmentExpression")});return t}else if(r){this.checkExpressionErrors(e,true)}return n}parseMaybeConditional(e){const t=this.state.start;const s=this.state.startLoc;const i=this.state.potentialArrowAt;const r=this.parseExprOps(e);if(this.shouldExitDescending(r,i)){return r}return this.parseConditional(r,t,s,e)}parseConditional(e,t,s,i){if(this.eat(17)){const i=this.startNodeAt(t,s);i.test=e;i.consequent=this.parseMaybeAssignAllowIn();this.expect(14);i.alternate=this.parseMaybeAssign();return this.finishNode(i,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start;const s=this.state.startLoc;const i=this.state.potentialArrowAt;const r=this.parseMaybeUnaryOrPrivate(e);if(this.shouldExitDescending(r,i)){return r}return this.parseExprOp(r,t,s,-1)}parseExprOp(e,t,s,i){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);if(i>=tokenOperatorPrecedence(58)||!this.prodParam.hasIn||!this.match(58)){this.raise(n.PrivateInExpectedIn,{at:e,identifierName:t})}this.classScope.usePrivateName(t,e.loc.start)}const r=this.state.type;if(tokenIsOperator(r)&&(this.prodParam.hasIn||!this.match(58))){let a=tokenOperatorPrecedence(r);if(a>i){if(r===39){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,s)}const o=this.startNodeAt(t,s);o.left=e;o.operator=this.state.value;const h=r===41||r===42;const c=r===40;if(c){a=tokenOperatorPrecedence(42)}this.next();if(r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait){throw this.raise(n.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc})}}o.right=this.parseExprOpRightExpr(r,a);this.finishNode(o,h||c?"LogicalExpression":"BinaryExpression");const p=this.state.type;if(c&&(p===41||p===42)||h&&p===40){throw this.raise(n.MixingCoalesceWithLogical,{at:this.state.startLoc})}return this.parseExprOp(o,t,s,i)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start;const i=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105)){throw this.raise(n.PipeBodyIsTighter,{at:this.state.startLoc})}return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s,i)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const s=this.state.start;const i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,i,tokenIsRightAssociative(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state;const s=this.parseMaybeAssign();const i=r.has(s.type);if(i&&!((e=s.extra)!=null&&e.parenthesized)){this.raise(n.PipeUnparenthesizedBody,{at:t,type:s.type})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(n.PipeTopicUnused,{at:t})}return s}checkExponentialAfterUnary(e){if(this.match(57)){this.raise(n.UnexpectedTokenUnaryExponentiation,{at:e.argument})}}parseMaybeUnary(e,t){const s=this.state.start;const i=this.state.startLoc;const r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,i);if(!t)this.checkExponentialAfterUnary(e);return e}const a=this.match(34);const o=this.startNode();if(tokenIsPrefix(this.state.type)){o.operator=this.state.value;o.prefix=true;if(this.match(72)){this.expectPlugin("throwExpressions")}const s=this.match(89);this.next();o.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&s){const e=o.argument;if(e.type==="Identifier"){this.raise(n.StrictDelete,{at:o})}else if(this.hasPropertyAsPrivateName(e)){this.raise(n.DeletePrivateField,{at:o})}}if(!a){if(!t)this.checkExponentialAfterUnary(o);return this.finishNode(o,"UnaryExpression")}}const h=this.parseUpdate(o,a,e);if(r){const{type:e}=this.state;const t=this.hasPlugin("v8intrinsic")?tokenCanStartExpression(e):tokenCanStartExpression(e)&&!this.match(54);if(t&&!this.isAmbiguousAwait()){this.raiseOverwrite(n.AwaitNotInAsyncContext,{at:i});return this.parseAwait(s,i)}}return h}parseUpdate(e,t,s){if(t){this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")});return e}const i=this.state.start;const r=this.state.startLoc;let a=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,false))return a;while(tokenIsPostfix(this.state.type)&&!this.canInsertSemicolon()){const e=this.startNodeAt(i,r);e.operator=this.state.value;e.prefix=false;e.argument=a;this.next();this.checkLVal(a,{in:a=this.finishNode(e,"UpdateExpression")})}return a}parseExprSubscripts(e){const t=this.state.start;const s=this.state.startLoc;const i=this.state.potentialArrowAt;const r=this.parseExprAtom(e);if(this.shouldExitDescending(r,i)){return r}return this.parseSubscripts(r,t,s)}parseSubscripts(e,t,s,i){const r={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,s,i,r);r.maybeAsyncArrow=false}while(!r.stop);return e}parseSubscript(e,t,s,i,r){const{type:a}=this.state;if(!i&&a===15){return this.parseBind(e,t,s,i,r)}else if(tokenIsTemplate(a)){return this.parseTaggedTemplateExpression(e,t,s,r)}let n=false;if(a===18){if(i&&this.lookaheadCharCode()===40){r.stop=true;return e}r.optionalChainMember=n=true;this.next()}if(!i&&this.match(10)){return this.parseCoverCallAndAsyncArrowHead(e,t,s,r,n)}else{const i=this.eat(0);if(i||n||this.eat(16)){return this.parseMember(e,t,s,r,i,n)}else{r.stop=true;return e}}}parseMember(e,t,s,i,r,a){const o=this.startNodeAt(t,s);o.object=e;o.computed=r;if(r){o.property=this.parseExpression();this.expect(3)}else if(this.match(134)){if(e.type==="Super"){this.raise(n.SuperPrivateField,{at:s})}this.classScope.usePrivateName(this.state.value,this.state.startLoc);o.property=this.parsePrivateName()}else{o.property=this.parseIdentifier(true)}if(i.optionalChainMember){o.optional=a;return this.finishNode(o,"OptionalMemberExpression")}else{return this.finishNode(o,"MemberExpression")}}parseBind(e,t,s,i,r){const a=this.startNodeAt(t,s);a.object=e;this.next();a.callee=this.parseNoCallExpr();r.stop=true;return this.parseSubscripts(this.finishNode(a,"BindExpression"),t,s,i)}parseCoverCallAndAsyncArrowHead(e,t,s,i,r){const a=this.state.maybeInArrowParameters;let n=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,s);o.callee=e;const{maybeAsyncArrow:h,optionalChainMember:c}=i;if(h){this.expressionScope.enter(newAsyncArrowScope());n=new ExpressionErrors}if(c){o.optional=r}if(r){o.arguments=this.parseCallExpressionArguments(11)}else{o.arguments=this.parseCallExpressionArguments(11,e.type==="Import",e.type!=="Super",o,n)}this.finishCallExpression(o,c);if(h&&this.shouldParseAsyncArrow()&&!r){i.stop=true;this.checkDestructuringPrivate(n);this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)}else{if(h){this.checkExpressionErrors(n,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=a;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,i){const r=this.startNodeAt(t,s);r.tag=e;r.quasi=this.parseTemplate(true);if(i.optionalChainMember){this.raise(n.OptionalChainingNoTemplate,{at:s})}return this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===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(n.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1})}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(n.ImportCallSpreadArgument,{at:t})}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,i,r){const a=[];let o=true;const h=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(o){o=false}else{this.expect(12);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(n.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc})}if(i){this.addTrailingCommaExtraToNode(i)}this.next();break}}a.push(this.parseExprListItem(false,r,s))}this.state.inFSharpPipelineDirectBody=h;return a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;this.resetPreviousNodeTrailingComments(t);this.expect(19);this.parseArrowExpression(e,t.arguments,true,(s=t.extra)==null?void 0:s.trailingCommaLoc);if(t.innerComments){setInnerComments(e,t.innerComments)}if(t.callee.trailingComments){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;const{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:t=this.startNode();this.next();if(this.match(16)){return this.parseImportMetaProperty(t)}if(!this.match(10)){this.raise(n.UnsupportedImport,{at:this.state.lastTokStartLoc})}return this.finishNode(t,"Import");case 78:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case 90:{return this.parseDo(this.startNode(),false)}case 56:case 31:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(true);case 86:return this.parseBooleanLiteral(false);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:{return this.parseArrayLike(this.state.type===2?4:3,false,true)}case 0:{return this.parseArrayLike(3,true,false,e)}case 6:case 7:{return this.parseObjectLike(this.state.type===6?9:8,false,true)}case 5:{return this.parseObjectLike(8,false,false,e)}case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(false);case 15:{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(n.UnsupportedBind,{at:e})}}case 134:{this.raise(n.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value});return this.parsePrivateName()}case 33:{return this.parseTopicReferenceThenEqualsSign(54,"%")}case 32:{return this.parseTopicReferenceThenEqualsSign(44,"^")}case 37:case 38:{return this.parseTopicReference("hack")}case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){return this.parseTopicReference(e)}else{throw this.unexpected()}}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else{throw this.unexpected()}}default:if(tokenIsIdentifier(s)){if(this.isContextual(123)&&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()){const{type:e}=this.state;if(e===68){this.resetPreviousNodeTrailingComments(s);this.next();return this.parseFunction(this.startNodeAtNode(s),undefined,true)}else if(tokenIsIdentifier(e)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s))}else{return s}}else if(e===90){this.resetPreviousNodeTrailingComments(s);return this.parseDo(this.startNodeAtNode(s),true)}}if(e&&this.match(19)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(s),[s],false)}return s}else{throw this.unexpected()}}}parseTopicReferenceThenEqualsSign(e,t){const s=this.getPluginOption("pipelineOperator","proposal");if(s){this.state.type=e;this.state.value=t;this.state.pos--;this.state.end--;this.state.endLoc=createPositionWithColumnOffset(this.state.endLoc,-1);return this.parseTopicReference(s)}else{throw this.unexpected()}}parseTopicReference(e){const t=this.startNode();const s=this.state.startLoc;const i=this.state.type;this.next();return this.finishTopicReference(t,s,e,i)}finishTopicReference(e,t,s,i){if(this.testTopicReferenceConfiguration(s,t,i)){const i=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";if(!this.topicReferenceIsAllowedInCurrentContext()){this.raise(s==="smart"?n.PrimaryTopicNotAllowed:n.PipeTopicUnbound,{at:t})}this.registerTopicReference();return this.finishNode(e,i)}else{throw this.raise(n.PipeTopicUnconfiguredToken,{at:t,token:tokenLabelName(i)})}}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":{return this.hasPlugin(["pipelineOperator",{topicToken:tokenLabelName(s)}])}case"smart":return s===27;default:throw this.raise(n.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(n.LineTerminatorBeforeArrow,{at:this.state.curPosition()})}this.expect(19);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(He);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(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(n.SuperNotAllowed,{at:e})}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(n.UnexpectedSuper,{at:e})}if(!this.match(10)&&!this.match(0)&&!this.match(16)){this.raise(n.UnsupportedSuper,{at:e})}return this.finishNode(e,"Super")}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,this.state.start+1));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(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();if(this.match(102)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;const i=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==s||i){this.raise(n.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:s})}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual(100)){if(!this.inModule){this.raise(n.ImportMetaOutsideModule,{at:t})}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 i;this.next();this.expressionScope.enter(newArrowHeadScope());const r=this.state.maybeInArrowParameters;const a=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const n=this.state.start;const o=this.state.startLoc;const h=[];const c=new ExpressionErrors;let p=true;let l;let u;while(!this.match(11)){if(p){p=false}else{this.expect(12,c.optionalParametersLoc===null?null:c.optionalParametersLoc);if(this.match(11)){u=this.state.startLoc;break}}if(this.match(21)){const e=this.state.start;const t=this.state.startLoc;l=this.state.startLoc;h.push(this.parseParenItem(this.parseRestBinding(),e,t));if(!this.checkCommaAfterRest(41)){break}}else{h.push(this.parseMaybeAssignAllowIn(c,this.parseParenItem))}}const d=this.state.lastTokEndLoc;this.expect(11);this.state.maybeInArrowParameters=r;this.state.inFSharpPipelineDirectBody=a;let f=this.startNodeAt(t,s);if(e&&this.shouldParseArrow(h)&&(f=this.parseArrow(f))){this.checkDestructuringPrivate(c);this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(f,h,false);return f}this.expressionScope.exit();if(!h.length){this.unexpected(this.state.lastTokStartLoc)}if(u)this.unexpected(u);if(l)this.unexpected(l);this.checkExpressionErrors(c,true);this.toReferencedListDeep(h,true);if(h.length>1){i=this.startNodeAt(n,o);i.expressions=h;this.finishNode(i,"SequenceExpression");this.resetEndLocation(i,d)}else{i=h[0]}return this.wrapParenthesis(t,s,i)}wrapParenthesis(e,t,s){if(!this.options.createParenthesizedExpressions){this.addExtra(s,"parenthesized",true);this.addExtra(s,"parenStart",e);this.takeSurroundingComments(s,e,this.state.lastTokEndLoc.index);return s}const i=this.startNodeAt(e,t);i.expression=s;this.finishNode(i,"ParenthesizedExpression");return i}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19)){return e}}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(16)){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(n.UnexpectedNewTarget,{at:s})}return s}return this.parseNew(e)}parseNew(e){this.parseNewCallee(e);if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(n.ImportCallNotNewExpression,{at:e.callee})}else if(this.isOptionalChain(e.callee)){this.raise(n.OptionalChainingNoNew,{at:this.state.lastTokEndLoc})}else if(this.eat(18)){this.raise(n.OptionalChainingNoNew,{at:this.state.startLoc})}}parseTemplateElement(e){const{start:t,startLoc:s,end:i,value:r}=this.state;const a=t+1;const o=this.startNodeAt(a,createPositionWithColumnOffset(s,1));if(r===null){if(!e){this.raise(n.InvalidEscapeSequenceTemplate,{at:createPositionWithColumnOffset(s,2)})}}const h=this.match(24);const c=h?-1:-2;const p=i+c;o.value={raw:this.input.slice(a,p).replace(/\r\n?/g,"\n"),cooked:r===null?null:r.slice(1,c)};o.tail=h;this.next();this.finishNode(o,"TemplateElement");this.resetEndLocation(o,createPositionWithColumnOffset(this.state.lastTokEndLoc,c));return o}parseTemplate(e){const t=this.startNode();t.expressions=[];let s=this.parseTemplateElement(e);t.quasis=[s];while(!s.tail){t.expressions.push(this.parseTemplateSubstitution());this.readTemplateContinuation();t.quasis.push(s=this.parseTemplateElement(e))}return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,i){if(s){this.expectPlugin("recordAndTuple")}const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const a=Object.create(null);let o=true;const h=this.startNode();h.properties=[];this.next();while(!this.match(e)){if(o){o=false}else{this.expect(12);if(this.match(e)){this.addTrailingCommaExtraToNode(h);break}}let r;if(t){r=this.parseBindingProperty()}else{r=this.parsePropertyDefinition(i);this.checkProto(r,s,a,i)}if(s&&!this.isObjectProperty(r)&&r.type!=="SpreadElement"){this.raise(n.InvalidRecordProperty,{at:r})}if(r.shorthand){this.addExtra(r,"shorthand",true)}h.properties.push(r)}this.next();this.state.inFSharpPipelineDirectBody=r;let c="ObjectExpression";if(t){c="ObjectPattern"}else if(s){c="RecordExpression"}return this.finishNode(h,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart);this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,false)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26)){if(this.hasPlugin("decorators")){this.raise(n.UnsupportedPropertyDecorator,{at:this.state.startLoc})}while(this.match(26)){t.push(this.parseDecorator())}}const s=this.startNode();let i=false;let r=false;let a;let o;if(this.match(21)){if(t.length)this.unexpected();return this.parseSpread()}if(t.length){s.decorators=t;t=[]}s.method=false;if(e){a=this.state.start;o=this.state.startLoc}let h=this.eat(55);this.parsePropertyNamePrefixOperator(s);const c=this.state.containsEsc;const p=this.parsePropertyName(s,e);if(!h&&!c&&this.maybeAsyncOrAccessorProp(s)){const e=p.name;if(e==="async"&&!this.hasPrecedingLineBreak()){i=true;this.resetPreviousNodeTrailingComments(p);h=this.eat(55);this.parsePropertyName(s)}if(e==="get"||e==="set"){r=true;this.resetPreviousNodeTrailingComments(p);s.kind=e;if(this.match(55)){h=true;this.raise(n.AccessorIsGenerator,{at:this.state.curPosition(),kind:e});this.next()}this.parsePropertyName(s)}}this.parseObjPropValue(s,a,o,h,i,false,r,e);return s}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e);const i=this.getObjectOrClassMethodParams(e);if(i.length!==s){this.raise(e.kind==="get"?n.BadGetterArity:n.BadSetterArity,{at:e})}if(e.kind==="set"&&((t=i[i.length-1])==null?void 0:t.type)==="RestElement"){this.raise(n.BadSetterRestParameter,{at:e})}}parseObjectMethod(e,t,s,i,r){if(r){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(s||t||this.match(10)){if(i)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,s,false,false,"ObjectMethod")}}parseObjectProperty(e,t,s,i,r){e.shorthand=false;if(this.eat(14)){e.value=i?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(r);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.loc.start,true,false);if(i){e.value=this.parseMaybeDefault(t,s,cloneIdentifier(e.key))}else if(this.match(29)){const i=this.state.startLoc;if(r!=null){if(r.shorthandAssignLoc===null){r.shorthandAssignLoc=i}}else{this.raise(n.InvalidCoverInitializedName,{at:i})}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,i,r,a,n,o){const h=this.parseObjectMethod(e,i,r,a,n)||this.parseObjectProperty(e,t,s,a,o);if(!h)this.unexpected();return h}parsePropertyName(e,t){if(this.eat(0)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(3)}else{const{type:s,value:i}=this.state;let r;if(tokenIsKeywordOrIdentifier(s)){r=this.parseIdentifier(true)}else{switch(s){case 130:r=this.parseNumericLiteral(i);break;case 129:r=this.parseStringLiteral(i);break;case 131:r=this.parseBigIntLiteral(i);break;case 132:r=this.parseDecimalLiteral(i);break;case 134:{const e=this.state.startLoc;if(t!=null){if(t.privateKeyLoc===null){t.privateKeyLoc=e}}else{this.raise(n.UnexpectedPrivateField,{at:e})}r=this.parsePrivateName();break}default:throw this.unexpected()}}e.key=r;if(s!==134){e.computed=false}}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,s,i,r,a,n=false){this.initFunction(e,s);e.generator=!!t;const o=i;this.scope.enter(R|_|(n?H:0)|(r?K:0));this.prodParam.enter(functionFlags(s,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,a,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,s,i){if(s){this.expectPlugin("recordAndTuple")}const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const a=this.startNode();this.next();a.elements=this.parseExprList(e,!s,i,a);this.state.inFSharpPipelineDirectBody=r;return this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,i){this.scope.enter(R|j);let r=functionFlags(s,false);if(!this.match(5)&&this.prodParam.hasIn){r|=Ve}this.prodParam.enter(r);this.initFunction(e,s);const a=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,i)}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,s){this.toAssignableList(t,s,false);e.params=t}parseFunctionBodyAndFinish(e,t,s=false){this.parseFunctionBody(e,false,s);this.finishNode(e,t)}parseFunctionBody(e,t,s=false){const i=t&&!this.match(5);this.expressionScope.enter(newExpressionScope());if(i){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const i=this.state.strict;const r=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|ze);e.body=this.parseBlock(true,false,(r=>{const a=!this.isSimpleParamList(e.params);if(r&&a){this.raise(n.IllegalLanguageModeDirective,{at:(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.loc.end:e})}const o=!i&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!a,t,o);if(this.state.strict&&e.id){this.checkIdentifier(e.id,ue,o)}}));this.prodParam.exit();this.state.labels=r}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let t=0,s=e.length;t10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(n.YieldBindingIdentifier,{at:t});return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(n.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(n.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(n.ArgumentsInClass,{at:t});return}}if(s&&isKeyword(e)){this.raise(n.UnexpectedKeyword,{at:t,keyword:e});return}const r=!this.state.strict?isReservedWord:i?isStrictBindReservedWord:isStrictReservedWord;if(r(e,this.inModule)){this.raise(n.UnexpectedReservedWord,{at:t,reservedWord: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(n.AwaitExpressionFormalParameter,{at:s});if(this.eat(55)){this.raise(n.ObsoleteAwaitStar,{at:s})}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(){if(this.hasPrecedingLineBreak())return true;const{type:e}=this.state;return e===53||e===10||e===0||tokenIsTemplate(e)||e===133||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(n.YieldInParameter,{at:e});this.next();let t=false;let s=null;if(!this.hasPrecedingLineBreak()){t=this.eat(55);switch(this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:s=this.parseMaybeAssign()}}e.delegate=t;e.argument=s;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(e.type==="SequenceExpression"){this.raise(n.PipelineHeadSequenceExpression,{at:t})}}}parseSmartPipelineBodyInStyle(e,t,s){const i=this.startNodeAt(t,s);if(this.isSimpleReference(e)){i.callee=e;return this.finishNode(i,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(s);i.expression=e;return this.finishNode(i,"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(19)){throw this.raise(n.PipelineBodyNoArrow,{at:this.state.startLoc})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(n.PipelineTopicUnused,{at:e})}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin(["pipelineOperator",{proposal:"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=Ve&~t;if(s){this.prodParam.enter(t|Ve);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const s=Ve&t;if(s){this.prodParam.enter(t&~Ve);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 i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,s,e);this.state.inFSharpPipelineDirectBody=i;return r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(5);const t=this.initializeScopes(true);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,8,"module")}finally{t()}this.eat(8);return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const nt={kind:"loop"},ot={kind:"switch"};const ht=0,ct=1,pt=2,lt=4;const ut=/[\uD800-\uDFFF]/u;const dt=/in(?:stanceof)?/y;function babel7CompatTokens(e,t){for(let s=0;s0){for(const[e,t]of Array.from(this.scope.undefinedExports)){this.raise(n.ModuleExportUndefined,{at:t,localName: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 i=s.value;const r=this.input.slice(s.start,s.end);const a=s.value=r.slice(1,-1);this.addExtra(s,"raw",r);this.addExtra(s,"rawValue",a);this.addExtra(s,"expressionValue",i);s.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(28)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual(99)){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)){dt.lastIndex=t;if(dt.test(this.input)){const e=this.codePointAtPos(dt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(26)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const i=this.startNode();let r;if(this.isLet(e)){s=74;r="let"}switch(s){case 60:return this.parseBreakContinueStatement(i,true);case 63:return this.parseBreakContinueStatement(i,false);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(n.StrictFunction,{at:this.state.startLoc})}else if(e!=="if"&&e!=="label"){this.raise(n.SloppyFunction,{at:this.state.startLoc})}}return this.parseFunctionStatement(i,false,!e);case 80:if(e)this.unexpected();return this.parseClass(i,true);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 75:case 74:r=r||this.state.value;if(e&&r!=="var"){this.raise(n.UnexpectedLexicalDeclaration,{at:this.state.startLoc})}return this.parseVarStatement(i,r);case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case 82:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(n.UnexpectedImportExport,{at:this.state.startLoc})}this.next();let e;if(s===83){e=this.parseImport(i);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(i);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(i);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(n.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc})}this.next();return this.parseFunctionStatement(i,true,!e)}}}const a=this.state.value;const o=this.parseExpression();if(tokenIsIdentifier(s)&&o.type==="Identifier"&&this.eat(14)){return this.parseLabeledStatement(i,a,o,e)}else{return this.parseExpressionStatement(i,o)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(n.ImportOutsideModule,{at:e})}}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(80)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(26)){const e=this.parseDecorator();t.push(e)}if(this.match(82)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(n.DecoratorExportClass,{at:this.state.startLoc})}}else if(!this.canHaveLeadingDecorator()){throw this.raise(n.UnexpectedLeadingDecorator,{at:this.state.startLoc})}}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 i;if(this.match(10)){const e=this.state.start;const t=this.state.startLoc;this.next();i=this.parseExpression();this.expect(11);i=this.wrapParenthesis(e,t,i)}else{i=this.parseIdentifier(false);while(this.eat(16)){const e=this.startNodeAt(t,s);e.object=i;e.property=this.parseIdentifier(true);e.computed=false;i=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(i);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(11,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let s;for(s=0;sthis.parseStatement("do")));this.state.labels.pop();this.expect(92);e.test=this.parseHeaderExpression();this.eat(13);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(nt);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)){t=this.state.lastTokStartLoc}this.scope.enter(F);this.expect(10);if(this.match(13)){if(t!==null){this.unexpected(t)}return this.parseFor(e,null)}const s=this.isContextual(99);const i=s&&this.isLetKeyword();if(this.match(74)||this.match(75)||i){const s=this.startNode();const r=i?"let":this.state.value;this.next();this.parseVar(s,true,r);this.finishNode(s,"VariableDeclaration");if((this.match(58)||this.isContextual(101))&&s.declarations.length===1){return this.parseForIn(e,s,t)}if(t!==null){this.unexpected(t)}return this.parseFor(e,s)}const r=this.isContextual(95);const a=new ExpressionErrors;const o=this.parseExpression(true,a);const h=this.isContextual(101);if(h){if(s){this.raise(n.ForOfLet,{at:o})}if(t===null&&r&&o.type==="Identifier"){this.raise(n.ForOfAsync,{at:o})}}if(h||this.match(58)){this.checkDestructuringPrivate(a);this.toAssignable(o,true);const s=h?"ForOfStatement":"ForInStatement";this.checkLVal(o,{in:{type:s}});return this.parseForIn(e,o,t)}else{this.checkExpressionErrors(a,true)}if(t!==null){this.unexpected(t)}return this.parseFor(e,o)}parseFunctionStatement(e,t,s){this.next();return this.parseFunction(e,ct|(s?0:pt),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(66)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(n.IllegalReturn,{at:this.state.startLoc})}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(5);this.state.labels.push(ot);this.scope.enter(F);let s;for(let e;!this.match(8);){if(this.match(61)||this.match(65)){const i=this.match(61);if(s)this.finishNode(s,"SwitchCase");t.push(s=this.startNode());s.consequent=[];this.next();if(i){s.test=this.parseExpression()}else{if(e){this.raise(n.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc})}e=true;s.test=null}this.expect(14)}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(n.NewlineAfterThrow,{at:this.state.lastTokEndLoc})}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?U:0);this.checkLVal(e,{in:{type:"CatchClause"},binding:re,allowingSloppyLetBinding:true});return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(62)){const t=this.startNode();this.next();if(this.match(10)){this.expect(10);t.param=this.parseCatchClauseParam();this.expect(11)}else{t.param=null;this.scope.enter(F)}t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(false,false)));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(67)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(n.NoCatchOrFinally,{at:e})}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t,s=false){this.next();this.parseVar(e,false,t,s);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(n.StrictWith,{at:this.state.startLoc})}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,i){for(const e of this.state.labels){if(e.name===t){this.raise(n.LabelRedeclaration,{at:s,labelName:t})}}const r=tokenIsLoop(this.state.type)?"loop":this.match(71)?"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=r}else{break}}this.state.labels.push({name:t,kind:r,statementStart:this.state.start});e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"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 i=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(5);if(t){this.scope.enter(F)}this.parseBlockBody(i,e,false,8,s);if(t){this.scope.exit()}return this.finishNode(i,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,i,r){const a=e.body=[];const n=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?n:undefined,s,i,r)}parseBlockOrModuleBlockBody(e,t,s,i,r){const a=this.state.strict;let n=false;let o=false;while(!this.match(i)){const i=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(i)){const e=this.stmtToDirective(i);t.push(e);if(!n&&e.value.value==="use strict"){n=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(i)}if(r){r.call(this,n)}if(!a){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(13)?null:this.parseExpression();this.semicolon(false);e.update=this.match(11)?null:this.parseExpression();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for")));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const i=this.match(58);this.next();if(i){if(s!==null)this.unexpected(s)}else{e.await=s!==null}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(n.ForInOfLoopInitializer,{at:t,type:i?"ForInStatement":"ForOfStatement"})}if(t.type==="AssignmentPattern"){this.raise(n.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}})}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for")));this.scope.exit();this.state.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")}parseVar(e,t,s,i=false){const r=e.declarations=[];e.kind=s;for(;;){const e=this.startNode();this.parseVarId(e,s);e.init=!this.eat(29)?null:t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn();if(e.init===null&&!i){if(e.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))){this.raise(n.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})}else if(s==="const"&&!(this.match(58)||this.isContextual(101))){this.raise(n.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})}}r.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:t==="var"?ae:re})}parseFunction(e,t=ht,s=false){const i=t&ct;const r=t&pt;const a=!!i&&!(t<);this.initFunction(e,s);if(this.match(55)&&r){this.raise(n.GeneratorInSingleStatementContext,{at:this.state.startLoc})}e.generator=this.eat(55);if(i){e.id=this.parseFunctionId(a)}const o=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(R);this.prodParam.enter(functionFlags(s,e.generator));if(!i){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,i?"FunctionDeclaration":"FunctionExpression")}));this.prodParam.exit();this.scope.exit();if(i&&!r){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=o;return e}parseFunctionId(e){return e||tokenIsIdentifier(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(11,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?ae:re:ne,e.id.loc.start)}parseClass(e,t,s){this.next();this.takeDecorators(e);const i=this.state.strict;this.state.strict=true;this.parseClassId(e,t,s);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,i);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}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 i=[];const r=this.startNode();r.body=[];this.expect(5);this.withSmartMixTopicForbiddingContext((()=>{while(!this.match(8)){if(this.eat(13)){if(i.length>0){throw this.raise(n.DecoratorSemicolon,{at:this.state.lastTokEndLoc})}continue}if(this.match(26)){i.push(this.parseDecorator());continue}const e=this.startNode();if(i.length){e.decorators=i;this.resetStartLocationFromNode(e,i[0]);i=[]}this.parseClassMember(r,e,s);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(n.DecoratorConstructor,{at:e})}}}));this.state.strict=t;this.next();if(i.length){throw this.raise(n.TrailingDecorator,{at:this.state.startLoc})}this.classScope.exit();return this.finishNode(r,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(true);if(this.isClassMethod()){const i=t;i.kind="method";i.computed=false;i.key=s;i.static=false;this.pushClassMethod(e,i,false,false,false,false);return true}else if(this.isClassProperty()){const i=t;i.computed=false;i.key=s;i.static=false;e.body.push(this.parseClassProperty(i));return true}this.resetPreviousNodeTrailingComments(s);return false}parseClassMember(e,t,s){const i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,i)}parseClassMemberWithIsStatic(e,t,s,i){const r=t;const a=t;const o=t;const h=t;const c=t;const p=r;const l=r;t.static=i;this.parsePropertyNamePrefixOperator(t);if(this.eat(55)){p.kind="method";const t=this.match(134);this.parseClassElementName(p);if(t){this.pushClassPrivateMethod(e,a,true,false);return}if(this.isNonstaticConstructor(r)){this.raise(n.ConstructorIsGenerator,{at:r.key})}this.pushClassMethod(e,r,true,false,false,false);return}const u=tokenIsIdentifier(this.state.type)&&!this.state.containsEsc;const d=this.match(134);const f=this.parseClassElementName(t);const m=this.state.startLoc;this.parsePostMemberNameModifiers(l);if(this.isClassMethod()){p.kind="method";if(d){this.pushClassPrivateMethod(e,a,false,false);return}const i=this.isNonstaticConstructor(r);let o=false;if(i){r.kind="constructor";if(s.hadConstructor&&!this.hasPlugin("typescript")){this.raise(n.DuplicateConstructor,{at:f})}if(i&&this.hasPlugin("typescript")&&t.override){this.raise(n.OverrideOnConstructor,{at:f})}s.hadConstructor=true;o=s.hadSuperClass}this.pushClassMethod(e,r,false,false,i,o)}else if(this.isClassProperty()){if(d){this.pushClassPrivateProperty(e,h)}else{this.pushClassProperty(e,o)}}else if(u&&f.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);const t=this.eat(55);if(l.optional){this.unexpected(m)}p.kind="method";const s=this.match(134);this.parseClassElementName(p);this.parsePostMemberNameModifiers(l);if(s){this.pushClassPrivateMethod(e,a,t,true)}else{if(this.isNonstaticConstructor(r)){this.raise(n.ConstructorIsAsync,{at:r.key})}this.pushClassMethod(e,r,t,true,false,false)}}else if(u&&(f.name==="get"||f.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f);p.kind=f.name;const t=this.match(134);this.parseClassElementName(r);if(t){this.pushClassPrivateMethod(e,a,false,false)}else{if(this.isNonstaticConstructor(r)){this.raise(n.ConstructorIsAccessor,{at:r.key})}this.pushClassMethod(e,r,false,false,false,false)}this.checkGetterSetterParams(r)}else if(u&&f.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors");this.resetPreviousNodeTrailingComments(f);const t=this.match(134);this.parseClassElementName(o);this.pushClassAccessorProperty(e,c,t)}else if(this.isLineTerminator()){if(d){this.pushClassPrivateProperty(e,h)}else{this.pushClassProperty(e,o)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:s}=this.state;if((t===128||t===129)&&e.static&&s==="prototype"){this.raise(n.StaticPrototype,{at:this.state.startLoc})}if(t===134){if(s==="constructor"){this.raise(n.ConstructorClassPrivateField,{at:this.state.startLoc})}const t=this.parsePrivateName();e.key=t;return t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var s;this.scope.enter(H|z|_);const i=this.state.labels;this.state.labels=[];this.prodParam.enter(_e);const r=t.body=[];this.parseBlockOrModuleBlockBody(r,undefined,false,8);this.prodParam.exit();this.scope.exit();this.state.labels=i;e.body.push(this.finishNode(t,"StaticBlock"));if((s=t.decorators)!=null&&s.length){this.raise(n.DecoratorStaticBlock,{at:t})}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(n.ConstructorClassField,{at:t.key})}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),Ee,s.key.loc.start)}pushClassAccessorProperty(e,t,s){if(!s&&!t.computed){const e=t.key;if(e.name==="constructor"||e.value==="constructor"){this.raise(n.ConstructorClassField,{at:e})}}const i=this.parseClassAccessorProperty(t);e.body.push(i);if(s){this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),Ee,i.key.loc.start)}}pushClassMethod(e,t,s,i,r,a){e.body.push(this.parseMethod(t,s,i,r,a,"ClassMethod",true))}pushClassPrivateMethod(e,t,s,i){const r=this.parseMethod(t,s,i,false,false,"ClassPrivateMethod",true);e.body.push(r);const a=r.kind==="get"?r.static?Te:we:r.kind==="set"?r.static?be:Ae:Ee;this.declareClassPrivateMethodInScope(r,a)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.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")}parseClassAccessorProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(H|_);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(_e);e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,s,i=ie){if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();if(t){this.declareNameFromIdentifier(e.id,i)}}else{if(s||!t){e.id=null}else{throw this.raise(n.MissingClassName,{at:this.state.startLoc})}}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const s=!t||this.eat(12);const i=s&&this.eatExportStar(e);const r=i&&this.maybeParseExportNamespaceSpecifier(e);const a=s&&(!r||this.eat(12));const n=t||i;if(i&&!r){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!i&&!o||r&&a&&!o){throw this.unexpected(null,5)}let h;if(n||o){h=false;this.parseExportFrom(e,n)}else{h=this.maybeParseExportDeclaration(e)}if(n||o||h){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(65)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}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(93)){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(5)){if(!e.specifiers)e.specifiers=[];const t=e.exportKind==="type";e.specifiers.push(...this.parseExportSpecifiers(t));e.source=null;e.declaration=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual(95))return false;const e=this.nextTokenStart();return!Se.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(68)||t){this.next();if(t){this.next()}return this.parseFunction(e,ct|lt,t)}if(this.match(80)){return this.parseClass(e,true,true)}if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(n.DecoratorBeforeExport,{at:this.state.startLoc})}this.parseDecorators(false);return this.parseClass(e,true,true)}if(this.match(75)||this.match(74)||this.isLet()){throw this.raise(n.UnsupportedDefaultExport,{at:this.state.startLoc})}const s=this.parseMaybeAssignAllowIn();this.semicolon();return s}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsIdentifier(e)){if(e===95&&!this.state.containsEsc||e===99){return false}if((e===126||e===125)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(tokenIsIdentifier(e)&&e!==97||e===5){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(65)){return false}const t=this.nextTokenStart();const s=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||tokenIsIdentifier(this.state.type)&&s){return true}if(this.match(65)&&s){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return false}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else if(t){this.unexpected()}this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(e===26){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){throw this.raise(n.DecoratorBeforeExport,{at:this.state.startLoc})}return true}}return e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,i){if(t){if(s){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var r;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((r=t.extra)!=null&&r.parenthesized)){this.raise(n.ExportDefaultFromAsIdentifier,{at:t})}}}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(!i&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(n.ExportBindingIsString,{at:t,localName:e.value,exportName:s})}else{this.checkReservedWord(e.name,e.loc.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(n.UnsupportedDecoratorExport,{at:e})}}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)){if(t==="default"){this.raise(n.DuplicateDefaultExport,{at:e})}else{this.raise(n.DuplicateExport,{at:e,exportName:t})}}this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let s=true;this.expect(5);while(!this.eat(8)){if(s){s=false}else{this.expect(12);if(this.eat(8))break}const i=this.isContextual(126);const r=this.match(129);const a=this.startNode();a.local=this.parseModuleExportName();t.push(this.parseExportSpecifier(a,r,e,i))}return t}parseExportSpecifier(e,t,s,i){if(this.eatContextual(93)){e.exported=this.parseModuleExportName()}else if(t){e.exported=cloneStringLiteral(e.local)}else if(!e.exported){e.exported=cloneIdentifier(e.local)}return this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ut);if(t){this.raise(n.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)})}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(129)){const t=this.maybeParseDefaultImportSpecifier(e);const s=!t||this.eat(12);const i=s&&this.maybeParseStarImportSpecifier(e);if(s&&!i)this.parseNamedImportSpecifiers(e);this.expectContextual(97)}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(129))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return tokenIsIdentifier(this.state.type)}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t){this.checkLVal(e.local,{in:e,binding:re});return this.finishNode(e,t)}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(8)){break}const s=this.startNode();const i=this.state.value;if(t.has(i)){this.raise(n.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i})}t.add(i);if(this.match(129)){s.key=this.parseStringLiteral(i)}else{s.key=this.parseIdentifier(true)}this.expect(14);if(!this.match(129)){throw this.raise(n.ModuleAttributeInvalidValue,{at:this.state.startLoc})}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(this.match(76)&&!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(n.ModuleAttributeDifferentFromType,{at:s.key})}if(t.has(s.key.name)){this.raise(n.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name})}t.add(s.key.name);this.expect(14);if(!this.match(129)){throw this.raise(n.ModuleAttributeInvalidValue,{at:this.state.startLoc})}s.value=this.parseStringLiteral(this.state.value);this.finishNode(s,"ImportAttribute");e.push(s)}while(this.eat(12));return e}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(5);const e=this.parseAssertEntries();this.eat(8);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();this.next();this.expectContextual(93);this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(5);while(!this.eat(8)){if(t){t=false}else{if(this.eat(14)){throw this.raise(n.DestructureNamedImport,{at:this.state.startLoc})}this.expect(12);if(this.eat(8))break}const s=this.startNode();const i=this.match(129);const r=this.isContextual(126);s.imported=this.parseModuleExportName();const a=this.parseImportSpecifier(s,i,e.importKind==="type"||e.importKind==="typeof",r);e.specifiers.push(a)}}parseImportSpecifier(e,t,s,i){if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{const{imported:s}=e;if(t){throw this.raise(n.ImportBindingIsString,{at:e,importName:s.value})}this.checkReservedWord(s.name,e.loc.start,true,true);if(!e.local){e.local=cloneIdentifier(s)}}return this.finishImportSpecifier(e,"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,i]=Array.isArray(s)?s:[s,{}];if(!t.has(e))t.set(e,i||{})}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 i=s.parse();if(s.sawUnambiguousESM){return i}if(s.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{i.program.sourceType="script"}return i}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 generateExportedTokenTypes(e){const t={};for(const s of Object.keys(e)){t[s]=getExportedToken(e[s])}return t}const ft=generateExportedTokenTypes(A);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 mt={};function getParserClass(e){const t=rt.filter((t=>hasPlugin(e,t)));const s=t.join("/");let i=mt[s];if(!i){i=Parser;for(const e of t){i=it[e](i)}mt[s]=i}return i}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=ft})();module.exports=e})(); \ No newline at end of file diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/parser/license b/packages/builder/builder-webpack-provider/compiled/@babel/parser/license deleted file mode 100644 index d4c7fc583804..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/parser/license +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (C) 2012-2014 by various contributors (see AUTHORS) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/parser/package.json b/packages/builder/builder-webpack-provider/compiled/@babel/parser/package.json deleted file mode 100644 index 58a559b4fcd7..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/parser/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/parser","author":"The Babel Team (https://babel.dev/team)","version":"7.18.4","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/types/index.js b/packages/builder/builder-webpack-provider/compiled/@babel/types/index.js deleted file mode 100644 index 9aa82a4abd4d..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/types/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={4081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=assertNode;var n=r(7731);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}"`)}}},8384:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertAccessor=assertAccessor;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertArrayExpression=assertArrayExpression;t.assertArrayPattern=assertArrayPattern;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertAssignmentPattern=assertAssignmentPattern;t.assertAwaitExpression=assertAwaitExpression;t.assertBigIntLiteral=assertBigIntLiteral;t.assertBinary=assertBinary;t.assertBinaryExpression=assertBinaryExpression;t.assertBindExpression=assertBindExpression;t.assertBlock=assertBlock;t.assertBlockParent=assertBlockParent;t.assertBlockStatement=assertBlockStatement;t.assertBooleanLiteral=assertBooleanLiteral;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertClass=assertClass;t.assertClassAccessorProperty=assertClassAccessorProperty;t.assertClassBody=assertClassBody;t.assertClassDeclaration=assertClassDeclaration;t.assertClassExpression=assertClassExpression;t.assertClassImplements=assertClassImplements;t.assertClassMethod=assertClassMethod;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassProperty=assertClassProperty;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDecimalLiteral=assertDecimalLiteral;t.assertDeclaration=assertDeclaration;t.assertDeclareClass=assertDeclareClass;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertDecorator=assertDecorator;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertDoExpression=assertDoExpression;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertEnumBody=assertEnumBody;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertEnumMember=assertEnumMember;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertExportSpecifier=assertExportSpecifier;t.assertExpression=assertExpression;t.assertExpressionStatement=assertExpressionStatement;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFile=assertFile;t.assertFlow=assertFlow;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertFlowType=assertFlowType;t.assertFor=assertFor;t.assertForInStatement=assertForInStatement;t.assertForOfStatement=assertForOfStatement;t.assertForStatement=assertForStatement;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertFunctionParent=assertFunctionParent;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertImmutable=assertImmutable;t.assertImport=assertImport;t.assertImportAttribute=assertImportAttribute;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertIndexedAccessType=assertIndexedAccessType;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertInterpreterDirective=assertInterpreterDirective;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertJSX=assertJSX;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXFragment=assertJSXFragment;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXText=assertJSXText;t.assertLVal=assertLVal;t.assertLabeledStatement=assertLabeledStatement;t.assertLiteral=assertLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertLoop=assertLoop;t.assertMemberExpression=assertMemberExpression;t.assertMetaProperty=assertMetaProperty;t.assertMethod=assertMethod;t.assertMiscellaneous=assertMiscellaneous;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertModuleDeclaration=assertModuleDeclaration;t.assertModuleExpression=assertModuleExpression;t.assertModuleSpecifier=assertModuleSpecifier;t.assertNewExpression=assertNewExpression;t.assertNoop=assertNoop;t.assertNullLiteral=assertNullLiteral;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteral=assertNumberLiteral;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertNumericLiteral=assertNumericLiteral;t.assertObjectExpression=assertObjectExpression;t.assertObjectMember=assertObjectMember;t.assertObjectMethod=assertObjectMethod;t.assertObjectPattern=assertObjectPattern;t.assertObjectProperty=assertObjectProperty;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertPattern=assertPattern;t.assertPatternLike=assertPatternLike;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPlaceholder=assertPlaceholder;t.assertPrivate=assertPrivate;t.assertPrivateName=assertPrivateName;t.assertProgram=assertProgram;t.assertProperty=assertProperty;t.assertPureish=assertPureish;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertRecordExpression=assertRecordExpression;t.assertRegExpLiteral=assertRegExpLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestElement=assertRestElement;t.assertRestProperty=assertRestProperty;t.assertReturnStatement=assertReturnStatement;t.assertScopable=assertScopable;t.assertSequenceExpression=assertSequenceExpression;t.assertSpreadElement=assertSpreadElement;t.assertSpreadProperty=assertSpreadProperty;t.assertStandardized=assertStandardized;t.assertStatement=assertStatement;t.assertStaticBlock=assertStaticBlock;t.assertStringLiteral=assertStringLiteral;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSuper=assertSuper;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSArrayType=assertTSArrayType;t.assertTSAsExpression=assertTSAsExpression;t.assertTSBaseType=assertTSBaseType;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConditionalType=assertTSConditionalType;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSConstructorType=assertTSConstructorType;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSEntityName=assertTSEntityName;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSFunctionType=assertTSFunctionType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSImportType=assertTSImportType;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSInferType=assertTSInferType;t.assertTSInstantiationExpression=assertTSInstantiationExpression;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSLiteralType=assertTSLiteralType;t.assertTSMappedType=assertTSMappedType;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSOptionalType=assertTSOptionalType;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSRestType=assertTSRestType;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSThisType=assertTSThisType;t.assertTSTupleType=assertTSTupleType;t.assertTSType=assertTSType;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSTypeElement=assertTSTypeElement;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSTypeParameter=assertTSTypeParameter;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeReference=assertTSTypeReference;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnionType=assertTSUnionType;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertTerminatorless=assertTerminatorless;t.assertThisExpression=assertThisExpression;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertThrowStatement=assertThrowStatement;t.assertTopicReference=assertTopicReference;t.assertTryStatement=assertTryStatement;t.assertTupleExpression=assertTupleExpression;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertTypeScript=assertTypeScript;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertUnaryExpression=assertUnaryExpression;t.assertUnaryLike=assertUnaryLike;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertUpdateExpression=assertUpdateExpression;t.assertUserWhitespacable=assertUserWhitespacable;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertWhile=assertWhile;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertYieldExpression=assertYieldExpression;var n=r(9704);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 assertClassAccessorProperty(e,t){assert("ClassAccessorProperty",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 assertStaticBlock(e,t){assert("StaticBlock",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 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 assertTSInstantiationExpression(e,t){assert("TSInstantiationExpression",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 assertStandardized(e,t){assert("Standardized",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 assertAccessor(e,t){assert("Accessor",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 assertMiscellaneous(e,t){assert("Miscellaneous",e,t)}function assertTypeScript(e,t){assert("TypeScript",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)}},1065:()=>{},9424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createFlowUnionType;var n=r(3015);var a=r(3750);function createFlowUnionType(e){const t=(0,a.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},4838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3015);var a=createTypeAnnotationBasedOnTypeof;t["default"]=a;function createTypeAnnotationBasedOnTypeof(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},3015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.anyTypeAnnotation=anyTypeAnnotation;t.argumentPlaceholder=argumentPlaceholder;t.arrayExpression=arrayExpression;t.arrayPattern=arrayPattern;t.arrayTypeAnnotation=arrayTypeAnnotation;t.arrowFunctionExpression=arrowFunctionExpression;t.assignmentExpression=assignmentExpression;t.assignmentPattern=assignmentPattern;t.awaitExpression=awaitExpression;t.bigIntLiteral=bigIntLiteral;t.binaryExpression=binaryExpression;t.bindExpression=bindExpression;t.blockStatement=blockStatement;t.booleanLiteral=booleanLiteral;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.classAccessorProperty=classAccessorProperty;t.classBody=classBody;t.classDeclaration=classDeclaration;t.classExpression=classExpression;t.classImplements=classImplements;t.classMethod=classMethod;t.classPrivateMethod=classPrivateMethod;t.classPrivateProperty=classPrivateProperty;t.classProperty=classProperty;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.decimalLiteral=decimalLiteral;t.declareClass=declareClass;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declareExportDeclaration=declareExportDeclaration;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareOpaqueType=declareOpaqueType;t.declareTypeAlias=declareTypeAlias;t.declareVariable=declareVariable;t.declaredPredicate=declaredPredicate;t.decorator=decorator;t.directive=directive;t.directiveLiteral=directiveLiteral;t.doExpression=doExpression;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.emptyTypeAnnotation=emptyTypeAnnotation;t.enumBooleanBody=enumBooleanBody;t.enumBooleanMember=enumBooleanMember;t.enumDeclaration=enumDeclaration;t.enumDefaultedMember=enumDefaultedMember;t.enumNumberBody=enumNumberBody;t.enumNumberMember=enumNumberMember;t.enumStringBody=enumStringBody;t.enumStringMember=enumStringMember;t.enumSymbolBody=enumSymbolBody;t.existsTypeAnnotation=existsTypeAnnotation;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportDefaultSpecifier=exportDefaultSpecifier;t.exportNamedDeclaration=exportNamedDeclaration;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.exportSpecifier=exportSpecifier;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forOfStatement=forOfStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.identifier=identifier;t.ifStatement=ifStatement;t["import"]=_import;t.importAttribute=importAttribute;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.indexedAccessType=indexedAccessType;t.inferredPredicate=inferredPredicate;t.interfaceDeclaration=interfaceDeclaration;t.interfaceExtends=interfaceExtends;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.interpreterDirective=interpreterDirective;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXText=t.jsxText=jsxText;t.labeledStatement=labeledStatement;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.metaProperty=metaProperty;t.mixedTypeAnnotation=mixedTypeAnnotation;t.moduleExpression=moduleExpression;t.newExpression=newExpression;t.noop=noop;t.nullLiteral=nullLiteral;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteral=NumberLiteral;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.numericLiteral=numericLiteral;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectPattern=objectPattern;t.objectProperty=objectProperty;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.optionalCallExpression=optionalCallExpression;t.optionalIndexedAccessType=optionalIndexedAccessType;t.optionalMemberExpression=optionalMemberExpression;t.parenthesizedExpression=parenthesizedExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.placeholder=placeholder;t.privateName=privateName;t.program=program;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.recordExpression=recordExpression;t.regExpLiteral=regExpLiteral;t.regexLiteral=RegexLiteral;t.restElement=restElement;t.restProperty=RestProperty;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.spreadElement=spreadElement;t.spreadProperty=SpreadProperty;t.staticBlock=staticBlock;t.stringLiteral=stringLiteral;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t["super"]=_super;t.switchCase=switchCase;t.switchStatement=switchStatement;t.symbolTypeAnnotation=symbolTypeAnnotation;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.thisExpression=thisExpression;t.thisTypeAnnotation=thisTypeAnnotation;t.throwStatement=throwStatement;t.topicReference=topicReference;t.tryStatement=tryStatement;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSImportType=t.tsImportType=tsImportType;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSInferType=t.tsInferType=tsInferType;t.tSInstantiationExpression=t.tsInstantiationExpression=tsInstantiationExpression;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSRestType=t.tsRestType=tsRestType;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tupleExpression=tupleExpression;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.unaryExpression=unaryExpression;t.unionTypeAnnotation=unionTypeAnnotation;t.updateExpression=updateExpression;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.whileStatement=whileStatement;t.withStatement=withStatement;t.yieldExpression=yieldExpression;var n=r(3570);function arrayExpression(e=[]){return(0,n.default)({type:"ArrayExpression",elements:e})}function assignmentExpression(e,t,r){return(0,n.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function binaryExpression(e,t,r){return(0,n.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function interpreterDirective(e){return(0,n.default)({type:"InterpreterDirective",value:e})}function directive(e){return(0,n.default)({type:"Directive",value:e})}function directiveLiteral(e){return(0,n.default)({type:"DirectiveLiteral",value:e})}function blockStatement(e,t=[]){return(0,n.default)({type:"BlockStatement",body:e,directives:t})}function breakStatement(e=null){return(0,n.default)({type:"BreakStatement",label:e})}function callExpression(e,t){return(0,n.default)({type:"CallExpression",callee:e,arguments:t})}function catchClause(e=null,t){return(0,n.default)({type:"CatchClause",param:e,body:t})}function conditionalExpression(e,t,r){return(0,n.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function continueStatement(e=null){return(0,n.default)({type:"ContinueStatement",label:e})}function debuggerStatement(){return{type:"DebuggerStatement"}}function doWhileStatement(e,t){return(0,n.default)({type:"DoWhileStatement",test:e,body:t})}function emptyStatement(){return{type:"EmptyStatement"}}function expressionStatement(e){return(0,n.default)({type:"ExpressionStatement",expression:e})}function file(e,t=null,r=null){return(0,n.default)({type:"File",program:e,comments:t,tokens:r})}function forInStatement(e,t,r){return(0,n.default)({type:"ForInStatement",left:e,right:t,body:r})}function forStatement(e=null,t=null,r=null,a){return(0,n.default)({type:"ForStatement",init:e,test:t,update:r,body:a})}function functionDeclaration(e=null,t,r,a=false,i=false){return(0,n.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:a,async:i})}function functionExpression(e=null,t,r,a=false,i=false){return(0,n.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:a,async:i})}function identifier(e){return(0,n.default)({type:"Identifier",name:e})}function ifStatement(e,t,r=null){return(0,n.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function labeledStatement(e,t){return(0,n.default)({type:"LabeledStatement",label:e,body:t})}function stringLiteral(e){return(0,n.default)({type:"StringLiteral",value:e})}function numericLiteral(e){return(0,n.default)({type:"NumericLiteral",value:e})}function nullLiteral(){return{type:"NullLiteral"}}function booleanLiteral(e){return(0,n.default)({type:"BooleanLiteral",value:e})}function regExpLiteral(e,t=""){return(0,n.default)({type:"RegExpLiteral",pattern:e,flags:t})}function logicalExpression(e,t,r){return(0,n.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function memberExpression(e,t,r=false,a=null){return(0,n.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:a})}function newExpression(e,t){return(0,n.default)({type:"NewExpression",callee:e,arguments:t})}function program(e,t=[],r="script",a=null){return(0,n.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:a,sourceFile:null})}function objectExpression(e){return(0,n.default)({type:"ObjectExpression",properties:e})}function objectMethod(e="method",t,r,a,i=false,s=false,o=false){return(0,n.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:a,computed:i,generator:s,async:o})}function objectProperty(e,t,r=false,a=false,i=null){return(0,n.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:a,decorators:i})}function restElement(e){return(0,n.default)({type:"RestElement",argument:e})}function returnStatement(e=null){return(0,n.default)({type:"ReturnStatement",argument:e})}function sequenceExpression(e){return(0,n.default)({type:"SequenceExpression",expressions:e})}function parenthesizedExpression(e){return(0,n.default)({type:"ParenthesizedExpression",expression:e})}function switchCase(e=null,t){return(0,n.default)({type:"SwitchCase",test:e,consequent:t})}function switchStatement(e,t){return(0,n.default)({type:"SwitchStatement",discriminant:e,cases:t})}function thisExpression(){return{type:"ThisExpression"}}function throwStatement(e){return(0,n.default)({type:"ThrowStatement",argument:e})}function tryStatement(e,t=null,r=null){return(0,n.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function unaryExpression(e,t,r=true){return(0,n.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function updateExpression(e,t,r=false){return(0,n.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function variableDeclaration(e,t){return(0,n.default)({type:"VariableDeclaration",kind:e,declarations:t})}function variableDeclarator(e,t=null){return(0,n.default)({type:"VariableDeclarator",id:e,init:t})}function whileStatement(e,t){return(0,n.default)({type:"WhileStatement",test:e,body:t})}function withStatement(e,t){return(0,n.default)({type:"WithStatement",object:e,body:t})}function assignmentPattern(e,t){return(0,n.default)({type:"AssignmentPattern",left:e,right:t})}function arrayPattern(e){return(0,n.default)({type:"ArrayPattern",elements:e})}function arrowFunctionExpression(e,t,r=false){return(0,n.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function classBody(e){return(0,n.default)({type:"ClassBody",body:e})}function classExpression(e=null,t=null,r,a=null){return(0,n.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:a})}function classDeclaration(e,t=null,r,a=null){return(0,n.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:a})}function exportAllDeclaration(e){return(0,n.default)({type:"ExportAllDeclaration",source:e})}function exportDefaultDeclaration(e){return(0,n.default)({type:"ExportDefaultDeclaration",declaration:e})}function exportNamedDeclaration(e=null,t=[],r=null){return(0,n.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function exportSpecifier(e,t){return(0,n.default)({type:"ExportSpecifier",local:e,exported:t})}function forOfStatement(e,t,r,a=false){return(0,n.default)({type:"ForOfStatement",left:e,right:t,body:r,await:a})}function importDeclaration(e,t){return(0,n.default)({type:"ImportDeclaration",specifiers:e,source:t})}function importDefaultSpecifier(e){return(0,n.default)({type:"ImportDefaultSpecifier",local:e})}function importNamespaceSpecifier(e){return(0,n.default)({type:"ImportNamespaceSpecifier",local:e})}function importSpecifier(e,t){return(0,n.default)({type:"ImportSpecifier",local:e,imported:t})}function metaProperty(e,t){return(0,n.default)({type:"MetaProperty",meta:e,property:t})}function classMethod(e="method",t,r,a,i=false,s=false,o=false,l=false){return(0,n.default)({type:"ClassMethod",kind:e,key:t,params:r,body:a,computed:i,static:s,generator:o,async:l})}function objectPattern(e){return(0,n.default)({type:"ObjectPattern",properties:e})}function spreadElement(e){return(0,n.default)({type:"SpreadElement",argument:e})}function _super(){return{type:"Super"}}function taggedTemplateExpression(e,t){return(0,n.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function templateElement(e,t=false){return(0,n.default)({type:"TemplateElement",value:e,tail:t})}function templateLiteral(e,t){return(0,n.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function yieldExpression(e=null,t=false){return(0,n.default)({type:"YieldExpression",argument:e,delegate:t})}function awaitExpression(e){return(0,n.default)({type:"AwaitExpression",argument:e})}function _import(){return{type:"Import"}}function bigIntLiteral(e){return(0,n.default)({type:"BigIntLiteral",value:e})}function exportNamespaceSpecifier(e){return(0,n.default)({type:"ExportNamespaceSpecifier",exported:e})}function optionalMemberExpression(e,t,r=false,a){return(0,n.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:a})}function optionalCallExpression(e,t,r){return(0,n.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function classProperty(e,t=null,r=null,a=null,i=false,s=false){return(0,n.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:a,computed:i,static:s})}function classAccessorProperty(e,t=null,r=null,a=null,i=false,s=false){return(0,n.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:a,computed:i,static:s})}function classPrivateProperty(e,t=null,r=null,a){return(0,n.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:a})}function classPrivateMethod(e="method",t,r,a,i=false){return(0,n.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:a,static:i})}function privateName(e){return(0,n.default)({type:"PrivateName",id:e})}function staticBlock(e){return(0,n.default)({type:"StaticBlock",body:e})}function anyTypeAnnotation(){return{type:"AnyTypeAnnotation"}}function arrayTypeAnnotation(e){return(0,n.default)({type:"ArrayTypeAnnotation",elementType:e})}function booleanTypeAnnotation(){return{type:"BooleanTypeAnnotation"}}function booleanLiteralTypeAnnotation(e){return(0,n.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function nullLiteralTypeAnnotation(){return{type:"NullLiteralTypeAnnotation"}}function classImplements(e,t=null){return(0,n.default)({type:"ClassImplements",id:e,typeParameters:t})}function declareClass(e,t=null,r=null,a){return(0,n.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:a})}function declareFunction(e){return(0,n.default)({type:"DeclareFunction",id:e})}function declareInterface(e,t=null,r=null,a){return(0,n.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:a})}function declareModule(e,t,r=null){return(0,n.default)({type:"DeclareModule",id:e,body:t,kind:r})}function declareModuleExports(e){return(0,n.default)({type:"DeclareModuleExports",typeAnnotation:e})}function declareTypeAlias(e,t=null,r){return(0,n.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function declareOpaqueType(e,t=null,r=null){return(0,n.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function declareVariable(e){return(0,n.default)({type:"DeclareVariable",id:e})}function declareExportDeclaration(e=null,t=null,r=null){return(0,n.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function declareExportAllDeclaration(e){return(0,n.default)({type:"DeclareExportAllDeclaration",source:e})}function declaredPredicate(e){return(0,n.default)({type:"DeclaredPredicate",value:e})}function existsTypeAnnotation(){return{type:"ExistsTypeAnnotation"}}function functionTypeAnnotation(e=null,t,r=null,a){return(0,n.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:a})}function functionTypeParam(e=null,t){return(0,n.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function genericTypeAnnotation(e,t=null){return(0,n.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function inferredPredicate(){return{type:"InferredPredicate"}}function interfaceExtends(e,t=null){return(0,n.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function interfaceDeclaration(e,t=null,r=null,a){return(0,n.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:a})}function interfaceTypeAnnotation(e=null,t){return(0,n.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function intersectionTypeAnnotation(e){return(0,n.default)({type:"IntersectionTypeAnnotation",types:e})}function mixedTypeAnnotation(){return{type:"MixedTypeAnnotation"}}function emptyTypeAnnotation(){return{type:"EmptyTypeAnnotation"}}function nullableTypeAnnotation(e){return(0,n.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function numberLiteralTypeAnnotation(e){return(0,n.default)({type:"NumberLiteralTypeAnnotation",value:e})}function numberTypeAnnotation(){return{type:"NumberTypeAnnotation"}}function objectTypeAnnotation(e,t=[],r=[],a=[],i=false){return(0,n.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:a,exact:i})}function objectTypeInternalSlot(e,t,r,a,i){return(0,n.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:a,method:i})}function objectTypeCallProperty(e){return(0,n.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function objectTypeIndexer(e=null,t,r,a=null){return(0,n.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:a,static:null})}function objectTypeProperty(e,t,r=null){return(0,n.default)({type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function objectTypeSpreadProperty(e){return(0,n.default)({type:"ObjectTypeSpreadProperty",argument:e})}function opaqueType(e,t=null,r=null,a){return(0,n.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:a})}function qualifiedTypeIdentifier(e,t){return(0,n.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function stringLiteralTypeAnnotation(e){return(0,n.default)({type:"StringLiteralTypeAnnotation",value:e})}function stringTypeAnnotation(){return{type:"StringTypeAnnotation"}}function symbolTypeAnnotation(){return{type:"SymbolTypeAnnotation"}}function thisTypeAnnotation(){return{type:"ThisTypeAnnotation"}}function tupleTypeAnnotation(e){return(0,n.default)({type:"TupleTypeAnnotation",types:e})}function typeofTypeAnnotation(e){return(0,n.default)({type:"TypeofTypeAnnotation",argument:e})}function typeAlias(e,t=null,r){return(0,n.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function typeAnnotation(e){return(0,n.default)({type:"TypeAnnotation",typeAnnotation:e})}function typeCastExpression(e,t){return(0,n.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function typeParameter(e=null,t=null,r=null){return(0,n.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function typeParameterDeclaration(e){return(0,n.default)({type:"TypeParameterDeclaration",params:e})}function typeParameterInstantiation(e){return(0,n.default)({type:"TypeParameterInstantiation",params:e})}function unionTypeAnnotation(e){return(0,n.default)({type:"UnionTypeAnnotation",types:e})}function variance(e){return(0,n.default)({type:"Variance",kind:e})}function voidTypeAnnotation(){return{type:"VoidTypeAnnotation"}}function enumDeclaration(e,t){return(0,n.default)({type:"EnumDeclaration",id:e,body:t})}function enumBooleanBody(e){return(0,n.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumNumberBody(e){return(0,n.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumStringBody(e){return(0,n.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumSymbolBody(e){return(0,n.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function enumBooleanMember(e){return(0,n.default)({type:"EnumBooleanMember",id:e,init:null})}function enumNumberMember(e,t){return(0,n.default)({type:"EnumNumberMember",id:e,init:t})}function enumStringMember(e,t){return(0,n.default)({type:"EnumStringMember",id:e,init:t})}function enumDefaultedMember(e){return(0,n.default)({type:"EnumDefaultedMember",id:e})}function indexedAccessType(e,t){return(0,n.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function optionalIndexedAccessType(e,t){return(0,n.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function jsxAttribute(e,t=null){return(0,n.default)({type:"JSXAttribute",name:e,value:t})}function jsxClosingElement(e){return(0,n.default)({type:"JSXClosingElement",name:e})}function jsxElement(e,t=null,r,a=null){return(0,n.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:a})}function jsxEmptyExpression(){return{type:"JSXEmptyExpression"}}function jsxExpressionContainer(e){return(0,n.default)({type:"JSXExpressionContainer",expression:e})}function jsxSpreadChild(e){return(0,n.default)({type:"JSXSpreadChild",expression:e})}function jsxIdentifier(e){return(0,n.default)({type:"JSXIdentifier",name:e})}function jsxMemberExpression(e,t){return(0,n.default)({type:"JSXMemberExpression",object:e,property:t})}function jsxNamespacedName(e,t){return(0,n.default)({type:"JSXNamespacedName",namespace:e,name:t})}function jsxOpeningElement(e,t,r=false){return(0,n.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function jsxSpreadAttribute(e){return(0,n.default)({type:"JSXSpreadAttribute",argument:e})}function jsxText(e){return(0,n.default)({type:"JSXText",value:e})}function jsxFragment(e,t,r){return(0,n.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function jsxOpeningFragment(){return{type:"JSXOpeningFragment"}}function jsxClosingFragment(){return{type:"JSXClosingFragment"}}function noop(){return{type:"Noop"}}function placeholder(e,t){return(0,n.default)({type:"Placeholder",expectedNode:e,name:t})}function v8IntrinsicIdentifier(e){return(0,n.default)({type:"V8IntrinsicIdentifier",name:e})}function argumentPlaceholder(){return{type:"ArgumentPlaceholder"}}function bindExpression(e,t){return(0,n.default)({type:"BindExpression",object:e,callee:t})}function importAttribute(e,t){return(0,n.default)({type:"ImportAttribute",key:e,value:t})}function decorator(e){return(0,n.default)({type:"Decorator",expression:e})}function doExpression(e,t=false){return(0,n.default)({type:"DoExpression",body:e,async:t})}function exportDefaultSpecifier(e){return(0,n.default)({type:"ExportDefaultSpecifier",exported:e})}function recordExpression(e){return(0,n.default)({type:"RecordExpression",properties:e})}function tupleExpression(e=[]){return(0,n.default)({type:"TupleExpression",elements:e})}function decimalLiteral(e){return(0,n.default)({type:"DecimalLiteral",value:e})}function moduleExpression(e){return(0,n.default)({type:"ModuleExpression",body:e})}function topicReference(){return{type:"TopicReference"}}function pipelineTopicExpression(e){return(0,n.default)({type:"PipelineTopicExpression",expression:e})}function pipelineBareFunction(e){return(0,n.default)({type:"PipelineBareFunction",callee:e})}function pipelinePrimaryTopicReference(){return{type:"PipelinePrimaryTopicReference"}}function tsParameterProperty(e){return(0,n.default)({type:"TSParameterProperty",parameter:e})}function tsDeclareFunction(e=null,t=null,r,a=null){return(0,n.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:a})}function tsDeclareMethod(e=null,t,r=null,a,i=null){return(0,n.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:a,returnType:i})}function tsQualifiedName(e,t){return(0,n.default)({type:"TSQualifiedName",left:e,right:t})}function tsCallSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsPropertySignature(e,t=null,r=null){return(0,n.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:r,kind:null})}function tsMethodSignature(e,t=null,r,a=null){return(0,n.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:a,kind:null})}function tsIndexSignature(e,t=null){return(0,n.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function tsAnyKeyword(){return{type:"TSAnyKeyword"}}function tsBooleanKeyword(){return{type:"TSBooleanKeyword"}}function tsBigIntKeyword(){return{type:"TSBigIntKeyword"}}function tsIntrinsicKeyword(){return{type:"TSIntrinsicKeyword"}}function tsNeverKeyword(){return{type:"TSNeverKeyword"}}function tsNullKeyword(){return{type:"TSNullKeyword"}}function tsNumberKeyword(){return{type:"TSNumberKeyword"}}function tsObjectKeyword(){return{type:"TSObjectKeyword"}}function tsStringKeyword(){return{type:"TSStringKeyword"}}function tsSymbolKeyword(){return{type:"TSSymbolKeyword"}}function tsUndefinedKeyword(){return{type:"TSUndefinedKeyword"}}function tsUnknownKeyword(){return{type:"TSUnknownKeyword"}}function tsVoidKeyword(){return{type:"TSVoidKeyword"}}function tsThisType(){return{type:"TSThisType"}}function tsFunctionType(e=null,t,r=null){return(0,n.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructorType(e=null,t,r=null){return(0,n.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsTypeReference(e,t=null){return(0,n.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function tsTypePredicate(e,t=null,r=null){return(0,n.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function tsTypeQuery(e,t=null){return(0,n.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function tsTypeLiteral(e){return(0,n.default)({type:"TSTypeLiteral",members:e})}function tsArrayType(e){return(0,n.default)({type:"TSArrayType",elementType:e})}function tsTupleType(e){return(0,n.default)({type:"TSTupleType",elementTypes:e})}function tsOptionalType(e){return(0,n.default)({type:"TSOptionalType",typeAnnotation:e})}function tsRestType(e){return(0,n.default)({type:"TSRestType",typeAnnotation:e})}function tsNamedTupleMember(e,t,r=false){return(0,n.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function tsUnionType(e){return(0,n.default)({type:"TSUnionType",types:e})}function tsIntersectionType(e){return(0,n.default)({type:"TSIntersectionType",types:e})}function tsConditionalType(e,t,r,a){return(0,n.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:a})}function tsInferType(e){return(0,n.default)({type:"TSInferType",typeParameter:e})}function tsParenthesizedType(e){return(0,n.default)({type:"TSParenthesizedType",typeAnnotation:e})}function tsTypeOperator(e){return(0,n.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function tsIndexedAccessType(e,t){return(0,n.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})}function tsMappedType(e,t=null,r=null){return(0,n.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r})}function tsLiteralType(e){return(0,n.default)({type:"TSLiteralType",literal:e})}function tsExpressionWithTypeArguments(e,t=null){return(0,n.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function tsInterfaceDeclaration(e,t=null,r=null,a){return(0,n.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:a})}function tsInterfaceBody(e){return(0,n.default)({type:"TSInterfaceBody",body:e})}function tsTypeAliasDeclaration(e,t=null,r){return(0,n.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r})}function tsInstantiationExpression(e,t=null){return(0,n.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})}function tsAsExpression(e,t){return(0,n.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function tsTypeAssertion(e,t){return(0,n.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function tsEnumDeclaration(e,t){return(0,n.default)({type:"TSEnumDeclaration",id:e,members:t})}function tsEnumMember(e,t=null){return(0,n.default)({type:"TSEnumMember",id:e,initializer:t})}function tsModuleDeclaration(e,t){return(0,n.default)({type:"TSModuleDeclaration",id:e,body:t})}function tsModuleBlock(e){return(0,n.default)({type:"TSModuleBlock",body:e})}function tsImportType(e,t=null,r=null){return(0,n.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function tsImportEqualsDeclaration(e,t){return(0,n.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function tsExternalModuleReference(e){return(0,n.default)({type:"TSExternalModuleReference",expression:e})}function tsNonNullExpression(e){return(0,n.default)({type:"TSNonNullExpression",expression:e})}function tsExportAssignment(e){return(0,n.default)({type:"TSExportAssignment",expression:e})}function tsNamespaceExportDeclaration(e){return(0,n.default)({type:"TSNamespaceExportDeclaration",id:e})}function tsTypeAnnotation(e){return(0,n.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function tsTypeParameterInstantiation(e){return(0,n.default)({type:"TSTypeParameterInstantiation",params:e})}function tsTypeParameterDeclaration(e){return(0,n.default)({type:"TSTypeParameterDeclaration",params:e})}function tsTypeParameter(e=null,t=null,r){return(0,n.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function NumberLiteral(e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return numericLiteral(e)}function RegexLiteral(e,t=""){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return regExpLiteral(e,t)}function RestProperty(e){console.trace("The node type RestProperty has been renamed to RestElement");return restElement(e)}function SpreadProperty(e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return spreadElement(e)}},3372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});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,"ClassAccessorProperty",{enumerable:true,get:function(){return n.classAccessorProperty}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});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,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});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,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});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,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});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,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});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,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});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,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});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,"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,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});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,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});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,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});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,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});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,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});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,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});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,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});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,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});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,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});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,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});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,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});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,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});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,"Super",{enumerable:true,get:function(){return n.super}});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,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});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,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSInstantiationExpression",{enumerable:true,get:function(){return n.tsInstantiationExpression}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});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,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});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,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});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,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});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,"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,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});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,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});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,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});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,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});var n=r(3015)},2387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildChildren;var n=r(5059);var a=r(1299);function buildChildren(e){const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTSUnionType;var n=r(3015);var a=r(2645);function createTSUnionType(e){const t=e.map((e=>e.typeAnnotation));const r=(0,a.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},3570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validateNode;var n=r(5477);var a=r(6071);function validateNode(e){const t=a.BUILDER_KEYS[e.type];for(const r of t){(0,n.default)(e,r,e[r])}return e}},5775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=clone;var n=r(4566);function clone(e){return(0,n.default)(e,false)}},4449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeep;var n=r(4566);function cloneDeep(e){return(0,n.default)(e)}},6130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeepWithoutLoc;var n=r(4566);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},4566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneNode;var n=r(8423);var a=r(5059);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r,n){if(e&&typeof e.type==="string"){return cloneNodeInternal(e,t,r,n)}return e}function cloneIfNodeOrArray(e,t,r,n){if(Array.isArray(e)){return e.map((e=>cloneIfNode(e,t,r,n)))}return cloneIfNode(e,t,r,n)}function cloneNode(e,t=true,r=false){return cloneNodeInternal(e,t,r,new Map)}function cloneNodeInternal(e,t=true,r=false,s){if(!e)return e;const{type:o}=e;const l={type:e.type};if((0,a.isIdentifier)(e)){l.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){l.optional=e.optional}if(i(e,"typeAnnotation")){l.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r,s):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,o)){throw new Error(`Unknown node type: "${o}"`)}else{for(const u of Object.keys(n.NODE_FIELDS[o])){if(i(e,u)){if(t){l[u]=(0,a.isFile)(e)&&u==="comments"?maybeCloneComments(e.comments,t,r,s):cloneIfNodeOrArray(e[u],true,r,s)}else{l[u]=e[u]}}}}if(i(e,"loc")){if(r){l.loc=null}else{l.loc=e.loc}}if(i(e,"leadingComments")){l.leadingComments=maybeCloneComments(e.leadingComments,t,r,s)}if(i(e,"innerComments")){l.innerComments=maybeCloneComments(e.innerComments,t,r,s)}if(i(e,"trailingComments")){l.trailingComments=maybeCloneComments(e.trailingComments,t,r,s)}if(i(e,"extra")){l.extra=Object.assign({},e.extra)}return l}function maybeCloneComments(e,t,r,n){if(!e||!t){return e}return e.map((e=>{const t=n.get(e);if(t)return t;const{type:a,value:i,loc:s}=e;const o={type:a,value:i,loc:s};if(r){o.loc=null}n.set(e,o);return o}))}},4807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneWithoutLoc;var n=r(4566);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},1700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComment;var n=r(5205);function addComment(e,t,r,a){return(0,n.default)(e,t,[{type:a?"CommentLine":"CommentBlock",value:r}])}},5205:(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].push(...r)}}else{e[n]=r}return e}},8805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritInnerComments;var n=r(2890);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},3472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritLeadingComments;var n=r(2890);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},6292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritTrailingComments;var n=r(2890);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},8995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritsComments;var n=r(6292);var a=r(3472);var i=r(8805);function inheritsComments(e,t){(0,n.default)(e,t);(0,a.default)(e,t);(0,i.default)(e,t);return e}},4620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeComments;var n=r(9297);function removeComments(e){n.COMMENT_KEYS.forEach((t=>{e[t]=null}));return e}},262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var n=r(8423);const a=n.FLIPPED_ALIAS_KEYS["Standardized"];t.STANDARDIZED_TYPES=a;const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const s=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=l;const u=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=f;const c=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=c;const d=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=d;const y=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=y;const T=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=T;const m=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=m;const S=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=S;const E=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=E;const b=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=b;const P=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=P;const x=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=x;const A=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=A;const v=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=v;const g=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=g;const O=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=O;const I=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=I;const D=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=D;const N=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=N;const h=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=h;const j=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=j;const L=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=L;const C=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=C;const M=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=B;const _=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=_;const w=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=w;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["Accessor"];t.ACCESSOR_TYPES=R;const K=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=K;const k=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=k;const V=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=V;const Y=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=Y;const X=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=J;const U=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=U;const q=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=q;const W=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=W;const z=n.FLIPPED_ALIAS_KEYS["Miscellaneous"];t.MISCELLANEOUS_TYPES=z;const G=n.FLIPPED_ALIAS_KEYS["TypeScript"];t.TYPESCRIPT_TYPES=G;const Q=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=Q;const $=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=$;const H=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=H},9297:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const a=["left","init"];t.FOR_INIT_KEYS=a;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;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 T=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=T;const m=["+","-","~"];t.NUMBER_UNARY_OPERATORS=m;const S=["typeof"];t.STRING_UNARY_OPERATORS=S;const E=["void","throw",...T,...m,...S];t.UNARY_OPERATORS=E;const b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;const P=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=P;const x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},2658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=ensureBlock;var n=r(2832);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},2164:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=gatherSequenceExpressions;var n=r(3767);var a=r(5059);var i=r(3015);var s=r(4566);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const u of e){if(!(0,a.isEmptyStatement)(u)){l=false}if((0,a.isExpression)(u)){o.push(u)}else if((0,a.isExpressionStatement)(u)){o.push(u.expression)}else if((0,a.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,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,a.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,a.isBlockStatement)(u)){const e=gatherSequenceExpressions(u.body,t,r);if(!e)return;o.push(e)}else if((0,a.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)}}},4120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBindingIdentifierName;var n=r(8701);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},2832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBlock;var n=r(5059);var a=r(3015);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,a.returnStatement)(e)}else{e=(0,a.expressionStatement)(e)}}r=[e]}return(0,a.blockStatement)(r)}},1400:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toComputedKey;var n=r(5059);var a=r(3015);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,a.stringLiteral)(t.name);return t}},9060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5059);var a=toExpression;t["default"]=a;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}},8701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toIdentifier;var n=r(2389);var a=r(4743);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,a.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||"_"}},9532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toKeyAlias;var n=r(5059);var a=r(4566);var i=r(3001);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,a.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++}}},8395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toSequenceExpression;var n=r(2164);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const a=(0,n.default)(e,t,r);if(!a)return;for(const e of r){t.push(e)}return a}},7841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5059);var a=r(3015);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,a.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}},237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(2389);var a=r(3015);var i=valueToNode;t["default"]=i;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,a.identifier)("undefined")}if(e===true||e===false){return(0,a.booleanLiteral)(e)}if(e===null){return(0,a.nullLiteral)()}if(typeof e==="string"){return(0,a.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,a.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,a.numericLiteral)(0)}else{r=(0,a.numericLiteral)(1)}t=(0,a.binaryExpression)("/",r,(0,a.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,a.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,a.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,a.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,a.identifier)(r)}else{i=(0,a.stringLiteral)(r)}t.push((0,a.objectProperty)(i,valueToNode(e[r])))}return(0,a.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(9704);var a=r(2389);var i=r(4743);var s=r(9297);var o=r(9247);const l=(0,o.defineAliasedType)("Standardized");l("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"]});l("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,a,i){const s=(0,n.default)("Pattern",r.left)?t:e;s(r,a,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});l("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 validator=function(r,n,a){const i=r.operator==="in"?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","PrivateName"];return validator}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});l("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});l("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});l("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});l("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"]});l("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});l("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}})});l("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});l("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"]});l("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});l("DebuggerStatement",{aliases:["Statement"]});l("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});l("EmptyStatement",{aliases:["Statement"]});l("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});l("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}}});l("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","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("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 u={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=u;const p={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=p;const f=Object.assign({},u,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=f;l("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},f,p,{body:{validate:(0,o.assertNodeType)("BlockStatement")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}}),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,a){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});l("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},u,p,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});const c={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=c;l("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{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,a.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 a=/\.(\w+)$/.exec(t);if(!a)return;const[,s]=a;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,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});l("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")}}});l("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});l("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("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:""}}});l("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")}}});l("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 validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return validator}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});l("NewExpression",{inherits:"CallExpression"});l("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"]});l("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});l("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},u,p,{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 validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return validator}()},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"]});l("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","BigIntLiteral","DecimalLiteral","PrivateName");const t=(0,o.assertNodeType)("Expression");const validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"];return validator}()},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","TSAsExpression","TSNonNullExpression","TSTypeAssertion");const t=(0,o.assertNodeType)("Expression");return function(r,a,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(i,"value",i.value)}}()});l("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},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,a]=r;if(e[n].length>a+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});l("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});l("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});l("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});l("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")))}}});l("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")))}}});l("ThisExpression",{aliases:["Expression"]});l("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("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")}}});l("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"]});l("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"]});l("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}`)}}});l("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,a){const i=r.init?e:t;i(r,n,a)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});l("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});l("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{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}})});l("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},u,p,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});l("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});l("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}}});l("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,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});l("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")))}}});l("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});l("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,a){const i=r.source?e:t;i(r,n,a)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});l("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,o.assertOneOf)("type","value"),optional:true}}});l("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","TSAsExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,i){if((0,n.default)("VariableDeclaration",i)){e(r,a,i)}else{t(r,a,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});l("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}}});l("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});l("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});l("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","value"),optional:true}}});l("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 a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta";break}if(!(0,n.default)("Identifier",e.property,{name:a})){throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const d={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,a){const i=r.computed?t:e;i(r,n,a)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=d;const y=Object.assign({},u,d,{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=y;l("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({},y,p,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});l("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});l("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("Super",{aliases:["Expression"]});l("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}}});l("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}}});l("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}`)}}))}}});l("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")}}});l("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("Import",{aliases:["Expression"]});l("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});l("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 validator=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};validator.oneOfNodeTypes=["Expression","Identifier"];return validator}()},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)())}}});l("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}}});l("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},d,{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}})});l("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},d,{key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","PrivateName");const t=(0,o.assertNodeType)("Expression");return function(r,n,a){const i=r.computed?t:e;i(r,n,a)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression","PrivateName"))},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}})});l("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}}});l("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},y,p,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});l("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}});l("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},38:(e,t,r)=>{"use strict";var n=r(9247);(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)("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"]})},7683:(e,t,r)=>{"use strict";var n=r(9247);const a=(0,n.defineAliasedType)("Flow");const defineInterfaceishType=(e,t="TypeParameterDeclaration")=>{a(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["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")}})};a("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});a("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});a("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("DeclareClass");a("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});defineInterfaceishType("DeclareInterface");a("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});a("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});a("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});a("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});a("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});a("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["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"))}});a("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});a("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});a("ExistsTypeAnnotation",{aliases:["FlowType"]});a("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["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")}});a("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});a("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("InferredPredicate",{aliases:["FlowPredicate"]});a("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("InterfaceDeclaration");a("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});a("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});a("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});a("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,n.arrayOfType)("ObjectTypeIndexer"),optional:true,default:[]},callProperties:{validate:(0,n.arrayOfType)("ObjectTypeCallProperty"),optional:true,default:[]},internalSlots:{validate:(0,n.arrayOfType)("ObjectTypeInternalSlot"),optional:true,default:[]},exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});a("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["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"))}});a("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});a("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["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")}});a("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["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"))}});a("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});a("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});a("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});a("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});a("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});a("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});a("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});a("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});a("TypeParameter",{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")}});a("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});a("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});a("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});a("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});a("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"))}});a("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"))}});a("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"))}});a("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});a("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});a("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});a("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});a("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});a("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});a("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},8423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return a.ALIAS_KEYS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return a.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return a.DEPRECATED_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return a.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return a.NODE_FIELDS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return a.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;Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return a.VISITOR_KEYS}});var n=r(6802);r(9838);r(7683);r(5762);r(2004);r(38);r(8424);var a=r(9247);var i=r(30);n(a.VISITOR_KEYS);n(a.ALIAS_KEYS);n(a.FLIPPED_ALIAS_KEYS);n(a.NODE_FIELDS);n(a.BUILDER_KEYS);n(a.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const s=[].concat(Object.keys(a.VISITOR_KEYS),Object.keys(a.FLIPPED_ALIAS_KEYS),Object.keys(a.DEPRECATED_KEYS));t.TYPES=s},5762:(e,t,r)=>{"use strict";var n=r(9247);const a=(0,n.defineAliasedType)("JSX");a("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});a("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});a("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({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}})});a("JSXEmptyExpression",{});a("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});a("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});a("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}});a("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});a("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});a("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["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}}});a("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});a("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});a("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["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")))}}});a("JSXOpeningFragment",{aliases:["Immutable"]});a("JSXClosingFragment",{aliases:["Immutable"]})},2004:(e,t,r)=>{"use strict";var n=r(9247);var a=r(30);const i=(0,n.defineAliasedType)("Miscellaneous");{i("Noop",{visitor:[]})}i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...a.PLACEHOLDERS)}}});i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},30:(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(9247);const a=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=a;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of a){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s;Object.keys(i).forEach((e=>{i[e].forEach((t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)}))}))},8424:(e,t,r)=>{"use strict";var n=r(9247);var a=r(9838);var i=r(9704);const s=(0,n.defineAliasedType)("TypeScript");const o=(0,n.assertValueType)("boolean");const l={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};s("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}}});s("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},a.functionDeclarationCommon,l)});s("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,l)});s("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const u={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),["parameters"]:(0,n.validateArrayOfType)(["Identifier","RestElement"]),["typeAnnotation"]:(0,n.validateOptionalType)("TSTypeAnnotation")};const p={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};s("TSCallSignatureDeclaration",p);s("TSConstructSignatureDeclaration",p);const f={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(o),optional:(0,n.validateOptional)(o)};s("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},f,{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});s("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},u,f,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});s("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const c=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of c){s(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}s("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const d={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};s("TSFunctionType",Object.assign({},d,{fields:u}));s("TSConstructorType",Object.assign({},d,{fields:Object.assign({},u,{abstract:(0,n.validateOptional)(o)})}));s("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("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)(o)}});s("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});s("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});s("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});s("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});s("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});s("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:false},elementType:(0,n.validateType)("TSType")}});const y={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};s("TSUnionType",y);s("TSIntersectionType",y);s("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")}});s("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});s("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});s("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});s("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});s("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(o),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});s("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,a,s){if((0,i.default)("UnaryExpression",s)){t(s,"operator",s.operator);e(s,"argument",s.argument)}else{r(n,a,s)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});s("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});s("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});s("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});s("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSAsExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});s("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});s("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});s("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});s("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(o),global:(0,n.validateOptional)(o),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});s("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});s("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});s("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(o),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});s("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});s("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});s("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});s("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});s("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});s("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});s("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});s("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:true},out:{validate:(0,n.assertValueType)("boolean"),optional:true},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},9247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.assertEach=assertEach;t.assertNodeOrValueType=assertNodeOrValueType;t.assertNodeType=assertNodeType;t.assertOneOf=assertOneOf;t.assertOptionalChainStart=assertOptionalChainStart;t.assertShape=assertShape;t.assertValueType=assertValueType;t.chain=chain;t["default"]=defineType;t.defineAliasedType=defineAliasedType;t.typeIs=typeIs;t.validate=validate;t.validateArrayOfType=validateArrayOfType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.validateType=validateType;var n=r(9704);var a=r(5477);const i={};t.VISITOR_KEYS=i;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 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 defineAliasedType(...e){return(t,r={})=>{let n=r.aliases;if(!n){var a,i;if(r.inherits)n=(a=y[r.inherits].aliases)==null?void 0:a.slice();(i=n)!=null?i:n=[];r.aliases=n}const s=e.filter((e=>!n.includes(e)));n.unshift(...s);return defineType(t,r)}}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 a=e.default;if(Array.isArray(a)?a.length>0:a&&typeof a==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(a)?[]:a,optional:e.optional,validate:e.validate}}}}const a=t.visitor||r.visitor||[];const T=t.aliases||r.aliases||[];const m=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 a.concat(m)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&m.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=a;u[e]=t.builder=m;l[e]=t.fields=n;s[e]=t.aliases=T;T.forEach((t=>{o[t]=o[t]||[];o[t].push(e)}));if(t.validate){f[e]=t.validate}y[e]=t}const y={}},6071:(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,"addComment",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return E.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,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return H.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 ae.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.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,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});t.react=void 0;Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});var a=r(2025);var i=r(3177);var s=r(2387);var o=r(4081);var l=r(8384);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(4838);var p=r(9424);var f=r(1308);var c=r(3015);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(3372);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(4566);var T=r(5775);var m=r(4449);var S=r(6130);var E=r(4807);var b=r(1700);var P=r(5205);var x=r(8805);var A=r(3472);var v=r(8995);var g=r(6292);var O=r(4620);var I=r(262);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(9297);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 N=r(2658);var h=r(4120);var j=r(2832);var L=r(1400);var C=r(9060);var M=r(8701);var B=r(9532);var _=r(8395);var w=r(7841);var F=r(237);var R=r(8423);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(9988);var k=r(6077);var V=r(9407);var Y=r(6134);var X=r(3001);var J=r(3750);var U=r(3767);var q=r(3069);var W=r(8179);Object.keys(W).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===W[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return W[e]}})}));var z=r(2018);var G=r(7879);var Q=r(9704);var $=r(594);var H=r(1836);var Z=r(2349);var ee=r(4532);var te=r(7731);var re=r(9151);var ne=r(2810);var ae=r(9327);var ie=r(1087);var se=r(2456);var oe=r(1254);var le=r(2076);var ue=r(2389);var pe=r(193);var fe=r(1542);var ce=r(5477);var de=r(8894);var ye=r(5059);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 Te=r(1065);Object.keys(Te).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===Te[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return Te[e]}})}));const me={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default};t.react=me},9988:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=appendToMemberExpression;var n=r(3015);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}},3750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(5059);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const a=new Set;const i=[];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(!a.has(o.types)){e=e.concat(o.types);a.add(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}},6077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherits;var n=r(9297);var a=r(8995);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,a.default)(e,t);return e}},9407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=prependToMemberExpression;var n=r(3015);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},6134:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeProperties;var n=r(9297);const a=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(a);function removeProperties(e,t={}){const r=t.preserveComments?a: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}}},3001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removePropertiesDeep;var n=r(2018);var a=r(6134);function removePropertiesDeep(e,t){(0,n.default)(e,a.default,t);return e}},2645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(5059);function removeTypeDuplicates(e){const t={};const r={};const a=new Set;const i=[];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(!a.has(s.types)){e.push(...s.types);a.add(s.types)}continue}i.push(s)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},3767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getBindingIdentifiers;var n=r(5059);function getBindingIdentifiers(e,t,r){let a=[].concat(e);const i=Object.create(null);while(a.length){const e=a.shift();if(!e)continue;const s=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)){a.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){a.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(3767);var a=getOuterBindingIdentifiers;t["default"]=a;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},8179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverse;var n=r(8423);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:a}=t;traverseSimpleImpl(e,n,a,r,[])}function traverseSimpleImpl(e,t,r,a,i){const s=n.VISITOR_KEYS[e.type];if(!s)return;if(t)t(e,i,a);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(8423);function traverseFast(e,t,r){if(!e)return;const a=n.VISITOR_KEYS[e.type];if(!a)return;r=r||{};t(e,r);for(const n of a){const a=e[n];if(Array.isArray(a)){for(const e of a){traverseFast(e,t,r)}}else{traverseFast(a,t,r)}}}},2890:(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)))}}},1299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cleanJSXElementLiteralChild;var n=r(3015);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let a=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}},8894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildMatchMemberExpression;var n=r(1542);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},5059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAccessor=isAccessor;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isArrayExpression=isArrayExpression;t.isArrayPattern=isArrayPattern;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isAssignmentExpression=isAssignmentExpression;t.isAssignmentPattern=isAssignmentPattern;t.isAwaitExpression=isAwaitExpression;t.isBigIntLiteral=isBigIntLiteral;t.isBinary=isBinary;t.isBinaryExpression=isBinaryExpression;t.isBindExpression=isBindExpression;t.isBlock=isBlock;t.isBlockParent=isBlockParent;t.isBlockStatement=isBlockStatement;t.isBooleanLiteral=isBooleanLiteral;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isClass=isClass;t.isClassAccessorProperty=isClassAccessorProperty;t.isClassBody=isClassBody;t.isClassDeclaration=isClassDeclaration;t.isClassExpression=isClassExpression;t.isClassImplements=isClassImplements;t.isClassMethod=isClassMethod;t.isClassPrivateMethod=isClassPrivateMethod;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassProperty=isClassProperty;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDecimalLiteral=isDecimalLiteral;t.isDeclaration=isDeclaration;t.isDeclareClass=isDeclareClass;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareVariable=isDeclareVariable;t.isDeclaredPredicate=isDeclaredPredicate;t.isDecorator=isDecorator;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isDoExpression=isDoExpression;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isEnumBody=isEnumBody;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumDeclaration=isEnumDeclaration;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isEnumMember=isEnumMember;t.isEnumNumberBody=isEnumNumberBody;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringBody=isEnumStringBody;t.isEnumStringMember=isEnumStringMember;t.isEnumSymbolBody=isEnumSymbolBody;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDeclaration=isExportDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isExportSpecifier=isExportSpecifier;t.isExpression=isExpression;t.isExpressionStatement=isExpressionStatement;t.isExpressionWrapper=isExpressionWrapper;t.isFile=isFile;t.isFlow=isFlow;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isFlowType=isFlowType;t.isFor=isFor;t.isForInStatement=isForInStatement;t.isForOfStatement=isForOfStatement;t.isForStatement=isForStatement;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isFunctionParent=isFunctionParent;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isImmutable=isImmutable;t.isImport=isImport;t.isImportAttribute=isImportAttribute;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isIndexedAccessType=isIndexedAccessType;t.isInferredPredicate=isInferredPredicate;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isInterpreterDirective=isInterpreterDirective;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isJSX=isJSX;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXClosingFragment=isJSXClosingFragment;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXFragment=isJSXFragment;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXText=isJSXText;t.isLVal=isLVal;t.isLabeledStatement=isLabeledStatement;t.isLiteral=isLiteral;t.isLogicalExpression=isLogicalExpression;t.isLoop=isLoop;t.isMemberExpression=isMemberExpression;t.isMetaProperty=isMetaProperty;t.isMethod=isMethod;t.isMiscellaneous=isMiscellaneous;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isModuleDeclaration=isModuleDeclaration;t.isModuleExpression=isModuleExpression;t.isModuleSpecifier=isModuleSpecifier;t.isNewExpression=isNewExpression;t.isNoop=isNoop;t.isNullLiteral=isNullLiteral;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteral=isNumberLiteral;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isNumericLiteral=isNumericLiteral;t.isObjectExpression=isObjectExpression;t.isObjectMember=isObjectMember;t.isObjectMethod=isObjectMethod;t.isObjectPattern=isObjectPattern;t.isObjectProperty=isObjectProperty;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isOptionalCallExpression=isOptionalCallExpression;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isPattern=isPattern;t.isPatternLike=isPatternLike;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPlaceholder=isPlaceholder;t.isPrivate=isPrivate;t.isPrivateName=isPrivateName;t.isProgram=isProgram;t.isProperty=isProperty;t.isPureish=isPureish;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isRecordExpression=isRecordExpression;t.isRegExpLiteral=isRegExpLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestElement=isRestElement;t.isRestProperty=isRestProperty;t.isReturnStatement=isReturnStatement;t.isScopable=isScopable;t.isSequenceExpression=isSequenceExpression;t.isSpreadElement=isSpreadElement;t.isSpreadProperty=isSpreadProperty;t.isStandardized=isStandardized;t.isStatement=isStatement;t.isStaticBlock=isStaticBlock;t.isStringLiteral=isStringLiteral;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSuper=isSuper;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSArrayType=isTSArrayType;t.isTSAsExpression=isTSAsExpression;t.isTSBaseType=isTSBaseType;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConditionalType=isTSConditionalType;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSConstructorType=isTSConstructorType;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSEntityName=isTSEntityName;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSExportAssignment=isTSExportAssignment;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSFunctionType=isTSFunctionType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSImportType=isTSImportType;t.isTSIndexSignature=isTSIndexSignature;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSInferType=isTSInferType;t.isTSInstantiationExpression=isTSInstantiationExpression;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSIntersectionType=isTSIntersectionType;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSLiteralType=isTSLiteralType;t.isTSMappedType=isTSMappedType;t.isTSMethodSignature=isTSMethodSignature;t.isTSModuleBlock=isTSModuleBlock;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSOptionalType=isTSOptionalType;t.isTSParameterProperty=isTSParameterProperty;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSPropertySignature=isTSPropertySignature;t.isTSQualifiedName=isTSQualifiedName;t.isTSRestType=isTSRestType;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSThisType=isTSThisType;t.isTSTupleType=isTSTupleType;t.isTSType=isTSType;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSTypeElement=isTSTypeElement;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSTypeOperator=isTSTypeOperator;t.isTSTypeParameter=isTSTypeParameter;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeReference=isTSTypeReference;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnionType=isTSUnionType;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isTerminatorless=isTerminatorless;t.isThisExpression=isThisExpression;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isThrowStatement=isThrowStatement;t.isTopicReference=isTopicReference;t.isTryStatement=isTryStatement;t.isTupleExpression=isTupleExpression;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isTypeScript=isTypeScript;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isUnaryExpression=isUnaryExpression;t.isUnaryLike=isUnaryLike;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isUpdateExpression=isUpdateExpression;t.isUserWhitespacable=isUserWhitespacable;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isWhile=isWhile;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isYieldExpression=isYieldExpression;var n=r(7879);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 isClassAccessorProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassAccessorProperty"){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 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 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 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 isTSInstantiationExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSInstantiationExpression"){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 isStandardized(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"InterpreterDirective"===r||"Directive"===r||"DirectiveLiteral"===r||"BlockStatement"===r||"BreakStatement"===r||"CallExpression"===r||"CatchClause"===r||"ConditionalExpression"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"File"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Identifier"===r||"IfStatement"===r||"LabeledStatement"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"Program"===r||"ObjectExpression"===r||"ObjectMethod"===r||"ObjectProperty"===r||"RestElement"===r||"ReturnStatement"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"SwitchCase"===r||"SwitchStatement"===r||"ThisExpression"===r||"ThrowStatement"===r||"TryStatement"===r||"UnaryExpression"===r||"UpdateExpression"===r||"VariableDeclaration"===r||"VariableDeclarator"===r||"WhileStatement"===r||"WithStatement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ArrowFunctionExpression"===r||"ClassBody"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ExportSpecifier"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"MetaProperty"===r||"ClassMethod"===r||"ObjectPattern"===r||"SpreadElement"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateElement"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"ExportNamespaceSpecifier"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"ClassProperty"===r||"ClassAccessorProperty"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r||"StaticBlock"===r||r==="Placeholder"&&("Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode||"BlockStatement"===e.expectedNode||"ClassBody"===e.expectedNode)){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||"TSInstantiationExpression"===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||"StaticBlock"===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||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===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||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===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||"ClassAccessorProperty"===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 isAccessor(e,t){if(!e)return false;const r=e.type;if("ClassAccessorProperty"===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||"EnumDeclaration"===r||"EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r||"EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===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 isMiscellaneous(e,t){if(!e)return false;const r=e.type;if("Noop"===r||"Placeholder"===r||"V8IntrinsicIdentifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeScript(e,t){if(!e)return false;const r=e.type;if("TSParameterProperty"===r||"TSDeclareFunction"===r||"TSDeclareMethod"===r||"TSQualifiedName"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r||"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||"TSNamedTupleMember"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSInterfaceDeclaration"===r||"TSInterfaceBody"===r||"TSTypeAliasDeclaration"===r||"TSInstantiationExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSEnumDeclaration"===r||"TSEnumMember"===r||"TSModuleDeclaration"===r||"TSModuleBlock"===r||"TSImportType"===r||"TSImportEqualsDeclaration"===r||"TSExternalModuleReference"===r||"TSNonNullExpression"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||"TSTypeAnnotation"===r||"TSTypeParameterInstantiation"===r||"TSTypeParameterDeclaration"===r||"TSTypeParameter"===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}},9704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=is;var n=r(7879);var a=r(1254);var i=r(2810);var s=r(8423);function is(e,t,r){if(!t)return false;const o=(0,a.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in s.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)}}},594:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBinding;var n=r(3767);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const a=n.default.keys[t.type];if(a){for(let r=0;r=0)return true}else{if(i===e)return true}}}return false}},1836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBlockScoped;var n=r(5059);var a=r(4532);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,a.default)(e)}},2349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isImmutable;var n=r(1254);var a=r(5059);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,a.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},4532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLet;var n=r(5059);var a=r(9297);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[a.BLOCK_SCOPED_SYMBOL])}},7731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNode;var n=r(8423);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},9151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNodesEquivalent;var n=r(8423);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 a=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(8423);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}},9327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"JSXMemberExpression":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.key===e){return!!t.computed}return false;case"ObjectProperty":if(t.key===e){return!!t.computed}return!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(t.key===e){return!!t.computed}return true;case"ClassPrivateProperty":return t.key!==e;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"ImportAttribute":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}},1087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isScope;var n=r(5059);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)}},2456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSpecifierDefault;var n=r(5059);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},1254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isType;var n=r(8423);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}},2076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidES3Identifier;var n=r(2389);const a=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)&&!a.has(e)}},2389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidIdentifier;var n=r(4743);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)}},193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isVar;var n=r(5059);var a=r(9297);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[a.BLOCK_SCOPED_SYMBOL]}},1542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matchesPattern;var n=r(5059);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const a=Array.isArray(t)?t:t.split(".");const i=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object){i.push(s.property)}i.push(s);if(i.lengtha.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)}},2025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8894);const a=(0,n.default)("React.Component");var i=a;t["default"]=i},5477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validate;t.validateChild=validateChild;t.validateField=validateField;var n=r(8423);function validate(e,t,r){if(!e)return;const a=n.NODE_FIELDS[e.type];if(!a)return;const i=a[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 a=n.NODE_PARENT_VALIDATIONS[r.type];if(!a)return;a(e,t,r)}},6802:e=>{"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)}},4743:e=>{"use strict";e.exports=require("../helper-validator-identifier")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var i=true;try{e[r](a,a.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(6071);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/types/lib/index-legacy.d.ts b/packages/builder/builder-webpack-provider/compiled/@babel/types/lib/index-legacy.d.ts deleted file mode 100644 index 1e115bbef330..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/types/lib/index-legacy.d.ts +++ /dev/null @@ -1,2732 +0,0 @@ -// NOTE: This file is autogenerated. Do not modify. -// See packages/babel-types/scripts/generators/typescript-legacy.js for script used. - -interface BaseComment { - value: string; - start: number; - end: number; - loc: SourceLocation; - type: "CommentBlock" | "CommentLine"; -} - -export interface CommentBlock extends BaseComment { - type: "CommentBlock"; -} - -export interface CommentLine extends BaseComment { - type: "CommentLine"; -} - -export type Comment = CommentBlock | CommentLine; - -export interface SourceLocation { - start: { - line: number; - column: number; - }; - - end: { - line: number; - column: number; - }; -} - -interface BaseNode { - leadingComments: ReadonlyArray | null; - innerComments: ReadonlyArray | null; - trailingComments: ReadonlyArray | null; - start: number | null; - end: number | null; - loc: SourceLocation | null; - type: Node["type"]; - extra?: Record; -} - -export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | Miscellaneous | MixedTypeAnnotation | ModuleDeclaration | ModuleExpression | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Standardized | Statement | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSStringKeyword | TSSymbolKeyword | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeScript | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression; - -export interface ArrayExpression extends BaseNode { - type: "ArrayExpression"; - elements: Array; -} - -export interface AssignmentExpression extends BaseNode { - type: "AssignmentExpression"; - operator: string; - left: LVal; - right: Expression; -} - -export interface BinaryExpression extends BaseNode { - type: "BinaryExpression"; - operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>"; - left: Expression | PrivateName; - right: Expression; -} - -export interface InterpreterDirective extends BaseNode { - type: "InterpreterDirective"; - value: string; -} - -export interface Directive extends BaseNode { - type: "Directive"; - value: DirectiveLiteral; -} - -export interface DirectiveLiteral extends BaseNode { - type: "DirectiveLiteral"; - value: string; -} - -export interface BlockStatement extends BaseNode { - type: "BlockStatement"; - body: Array; - directives: Array; -} - -export interface BreakStatement extends BaseNode { - type: "BreakStatement"; - label: Identifier | null; -} - -export interface CallExpression extends BaseNode { - type: "CallExpression"; - callee: Expression | V8IntrinsicIdentifier; - arguments: Array; - optional: true | false | null; - typeArguments: TypeParameterInstantiation | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface CatchClause extends BaseNode { - type: "CatchClause"; - param: Identifier | ArrayPattern | ObjectPattern | null; - body: BlockStatement; -} - -export interface ConditionalExpression extends BaseNode { - type: "ConditionalExpression"; - test: Expression; - consequent: Expression; - alternate: Expression; -} - -export interface ContinueStatement extends BaseNode { - type: "ContinueStatement"; - label: Identifier | null; -} - -export interface DebuggerStatement extends BaseNode { - type: "DebuggerStatement"; -} - -export interface DoWhileStatement extends BaseNode { - type: "DoWhileStatement"; - test: Expression; - body: Statement; -} - -export interface EmptyStatement extends BaseNode { - type: "EmptyStatement"; -} - -export interface ExpressionStatement extends BaseNode { - type: "ExpressionStatement"; - expression: Expression; -} - -export interface File extends BaseNode { - type: "File"; - program: Program; - comments: Array | null; - tokens: Array | null; -} - -export interface ForInStatement extends BaseNode { - type: "ForInStatement"; - left: VariableDeclaration | LVal; - right: Expression; - body: Statement; -} - -export interface ForStatement extends BaseNode { - type: "ForStatement"; - init: VariableDeclaration | Expression | null; - test: Expression | null; - update: Expression | null; - body: Statement; -} - -export interface FunctionDeclaration extends BaseNode { - type: "FunctionDeclaration"; - id: Identifier | null; - params: Array; - body: BlockStatement; - generator: boolean; - async: boolean; - declare: boolean | null; - predicate: DeclaredPredicate | InferredPredicate | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface FunctionExpression extends BaseNode { - type: "FunctionExpression"; - id: Identifier | null; - params: Array; - body: BlockStatement; - generator: boolean; - async: boolean; - predicate: DeclaredPredicate | InferredPredicate | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface Identifier extends BaseNode { - type: "Identifier"; - name: string; - decorators: Array | null; - optional: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface IfStatement extends BaseNode { - type: "IfStatement"; - test: Expression; - consequent: Statement; - alternate: Statement | null; -} - -export interface LabeledStatement extends BaseNode { - type: "LabeledStatement"; - label: Identifier; - body: Statement; -} - -export interface StringLiteral extends BaseNode { - type: "StringLiteral"; - value: string; -} - -export interface NumericLiteral extends BaseNode { - type: "NumericLiteral"; - value: number; -} - -export interface NullLiteral extends BaseNode { - type: "NullLiteral"; -} - -export interface BooleanLiteral extends BaseNode { - type: "BooleanLiteral"; - value: boolean; -} - -export interface RegExpLiteral extends BaseNode { - type: "RegExpLiteral"; - pattern: string; - flags: string; -} - -export interface LogicalExpression extends BaseNode { - type: "LogicalExpression"; - operator: "||" | "&&" | "??"; - left: Expression; - right: Expression; -} - -export interface MemberExpression extends BaseNode { - type: "MemberExpression"; - object: Expression; - property: Expression | Identifier | PrivateName; - computed: boolean; - optional: true | false | null; -} - -export interface NewExpression extends BaseNode { - type: "NewExpression"; - callee: Expression | V8IntrinsicIdentifier; - arguments: Array; - optional: true | false | null; - typeArguments: TypeParameterInstantiation | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface Program extends BaseNode { - type: "Program"; - body: Array; - directives: Array; - sourceType: "script" | "module"; - interpreter: InterpreterDirective | null; - sourceFile: string; -} - -export interface ObjectExpression extends BaseNode { - type: "ObjectExpression"; - properties: Array; -} - -export interface ObjectMethod extends BaseNode { - type: "ObjectMethod"; - kind: "method" | "get" | "set"; - key: Expression | Identifier | StringLiteral | NumericLiteral; - params: Array; - body: BlockStatement; - computed: boolean; - generator: boolean; - async: boolean; - decorators: Array | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ObjectProperty extends BaseNode { - type: "ObjectProperty"; - key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName; - value: Expression | PatternLike; - computed: boolean; - shorthand: boolean; - decorators: Array | null; -} - -export interface RestElement extends BaseNode { - type: "RestElement"; - argument: LVal; - decorators: Array | null; - optional: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface ReturnStatement extends BaseNode { - type: "ReturnStatement"; - argument: Expression | null; -} - -export interface SequenceExpression extends BaseNode { - type: "SequenceExpression"; - expressions: Array; -} - -export interface ParenthesizedExpression extends BaseNode { - type: "ParenthesizedExpression"; - expression: Expression; -} - -export interface SwitchCase extends BaseNode { - type: "SwitchCase"; - test: Expression | null; - consequent: Array; -} - -export interface SwitchStatement extends BaseNode { - type: "SwitchStatement"; - discriminant: Expression; - cases: Array; -} - -export interface ThisExpression extends BaseNode { - type: "ThisExpression"; -} - -export interface ThrowStatement extends BaseNode { - type: "ThrowStatement"; - argument: Expression; -} - -export interface TryStatement extends BaseNode { - type: "TryStatement"; - block: BlockStatement; - handler: CatchClause | null; - finalizer: BlockStatement | null; -} - -export interface UnaryExpression extends BaseNode { - type: "UnaryExpression"; - operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof"; - argument: Expression; - prefix: boolean; -} - -export interface UpdateExpression extends BaseNode { - type: "UpdateExpression"; - operator: "++" | "--"; - argument: Expression; - prefix: boolean; -} - -export interface VariableDeclaration extends BaseNode { - type: "VariableDeclaration"; - kind: "var" | "let" | "const"; - declarations: Array; - declare: boolean | null; -} - -export interface VariableDeclarator extends BaseNode { - type: "VariableDeclarator"; - id: LVal; - init: Expression | null; - definite: boolean | null; -} - -export interface WhileStatement extends BaseNode { - type: "WhileStatement"; - test: Expression; - body: Statement; -} - -export interface WithStatement extends BaseNode { - type: "WithStatement"; - object: Expression; - body: Statement; -} - -export interface AssignmentPattern extends BaseNode { - type: "AssignmentPattern"; - left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSTypeAssertion | TSNonNullExpression; - right: Expression; - decorators: Array | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface ArrayPattern extends BaseNode { - type: "ArrayPattern"; - elements: Array; - decorators: Array | null; - optional: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface ArrowFunctionExpression extends BaseNode { - type: "ArrowFunctionExpression"; - params: Array; - body: BlockStatement | Expression; - async: boolean; - expression: boolean; - generator: boolean; - predicate: DeclaredPredicate | InferredPredicate | null; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ClassBody extends BaseNode { - type: "ClassBody"; - body: Array; -} - -export interface ClassExpression extends BaseNode { - type: "ClassExpression"; - id: Identifier | null; - superClass: Expression | null; - body: ClassBody; - decorators: Array | null; - implements: Array | null; - mixins: InterfaceExtends | null; - superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ClassDeclaration extends BaseNode { - type: "ClassDeclaration"; - id: Identifier; - superClass: Expression | null; - body: ClassBody; - decorators: Array | null; - abstract: boolean | null; - declare: boolean | null; - implements: Array | null; - mixins: InterfaceExtends | null; - superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ExportAllDeclaration extends BaseNode { - type: "ExportAllDeclaration"; - source: StringLiteral; - assertions: Array | null; - exportKind: "type" | "value" | null; -} - -export interface ExportDefaultDeclaration extends BaseNode { - type: "ExportDefaultDeclaration"; - declaration: FunctionDeclaration | ClassDeclaration | Expression; - exportKind: "value" | null; -} - -export interface ExportNamedDeclaration extends BaseNode { - type: "ExportNamedDeclaration"; - declaration: Declaration | null; - specifiers: Array; - source: StringLiteral | null; - assertions: Array | null; - exportKind: "type" | "value" | null; -} - -export interface ExportSpecifier extends BaseNode { - type: "ExportSpecifier"; - local: Identifier; - exported: Identifier | StringLiteral; - exportKind: "type" | "value" | null; -} - -export interface ForOfStatement extends BaseNode { - type: "ForOfStatement"; - left: VariableDeclaration | LVal; - right: Expression; - body: Statement; - await: boolean; -} - -export interface ImportDeclaration extends BaseNode { - type: "ImportDeclaration"; - specifiers: Array; - source: StringLiteral; - assertions: Array | null; - importKind: "type" | "typeof" | "value" | null; -} - -export interface ImportDefaultSpecifier extends BaseNode { - type: "ImportDefaultSpecifier"; - local: Identifier; -} - -export interface ImportNamespaceSpecifier extends BaseNode { - type: "ImportNamespaceSpecifier"; - local: Identifier; -} - -export interface ImportSpecifier extends BaseNode { - type: "ImportSpecifier"; - local: Identifier; - imported: Identifier | StringLiteral; - importKind: "type" | "typeof" | "value" | null; -} - -export interface MetaProperty extends BaseNode { - type: "MetaProperty"; - meta: Identifier; - property: Identifier; -} - -export interface ClassMethod extends BaseNode { - type: "ClassMethod"; - kind: "get" | "set" | "method" | "constructor"; - key: Identifier | StringLiteral | NumericLiteral | Expression; - params: Array; - body: BlockStatement; - computed: boolean; - static: boolean; - generator: boolean; - async: boolean; - abstract: boolean | null; - access: "public" | "private" | "protected" | null; - accessibility: "public" | "private" | "protected" | null; - decorators: Array | null; - optional: boolean | null; - override: boolean; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface ObjectPattern extends BaseNode { - type: "ObjectPattern"; - properties: Array; - decorators: Array | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; -} - -export interface SpreadElement extends BaseNode { - type: "SpreadElement"; - argument: Expression; -} - -export interface Super extends BaseNode { - type: "Super"; -} - -export interface TaggedTemplateExpression extends BaseNode { - type: "TaggedTemplateExpression"; - tag: Expression; - quasi: TemplateLiteral; - typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; -} - -export interface TemplateElement extends BaseNode { - type: "TemplateElement"; - value: { raw: string, cooked?: string }; - tail: boolean; -} - -export interface TemplateLiteral extends BaseNode { - type: "TemplateLiteral"; - quasis: Array; - expressions: Array; -} - -export interface YieldExpression extends BaseNode { - type: "YieldExpression"; - argument: Expression | null; - delegate: boolean; -} - -export interface AwaitExpression extends BaseNode { - type: "AwaitExpression"; - argument: Expression; -} - -export interface Import extends BaseNode { - type: "Import"; -} - -export interface BigIntLiteral extends BaseNode { - type: "BigIntLiteral"; - value: string; -} - -export interface ExportNamespaceSpecifier extends BaseNode { - type: "ExportNamespaceSpecifier"; - exported: Identifier; -} - -export interface OptionalMemberExpression extends BaseNode { - type: "OptionalMemberExpression"; - object: Expression; - property: Expression | Identifier; - computed: boolean; - optional: boolean; -} - -export interface OptionalCallExpression extends BaseNode { - type: "OptionalCallExpression"; - callee: Expression; - arguments: Array; - optional: boolean; - typeArguments: TypeParameterInstantiation | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface ClassProperty extends BaseNode { - type: "ClassProperty"; - key: Identifier | StringLiteral | NumericLiteral | Expression; - value: Expression | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; - decorators: Array | null; - computed: boolean; - static: boolean; - abstract: boolean | null; - accessibility: "public" | "private" | "protected" | null; - declare: boolean | null; - definite: boolean | null; - optional: boolean | null; - override: boolean; - readonly: boolean | null; - variance: Variance | null; -} - -export interface ClassAccessorProperty extends BaseNode { - type: "ClassAccessorProperty"; - key: Identifier | StringLiteral | NumericLiteral | Expression | PrivateName; - value: Expression | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; - decorators: Array | null; - computed: boolean; - static: boolean; - abstract: boolean | null; - accessibility: "public" | "private" | "protected" | null; - declare: boolean | null; - definite: boolean | null; - optional: boolean | null; - override: boolean; - readonly: boolean | null; - variance: Variance | null; -} - -export interface ClassPrivateProperty extends BaseNode { - type: "ClassPrivateProperty"; - key: PrivateName; - value: Expression | null; - decorators: Array | null; - static: any; - definite: boolean | null; - readonly: boolean | null; - typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; - variance: Variance | null; -} - -export interface ClassPrivateMethod extends BaseNode { - type: "ClassPrivateMethod"; - kind: "get" | "set" | "method" | "constructor"; - key: PrivateName; - params: Array; - body: BlockStatement; - static: boolean; - abstract: boolean | null; - access: "public" | "private" | "protected" | null; - accessibility: "public" | "private" | "protected" | null; - async: boolean; - computed: boolean; - decorators: Array | null; - generator: boolean; - optional: boolean | null; - override: boolean; - returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; - typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; -} - -export interface PrivateName extends BaseNode { - type: "PrivateName"; - id: Identifier; -} - -export interface StaticBlock extends BaseNode { - type: "StaticBlock"; - body: Array; -} - -export interface AnyTypeAnnotation extends BaseNode { - type: "AnyTypeAnnotation"; -} - -export interface ArrayTypeAnnotation extends BaseNode { - type: "ArrayTypeAnnotation"; - elementType: FlowType; -} - -export interface BooleanTypeAnnotation extends BaseNode { - type: "BooleanTypeAnnotation"; -} - -export interface BooleanLiteralTypeAnnotation extends BaseNode { - type: "BooleanLiteralTypeAnnotation"; - value: boolean; -} - -export interface NullLiteralTypeAnnotation extends BaseNode { - type: "NullLiteralTypeAnnotation"; -} - -export interface ClassImplements extends BaseNode { - type: "ClassImplements"; - id: Identifier; - typeParameters: TypeParameterInstantiation | null; -} - -export interface DeclareClass extends BaseNode { - type: "DeclareClass"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - extends: Array | null; - body: ObjectTypeAnnotation; - implements: Array | null; - mixins: Array | null; -} - -export interface DeclareFunction extends BaseNode { - type: "DeclareFunction"; - id: Identifier; - predicate: DeclaredPredicate | null; -} - -export interface DeclareInterface extends BaseNode { - type: "DeclareInterface"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - extends: Array | null; - body: ObjectTypeAnnotation; - implements: Array | null; - mixins: Array | null; -} - -export interface DeclareModule extends BaseNode { - type: "DeclareModule"; - id: Identifier | StringLiteral; - body: BlockStatement; - kind: "CommonJS" | "ES" | null; -} - -export interface DeclareModuleExports extends BaseNode { - type: "DeclareModuleExports"; - typeAnnotation: TypeAnnotation; -} - -export interface DeclareTypeAlias extends BaseNode { - type: "DeclareTypeAlias"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - right: FlowType; -} - -export interface DeclareOpaqueType extends BaseNode { - type: "DeclareOpaqueType"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - supertype: FlowType | null; - impltype: FlowType | null; -} - -export interface DeclareVariable extends BaseNode { - type: "DeclareVariable"; - id: Identifier; -} - -export interface DeclareExportDeclaration extends BaseNode { - type: "DeclareExportDeclaration"; - declaration: Flow | null; - specifiers: Array | null; - source: StringLiteral | null; - default: boolean | null; -} - -export interface DeclareExportAllDeclaration extends BaseNode { - type: "DeclareExportAllDeclaration"; - source: StringLiteral; - exportKind: "type" | "value" | null; -} - -export interface DeclaredPredicate extends BaseNode { - type: "DeclaredPredicate"; - value: Flow; -} - -export interface ExistsTypeAnnotation extends BaseNode { - type: "ExistsTypeAnnotation"; -} - -export interface FunctionTypeAnnotation extends BaseNode { - type: "FunctionTypeAnnotation"; - typeParameters: TypeParameterDeclaration | null; - params: Array; - rest: FunctionTypeParam | null; - returnType: FlowType; - this: FunctionTypeParam | null; -} - -export interface FunctionTypeParam extends BaseNode { - type: "FunctionTypeParam"; - name: Identifier | null; - typeAnnotation: FlowType; - optional: boolean | null; -} - -export interface GenericTypeAnnotation extends BaseNode { - type: "GenericTypeAnnotation"; - id: Identifier | QualifiedTypeIdentifier; - typeParameters: TypeParameterInstantiation | null; -} - -export interface InferredPredicate extends BaseNode { - type: "InferredPredicate"; -} - -export interface InterfaceExtends extends BaseNode { - type: "InterfaceExtends"; - id: Identifier | QualifiedTypeIdentifier; - typeParameters: TypeParameterInstantiation | null; -} - -export interface InterfaceDeclaration extends BaseNode { - type: "InterfaceDeclaration"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - extends: Array | null; - body: ObjectTypeAnnotation; - implements: Array | null; - mixins: Array | null; -} - -export interface InterfaceTypeAnnotation extends BaseNode { - type: "InterfaceTypeAnnotation"; - extends: Array | null; - body: ObjectTypeAnnotation; -} - -export interface IntersectionTypeAnnotation extends BaseNode { - type: "IntersectionTypeAnnotation"; - types: Array; -} - -export interface MixedTypeAnnotation extends BaseNode { - type: "MixedTypeAnnotation"; -} - -export interface EmptyTypeAnnotation extends BaseNode { - type: "EmptyTypeAnnotation"; -} - -export interface NullableTypeAnnotation extends BaseNode { - type: "NullableTypeAnnotation"; - typeAnnotation: FlowType; -} - -export interface NumberLiteralTypeAnnotation extends BaseNode { - type: "NumberLiteralTypeAnnotation"; - value: number; -} - -export interface NumberTypeAnnotation extends BaseNode { - type: "NumberTypeAnnotation"; -} - -export interface ObjectTypeAnnotation extends BaseNode { - type: "ObjectTypeAnnotation"; - properties: Array; - indexers: Array; - callProperties: Array; - internalSlots: Array; - exact: boolean; - inexact: boolean | null; -} - -export interface ObjectTypeInternalSlot extends BaseNode { - type: "ObjectTypeInternalSlot"; - id: Identifier; - value: FlowType; - optional: boolean; - static: boolean; - method: boolean; -} - -export interface ObjectTypeCallProperty extends BaseNode { - type: "ObjectTypeCallProperty"; - value: FlowType; - static: boolean; -} - -export interface ObjectTypeIndexer extends BaseNode { - type: "ObjectTypeIndexer"; - id: Identifier | null; - key: FlowType; - value: FlowType; - variance: Variance | null; - static: boolean; -} - -export interface ObjectTypeProperty extends BaseNode { - type: "ObjectTypeProperty"; - key: Identifier | StringLiteral; - value: FlowType; - variance: Variance | null; - kind: "init" | "get" | "set"; - method: boolean; - optional: boolean; - proto: boolean; - static: boolean; -} - -export interface ObjectTypeSpreadProperty extends BaseNode { - type: "ObjectTypeSpreadProperty"; - argument: FlowType; -} - -export interface OpaqueType extends BaseNode { - type: "OpaqueType"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - supertype: FlowType | null; - impltype: FlowType; -} - -export interface QualifiedTypeIdentifier extends BaseNode { - type: "QualifiedTypeIdentifier"; - id: Identifier; - qualification: Identifier | QualifiedTypeIdentifier; -} - -export interface StringLiteralTypeAnnotation extends BaseNode { - type: "StringLiteralTypeAnnotation"; - value: string; -} - -export interface StringTypeAnnotation extends BaseNode { - type: "StringTypeAnnotation"; -} - -export interface SymbolTypeAnnotation extends BaseNode { - type: "SymbolTypeAnnotation"; -} - -export interface ThisTypeAnnotation extends BaseNode { - type: "ThisTypeAnnotation"; -} - -export interface TupleTypeAnnotation extends BaseNode { - type: "TupleTypeAnnotation"; - types: Array; -} - -export interface TypeofTypeAnnotation extends BaseNode { - type: "TypeofTypeAnnotation"; - argument: FlowType; -} - -export interface TypeAlias extends BaseNode { - type: "TypeAlias"; - id: Identifier; - typeParameters: TypeParameterDeclaration | null; - right: FlowType; -} - -export interface TypeAnnotation extends BaseNode { - type: "TypeAnnotation"; - typeAnnotation: FlowType; -} - -export interface TypeCastExpression extends BaseNode { - type: "TypeCastExpression"; - expression: Expression; - typeAnnotation: TypeAnnotation; -} - -export interface TypeParameter extends BaseNode { - type: "TypeParameter"; - bound: TypeAnnotation | null; - default: FlowType | null; - variance: Variance | null; - name: string; -} - -export interface TypeParameterDeclaration extends BaseNode { - type: "TypeParameterDeclaration"; - params: Array; -} - -export interface TypeParameterInstantiation extends BaseNode { - type: "TypeParameterInstantiation"; - params: Array; -} - -export interface UnionTypeAnnotation extends BaseNode { - type: "UnionTypeAnnotation"; - types: Array; -} - -export interface Variance extends BaseNode { - type: "Variance"; - kind: "minus" | "plus"; -} - -export interface VoidTypeAnnotation extends BaseNode { - type: "VoidTypeAnnotation"; -} - -export interface EnumDeclaration extends BaseNode { - type: "EnumDeclaration"; - id: Identifier; - body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; -} - -export interface EnumBooleanBody extends BaseNode { - type: "EnumBooleanBody"; - members: Array; - explicitType: boolean; - hasUnknownMembers: boolean; -} - -export interface EnumNumberBody extends BaseNode { - type: "EnumNumberBody"; - members: Array; - explicitType: boolean; - hasUnknownMembers: boolean; -} - -export interface EnumStringBody extends BaseNode { - type: "EnumStringBody"; - members: Array; - explicitType: boolean; - hasUnknownMembers: boolean; -} - -export interface EnumSymbolBody extends BaseNode { - type: "EnumSymbolBody"; - members: Array; - hasUnknownMembers: boolean; -} - -export interface EnumBooleanMember extends BaseNode { - type: "EnumBooleanMember"; - id: Identifier; - init: BooleanLiteral; -} - -export interface EnumNumberMember extends BaseNode { - type: "EnumNumberMember"; - id: Identifier; - init: NumericLiteral; -} - -export interface EnumStringMember extends BaseNode { - type: "EnumStringMember"; - id: Identifier; - init: StringLiteral; -} - -export interface EnumDefaultedMember extends BaseNode { - type: "EnumDefaultedMember"; - id: Identifier; -} - -export interface IndexedAccessType extends BaseNode { - type: "IndexedAccessType"; - objectType: FlowType; - indexType: FlowType; -} - -export interface OptionalIndexedAccessType extends BaseNode { - type: "OptionalIndexedAccessType"; - objectType: FlowType; - indexType: FlowType; - optional: boolean; -} - -export interface JSXAttribute extends BaseNode { - type: "JSXAttribute"; - name: JSXIdentifier | JSXNamespacedName; - value: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null; -} - -export interface JSXClosingElement extends BaseNode { - type: "JSXClosingElement"; - name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; -} - -export interface JSXElement extends BaseNode { - type: "JSXElement"; - openingElement: JSXOpeningElement; - closingElement: JSXClosingElement | null; - children: Array; - selfClosing: boolean | null; -} - -export interface JSXEmptyExpression extends BaseNode { - type: "JSXEmptyExpression"; -} - -export interface JSXExpressionContainer extends BaseNode { - type: "JSXExpressionContainer"; - expression: Expression | JSXEmptyExpression; -} - -export interface JSXSpreadChild extends BaseNode { - type: "JSXSpreadChild"; - expression: Expression; -} - -export interface JSXIdentifier extends BaseNode { - type: "JSXIdentifier"; - name: string; -} - -export interface JSXMemberExpression extends BaseNode { - type: "JSXMemberExpression"; - object: JSXMemberExpression | JSXIdentifier; - property: JSXIdentifier; -} - -export interface JSXNamespacedName extends BaseNode { - type: "JSXNamespacedName"; - namespace: JSXIdentifier; - name: JSXIdentifier; -} - -export interface JSXOpeningElement extends BaseNode { - type: "JSXOpeningElement"; - name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; - attributes: Array; - selfClosing: boolean; - typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; -} - -export interface JSXSpreadAttribute extends BaseNode { - type: "JSXSpreadAttribute"; - argument: Expression; -} - -export interface JSXText extends BaseNode { - type: "JSXText"; - value: string; -} - -export interface JSXFragment extends BaseNode { - type: "JSXFragment"; - openingFragment: JSXOpeningFragment; - closingFragment: JSXClosingFragment; - children: Array; -} - -export interface JSXOpeningFragment extends BaseNode { - type: "JSXOpeningFragment"; -} - -export interface JSXClosingFragment extends BaseNode { - type: "JSXClosingFragment"; -} - -export interface Noop extends BaseNode { - type: "Noop"; -} - -export interface Placeholder extends BaseNode { - type: "Placeholder"; - expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern"; - name: Identifier; -} - -export interface V8IntrinsicIdentifier extends BaseNode { - type: "V8IntrinsicIdentifier"; - name: string; -} - -export interface ArgumentPlaceholder extends BaseNode { - type: "ArgumentPlaceholder"; -} - -export interface BindExpression extends BaseNode { - type: "BindExpression"; - object: Expression; - callee: Expression; -} - -export interface ImportAttribute extends BaseNode { - type: "ImportAttribute"; - key: Identifier | StringLiteral; - value: StringLiteral; -} - -export interface Decorator extends BaseNode { - type: "Decorator"; - expression: Expression; -} - -export interface DoExpression extends BaseNode { - type: "DoExpression"; - body: BlockStatement; - async: boolean; -} - -export interface ExportDefaultSpecifier extends BaseNode { - type: "ExportDefaultSpecifier"; - exported: Identifier; -} - -export interface RecordExpression extends BaseNode { - type: "RecordExpression"; - properties: Array; -} - -export interface TupleExpression extends BaseNode { - type: "TupleExpression"; - elements: Array; -} - -export interface DecimalLiteral extends BaseNode { - type: "DecimalLiteral"; - value: string; -} - -export interface ModuleExpression extends BaseNode { - type: "ModuleExpression"; - body: Program; -} - -export interface TopicReference extends BaseNode { - type: "TopicReference"; -} - -export interface PipelineTopicExpression extends BaseNode { - type: "PipelineTopicExpression"; - expression: Expression; -} - -export interface PipelineBareFunction extends BaseNode { - type: "PipelineBareFunction"; - callee: Expression; -} - -export interface PipelinePrimaryTopicReference extends BaseNode { - type: "PipelinePrimaryTopicReference"; -} - -export interface TSParameterProperty extends BaseNode { - type: "TSParameterProperty"; - parameter: Identifier | AssignmentPattern; - accessibility: "public" | "private" | "protected" | null; - decorators: Array | null; - override: boolean | null; - readonly: boolean | null; -} - -export interface TSDeclareFunction extends BaseNode { - type: "TSDeclareFunction"; - id: Identifier | null; - typeParameters: TSTypeParameterDeclaration | Noop | null; - params: Array; - returnType: TSTypeAnnotation | Noop | null; - async: boolean; - declare: boolean | null; - generator: boolean; -} - -export interface TSDeclareMethod extends BaseNode { - type: "TSDeclareMethod"; - decorators: Array | null; - key: Identifier | StringLiteral | NumericLiteral | Expression; - typeParameters: TSTypeParameterDeclaration | Noop | null; - params: Array; - returnType: TSTypeAnnotation | Noop | null; - abstract: boolean | null; - access: "public" | "private" | "protected" | null; - accessibility: "public" | "private" | "protected" | null; - async: boolean; - computed: boolean; - generator: boolean; - kind: "get" | "set" | "method" | "constructor"; - optional: boolean | null; - override: boolean; - static: boolean; -} - -export interface TSQualifiedName extends BaseNode { - type: "TSQualifiedName"; - left: TSEntityName; - right: Identifier; -} - -export interface TSCallSignatureDeclaration extends BaseNode { - type: "TSCallSignatureDeclaration"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; -} - -export interface TSConstructSignatureDeclaration extends BaseNode { - type: "TSConstructSignatureDeclaration"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; -} - -export interface TSPropertySignature extends BaseNode { - type: "TSPropertySignature"; - key: Expression; - typeAnnotation: TSTypeAnnotation | null; - initializer: Expression | null; - computed: boolean | null; - kind: "get" | "set"; - optional: boolean | null; - readonly: boolean | null; -} - -export interface TSMethodSignature extends BaseNode { - type: "TSMethodSignature"; - key: Expression; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; - computed: boolean | null; - kind: "method" | "get" | "set"; - optional: boolean | null; -} - -export interface TSIndexSignature extends BaseNode { - type: "TSIndexSignature"; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; - readonly: boolean | null; - static: boolean | null; -} - -export interface TSAnyKeyword extends BaseNode { - type: "TSAnyKeyword"; -} - -export interface TSBooleanKeyword extends BaseNode { - type: "TSBooleanKeyword"; -} - -export interface TSBigIntKeyword extends BaseNode { - type: "TSBigIntKeyword"; -} - -export interface TSIntrinsicKeyword extends BaseNode { - type: "TSIntrinsicKeyword"; -} - -export interface TSNeverKeyword extends BaseNode { - type: "TSNeverKeyword"; -} - -export interface TSNullKeyword extends BaseNode { - type: "TSNullKeyword"; -} - -export interface TSNumberKeyword extends BaseNode { - type: "TSNumberKeyword"; -} - -export interface TSObjectKeyword extends BaseNode { - type: "TSObjectKeyword"; -} - -export interface TSStringKeyword extends BaseNode { - type: "TSStringKeyword"; -} - -export interface TSSymbolKeyword extends BaseNode { - type: "TSSymbolKeyword"; -} - -export interface TSUndefinedKeyword extends BaseNode { - type: "TSUndefinedKeyword"; -} - -export interface TSUnknownKeyword extends BaseNode { - type: "TSUnknownKeyword"; -} - -export interface TSVoidKeyword extends BaseNode { - type: "TSVoidKeyword"; -} - -export interface TSThisType extends BaseNode { - type: "TSThisType"; -} - -export interface TSFunctionType extends BaseNode { - type: "TSFunctionType"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; -} - -export interface TSConstructorType extends BaseNode { - type: "TSConstructorType"; - typeParameters: TSTypeParameterDeclaration | null; - parameters: Array; - typeAnnotation: TSTypeAnnotation | null; - abstract: boolean | null; -} - -export interface TSTypeReference extends BaseNode { - type: "TSTypeReference"; - typeName: TSEntityName; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSTypePredicate extends BaseNode { - type: "TSTypePredicate"; - parameterName: Identifier | TSThisType; - typeAnnotation: TSTypeAnnotation | null; - asserts: boolean | null; -} - -export interface TSTypeQuery extends BaseNode { - type: "TSTypeQuery"; - exprName: TSEntityName | TSImportType; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSTypeLiteral extends BaseNode { - type: "TSTypeLiteral"; - members: Array; -} - -export interface TSArrayType extends BaseNode { - type: "TSArrayType"; - elementType: TSType; -} - -export interface TSTupleType extends BaseNode { - type: "TSTupleType"; - elementTypes: Array; -} - -export interface TSOptionalType extends BaseNode { - type: "TSOptionalType"; - typeAnnotation: TSType; -} - -export interface TSRestType extends BaseNode { - type: "TSRestType"; - typeAnnotation: TSType; -} - -export interface TSNamedTupleMember extends BaseNode { - type: "TSNamedTupleMember"; - label: Identifier; - elementType: TSType; - optional: boolean; -} - -export interface TSUnionType extends BaseNode { - type: "TSUnionType"; - types: Array; -} - -export interface TSIntersectionType extends BaseNode { - type: "TSIntersectionType"; - types: Array; -} - -export interface TSConditionalType extends BaseNode { - type: "TSConditionalType"; - checkType: TSType; - extendsType: TSType; - trueType: TSType; - falseType: TSType; -} - -export interface TSInferType extends BaseNode { - type: "TSInferType"; - typeParameter: TSTypeParameter; -} - -export interface TSParenthesizedType extends BaseNode { - type: "TSParenthesizedType"; - typeAnnotation: TSType; -} - -export interface TSTypeOperator extends BaseNode { - type: "TSTypeOperator"; - typeAnnotation: TSType; - operator: string; -} - -export interface TSIndexedAccessType extends BaseNode { - type: "TSIndexedAccessType"; - objectType: TSType; - indexType: TSType; -} - -export interface TSMappedType extends BaseNode { - type: "TSMappedType"; - typeParameter: TSTypeParameter; - typeAnnotation: TSType | null; - nameType: TSType | null; - optional: boolean | null; - readonly: boolean | null; -} - -export interface TSLiteralType extends BaseNode { - type: "TSLiteralType"; - literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | UnaryExpression; -} - -export interface TSExpressionWithTypeArguments extends BaseNode { - type: "TSExpressionWithTypeArguments"; - expression: TSEntityName; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSInterfaceDeclaration extends BaseNode { - type: "TSInterfaceDeclaration"; - id: Identifier; - typeParameters: TSTypeParameterDeclaration | null; - extends: Array | null; - body: TSInterfaceBody; - declare: boolean | null; -} - -export interface TSInterfaceBody extends BaseNode { - type: "TSInterfaceBody"; - body: Array; -} - -export interface TSTypeAliasDeclaration extends BaseNode { - type: "TSTypeAliasDeclaration"; - id: Identifier; - typeParameters: TSTypeParameterDeclaration | null; - typeAnnotation: TSType; - declare: boolean | null; -} - -export interface TSInstantiationExpression extends BaseNode { - type: "TSInstantiationExpression"; - expression: Expression; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSAsExpression extends BaseNode { - type: "TSAsExpression"; - expression: Expression; - typeAnnotation: TSType; -} - -export interface TSTypeAssertion extends BaseNode { - type: "TSTypeAssertion"; - typeAnnotation: TSType; - expression: Expression; -} - -export interface TSEnumDeclaration extends BaseNode { - type: "TSEnumDeclaration"; - id: Identifier; - members: Array; - const: boolean | null; - declare: boolean | null; - initializer: Expression | null; -} - -export interface TSEnumMember extends BaseNode { - type: "TSEnumMember"; - id: Identifier | StringLiteral; - initializer: Expression | null; -} - -export interface TSModuleDeclaration extends BaseNode { - type: "TSModuleDeclaration"; - id: Identifier | StringLiteral; - body: TSModuleBlock | TSModuleDeclaration; - declare: boolean | null; - global: boolean | null; -} - -export interface TSModuleBlock extends BaseNode { - type: "TSModuleBlock"; - body: Array; -} - -export interface TSImportType extends BaseNode { - type: "TSImportType"; - argument: StringLiteral; - qualifier: TSEntityName | null; - typeParameters: TSTypeParameterInstantiation | null; -} - -export interface TSImportEqualsDeclaration extends BaseNode { - type: "TSImportEqualsDeclaration"; - id: Identifier; - moduleReference: TSEntityName | TSExternalModuleReference; - importKind: "type" | "value" | null; - isExport: boolean; -} - -export interface TSExternalModuleReference extends BaseNode { - type: "TSExternalModuleReference"; - expression: StringLiteral; -} - -export interface TSNonNullExpression extends BaseNode { - type: "TSNonNullExpression"; - expression: Expression; -} - -export interface TSExportAssignment extends BaseNode { - type: "TSExportAssignment"; - expression: Expression; -} - -export interface TSNamespaceExportDeclaration extends BaseNode { - type: "TSNamespaceExportDeclaration"; - id: Identifier; -} - -export interface TSTypeAnnotation extends BaseNode { - type: "TSTypeAnnotation"; - typeAnnotation: TSType; -} - -export interface TSTypeParameterInstantiation extends BaseNode { - type: "TSTypeParameterInstantiation"; - params: Array; -} - -export interface TSTypeParameterDeclaration extends BaseNode { - type: "TSTypeParameterDeclaration"; - params: Array; -} - -export interface TSTypeParameter extends BaseNode { - type: "TSTypeParameter"; - constraint: TSType | null; - default: TSType | null; - name: string; - in: boolean | null; - out: boolean | null; -} - -/** - * @deprecated Use `NumericLiteral` - */ -export type NumberLiteral = NumericLiteral; - -/** - * @deprecated Use `RegExpLiteral` - */ -export type RegexLiteral = RegExpLiteral; - -/** - * @deprecated Use `RestElement` - */ -export type RestProperty = RestElement; - -/** - * @deprecated Use `SpreadElement` - */ -export type SpreadProperty = SpreadElement; - -export type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | File | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Identifier | IfStatement | LabeledStatement | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | Program | ObjectExpression | ObjectMethod | ObjectProperty | RestElement | ReturnStatement | SequenceExpression | ParenthesizedExpression | SwitchCase | SwitchStatement | ThisExpression | ThrowStatement | TryStatement | UnaryExpression | UpdateExpression | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | AssignmentPattern | ArrayPattern | ArrowFunctionExpression | ClassBody | ClassExpression | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ForOfStatement | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | MetaProperty | ClassMethod | ObjectPattern | SpreadElement | Super | TaggedTemplateExpression | TemplateElement | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | ExportNamespaceSpecifier | OptionalMemberExpression | OptionalCallExpression | ClassProperty | ClassAccessorProperty | ClassPrivateProperty | ClassPrivateMethod | PrivateName | StaticBlock; -export type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | SequenceExpression | ParenthesizedExpression | ThisExpression | UnaryExpression | UpdateExpression | ArrowFunctionExpression | ClassExpression | MetaProperty | Super | TaggedTemplateExpression | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | OptionalMemberExpression | OptionalCallExpression | TypeCastExpression | JSXElement | JSXFragment | BindExpression | DoExpression | RecordExpression | TupleExpression | DecimalLiteral | ModuleExpression | TopicReference | PipelineTopicExpression | PipelineBareFunction | PipelinePrimaryTopicReference | TSInstantiationExpression | TSAsExpression | TSTypeAssertion | TSNonNullExpression; -export type Binary = BinaryExpression | LogicalExpression; -export type Scopable = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ClassExpression | ClassDeclaration | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; -export type BlockParent = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; -export type Block = BlockStatement | Program | TSModuleBlock; -export type Statement = BlockStatement | BreakStatement | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | ForInStatement | ForStatement | FunctionDeclaration | IfStatement | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | VariableDeclaration | WhileStatement | WithStatement | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ForOfStatement | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration | TSExportAssignment | TSNamespaceExportDeclaration; -export type Terminatorless = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement | YieldExpression | AwaitExpression; -export type CompletionStatement = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement; -export type Conditional = ConditionalExpression | IfStatement; -export type Loop = DoWhileStatement | ForInStatement | ForStatement | WhileStatement | ForOfStatement; -export type While = DoWhileStatement | WhileStatement; -export type ExpressionWrapper = ExpressionStatement | ParenthesizedExpression | TypeCastExpression; -export type For = ForInStatement | ForStatement | ForOfStatement; -export type ForXStatement = ForInStatement | ForOfStatement; -export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod; -export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock; -export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral; -export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration; -export type PatternLike = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSAsExpression | TSTypeAssertion | TSNonNullExpression; -export type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty | TSAsExpression | TSTypeAssertion | TSNonNullExpression; -export type TSEntityName = Identifier | TSQualifiedName; -export type Literal = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | TemplateLiteral | BigIntLiteral | DecimalLiteral; -export type Immutable = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | BigIntLiteral | JSXAttribute | JSXClosingElement | JSXElement | JSXExpressionContainer | JSXSpreadChild | JSXOpeningElement | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment | DecimalLiteral; -export type UserWhitespacable = ObjectMethod | ObjectProperty | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty; -export type Method = ObjectMethod | ClassMethod | ClassPrivateMethod; -export type ObjectMember = ObjectMethod | ObjectProperty; -export type Property = ObjectProperty | ClassProperty | ClassAccessorProperty | ClassPrivateProperty; -export type UnaryLike = UnaryExpression | SpreadElement; -export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern; -export type Class = ClassExpression | ClassDeclaration; -export type ModuleDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration; -export type ExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration; -export type ModuleSpecifier = ExportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ExportNamespaceSpecifier | ExportDefaultSpecifier; -export type Accessor = ClassAccessorProperty; -export type Private = ClassPrivateProperty | ClassPrivateMethod | PrivateName; -export type Flow = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ClassImplements | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | DeclaredPredicate | ExistsTypeAnnotation | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | InferredPredicate | InterfaceExtends | InterfaceDeclaration | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | QualifiedTypeIdentifier | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | UnionTypeAnnotation | Variance | VoidTypeAnnotation | EnumDeclaration | EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody | EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember | IndexedAccessType | OptionalIndexedAccessType; -export type FlowType = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ExistsTypeAnnotation | FunctionTypeAnnotation | GenericTypeAnnotation | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | UnionTypeAnnotation | VoidTypeAnnotation | IndexedAccessType | OptionalIndexedAccessType; -export type FlowBaseAnnotation = AnyTypeAnnotation | BooleanTypeAnnotation | NullLiteralTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NumberTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | VoidTypeAnnotation; -export type FlowDeclaration = DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias; -export type FlowPredicate = DeclaredPredicate | InferredPredicate; -export type EnumBody = EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; -export type EnumMember = EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember; -export type JSX = JSXAttribute | JSXClosingElement | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXSpreadChild | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXSpreadAttribute | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment; -export type Miscellaneous = Noop | Placeholder | V8IntrinsicIdentifier; -export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSTypeAssertion | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter; -export type TSTypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature; -export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType; -export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSLiteralType; - -export interface Aliases { - Standardized: Standardized; - Expression: Expression; - Binary: Binary; - Scopable: Scopable; - BlockParent: BlockParent; - Block: Block; - Statement: Statement; - Terminatorless: Terminatorless; - CompletionStatement: CompletionStatement; - Conditional: Conditional; - Loop: Loop; - While: While; - ExpressionWrapper: ExpressionWrapper; - For: For; - ForXStatement: ForXStatement; - Function: Function; - FunctionParent: FunctionParent; - Pureish: Pureish; - Declaration: Declaration; - PatternLike: PatternLike; - LVal: LVal; - TSEntityName: TSEntityName; - Literal: Literal; - Immutable: Immutable; - UserWhitespacable: UserWhitespacable; - Method: Method; - ObjectMember: ObjectMember; - Property: Property; - UnaryLike: UnaryLike; - Pattern: Pattern; - Class: Class; - ModuleDeclaration: ModuleDeclaration; - ExportDeclaration: ExportDeclaration; - ModuleSpecifier: ModuleSpecifier; - Accessor: Accessor; - Private: Private; - Flow: Flow; - FlowType: FlowType; - FlowBaseAnnotation: FlowBaseAnnotation; - FlowDeclaration: FlowDeclaration; - FlowPredicate: FlowPredicate; - EnumBody: EnumBody; - EnumMember: EnumMember; - JSX: JSX; - Miscellaneous: Miscellaneous; - TypeScript: TypeScript; - TSTypeElement: TSTypeElement; - TSType: TSType; - TSBaseType: TSBaseType; -} - -export function arrayExpression(elements?: Array): ArrayExpression; -export function assignmentExpression(operator: string, left: LVal, right: Expression): AssignmentExpression; -export function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>", left: Expression | PrivateName, right: Expression): BinaryExpression; -export function interpreterDirective(value: string): InterpreterDirective; -export function directive(value: DirectiveLiteral): Directive; -export function directiveLiteral(value: string): DirectiveLiteral; -export function blockStatement(body: Array, directives?: Array): BlockStatement; -export function breakStatement(label?: Identifier | null): BreakStatement; -export function callExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array): CallExpression; -export function catchClause(param: Identifier | ArrayPattern | ObjectPattern | null | undefined, body: BlockStatement): CatchClause; -export function conditionalExpression(test: Expression, consequent: Expression, alternate: Expression): ConditionalExpression; -export function continueStatement(label?: Identifier | null): ContinueStatement; -export function debuggerStatement(): DebuggerStatement; -export function doWhileStatement(test: Expression, body: Statement): DoWhileStatement; -export function emptyStatement(): EmptyStatement; -export function expressionStatement(expression: Expression): ExpressionStatement; -export function file(program: Program, comments?: Array | null, tokens?: Array | null): File; -export function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement; -export function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement; -export function functionDeclaration(id: Identifier | null | undefined, params: Array, body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration; -export function functionExpression(id: Identifier | null | undefined, params: Array, body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression; -export function identifier(name: string): Identifier; -export function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement; -export function labeledStatement(label: Identifier, body: Statement): LabeledStatement; -export function stringLiteral(value: string): StringLiteral; -export function numericLiteral(value: number): NumericLiteral; -export function nullLiteral(): NullLiteral; -export function booleanLiteral(value: boolean): BooleanLiteral; -export function regExpLiteral(pattern: string, flags?: string): RegExpLiteral; -export function logicalExpression(operator: "||" | "&&" | "??", left: Expression, right: Expression): LogicalExpression; -export function memberExpression(object: Expression, property: Expression | Identifier | PrivateName, computed?: boolean, optional?: true | false | null): MemberExpression; -export function newExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array): NewExpression; -export function program(body: Array, directives?: Array, sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program; -export function objectExpression(properties: Array): ObjectExpression; -export function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral, params: Array, body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod; -export function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Array | null): ObjectProperty; -export function restElement(argument: LVal): RestElement; -export function returnStatement(argument?: Expression | null): ReturnStatement; -export function sequenceExpression(expressions: Array): SequenceExpression; -export function parenthesizedExpression(expression: Expression): ParenthesizedExpression; -export function switchCase(test: Expression | null | undefined, consequent: Array): SwitchCase; -export function switchStatement(discriminant: Expression, cases: Array): SwitchStatement; -export function thisExpression(): ThisExpression; -export function throwStatement(argument: Expression): ThrowStatement; -export function tryStatement(block: BlockStatement, handler?: CatchClause | null, finalizer?: BlockStatement | null): TryStatement; -export function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression; -export function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression; -export function variableDeclaration(kind: "var" | "let" | "const", declarations: Array): VariableDeclaration; -export function variableDeclarator(id: LVal, init?: Expression | null): VariableDeclarator; -export function whileStatement(test: Expression, body: Statement): WhileStatement; -export function withStatement(object: Expression, body: Statement): WithStatement; -export function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSTypeAssertion | TSNonNullExpression, right: Expression): AssignmentPattern; -export function arrayPattern(elements: Array): ArrayPattern; -export function arrowFunctionExpression(params: Array, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression; -export function classBody(body: Array): ClassBody; -export function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array | null): ClassExpression; -export function classDeclaration(id: Identifier, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array | null): ClassDeclaration; -export function exportAllDeclaration(source: StringLiteral): ExportAllDeclaration; -export function exportDefaultDeclaration(declaration: FunctionDeclaration | ClassDeclaration | Expression): ExportDefaultDeclaration; -export function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: Array, source?: StringLiteral | null): ExportNamedDeclaration; -export function exportSpecifier(local: Identifier, exported: Identifier | StringLiteral): ExportSpecifier; -export function forOfStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement, _await?: boolean): ForOfStatement; -export function importDeclaration(specifiers: Array, source: StringLiteral): ImportDeclaration; -export function importDefaultSpecifier(local: Identifier): ImportDefaultSpecifier; -export function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpecifier; -export function importSpecifier(local: Identifier, imported: Identifier | StringLiteral): ImportSpecifier; -export function metaProperty(meta: Identifier, property: Identifier): MetaProperty; -export function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | Expression, params: Array, body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod; -export function objectPattern(properties: Array): ObjectPattern; -export function spreadElement(argument: Expression): SpreadElement; -declare function _super(): Super; -export { _super as super} -export function taggedTemplateExpression(tag: Expression, quasi: TemplateLiteral): TaggedTemplateExpression; -export function templateElement(value: { raw: string, cooked?: string }, tail?: boolean): TemplateElement; -export function templateLiteral(quasis: Array, expressions: Array): TemplateLiteral; -export function yieldExpression(argument?: Expression | null, delegate?: boolean): YieldExpression; -export function awaitExpression(argument: Expression): AwaitExpression; -declare function _import(): Import; -export { _import as import} -export function bigIntLiteral(value: string): BigIntLiteral; -export function exportNamespaceSpecifier(exported: Identifier): ExportNamespaceSpecifier; -export function optionalMemberExpression(object: Expression, property: Expression | Identifier, computed: boolean | undefined, optional: boolean): OptionalMemberExpression; -export function optionalCallExpression(callee: Expression, _arguments: Array, optional: boolean): OptionalCallExpression; -export function classProperty(key: Identifier | StringLiteral | NumericLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Array | null, computed?: boolean, _static?: boolean): ClassProperty; -export function classAccessorProperty(key: Identifier | StringLiteral | NumericLiteral | Expression | PrivateName, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Array | null, computed?: boolean, _static?: boolean): ClassAccessorProperty; -export function classPrivateProperty(key: PrivateName, value: Expression | null | undefined, decorators: Array | null | undefined, _static: any): ClassPrivateProperty; -export function classPrivateMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: PrivateName, params: Array, body: BlockStatement, _static?: boolean): ClassPrivateMethod; -export function privateName(id: Identifier): PrivateName; -export function staticBlock(body: Array): StaticBlock; -export function anyTypeAnnotation(): AnyTypeAnnotation; -export function arrayTypeAnnotation(elementType: FlowType): ArrayTypeAnnotation; -export function booleanTypeAnnotation(): BooleanTypeAnnotation; -export function booleanLiteralTypeAnnotation(value: boolean): BooleanLiteralTypeAnnotation; -export function nullLiteralTypeAnnotation(): NullLiteralTypeAnnotation; -export function classImplements(id: Identifier, typeParameters?: TypeParameterInstantiation | null): ClassImplements; -export function declareClass(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): DeclareClass; -export function declareFunction(id: Identifier): DeclareFunction; -export function declareInterface(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): DeclareInterface; -export function declareModule(id: Identifier | StringLiteral, body: BlockStatement, kind?: "CommonJS" | "ES" | null): DeclareModule; -export function declareModuleExports(typeAnnotation: TypeAnnotation): DeclareModuleExports; -export function declareTypeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): DeclareTypeAlias; -export function declareOpaqueType(id: Identifier, typeParameters?: TypeParameterDeclaration | null, supertype?: FlowType | null): DeclareOpaqueType; -export function declareVariable(id: Identifier): DeclareVariable; -export function declareExportDeclaration(declaration?: Flow | null, specifiers?: Array | null, source?: StringLiteral | null): DeclareExportDeclaration; -export function declareExportAllDeclaration(source: StringLiteral): DeclareExportAllDeclaration; -export function declaredPredicate(value: Flow): DeclaredPredicate; -export function existsTypeAnnotation(): ExistsTypeAnnotation; -export function functionTypeAnnotation(typeParameters: TypeParameterDeclaration | null | undefined, params: Array, rest: FunctionTypeParam | null | undefined, returnType: FlowType): FunctionTypeAnnotation; -export function functionTypeParam(name: Identifier | null | undefined, typeAnnotation: FlowType): FunctionTypeParam; -export function genericTypeAnnotation(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): GenericTypeAnnotation; -export function inferredPredicate(): InferredPredicate; -export function interfaceExtends(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): InterfaceExtends; -export function interfaceDeclaration(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): InterfaceDeclaration; -export function interfaceTypeAnnotation(_extends: Array | null | undefined, body: ObjectTypeAnnotation): InterfaceTypeAnnotation; -export function intersectionTypeAnnotation(types: Array): IntersectionTypeAnnotation; -export function mixedTypeAnnotation(): MixedTypeAnnotation; -export function emptyTypeAnnotation(): EmptyTypeAnnotation; -export function nullableTypeAnnotation(typeAnnotation: FlowType): NullableTypeAnnotation; -export function numberLiteralTypeAnnotation(value: number): NumberLiteralTypeAnnotation; -export function numberTypeAnnotation(): NumberTypeAnnotation; -export function objectTypeAnnotation(properties: Array, indexers?: Array, callProperties?: Array, internalSlots?: Array, exact?: boolean): ObjectTypeAnnotation; -export function objectTypeInternalSlot(id: Identifier, value: FlowType, optional: boolean, _static: boolean, method: boolean): ObjectTypeInternalSlot; -export function objectTypeCallProperty(value: FlowType): ObjectTypeCallProperty; -export function objectTypeIndexer(id: Identifier | null | undefined, key: FlowType, value: FlowType, variance?: Variance | null): ObjectTypeIndexer; -export function objectTypeProperty(key: Identifier | StringLiteral, value: FlowType, variance?: Variance | null): ObjectTypeProperty; -export function objectTypeSpreadProperty(argument: FlowType): ObjectTypeSpreadProperty; -export function opaqueType(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, supertype: FlowType | null | undefined, impltype: FlowType): OpaqueType; -export function qualifiedTypeIdentifier(id: Identifier, qualification: Identifier | QualifiedTypeIdentifier): QualifiedTypeIdentifier; -export function stringLiteralTypeAnnotation(value: string): StringLiteralTypeAnnotation; -export function stringTypeAnnotation(): StringTypeAnnotation; -export function symbolTypeAnnotation(): SymbolTypeAnnotation; -export function thisTypeAnnotation(): ThisTypeAnnotation; -export function tupleTypeAnnotation(types: Array): TupleTypeAnnotation; -export function typeofTypeAnnotation(argument: FlowType): TypeofTypeAnnotation; -export function typeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): TypeAlias; -export function typeAnnotation(typeAnnotation: FlowType): TypeAnnotation; -export function typeCastExpression(expression: Expression, typeAnnotation: TypeAnnotation): TypeCastExpression; -export function typeParameter(bound?: TypeAnnotation | null, _default?: FlowType | null, variance?: Variance | null): TypeParameter; -export function typeParameterDeclaration(params: Array): TypeParameterDeclaration; -export function typeParameterInstantiation(params: Array): TypeParameterInstantiation; -export function unionTypeAnnotation(types: Array): UnionTypeAnnotation; -export function variance(kind: "minus" | "plus"): Variance; -export function voidTypeAnnotation(): VoidTypeAnnotation; -export function enumDeclaration(id: Identifier, body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody): EnumDeclaration; -export function enumBooleanBody(members: Array): EnumBooleanBody; -export function enumNumberBody(members: Array): EnumNumberBody; -export function enumStringBody(members: Array): EnumStringBody; -export function enumSymbolBody(members: Array): EnumSymbolBody; -export function enumBooleanMember(id: Identifier): EnumBooleanMember; -export function enumNumberMember(id: Identifier, init: NumericLiteral): EnumNumberMember; -export function enumStringMember(id: Identifier, init: StringLiteral): EnumStringMember; -export function enumDefaultedMember(id: Identifier): EnumDefaultedMember; -export function indexedAccessType(objectType: FlowType, indexType: FlowType): IndexedAccessType; -export function optionalIndexedAccessType(objectType: FlowType, indexType: FlowType): OptionalIndexedAccessType; -export function jsxAttribute(name: JSXIdentifier | JSXNamespacedName, value?: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null): JSXAttribute; -export function jsxClosingElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName): JSXClosingElement; -export function jsxElement(openingElement: JSXOpeningElement, closingElement: JSXClosingElement | null | undefined, children: Array, selfClosing?: boolean | null): JSXElement; -export function jsxEmptyExpression(): JSXEmptyExpression; -export function jsxExpressionContainer(expression: Expression | JSXEmptyExpression): JSXExpressionContainer; -export function jsxSpreadChild(expression: Expression): JSXSpreadChild; -export function jsxIdentifier(name: string): JSXIdentifier; -export function jsxMemberExpression(object: JSXMemberExpression | JSXIdentifier, property: JSXIdentifier): JSXMemberExpression; -export function jsxNamespacedName(namespace: JSXIdentifier, name: JSXIdentifier): JSXNamespacedName; -export function jsxOpeningElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName, attributes: Array, selfClosing?: boolean): JSXOpeningElement; -export function jsxSpreadAttribute(argument: Expression): JSXSpreadAttribute; -export function jsxText(value: string): JSXText; -export function jsxFragment(openingFragment: JSXOpeningFragment, closingFragment: JSXClosingFragment, children: Array): JSXFragment; -export function jsxOpeningFragment(): JSXOpeningFragment; -export function jsxClosingFragment(): JSXClosingFragment; -export function noop(): Noop; -export function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern", name: Identifier): Placeholder; -export function v8IntrinsicIdentifier(name: string): V8IntrinsicIdentifier; -export function argumentPlaceholder(): ArgumentPlaceholder; -export function bindExpression(object: Expression, callee: Expression): BindExpression; -export function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute; -export function decorator(expression: Expression): Decorator; -export function doExpression(body: BlockStatement, async?: boolean): DoExpression; -export function exportDefaultSpecifier(exported: Identifier): ExportDefaultSpecifier; -export function recordExpression(properties: Array): RecordExpression; -export function tupleExpression(elements?: Array): TupleExpression; -export function decimalLiteral(value: string): DecimalLiteral; -export function moduleExpression(body: Program): ModuleExpression; -export function topicReference(): TopicReference; -export function pipelineTopicExpression(expression: Expression): PipelineTopicExpression; -export function pipelineBareFunction(callee: Expression): PipelineBareFunction; -export function pipelinePrimaryTopicReference(): PipelinePrimaryTopicReference; -export function tsParameterProperty(parameter: Identifier | AssignmentPattern): TSParameterProperty; -export function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array, returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction; -export function tsDeclareMethod(decorators: Array | null | undefined, key: Identifier | StringLiteral | NumericLiteral | Expression, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array, returnType?: TSTypeAnnotation | Noop | null): TSDeclareMethod; -export function tsQualifiedName(left: TSEntityName, right: Identifier): TSQualifiedName; -export function tsCallSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSCallSignatureDeclaration; -export function tsConstructSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSConstructSignatureDeclaration; -export function tsPropertySignature(key: Expression, typeAnnotation?: TSTypeAnnotation | null, initializer?: Expression | null): TSPropertySignature; -export function tsMethodSignature(key: Expression, typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSMethodSignature; -export function tsIndexSignature(parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSIndexSignature; -export function tsAnyKeyword(): TSAnyKeyword; -export function tsBooleanKeyword(): TSBooleanKeyword; -export function tsBigIntKeyword(): TSBigIntKeyword; -export function tsIntrinsicKeyword(): TSIntrinsicKeyword; -export function tsNeverKeyword(): TSNeverKeyword; -export function tsNullKeyword(): TSNullKeyword; -export function tsNumberKeyword(): TSNumberKeyword; -export function tsObjectKeyword(): TSObjectKeyword; -export function tsStringKeyword(): TSStringKeyword; -export function tsSymbolKeyword(): TSSymbolKeyword; -export function tsUndefinedKeyword(): TSUndefinedKeyword; -export function tsUnknownKeyword(): TSUnknownKeyword; -export function tsVoidKeyword(): TSVoidKeyword; -export function tsThisType(): TSThisType; -export function tsFunctionType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSFunctionType; -export function tsConstructorType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSConstructorType; -export function tsTypeReference(typeName: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSTypeReference; -export function tsTypePredicate(parameterName: Identifier | TSThisType, typeAnnotation?: TSTypeAnnotation | null, asserts?: boolean | null): TSTypePredicate; -export function tsTypeQuery(exprName: TSEntityName | TSImportType, typeParameters?: TSTypeParameterInstantiation | null): TSTypeQuery; -export function tsTypeLiteral(members: Array): TSTypeLiteral; -export function tsArrayType(elementType: TSType): TSArrayType; -export function tsTupleType(elementTypes: Array): TSTupleType; -export function tsOptionalType(typeAnnotation: TSType): TSOptionalType; -export function tsRestType(typeAnnotation: TSType): TSRestType; -export function tsNamedTupleMember(label: Identifier, elementType: TSType, optional?: boolean): TSNamedTupleMember; -export function tsUnionType(types: Array): TSUnionType; -export function tsIntersectionType(types: Array): TSIntersectionType; -export function tsConditionalType(checkType: TSType, extendsType: TSType, trueType: TSType, falseType: TSType): TSConditionalType; -export function tsInferType(typeParameter: TSTypeParameter): TSInferType; -export function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType; -export function tsTypeOperator(typeAnnotation: TSType): TSTypeOperator; -export function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType; -export function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null, nameType?: TSType | null): TSMappedType; -export function tsLiteralType(literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | UnaryExpression): TSLiteralType; -export function tsExpressionWithTypeArguments(expression: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSExpressionWithTypeArguments; -export function tsInterfaceDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: TSInterfaceBody): TSInterfaceDeclaration; -export function tsInterfaceBody(body: Array): TSInterfaceBody; -export function tsTypeAliasDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, typeAnnotation: TSType): TSTypeAliasDeclaration; -export function tsInstantiationExpression(expression: Expression, typeParameters?: TSTypeParameterInstantiation | null): TSInstantiationExpression; -export function tsAsExpression(expression: Expression, typeAnnotation: TSType): TSAsExpression; -export function tsTypeAssertion(typeAnnotation: TSType, expression: Expression): TSTypeAssertion; -export function tsEnumDeclaration(id: Identifier, members: Array): TSEnumDeclaration; -export function tsEnumMember(id: Identifier | StringLiteral, initializer?: Expression | null): TSEnumMember; -export function tsModuleDeclaration(id: Identifier | StringLiteral, body: TSModuleBlock | TSModuleDeclaration): TSModuleDeclaration; -export function tsModuleBlock(body: Array): TSModuleBlock; -export function tsImportType(argument: StringLiteral, qualifier?: TSEntityName | null, typeParameters?: TSTypeParameterInstantiation | null): TSImportType; -export function tsImportEqualsDeclaration(id: Identifier, moduleReference: TSEntityName | TSExternalModuleReference): TSImportEqualsDeclaration; -export function tsExternalModuleReference(expression: StringLiteral): TSExternalModuleReference; -export function tsNonNullExpression(expression: Expression): TSNonNullExpression; -export function tsExportAssignment(expression: Expression): TSExportAssignment; -export function tsNamespaceExportDeclaration(id: Identifier): TSNamespaceExportDeclaration; -export function tsTypeAnnotation(typeAnnotation: TSType): TSTypeAnnotation; -export function tsTypeParameterInstantiation(params: Array): TSTypeParameterInstantiation; -export function tsTypeParameterDeclaration(params: Array): TSTypeParameterDeclaration; -export function tsTypeParameter(constraint: TSType | null | undefined, _default: TSType | null | undefined, name: string): TSTypeParameter; -export function isAccessor(node: object | null | undefined, opts?: object | null): node is Accessor; -export function assertAccessor(node: object | null | undefined, opts?: object | null): void; -export function isAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is AnyTypeAnnotation; -export function assertAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isArgumentPlaceholder(node: object | null | undefined, opts?: object | null): node is ArgumentPlaceholder; -export function assertArgumentPlaceholder(node: object | null | undefined, opts?: object | null): void; -export function isArrayExpression(node: object | null | undefined, opts?: object | null): node is ArrayExpression; -export function assertArrayExpression(node: object | null | undefined, opts?: object | null): void; -export function isArrayPattern(node: object | null | undefined, opts?: object | null): node is ArrayPattern; -export function assertArrayPattern(node: object | null | undefined, opts?: object | null): void; -export function isArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ArrayTypeAnnotation; -export function assertArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isArrowFunctionExpression(node: object | null | undefined, opts?: object | null): node is ArrowFunctionExpression; -export function assertArrowFunctionExpression(node: object | null | undefined, opts?: object | null): void; -export function isAssignmentExpression(node: object | null | undefined, opts?: object | null): node is AssignmentExpression; -export function assertAssignmentExpression(node: object | null | undefined, opts?: object | null): void; -export function isAssignmentPattern(node: object | null | undefined, opts?: object | null): node is AssignmentPattern; -export function assertAssignmentPattern(node: object | null | undefined, opts?: object | null): void; -export function isAwaitExpression(node: object | null | undefined, opts?: object | null): node is AwaitExpression; -export function assertAwaitExpression(node: object | null | undefined, opts?: object | null): void; -export function isBigIntLiteral(node: object | null | undefined, opts?: object | null): node is BigIntLiteral; -export function assertBigIntLiteral(node: object | null | undefined, opts?: object | null): void; -export function isBinary(node: object | null | undefined, opts?: object | null): node is Binary; -export function assertBinary(node: object | null | undefined, opts?: object | null): void; -export function isBinaryExpression(node: object | null | undefined, opts?: object | null): node is BinaryExpression; -export function assertBinaryExpression(node: object | null | undefined, opts?: object | null): void; -export function isBindExpression(node: object | null | undefined, opts?: object | null): node is BindExpression; -export function assertBindExpression(node: object | null | undefined, opts?: object | null): void; -export function isBlock(node: object | null | undefined, opts?: object | null): node is Block; -export function assertBlock(node: object | null | undefined, opts?: object | null): void; -export function isBlockParent(node: object | null | undefined, opts?: object | null): node is BlockParent; -export function assertBlockParent(node: object | null | undefined, opts?: object | null): void; -export function isBlockStatement(node: object | null | undefined, opts?: object | null): node is BlockStatement; -export function assertBlockStatement(node: object | null | undefined, opts?: object | null): void; -export function isBooleanLiteral(node: object | null | undefined, opts?: object | null): node is BooleanLiteral; -export function assertBooleanLiteral(node: object | null | undefined, opts?: object | null): void; -export function isBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanLiteralTypeAnnotation; -export function assertBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanTypeAnnotation; -export function assertBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isBreakStatement(node: object | null | undefined, opts?: object | null): node is BreakStatement; -export function assertBreakStatement(node: object | null | undefined, opts?: object | null): void; -export function isCallExpression(node: object | null | undefined, opts?: object | null): node is CallExpression; -export function assertCallExpression(node: object | null | undefined, opts?: object | null): void; -export function isCatchClause(node: object | null | undefined, opts?: object | null): node is CatchClause; -export function assertCatchClause(node: object | null | undefined, opts?: object | null): void; -export function isClass(node: object | null | undefined, opts?: object | null): node is Class; -export function assertClass(node: object | null | undefined, opts?: object | null): void; -export function isClassAccessorProperty(node: object | null | undefined, opts?: object | null): node is ClassAccessorProperty; -export function assertClassAccessorProperty(node: object | null | undefined, opts?: object | null): void; -export function isClassBody(node: object | null | undefined, opts?: object | null): node is ClassBody; -export function assertClassBody(node: object | null | undefined, opts?: object | null): void; -export function isClassDeclaration(node: object | null | undefined, opts?: object | null): node is ClassDeclaration; -export function assertClassDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isClassExpression(node: object | null | undefined, opts?: object | null): node is ClassExpression; -export function assertClassExpression(node: object | null | undefined, opts?: object | null): void; -export function isClassImplements(node: object | null | undefined, opts?: object | null): node is ClassImplements; -export function assertClassImplements(node: object | null | undefined, opts?: object | null): void; -export function isClassMethod(node: object | null | undefined, opts?: object | null): node is ClassMethod; -export function assertClassMethod(node: object | null | undefined, opts?: object | null): void; -export function isClassPrivateMethod(node: object | null | undefined, opts?: object | null): node is ClassPrivateMethod; -export function assertClassPrivateMethod(node: object | null | undefined, opts?: object | null): void; -export function isClassPrivateProperty(node: object | null | undefined, opts?: object | null): node is ClassPrivateProperty; -export function assertClassPrivateProperty(node: object | null | undefined, opts?: object | null): void; -export function isClassProperty(node: object | null | undefined, opts?: object | null): node is ClassProperty; -export function assertClassProperty(node: object | null | undefined, opts?: object | null): void; -export function isCompletionStatement(node: object | null | undefined, opts?: object | null): node is CompletionStatement; -export function assertCompletionStatement(node: object | null | undefined, opts?: object | null): void; -export function isConditional(node: object | null | undefined, opts?: object | null): node is Conditional; -export function assertConditional(node: object | null | undefined, opts?: object | null): void; -export function isConditionalExpression(node: object | null | undefined, opts?: object | null): node is ConditionalExpression; -export function assertConditionalExpression(node: object | null | undefined, opts?: object | null): void; -export function isContinueStatement(node: object | null | undefined, opts?: object | null): node is ContinueStatement; -export function assertContinueStatement(node: object | null | undefined, opts?: object | null): void; -export function isDebuggerStatement(node: object | null | undefined, opts?: object | null): node is DebuggerStatement; -export function assertDebuggerStatement(node: object | null | undefined, opts?: object | null): void; -export function isDecimalLiteral(node: object | null | undefined, opts?: object | null): node is DecimalLiteral; -export function assertDecimalLiteral(node: object | null | undefined, opts?: object | null): void; -export function isDeclaration(node: object | null | undefined, opts?: object | null): node is Declaration; -export function assertDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isDeclareClass(node: object | null | undefined, opts?: object | null): node is DeclareClass; -export function assertDeclareClass(node: object | null | undefined, opts?: object | null): void; -export function isDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportAllDeclaration; -export function assertDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportDeclaration; -export function assertDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isDeclareFunction(node: object | null | undefined, opts?: object | null): node is DeclareFunction; -export function assertDeclareFunction(node: object | null | undefined, opts?: object | null): void; -export function isDeclareInterface(node: object | null | undefined, opts?: object | null): node is DeclareInterface; -export function assertDeclareInterface(node: object | null | undefined, opts?: object | null): void; -export function isDeclareModule(node: object | null | undefined, opts?: object | null): node is DeclareModule; -export function assertDeclareModule(node: object | null | undefined, opts?: object | null): void; -export function isDeclareModuleExports(node: object | null | undefined, opts?: object | null): node is DeclareModuleExports; -export function assertDeclareModuleExports(node: object | null | undefined, opts?: object | null): void; -export function isDeclareOpaqueType(node: object | null | undefined, opts?: object | null): node is DeclareOpaqueType; -export function assertDeclareOpaqueType(node: object | null | undefined, opts?: object | null): void; -export function isDeclareTypeAlias(node: object | null | undefined, opts?: object | null): node is DeclareTypeAlias; -export function assertDeclareTypeAlias(node: object | null | undefined, opts?: object | null): void; -export function isDeclareVariable(node: object | null | undefined, opts?: object | null): node is DeclareVariable; -export function assertDeclareVariable(node: object | null | undefined, opts?: object | null): void; -export function isDeclaredPredicate(node: object | null | undefined, opts?: object | null): node is DeclaredPredicate; -export function assertDeclaredPredicate(node: object | null | undefined, opts?: object | null): void; -export function isDecorator(node: object | null | undefined, opts?: object | null): node is Decorator; -export function assertDecorator(node: object | null | undefined, opts?: object | null): void; -export function isDirective(node: object | null | undefined, opts?: object | null): node is Directive; -export function assertDirective(node: object | null | undefined, opts?: object | null): void; -export function isDirectiveLiteral(node: object | null | undefined, opts?: object | null): node is DirectiveLiteral; -export function assertDirectiveLiteral(node: object | null | undefined, opts?: object | null): void; -export function isDoExpression(node: object | null | undefined, opts?: object | null): node is DoExpression; -export function assertDoExpression(node: object | null | undefined, opts?: object | null): void; -export function isDoWhileStatement(node: object | null | undefined, opts?: object | null): node is DoWhileStatement; -export function assertDoWhileStatement(node: object | null | undefined, opts?: object | null): void; -export function isEmptyStatement(node: object | null | undefined, opts?: object | null): node is EmptyStatement; -export function assertEmptyStatement(node: object | null | undefined, opts?: object | null): void; -export function isEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is EmptyTypeAnnotation; -export function assertEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isEnumBody(node: object | null | undefined, opts?: object | null): node is EnumBody; -export function assertEnumBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumBooleanBody(node: object | null | undefined, opts?: object | null): node is EnumBooleanBody; -export function assertEnumBooleanBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumBooleanMember(node: object | null | undefined, opts?: object | null): node is EnumBooleanMember; -export function assertEnumBooleanMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumDeclaration(node: object | null | undefined, opts?: object | null): node is EnumDeclaration; -export function assertEnumDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isEnumDefaultedMember(node: object | null | undefined, opts?: object | null): node is EnumDefaultedMember; -export function assertEnumDefaultedMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumMember(node: object | null | undefined, opts?: object | null): node is EnumMember; -export function assertEnumMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumNumberBody(node: object | null | undefined, opts?: object | null): node is EnumNumberBody; -export function assertEnumNumberBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumNumberMember(node: object | null | undefined, opts?: object | null): node is EnumNumberMember; -export function assertEnumNumberMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumStringBody(node: object | null | undefined, opts?: object | null): node is EnumStringBody; -export function assertEnumStringBody(node: object | null | undefined, opts?: object | null): void; -export function isEnumStringMember(node: object | null | undefined, opts?: object | null): node is EnumStringMember; -export function assertEnumStringMember(node: object | null | undefined, opts?: object | null): void; -export function isEnumSymbolBody(node: object | null | undefined, opts?: object | null): node is EnumSymbolBody; -export function assertEnumSymbolBody(node: object | null | undefined, opts?: object | null): void; -export function isExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ExistsTypeAnnotation; -export function assertExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is ExportAllDeclaration; -export function assertExportAllDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDeclaration; -export function assertExportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDefaultDeclaration; -export function assertExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ExportDefaultSpecifier; -export function assertExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isExportNamedDeclaration(node: object | null | undefined, opts?: object | null): node is ExportNamedDeclaration; -export function assertExportNamedDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ExportNamespaceSpecifier; -export function assertExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isExportSpecifier(node: object | null | undefined, opts?: object | null): node is ExportSpecifier; -export function assertExportSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isExpression(node: object | null | undefined, opts?: object | null): node is Expression; -export function assertExpression(node: object | null | undefined, opts?: object | null): void; -export function isExpressionStatement(node: object | null | undefined, opts?: object | null): node is ExpressionStatement; -export function assertExpressionStatement(node: object | null | undefined, opts?: object | null): void; -export function isExpressionWrapper(node: object | null | undefined, opts?: object | null): node is ExpressionWrapper; -export function assertExpressionWrapper(node: object | null | undefined, opts?: object | null): void; -export function isFile(node: object | null | undefined, opts?: object | null): node is File; -export function assertFile(node: object | null | undefined, opts?: object | null): void; -export function isFlow(node: object | null | undefined, opts?: object | null): node is Flow; -export function assertFlow(node: object | null | undefined, opts?: object | null): void; -export function isFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): node is FlowBaseAnnotation; -export function assertFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isFlowDeclaration(node: object | null | undefined, opts?: object | null): node is FlowDeclaration; -export function assertFlowDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isFlowPredicate(node: object | null | undefined, opts?: object | null): node is FlowPredicate; -export function assertFlowPredicate(node: object | null | undefined, opts?: object | null): void; -export function isFlowType(node: object | null | undefined, opts?: object | null): node is FlowType; -export function assertFlowType(node: object | null | undefined, opts?: object | null): void; -export function isFor(node: object | null | undefined, opts?: object | null): node is For; -export function assertFor(node: object | null | undefined, opts?: object | null): void; -export function isForInStatement(node: object | null | undefined, opts?: object | null): node is ForInStatement; -export function assertForInStatement(node: object | null | undefined, opts?: object | null): void; -export function isForOfStatement(node: object | null | undefined, opts?: object | null): node is ForOfStatement; -export function assertForOfStatement(node: object | null | undefined, opts?: object | null): void; -export function isForStatement(node: object | null | undefined, opts?: object | null): node is ForStatement; -export function assertForStatement(node: object | null | undefined, opts?: object | null): void; -export function isForXStatement(node: object | null | undefined, opts?: object | null): node is ForXStatement; -export function assertForXStatement(node: object | null | undefined, opts?: object | null): void; -export function isFunction(node: object | null | undefined, opts?: object | null): node is Function; -export function assertFunction(node: object | null | undefined, opts?: object | null): void; -export function isFunctionDeclaration(node: object | null | undefined, opts?: object | null): node is FunctionDeclaration; -export function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isFunctionExpression(node: object | null | undefined, opts?: object | null): node is FunctionExpression; -export function assertFunctionExpression(node: object | null | undefined, opts?: object | null): void; -export function isFunctionParent(node: object | null | undefined, opts?: object | null): node is FunctionParent; -export function assertFunctionParent(node: object | null | undefined, opts?: object | null): void; -export function isFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is FunctionTypeAnnotation; -export function assertFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isFunctionTypeParam(node: object | null | undefined, opts?: object | null): node is FunctionTypeParam; -export function assertFunctionTypeParam(node: object | null | undefined, opts?: object | null): void; -export function isGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): node is GenericTypeAnnotation; -export function assertGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isIdentifier(node: object | null | undefined, opts?: object | null): node is Identifier; -export function assertIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isIfStatement(node: object | null | undefined, opts?: object | null): node is IfStatement; -export function assertIfStatement(node: object | null | undefined, opts?: object | null): void; -export function isImmutable(node: object | null | undefined, opts?: object | null): node is Immutable; -export function assertImmutable(node: object | null | undefined, opts?: object | null): void; -export function isImport(node: object | null | undefined, opts?: object | null): node is Import; -export function assertImport(node: object | null | undefined, opts?: object | null): void; -export function isImportAttribute(node: object | null | undefined, opts?: object | null): node is ImportAttribute; -export function assertImportAttribute(node: object | null | undefined, opts?: object | null): void; -export function isImportDeclaration(node: object | null | undefined, opts?: object | null): node is ImportDeclaration; -export function assertImportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ImportDefaultSpecifier; -export function assertImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ImportNamespaceSpecifier; -export function assertImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isImportSpecifier(node: object | null | undefined, opts?: object | null): node is ImportSpecifier; -export function assertImportSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isIndexedAccessType(node: object | null | undefined, opts?: object | null): node is IndexedAccessType; -export function assertIndexedAccessType(node: object | null | undefined, opts?: object | null): void; -export function isInferredPredicate(node: object | null | undefined, opts?: object | null): node is InferredPredicate; -export function assertInferredPredicate(node: object | null | undefined, opts?: object | null): void; -export function isInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is InterfaceDeclaration; -export function assertInterfaceDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isInterfaceExtends(node: object | null | undefined, opts?: object | null): node is InterfaceExtends; -export function assertInterfaceExtends(node: object | null | undefined, opts?: object | null): void; -export function isInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): node is InterfaceTypeAnnotation; -export function assertInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isInterpreterDirective(node: object | null | undefined, opts?: object | null): node is InterpreterDirective; -export function assertInterpreterDirective(node: object | null | undefined, opts?: object | null): void; -export function isIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is IntersectionTypeAnnotation; -export function assertIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isJSX(node: object | null | undefined, opts?: object | null): node is JSX; -export function assertJSX(node: object | null | undefined, opts?: object | null): void; -export function isJSXAttribute(node: object | null | undefined, opts?: object | null): node is JSXAttribute; -export function assertJSXAttribute(node: object | null | undefined, opts?: object | null): void; -export function isJSXClosingElement(node: object | null | undefined, opts?: object | null): node is JSXClosingElement; -export function assertJSXClosingElement(node: object | null | undefined, opts?: object | null): void; -export function isJSXClosingFragment(node: object | null | undefined, opts?: object | null): node is JSXClosingFragment; -export function assertJSXClosingFragment(node: object | null | undefined, opts?: object | null): void; -export function isJSXElement(node: object | null | undefined, opts?: object | null): node is JSXElement; -export function assertJSXElement(node: object | null | undefined, opts?: object | null): void; -export function isJSXEmptyExpression(node: object | null | undefined, opts?: object | null): node is JSXEmptyExpression; -export function assertJSXEmptyExpression(node: object | null | undefined, opts?: object | null): void; -export function isJSXExpressionContainer(node: object | null | undefined, opts?: object | null): node is JSXExpressionContainer; -export function assertJSXExpressionContainer(node: object | null | undefined, opts?: object | null): void; -export function isJSXFragment(node: object | null | undefined, opts?: object | null): node is JSXFragment; -export function assertJSXFragment(node: object | null | undefined, opts?: object | null): void; -export function isJSXIdentifier(node: object | null | undefined, opts?: object | null): node is JSXIdentifier; -export function assertJSXIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isJSXMemberExpression(node: object | null | undefined, opts?: object | null): node is JSXMemberExpression; -export function assertJSXMemberExpression(node: object | null | undefined, opts?: object | null): void; -export function isJSXNamespacedName(node: object | null | undefined, opts?: object | null): node is JSXNamespacedName; -export function assertJSXNamespacedName(node: object | null | undefined, opts?: object | null): void; -export function isJSXOpeningElement(node: object | null | undefined, opts?: object | null): node is JSXOpeningElement; -export function assertJSXOpeningElement(node: object | null | undefined, opts?: object | null): void; -export function isJSXOpeningFragment(node: object | null | undefined, opts?: object | null): node is JSXOpeningFragment; -export function assertJSXOpeningFragment(node: object | null | undefined, opts?: object | null): void; -export function isJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): node is JSXSpreadAttribute; -export function assertJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): void; -export function isJSXSpreadChild(node: object | null | undefined, opts?: object | null): node is JSXSpreadChild; -export function assertJSXSpreadChild(node: object | null | undefined, opts?: object | null): void; -export function isJSXText(node: object | null | undefined, opts?: object | null): node is JSXText; -export function assertJSXText(node: object | null | undefined, opts?: object | null): void; -export function isLVal(node: object | null | undefined, opts?: object | null): node is LVal; -export function assertLVal(node: object | null | undefined, opts?: object | null): void; -export function isLabeledStatement(node: object | null | undefined, opts?: object | null): node is LabeledStatement; -export function assertLabeledStatement(node: object | null | undefined, opts?: object | null): void; -export function isLiteral(node: object | null | undefined, opts?: object | null): node is Literal; -export function assertLiteral(node: object | null | undefined, opts?: object | null): void; -export function isLogicalExpression(node: object | null | undefined, opts?: object | null): node is LogicalExpression; -export function assertLogicalExpression(node: object | null | undefined, opts?: object | null): void; -export function isLoop(node: object | null | undefined, opts?: object | null): node is Loop; -export function assertLoop(node: object | null | undefined, opts?: object | null): void; -export function isMemberExpression(node: object | null | undefined, opts?: object | null): node is MemberExpression; -export function assertMemberExpression(node: object | null | undefined, opts?: object | null): void; -export function isMetaProperty(node: object | null | undefined, opts?: object | null): node is MetaProperty; -export function assertMetaProperty(node: object | null | undefined, opts?: object | null): void; -export function isMethod(node: object | null | undefined, opts?: object | null): node is Method; -export function assertMethod(node: object | null | undefined, opts?: object | null): void; -export function isMiscellaneous(node: object | null | undefined, opts?: object | null): node is Miscellaneous; -export function assertMiscellaneous(node: object | null | undefined, opts?: object | null): void; -export function isMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): node is MixedTypeAnnotation; -export function assertMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isModuleDeclaration(node: object | null | undefined, opts?: object | null): node is ModuleDeclaration; -export function assertModuleDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isModuleExpression(node: object | null | undefined, opts?: object | null): node is ModuleExpression; -export function assertModuleExpression(node: object | null | undefined, opts?: object | null): void; -export function isModuleSpecifier(node: object | null | undefined, opts?: object | null): node is ModuleSpecifier; -export function assertModuleSpecifier(node: object | null | undefined, opts?: object | null): void; -export function isNewExpression(node: object | null | undefined, opts?: object | null): node is NewExpression; -export function assertNewExpression(node: object | null | undefined, opts?: object | null): void; -export function isNoop(node: object | null | undefined, opts?: object | null): node is Noop; -export function assertNoop(node: object | null | undefined, opts?: object | null): void; -export function isNullLiteral(node: object | null | undefined, opts?: object | null): node is NullLiteral; -export function assertNullLiteral(node: object | null | undefined, opts?: object | null): void; -export function isNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullLiteralTypeAnnotation; -export function assertNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullableTypeAnnotation; -export function assertNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isNumericLiteral` */ -export function isNumberLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; -/** @deprecated Use `assertNumericLiteral` */ -export function assertNumberLiteral(node: object | null | undefined, opts?: object | null): void; -export function isNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberLiteralTypeAnnotation; -export function assertNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberTypeAnnotation; -export function assertNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isNumericLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; -export function assertNumericLiteral(node: object | null | undefined, opts?: object | null): void; -export function isObjectExpression(node: object | null | undefined, opts?: object | null): node is ObjectExpression; -export function assertObjectExpression(node: object | null | undefined, opts?: object | null): void; -export function isObjectMember(node: object | null | undefined, opts?: object | null): node is ObjectMember; -export function assertObjectMember(node: object | null | undefined, opts?: object | null): void; -export function isObjectMethod(node: object | null | undefined, opts?: object | null): node is ObjectMethod; -export function assertObjectMethod(node: object | null | undefined, opts?: object | null): void; -export function isObjectPattern(node: object | null | undefined, opts?: object | null): node is ObjectPattern; -export function assertObjectPattern(node: object | null | undefined, opts?: object | null): void; -export function isObjectProperty(node: object | null | undefined, opts?: object | null): node is ObjectProperty; -export function assertObjectProperty(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ObjectTypeAnnotation; -export function assertObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeCallProperty; -export function assertObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeIndexer(node: object | null | undefined, opts?: object | null): node is ObjectTypeIndexer; -export function assertObjectTypeIndexer(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): node is ObjectTypeInternalSlot; -export function assertObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeProperty; -export function assertObjectTypeProperty(node: object | null | undefined, opts?: object | null): void; -export function isObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeSpreadProperty; -export function assertObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): void; -export function isOpaqueType(node: object | null | undefined, opts?: object | null): node is OpaqueType; -export function assertOpaqueType(node: object | null | undefined, opts?: object | null): void; -export function isOptionalCallExpression(node: object | null | undefined, opts?: object | null): node is OptionalCallExpression; -export function assertOptionalCallExpression(node: object | null | undefined, opts?: object | null): void; -export function isOptionalIndexedAccessType(node: object | null | undefined, opts?: object | null): node is OptionalIndexedAccessType; -export function assertOptionalIndexedAccessType(node: object | null | undefined, opts?: object | null): void; -export function isOptionalMemberExpression(node: object | null | undefined, opts?: object | null): node is OptionalMemberExpression; -export function assertOptionalMemberExpression(node: object | null | undefined, opts?: object | null): void; -export function isParenthesizedExpression(node: object | null | undefined, opts?: object | null): node is ParenthesizedExpression; -export function assertParenthesizedExpression(node: object | null | undefined, opts?: object | null): void; -export function isPattern(node: object | null | undefined, opts?: object | null): node is Pattern; -export function assertPattern(node: object | null | undefined, opts?: object | null): void; -export function isPatternLike(node: object | null | undefined, opts?: object | null): node is PatternLike; -export function assertPatternLike(node: object | null | undefined, opts?: object | null): void; -export function isPipelineBareFunction(node: object | null | undefined, opts?: object | null): node is PipelineBareFunction; -export function assertPipelineBareFunction(node: object | null | undefined, opts?: object | null): void; -export function isPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): node is PipelinePrimaryTopicReference; -export function assertPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): void; -export function isPipelineTopicExpression(node: object | null | undefined, opts?: object | null): node is PipelineTopicExpression; -export function assertPipelineTopicExpression(node: object | null | undefined, opts?: object | null): void; -export function isPlaceholder(node: object | null | undefined, opts?: object | null): node is Placeholder; -export function assertPlaceholder(node: object | null | undefined, opts?: object | null): void; -export function isPrivate(node: object | null | undefined, opts?: object | null): node is Private; -export function assertPrivate(node: object | null | undefined, opts?: object | null): void; -export function isPrivateName(node: object | null | undefined, opts?: object | null): node is PrivateName; -export function assertPrivateName(node: object | null | undefined, opts?: object | null): void; -export function isProgram(node: object | null | undefined, opts?: object | null): node is Program; -export function assertProgram(node: object | null | undefined, opts?: object | null): void; -export function isProperty(node: object | null | undefined, opts?: object | null): node is Property; -export function assertProperty(node: object | null | undefined, opts?: object | null): void; -export function isPureish(node: object | null | undefined, opts?: object | null): node is Pureish; -export function assertPureish(node: object | null | undefined, opts?: object | null): void; -export function isQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): node is QualifiedTypeIdentifier; -export function assertQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isRecordExpression(node: object | null | undefined, opts?: object | null): node is RecordExpression; -export function assertRecordExpression(node: object | null | undefined, opts?: object | null): void; -export function isRegExpLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; -export function assertRegExpLiteral(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isRegExpLiteral` */ -export function isRegexLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; -/** @deprecated Use `assertRegExpLiteral` */ -export function assertRegexLiteral(node: object | null | undefined, opts?: object | null): void; -export function isRestElement(node: object | null | undefined, opts?: object | null): node is RestElement; -export function assertRestElement(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isRestElement` */ -export function isRestProperty(node: object | null | undefined, opts?: object | null): node is RestElement; -/** @deprecated Use `assertRestElement` */ -export function assertRestProperty(node: object | null | undefined, opts?: object | null): void; -export function isReturnStatement(node: object | null | undefined, opts?: object | null): node is ReturnStatement; -export function assertReturnStatement(node: object | null | undefined, opts?: object | null): void; -export function isScopable(node: object | null | undefined, opts?: object | null): node is Scopable; -export function assertScopable(node: object | null | undefined, opts?: object | null): void; -export function isSequenceExpression(node: object | null | undefined, opts?: object | null): node is SequenceExpression; -export function assertSequenceExpression(node: object | null | undefined, opts?: object | null): void; -export function isSpreadElement(node: object | null | undefined, opts?: object | null): node is SpreadElement; -export function assertSpreadElement(node: object | null | undefined, opts?: object | null): void; -/** @deprecated Use `isSpreadElement` */ -export function isSpreadProperty(node: object | null | undefined, opts?: object | null): node is SpreadElement; -/** @deprecated Use `assertSpreadElement` */ -export function assertSpreadProperty(node: object | null | undefined, opts?: object | null): void; -export function isStandardized(node: object | null | undefined, opts?: object | null): node is Standardized; -export function assertStandardized(node: object | null | undefined, opts?: object | null): void; -export function isStatement(node: object | null | undefined, opts?: object | null): node is Statement; -export function assertStatement(node: object | null | undefined, opts?: object | null): void; -export function isStaticBlock(node: object | null | undefined, opts?: object | null): node is StaticBlock; -export function assertStaticBlock(node: object | null | undefined, opts?: object | null): void; -export function isStringLiteral(node: object | null | undefined, opts?: object | null): node is StringLiteral; -export function assertStringLiteral(node: object | null | undefined, opts?: object | null): void; -export function isStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringLiteralTypeAnnotation; -export function assertStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isStringTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringTypeAnnotation; -export function assertStringTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isSuper(node: object | null | undefined, opts?: object | null): node is Super; -export function assertSuper(node: object | null | undefined, opts?: object | null): void; -export function isSwitchCase(node: object | null | undefined, opts?: object | null): node is SwitchCase; -export function assertSwitchCase(node: object | null | undefined, opts?: object | null): void; -export function isSwitchStatement(node: object | null | undefined, opts?: object | null): node is SwitchStatement; -export function assertSwitchStatement(node: object | null | undefined, opts?: object | null): void; -export function isSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): node is SymbolTypeAnnotation; -export function assertSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTSAnyKeyword(node: object | null | undefined, opts?: object | null): node is TSAnyKeyword; -export function assertTSAnyKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSArrayType(node: object | null | undefined, opts?: object | null): node is TSArrayType; -export function assertTSArrayType(node: object | null | undefined, opts?: object | null): void; -export function isTSAsExpression(node: object | null | undefined, opts?: object | null): node is TSAsExpression; -export function assertTSAsExpression(node: object | null | undefined, opts?: object | null): void; -export function isTSBaseType(node: object | null | undefined, opts?: object | null): node is TSBaseType; -export function assertTSBaseType(node: object | null | undefined, opts?: object | null): void; -export function isTSBigIntKeyword(node: object | null | undefined, opts?: object | null): node is TSBigIntKeyword; -export function assertTSBigIntKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSBooleanKeyword(node: object | null | undefined, opts?: object | null): node is TSBooleanKeyword; -export function assertTSBooleanKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSCallSignatureDeclaration; -export function assertTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSConditionalType(node: object | null | undefined, opts?: object | null): node is TSConditionalType; -export function assertTSConditionalType(node: object | null | undefined, opts?: object | null): void; -export function isTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSConstructSignatureDeclaration; -export function assertTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSConstructorType(node: object | null | undefined, opts?: object | null): node is TSConstructorType; -export function assertTSConstructorType(node: object | null | undefined, opts?: object | null): void; -export function isTSDeclareFunction(node: object | null | undefined, opts?: object | null): node is TSDeclareFunction; -export function assertTSDeclareFunction(node: object | null | undefined, opts?: object | null): void; -export function isTSDeclareMethod(node: object | null | undefined, opts?: object | null): node is TSDeclareMethod; -export function assertTSDeclareMethod(node: object | null | undefined, opts?: object | null): void; -export function isTSEntityName(node: object | null | undefined, opts?: object | null): node is TSEntityName; -export function assertTSEntityName(node: object | null | undefined, opts?: object | null): void; -export function isTSEnumDeclaration(node: object | null | undefined, opts?: object | null): node is TSEnumDeclaration; -export function assertTSEnumDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSEnumMember(node: object | null | undefined, opts?: object | null): node is TSEnumMember; -export function assertTSEnumMember(node: object | null | undefined, opts?: object | null): void; -export function isTSExportAssignment(node: object | null | undefined, opts?: object | null): node is TSExportAssignment; -export function assertTSExportAssignment(node: object | null | undefined, opts?: object | null): void; -export function isTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): node is TSExpressionWithTypeArguments; -export function assertTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): void; -export function isTSExternalModuleReference(node: object | null | undefined, opts?: object | null): node is TSExternalModuleReference; -export function assertTSExternalModuleReference(node: object | null | undefined, opts?: object | null): void; -export function isTSFunctionType(node: object | null | undefined, opts?: object | null): node is TSFunctionType; -export function assertTSFunctionType(node: object | null | undefined, opts?: object | null): void; -export function isTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): node is TSImportEqualsDeclaration; -export function assertTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSImportType(node: object | null | undefined, opts?: object | null): node is TSImportType; -export function assertTSImportType(node: object | null | undefined, opts?: object | null): void; -export function isTSIndexSignature(node: object | null | undefined, opts?: object | null): node is TSIndexSignature; -export function assertTSIndexSignature(node: object | null | undefined, opts?: object | null): void; -export function isTSIndexedAccessType(node: object | null | undefined, opts?: object | null): node is TSIndexedAccessType; -export function assertTSIndexedAccessType(node: object | null | undefined, opts?: object | null): void; -export function isTSInferType(node: object | null | undefined, opts?: object | null): node is TSInferType; -export function assertTSInferType(node: object | null | undefined, opts?: object | null): void; -export function isTSInstantiationExpression(node: object | null | undefined, opts?: object | null): node is TSInstantiationExpression; -export function assertTSInstantiationExpression(node: object | null | undefined, opts?: object | null): void; -export function isTSInterfaceBody(node: object | null | undefined, opts?: object | null): node is TSInterfaceBody; -export function assertTSInterfaceBody(node: object | null | undefined, opts?: object | null): void; -export function isTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is TSInterfaceDeclaration; -export function assertTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSIntersectionType(node: object | null | undefined, opts?: object | null): node is TSIntersectionType; -export function assertTSIntersectionType(node: object | null | undefined, opts?: object | null): void; -export function isTSIntrinsicKeyword(node: object | null | undefined, opts?: object | null): node is TSIntrinsicKeyword; -export function assertTSIntrinsicKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSLiteralType(node: object | null | undefined, opts?: object | null): node is TSLiteralType; -export function assertTSLiteralType(node: object | null | undefined, opts?: object | null): void; -export function isTSMappedType(node: object | null | undefined, opts?: object | null): node is TSMappedType; -export function assertTSMappedType(node: object | null | undefined, opts?: object | null): void; -export function isTSMethodSignature(node: object | null | undefined, opts?: object | null): node is TSMethodSignature; -export function assertTSMethodSignature(node: object | null | undefined, opts?: object | null): void; -export function isTSModuleBlock(node: object | null | undefined, opts?: object | null): node is TSModuleBlock; -export function assertTSModuleBlock(node: object | null | undefined, opts?: object | null): void; -export function isTSModuleDeclaration(node: object | null | undefined, opts?: object | null): node is TSModuleDeclaration; -export function assertTSModuleDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSNamedTupleMember(node: object | null | undefined, opts?: object | null): node is TSNamedTupleMember; -export function assertTSNamedTupleMember(node: object | null | undefined, opts?: object | null): void; -export function isTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): node is TSNamespaceExportDeclaration; -export function assertTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSNeverKeyword(node: object | null | undefined, opts?: object | null): node is TSNeverKeyword; -export function assertTSNeverKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSNonNullExpression(node: object | null | undefined, opts?: object | null): node is TSNonNullExpression; -export function assertTSNonNullExpression(node: object | null | undefined, opts?: object | null): void; -export function isTSNullKeyword(node: object | null | undefined, opts?: object | null): node is TSNullKeyword; -export function assertTSNullKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSNumberKeyword(node: object | null | undefined, opts?: object | null): node is TSNumberKeyword; -export function assertTSNumberKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSObjectKeyword(node: object | null | undefined, opts?: object | null): node is TSObjectKeyword; -export function assertTSObjectKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSOptionalType(node: object | null | undefined, opts?: object | null): node is TSOptionalType; -export function assertTSOptionalType(node: object | null | undefined, opts?: object | null): void; -export function isTSParameterProperty(node: object | null | undefined, opts?: object | null): node is TSParameterProperty; -export function assertTSParameterProperty(node: object | null | undefined, opts?: object | null): void; -export function isTSParenthesizedType(node: object | null | undefined, opts?: object | null): node is TSParenthesizedType; -export function assertTSParenthesizedType(node: object | null | undefined, opts?: object | null): void; -export function isTSPropertySignature(node: object | null | undefined, opts?: object | null): node is TSPropertySignature; -export function assertTSPropertySignature(node: object | null | undefined, opts?: object | null): void; -export function isTSQualifiedName(node: object | null | undefined, opts?: object | null): node is TSQualifiedName; -export function assertTSQualifiedName(node: object | null | undefined, opts?: object | null): void; -export function isTSRestType(node: object | null | undefined, opts?: object | null): node is TSRestType; -export function assertTSRestType(node: object | null | undefined, opts?: object | null): void; -export function isTSStringKeyword(node: object | null | undefined, opts?: object | null): node is TSStringKeyword; -export function assertTSStringKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSSymbolKeyword(node: object | null | undefined, opts?: object | null): node is TSSymbolKeyword; -export function assertTSSymbolKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSThisType(node: object | null | undefined, opts?: object | null): node is TSThisType; -export function assertTSThisType(node: object | null | undefined, opts?: object | null): void; -export function isTSTupleType(node: object | null | undefined, opts?: object | null): node is TSTupleType; -export function assertTSTupleType(node: object | null | undefined, opts?: object | null): void; -export function isTSType(node: object | null | undefined, opts?: object | null): node is TSType; -export function assertTSType(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeAliasDeclaration; -export function assertTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TSTypeAnnotation; -export function assertTSTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeAssertion(node: object | null | undefined, opts?: object | null): node is TSTypeAssertion; -export function assertTSTypeAssertion(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeElement(node: object | null | undefined, opts?: object | null): node is TSTypeElement; -export function assertTSTypeElement(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeLiteral(node: object | null | undefined, opts?: object | null): node is TSTypeLiteral; -export function assertTSTypeLiteral(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeOperator(node: object | null | undefined, opts?: object | null): node is TSTypeOperator; -export function assertTSTypeOperator(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeParameter(node: object | null | undefined, opts?: object | null): node is TSTypeParameter; -export function assertTSTypeParameter(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeParameterDeclaration; -export function assertTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TSTypeParameterInstantiation; -export function assertTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): void; -export function isTSTypePredicate(node: object | null | undefined, opts?: object | null): node is TSTypePredicate; -export function assertTSTypePredicate(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeQuery(node: object | null | undefined, opts?: object | null): node is TSTypeQuery; -export function assertTSTypeQuery(node: object | null | undefined, opts?: object | null): void; -export function isTSTypeReference(node: object | null | undefined, opts?: object | null): node is TSTypeReference; -export function assertTSTypeReference(node: object | null | undefined, opts?: object | null): void; -export function isTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): node is TSUndefinedKeyword; -export function assertTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSUnionType(node: object | null | undefined, opts?: object | null): node is TSUnionType; -export function assertTSUnionType(node: object | null | undefined, opts?: object | null): void; -export function isTSUnknownKeyword(node: object | null | undefined, opts?: object | null): node is TSUnknownKeyword; -export function assertTSUnknownKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTSVoidKeyword(node: object | null | undefined, opts?: object | null): node is TSVoidKeyword; -export function assertTSVoidKeyword(node: object | null | undefined, opts?: object | null): void; -export function isTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): node is TaggedTemplateExpression; -export function assertTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): void; -export function isTemplateElement(node: object | null | undefined, opts?: object | null): node is TemplateElement; -export function assertTemplateElement(node: object | null | undefined, opts?: object | null): void; -export function isTemplateLiteral(node: object | null | undefined, opts?: object | null): node is TemplateLiteral; -export function assertTemplateLiteral(node: object | null | undefined, opts?: object | null): void; -export function isTerminatorless(node: object | null | undefined, opts?: object | null): node is Terminatorless; -export function assertTerminatorless(node: object | null | undefined, opts?: object | null): void; -export function isThisExpression(node: object | null | undefined, opts?: object | null): node is ThisExpression; -export function assertThisExpression(node: object | null | undefined, opts?: object | null): void; -export function isThisTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ThisTypeAnnotation; -export function assertThisTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isThrowStatement(node: object | null | undefined, opts?: object | null): node is ThrowStatement; -export function assertThrowStatement(node: object | null | undefined, opts?: object | null): void; -export function isTopicReference(node: object | null | undefined, opts?: object | null): node is TopicReference; -export function assertTopicReference(node: object | null | undefined, opts?: object | null): void; -export function isTryStatement(node: object | null | undefined, opts?: object | null): node is TryStatement; -export function assertTryStatement(node: object | null | undefined, opts?: object | null): void; -export function isTupleExpression(node: object | null | undefined, opts?: object | null): node is TupleExpression; -export function assertTupleExpression(node: object | null | undefined, opts?: object | null): void; -export function isTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TupleTypeAnnotation; -export function assertTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTypeAlias(node: object | null | undefined, opts?: object | null): node is TypeAlias; -export function assertTypeAlias(node: object | null | undefined, opts?: object | null): void; -export function isTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeAnnotation; -export function assertTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isTypeCastExpression(node: object | null | undefined, opts?: object | null): node is TypeCastExpression; -export function assertTypeCastExpression(node: object | null | undefined, opts?: object | null): void; -export function isTypeParameter(node: object | null | undefined, opts?: object | null): node is TypeParameter; -export function assertTypeParameter(node: object | null | undefined, opts?: object | null): void; -export function isTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TypeParameterDeclaration; -export function assertTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TypeParameterInstantiation; -export function assertTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): void; -export function isTypeScript(node: object | null | undefined, opts?: object | null): node is TypeScript; -export function assertTypeScript(node: object | null | undefined, opts?: object | null): void; -export function isTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeofTypeAnnotation; -export function assertTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isUnaryExpression(node: object | null | undefined, opts?: object | null): node is UnaryExpression; -export function assertUnaryExpression(node: object | null | undefined, opts?: object | null): void; -export function isUnaryLike(node: object | null | undefined, opts?: object | null): node is UnaryLike; -export function assertUnaryLike(node: object | null | undefined, opts?: object | null): void; -export function isUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is UnionTypeAnnotation; -export function assertUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isUpdateExpression(node: object | null | undefined, opts?: object | null): node is UpdateExpression; -export function assertUpdateExpression(node: object | null | undefined, opts?: object | null): void; -export function isUserWhitespacable(node: object | null | undefined, opts?: object | null): node is UserWhitespacable; -export function assertUserWhitespacable(node: object | null | undefined, opts?: object | null): void; -export function isV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): node is V8IntrinsicIdentifier; -export function assertV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): void; -export function isVariableDeclaration(node: object | null | undefined, opts?: object | null): node is VariableDeclaration; -export function assertVariableDeclaration(node: object | null | undefined, opts?: object | null): void; -export function isVariableDeclarator(node: object | null | undefined, opts?: object | null): node is VariableDeclarator; -export function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): void; -export function isVariance(node: object | null | undefined, opts?: object | null): node is Variance; -export function assertVariance(node: object | null | undefined, opts?: object | null): void; -export function isVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): node is VoidTypeAnnotation; -export function assertVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): void; -export function isWhile(node: object | null | undefined, opts?: object | null): node is While; -export function assertWhile(node: object | null | undefined, opts?: object | null): void; -export function isWhileStatement(node: object | null | undefined, opts?: object | null): node is WhileStatement; -export function assertWhileStatement(node: object | null | undefined, opts?: object | null): void; -export function isWithStatement(node: object | null | undefined, opts?: object | null): node is WithStatement; -export function assertWithStatement(node: object | null | undefined, opts?: object | null): void; -export function isYieldExpression(node: object | null | undefined, opts?: object | null): node is YieldExpression; -export function assertYieldExpression(node: object | null | undefined, opts?: object | null): void; -export function assertNode(obj: any): void -export function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): StringTypeAnnotation | VoidTypeAnnotation | NumberTypeAnnotation | BooleanTypeAnnotation | GenericTypeAnnotation -export function createUnionTypeAnnotation(types: [T]): T -export function createFlowUnionType(types: [T]): T -export function createUnionTypeAnnotation(types: ReadonlyArray): UnionTypeAnnotation -export function createFlowUnionType(types: ReadonlyArray): UnionTypeAnnotation -export function buildChildren(node: { children: ReadonlyArray }): JSXElement['children'] -export function clone(n: T): T; -export function cloneDeep(n: T): T; -export function cloneDeepWithoutLoc(n: T): T; -export function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T; -export function cloneWithoutLoc(n: T): T; -export type CommentTypeShorthand = 'leading' | 'inner' | 'trailing' -export function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T -export function addComments(node: T, type: CommentTypeShorthand, comments: ReadonlyArray): T -export function inheritInnerComments(node: Node, parent: Node): void -export function inheritLeadingComments(node: Node, parent: Node): void -export function inheritsComments(node: T, parent: Node): void -export function inheritTrailingComments(node: Node, parent: Node): void -export function removeComments(node: T): T -export function ensureBlock(node: Extract): BlockStatement -export function ensureBlock = 'body'>(node: Extract>, key: K): BlockStatement -export function toBindingIdentifierName(name: { toString(): string } | null | undefined): string -export function toBlock(node: Statement | Expression, parent?: Function | null): BlockStatement -export function toComputedKey>(node: T, key?: Expression | Identifier): Expression -export function toExpression(node: Function): FunctionExpression -export function toExpression(node: Class): ClassExpression -export function toExpression(node: ExpressionStatement | Expression | Class | Function): Expression -export function toIdentifier(name: { toString(): string } | null | undefined): string -export function toKeyAlias(node: Method | Property, key?: Node): string -export function toSequenceExpression(nodes: ReadonlyArray, scope: { push(value: { id: LVal; kind: 'var'; init?: Expression}): void; buildUndefinedNode(): Node }): SequenceExpression | undefined -export function toStatement(node: AssignmentExpression, ignore?: boolean): ExpressionStatement -export function toStatement(node: Statement | AssignmentExpression, ignore?: boolean): Statement -export function toStatement(node: Class, ignore: true): ClassDeclaration | undefined -export function toStatement(node: Class, ignore?: boolean): ClassDeclaration -export function toStatement(node: Function, ignore: true): FunctionDeclaration | undefined -export function toStatement(node: Function, ignore?: boolean): FunctionDeclaration -export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore: true): Statement | undefined -export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore?: boolean): Statement -export function valueToNode(value: undefined): Identifier -export function valueToNode(value: boolean): BooleanLiteral -export function valueToNode(value: null): NullLiteral -export function valueToNode(value: string): StringLiteral -export function valueToNode(value: number): NumericLiteral | BinaryExpression | UnaryExpression -export function valueToNode(value: RegExp): RegExpLiteral -export function valueToNode(value: ReadonlyArray): ArrayExpression -export function valueToNode(value: object): ObjectExpression -export function valueToNode(value: undefined | boolean | null | string | number | RegExp | object): Expression -export function removeTypeDuplicates(types: ReadonlyArray): FlowType[] -export function appendToMemberExpression>(member: T, append: MemberExpression['property'], computed?: boolean): T -export function inherits(child: T, parent: Node | null | undefined): T -export function prependToMemberExpression>(member: T, prepend: MemberExpression['object']): T -export function removeProperties( - n: Node, - opts?: { preserveComments: boolean } | null -): void; -export function removePropertiesDeep( - n: T, - opts?: { preserveComments: boolean } | null -): T; -export function getBindingIdentifiers(node: Node, duplicates: true, outerOnly?: boolean): Record> -export function getBindingIdentifiers(node: Node, duplicates?: false, outerOnly?: boolean): Record -export function getBindingIdentifiers(node: Node, duplicates: boolean, outerOnly?: boolean): Record> -export function getOuterBindingIdentifiers(node: Node, duplicates: true): Record> -export function getOuterBindingIdentifiers(node: Node, duplicates?: false): Record -export function getOuterBindingIdentifiers(node: Node, duplicates: boolean): Record> -export type TraversalAncestors = ReadonlyArray<{ - node: Node, - key: string, - index?: number, -}>; -export type TraversalHandler = ( - this: undefined, node: Node, parent: TraversalAncestors, type: T -) => void; -export type TraversalHandlers = { - enter?: TraversalHandler, - exit?: TraversalHandler, -}; -export function traverse(n: Node, h: TraversalHandler | TraversalHandlers, state?: T): void; -export function traverseFast(n: Node, h: TraversalHandler, state?: T): void; -export function shallowEqual(actual: object, expected: T): actual is T -export function buildMatchMemberExpression(match: string, allowPartial?: boolean): (node: Node | null | undefined) => node is MemberExpression -export function is(type: T, n: Node | null | undefined, required?: undefined): n is Extract -export function is>(type: T, n: Node | null | undefined, required: Partial

): n is P -export function is

(type: string, n: Node | null | undefined, required: Partial

): n is P -export function is(type: string, n: Node | null | undefined, required?: Partial): n is Node -export function isBinding(node: Node, parent: Node, grandparent?: Node): boolean -export function isBlockScoped(node: Node): node is FunctionDeclaration | ClassDeclaration | VariableDeclaration -export function isImmutable(node: Node): node is Immutable -export function isLet(node: Node): node is VariableDeclaration -export function isNode(node: object | null | undefined): node is Node -export function isNodesEquivalent>(a: T, b: any): b is T -export function isNodesEquivalent(a: any, b: any): boolean -export function isPlaceholderType(placeholderType: Node['type'], targetType: Node['type']): boolean -export function isReferenced(node: Node, parent: Node, grandparent?: Node): boolean -export function isScope(node: Node, parent: Node): node is Scopable -export function isSpecifierDefault(specifier: ModuleSpecifier): boolean -export function isType(nodetype: string, targetType: T): nodetype is T -export function isType(nodetype: string | null | undefined, targetType: string): boolean -export function isValidES3Identifier(name: string): boolean -export function isValidIdentifier(name: string): boolean -export function isVar(node: Node): node is VariableDeclaration -export function matchesPattern(node: Node | null | undefined, match: string | ReadonlyArray, allowPartial?: boolean): node is MemberExpression -export function validate(n: Node | null | undefined, key: K, value: T[K]): void; -export function validate(n: Node, key: string, value: any): void; diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/types/license b/packages/builder/builder-webpack-provider/compiled/@babel/types/license deleted file mode 100644 index f31575ec773b..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/types/license +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-webpack-provider/compiled/@babel/types/package.json b/packages/builder/builder-webpack-provider/compiled/@babel/types/package.json deleted file mode 100644 index c47d285e73be..000000000000 --- a/packages/builder/builder-webpack-provider/compiled/@babel/types/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/types","author":"The Babel Team (https://babel.dev/team)","version":"7.18.4","license":"MIT","types":"./lib/index-legacy.d.ts"} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4a8da7b4c4c1..6a681bee6d5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -121,7 +121,9 @@ importers: packages/builder/builder-shared: specifiers: '@babel/core': ^7.21.8 + '@babel/parser': ^7.21.8 '@babel/preset-env': ^7.21.5 + '@babel/types': ^7.21.5 '@modern-js/server': workspace:* '@modern-js/types': workspace:* '@modern-js/utils': workspace:* @@ -137,6 +139,8 @@ importers: zod-validation-error: ^0.3.0 dependencies: '@babel/core': 7.21.8 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 '@modern-js/server': link:../../server/server '@modern-js/types': link:../../toolkit/types '@modern-js/utils': link:../../toolkit/utils diff --git a/scripts/prebundle/src/constant.ts b/scripts/prebundle/src/constant.ts index 0879e6a7bdd0..c6fa6618fc8e 100644 --- a/scripts/prebundle/src/constant.ts +++ b/scripts/prebundle/src/constant.ts @@ -288,26 +288,11 @@ export const TASKS: TaskConfig[] = [ 'loader-utils': '../loader-utils2', }, }, - { - name: '@babel/helper-validator-identifier', - ignoreDts: true, - }, - { - name: '@babel/parser', - ignoreDts: true, - }, - { - name: '@babel/types', - externals: { - '@babel/helper-validator-identifier': - '../helper-validator-identifier', - }, - }, { name: 'pug', externals: { - '@babel/types': '../@babel/types', - '@babel/parser': '../@babel/parser', + '@babel/types': '@babel/types', + '@babel/parser': '@babel/parser', }, afterBundle(task) { replaceFileContent( @@ -347,21 +332,6 @@ export const TASKS: TaskConfig[] = [ name: 'schema-utils3', ignoreDts: true, }, - { - name: '@babel/parser', - ignoreDts: true, - }, - { - name: '@babel/helper-validator-identifier', - ignoreDts: true, - }, - { - name: '@babel/types', - externals: { - '@babel/helper-validator-identifier': - '../helper-validator-identifier', - }, - }, { name: 'babel-loader', ignoreDts: true, From d00c68107e4c046df33f014b6a4288e12ff58646 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Fri, 19 May 2023 14:55:59 +0800 Subject: [PATCH 03/10] chore: update --- .../compiled/@babel/code-frame/index.d.ts | 1 - .../compiled/@babel/code-frame/index.js | 1 - .../compiled/@babel/code-frame/license | 22 - .../compiled/@babel/code-frame/package.json | 1 - .../compiled/@babel/generator/index.d.ts | 1 - .../compiled/@babel/generator/index.js | 1 - .../compiled/@babel/generator/license | 22 - .../compiled/@babel/generator/package.json | 1 - .../@babel/helper-annotate-as-pure/index.js | 2 +- .../compiled/@babel/highlight/index.d.ts | 1 - .../compiled/@babel/highlight/index.js | 1 - .../compiled/@babel/highlight/license | 22 - .../compiled/@babel/highlight/package.json | 1 - .../compiled/@babel/parser/index.d.ts | 1 - .../compiled/@babel/parser/index.js | 1 - .../compiled/@babel/parser/license | 19 - .../compiled/@babel/parser/package.json | 1 - .../compiled/@babel/template/index.d.ts | 1 - .../compiled/@babel/template/index.js | 1 - .../compiled/@babel/template/license | 22 - .../compiled/@babel/template/package.json | 1 - .../compiled/@babel/traverse/index.d.ts | 1 - .../compiled/@babel/traverse/index.js | 1 - .../compiled/@babel/traverse/license | 22 - .../compiled/@babel/traverse/package.json | 1 - .../compiled/@babel/types/index.js | 1 - .../@babel/types/lib/index-legacy.d.ts | 2732 ---------------- .../compiled/@babel/types/license | 22 - .../compiled/@babel/types/package.json | 1 - packages/cli/babel-preset-base/package.json | 3 + .../compiled/@babel/code-frame/index.d.ts | 1 - .../compiled/@babel/code-frame/index.js | 1 - .../compiled/@babel/code-frame/license | 22 - .../compiled/@babel/code-frame/package.json | 1 - .../compiled/@babel/generator/index.d.ts | 1 - .../compiled/@babel/generator/index.js | 1 - .../compiled/@babel/generator/license | 22 - .../compiled/@babel/generator/package.json | 1 - .../helper-validator-identifier/index.d.ts | 1 - .../helper-validator-identifier/index.js | 1 - .../helper-validator-identifier/license | 22 - .../helper-validator-identifier/package.json | 1 - .../compiled/@babel/highlight/index.d.ts | 1 - .../compiled/@babel/highlight/index.js | 1 - .../compiled/@babel/highlight/license | 22 - .../compiled/@babel/highlight/package.json | 1 - .../parser/@babel/types/lib/index-legacy.d.ts | 2742 ----------------- .../compiled/@babel/parser/index.js | 1 - .../compiled/@babel/parser/license | 19 - .../compiled/@babel/parser/package.json | 1 - .../@babel/parser/typings/babel-parser.d.ts | 214 -- .../compiled/@babel/template/index.d.ts | 1 - .../compiled/@babel/template/index.js | 1 - .../compiled/@babel/template/license | 22 - .../compiled/@babel/template/package.json | 1 - .../compiled/@babel/traverse/index.d.ts | 1199 ------- .../compiled/@babel/traverse/index.js | 1 - .../compiled/@babel/traverse/license | 22 - .../compiled/@babel/traverse/package.json | 1 - .../compiled/@babel/types/index.js | 1 - .../@babel/types/lib/index-legacy.d.ts | 2732 ---------------- .../compiled/@babel/types/license | 22 - .../compiled/@babel/types/package.json | 1 - packages/solutions/module-tools/package.json | 6 + .../solutions/module-tools/src/utils/dts.ts | 3 - .../src/utils/tspathsTransform.ts | 8 +- pnpm-lock.yaml | 487 +-- scripts/prebundle/README.md | 9 + scripts/prebundle/package.json | 29 +- scripts/prebundle/src/constant.ts | 131 +- 70 files changed, 186 insertions(+), 10476 deletions(-) delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/code-frame/index.d.ts delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/code-frame/index.js delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/code-frame/license delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/code-frame/package.json delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/generator/index.d.ts delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/generator/index.js delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/generator/license delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/generator/package.json delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/highlight/index.d.ts delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/highlight/index.js delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/highlight/license delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/highlight/package.json delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/parser/index.d.ts delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/parser/index.js delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/parser/license delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/parser/package.json delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/template/index.d.ts delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/template/index.js delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/template/license delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/template/package.json delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/traverse/index.d.ts delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/traverse/index.js delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/traverse/license delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/traverse/package.json delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/types/index.js delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/types/lib/index-legacy.d.ts delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/types/license delete mode 100644 packages/cli/babel-preset-base/compiled/@babel/types/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/code-frame/index.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/code-frame/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/code-frame/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/code-frame/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/generator/index.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/generator/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/generator/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/generator/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/helper-validator-identifier/index.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/helper-validator-identifier/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/helper-validator-identifier/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/helper-validator-identifier/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/highlight/index.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/highlight/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/highlight/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/highlight/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/parser/@babel/types/lib/index-legacy.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/parser/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/parser/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/parser/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/parser/typings/babel-parser.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/template/index.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/template/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/template/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/template/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/traverse/index.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/traverse/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/traverse/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/traverse/package.json delete mode 100644 packages/solutions/module-tools/compiled/@babel/types/index.js delete mode 100644 packages/solutions/module-tools/compiled/@babel/types/lib/index-legacy.d.ts delete mode 100644 packages/solutions/module-tools/compiled/@babel/types/license delete mode 100644 packages/solutions/module-tools/compiled/@babel/types/package.json diff --git a/packages/cli/babel-preset-base/compiled/@babel/code-frame/index.d.ts b/packages/cli/babel-preset-base/compiled/@babel/code-frame/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/cli/babel-preset-base/compiled/@babel/code-frame/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/cli/babel-preset-base/compiled/@babel/code-frame/index.js b/packages/cli/babel-preset-base/compiled/@babel/code-frame/index.js deleted file mode 100644 index 4f735d85aa35..000000000000 --- a/packages/cli/babel-preset-base/compiled/@babel/code-frame/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={367:e=>{e.exports=require("../highlight")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={exports:{}};var o=true;try{e[r](s,s.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:true});e.codeFrameColumns=codeFrameColumns;e["default"]=_default;var t=__nccwpck_require__(367);let n=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const s=/\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:o=2,linesBelow:a=3}=r||{};const i=n.line;const l=n.column;const c=s.line;const u=s.column;let f=Math.max(i-(o+1),0);let m=Math.min(t.length,c+a);if(i===-1){f=0}if(c===-1){m=t.length}const g=c-i;const d={};if(g){for(let e=0;e<=g;e++){const r=e+i;if(!l){d[r]=true}else if(e===0){const e=t[r-1].length;d[r]=[l,e-l+1]}else if(e===g){d[r]=[0,u]}else{const n=t[r-e].length;d[r]=[0,n]}}}else{if(l===u){if(l){d[i]=[l,0]}else{d[i]=true}}else{d[i]=[l,u-l]}}return{start:f,end:m,markerLines:d}}function codeFrameColumns(e,r,n={}){const o=(n.highlightCode||n.forceColor)&&(0,t.shouldHighlight)(n);const a=(0,t.getChalk)(n);const i=getDefs(a);const maybeHighlight=(e,t)=>o?e(t):t;const l=e.split(s);const{start:c,end:u,markerLines:f}=getMarkerLines(r,l,n);const m=r.start&&typeof r.start.column==="number";const g=String(u).length;const d=o?(0,t.default)(e,n):e;let _=d.split(s,u).slice(c,u).map(((e,t)=>{const r=c+1+t;const s=` ${r}`.slice(-g);const o=` ${s} |`;const a=f[r];const l=!f[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 s=a[1]||1;t=["\n ",maybeHighlight(i.gutter,o.replace(/\d/g," "))," ",r,maybeHighlight(i.marker,"^").repeat(s)].join("");if(l&&n.message){t+=" "+maybeHighlight(i.message,n.message)}}return[maybeHighlight(i.marker,">"),maybeHighlight(i.gutter,o),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(i.gutter,o)}${e.length>0?` ${e}`:""}`}})).join("\n");if(n.message&&!m){_=`${" ".repeat(g+1)}${n.message}\n${_}`}if(o){return a.reset(_)}else{return _}}function _default(e,t,r,s={}){if(!n){n=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 o={start:{column:r,line:t}};return codeFrameColumns(e,o,s)}})();module.exports=r})(); \ No newline at end of file diff --git a/packages/cli/babel-preset-base/compiled/@babel/code-frame/license b/packages/cli/babel-preset-base/compiled/@babel/code-frame/license deleted file mode 100644 index f31575ec773b..000000000000 --- a/packages/cli/babel-preset-base/compiled/@babel/code-frame/license +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/cli/babel-preset-base/compiled/@babel/code-frame/package.json b/packages/cli/babel-preset-base/compiled/@babel/code-frame/package.json deleted file mode 100644 index 79e1b12e6914..000000000000 --- a/packages/cli/babel-preset-base/compiled/@babel/code-frame/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/code-frame","author":"The Babel Team (https://babel.dev/team)","version":"7.16.7","license":"MIT","types":"index.d.ts"} diff --git a/packages/cli/babel-preset-base/compiled/@babel/generator/index.d.ts b/packages/cli/babel-preset-base/compiled/@babel/generator/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/cli/babel-preset-base/compiled/@babel/generator/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/cli/babel-preset-base/compiled/@babel/generator/index.js b/packages/cli/babel-preset-base/compiled/@babel/generator/index.js deleted file mode 100644 index eefceb65a192..000000000000 --- a/packages/cli/babel-preset-base/compiled/@babel/generator/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var t={90:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;function SourcePos(){return{identifierName:undefined,line:undefined,column:undefined,filename:undefined}}const n=/^[ \t]+$/;class Buffer{constructor(t){this._map=null;this._buf="";this._last=0;this._queue=[];this._position={line:1,column:0};this._sourcePosition=SourcePos();this._disallowedPop=null;this._map=t}get(){this._flush();const t=this._map;const e={code:this._buf.trimRight(),decodedMap:t==null?void 0:t.getDecoded(),get map(){return e.map=t?t.get():null},set map(t){Object.defineProperty(e,"map",{value:t,writable:true})},get rawMappings(){return e.rawMappings=t==null?void 0:t.getRawMappings()},set rawMappings(t){Object.defineProperty(e,"rawMappings",{value:t,writable:true})}};return e}append(t){this._flush();const{line:e,column:n,filename:i,identifierName:s}=this._sourcePosition;this._append(t,e,n,s,i)}queue(t){if(t==="\n"){while(this._queue.length>0&&n.test(this._queue[0][0])){this._queue.shift()}}const{line:e,column:i,filename:s,identifierName:r}=this._sourcePosition;this._queue.unshift([t,e,i,r,s])}queueIndentation(t){this._queue.unshift([t,undefined,undefined,undefined,undefined])}_flush(){let t;while(t=this._queue.pop()){this._append(...t)}}_append(t,e,n,i,s){this._buf+=t;this._last=t.charCodeAt(t.length-1);let r=t.indexOf("\n");let o=0;if(r!==0){this._mark(e,n,i,s)}while(r!==-1){this._position.line++;this._position.column=0;o=r+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 t;if(this._queue.length>0){const e=this._queue[0][0];t=e.charCodeAt(0)}else{t=this._last}return t}endsWithCharAndNewline(){const t=this._queue;if(t.length>0){const e=t[0][0];const n=e.charCodeAt(0);if(n!==10)return;if(t.length>1){const e=t[1][0];return e.charCodeAt(0)}else{return this._last}}}hasContent(){return this._queue.length>0||!!this._last}exactSource(t,e){this.source("start",t);e();this.source("end",t);this._disallowPop("start",t)}source(t,e){if(t&&!e)return;this._normalizePosition(t,e,this._sourcePosition)}withSource(t,e,n){if(!this._map)return n();const i=this._sourcePosition.line;const s=this._sourcePosition.column;const r=this._sourcePosition.filename;const o=this._sourcePosition.identifierName;this.source(t,e);n();if(!this._disallowedPop||this._disallowedPop.line!==i||this._disallowedPop.column!==s||this._disallowedPop.filename!==r){this._sourcePosition.line=i;this._sourcePosition.column=s;this._sourcePosition.filename=r;this._sourcePosition.identifierName=o;this._disallowedPop=null}}_disallowPop(t,e){if(t&&!e)return;this._disallowedPop=this._normalizePosition(t,e,SourcePos())}_normalizePosition(t,e,n){const i=e?e[t]:null;n.identifierName=t==="start"&&(e==null?void 0:e.identifierName)||undefined;n.line=i==null?void 0:i.line;n.column=i==null?void 0:i.column;n.filename=e==null?void 0:e.filename;return n}getCurrentColumn(){const t=this._queue.reduce(((t,e)=>e[0]+t),"");const e=t.lastIndexOf("\n");return e===-1?this._position.column+t.length:t.length-1-e}getCurrentLine(){const t=this._queue.reduce(((t,e)=>e[0]+t),"");let e=0;for(let n=0;n{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.BlockStatement=BlockStatement;e.Directive=Directive;e.DirectiveLiteral=DirectiveLiteral;e.File=File;e.InterpreterDirective=InterpreterDirective;e.Placeholder=Placeholder;e.Program=Program;function File(t){if(t.program){this.print(t.program.interpreter,t)}this.print(t.program,t)}function Program(t){this.printInnerComments(t,false);this.printSequence(t.directives,t);if(t.directives&&t.directives.length)this.newline();this.printSequence(t.body,t)}function BlockStatement(t){var e;this.token("{");this.printInnerComments(t);const n=(e=t.directives)==null?void 0:e.length;if(t.body.length||n){this.newline();this.printSequence(t.directives,t,{indent:true});if(n)this.newline();this.printSequence(t.body,t,{indent:true});this.removeTrailingNewline();this.source("end",t.loc);if(!this.endsWith(10))this.newline();this.rightBrace()}else{this.source("end",t.loc);this.token("}")}}function Directive(t){this.print(t.value,t);this.semicolon()}const n=/(?:^|[^\\])(?:\\\\)*'/;const i=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(t){const e=this.getPossibleRaw(t);if(!this.format.minified&&e!=null){this.token(e);return}const{value:s}=t;if(!i.test(s)){this.token(`"${s}"`)}else if(!n.test(s)){this.token(`'${s}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(t){this.token(`#!${t.value}\n`)}function Placeholder(t){this.token("%%");this.print(t.name);this.token("%%");if(t.expectedNode==="Statement"){this.semicolon()}}},640:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.ClassAccessorProperty=ClassAccessorProperty;e.ClassBody=ClassBody;e.ClassExpression=e.ClassDeclaration=ClassDeclaration;e.ClassMethod=ClassMethod;e.ClassPrivateMethod=ClassPrivateMethod;e.ClassPrivateProperty=ClassPrivateProperty;e.ClassProperty=ClassProperty;e.StaticBlock=StaticBlock;e._classMethodHead=_classMethodHead;var i=n(740);const{isExportDefaultDeclaration:s,isExportNamedDeclaration:r}=i;function ClassDeclaration(t,e){if(!this.format.decoratorsBeforeExport||!s(e)&&!r(e)){this.printJoin(t.decorators,t)}if(t.declare){this.word("declare");this.space()}if(t.abstract){this.word("abstract");this.space()}this.word("class");this.printInnerComments(t);if(t.id){this.space();this.print(t.id,t)}this.print(t.typeParameters,t);if(t.superClass){this.space();this.word("extends");this.space();this.print(t.superClass,t);this.print(t.superTypeParameters,t)}if(t.implements){this.space();this.word("implements");this.space();this.printList(t.implements,t)}this.space();this.print(t.body,t)}function ClassBody(t){this.token("{");this.printInnerComments(t);if(t.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(t.body,t);this.dedent();if(!this.endsWith(10))this.newline();this.rightBrace()}}function ClassProperty(t){this.printJoin(t.decorators,t);this.source("end",t.key.loc);this.tsPrintClassMemberModifiers(t,true);if(t.computed){this.token("[");this.print(t.key,t);this.token("]")}else{this._variance(t);this.print(t.key,t)}if(t.optional){this.token("?")}if(t.definite){this.token("!")}this.print(t.typeAnnotation,t);if(t.value){this.space();this.token("=");this.space();this.print(t.value,t)}this.semicolon()}function ClassAccessorProperty(t){this.printJoin(t.decorators,t);this.source("end",t.key.loc);this.tsPrintClassMemberModifiers(t,true);this.word("accessor");this.printInnerComments(t);this.space();if(t.computed){this.token("[");this.print(t.key,t);this.token("]")}else{this._variance(t);this.print(t.key,t)}if(t.optional){this.token("?")}if(t.definite){this.token("!")}this.print(t.typeAnnotation,t);if(t.value){this.space();this.token("=");this.space();this.print(t.value,t)}this.semicolon()}function ClassPrivateProperty(t){this.printJoin(t.decorators,t);if(t.static){this.word("static");this.space()}this.print(t.key,t);this.print(t.typeAnnotation,t);if(t.value){this.space();this.token("=");this.space();this.print(t.value,t)}this.semicolon()}function ClassMethod(t){this._classMethodHead(t);this.space();this.print(t.body,t)}function ClassPrivateMethod(t){this._classMethodHead(t);this.space();this.print(t.body,t)}function _classMethodHead(t){this.printJoin(t.decorators,t);this.source("end",t.key.loc);this.tsPrintClassMemberModifiers(t,false);this._methodHead(t)}function StaticBlock(t){this.word("static");this.space();this.token("{");if(t.body.length===0){this.token("}")}else{this.newline();this.printSequence(t.body,t,{indent:true});this.rightBrace()}}},774:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.LogicalExpression=e.BinaryExpression=e.AssignmentExpression=AssignmentExpression;e.AssignmentPattern=AssignmentPattern;e.AwaitExpression=void 0;e.BindExpression=BindExpression;e.CallExpression=CallExpression;e.ConditionalExpression=ConditionalExpression;e.Decorator=Decorator;e.DoExpression=DoExpression;e.EmptyStatement=EmptyStatement;e.ExpressionStatement=ExpressionStatement;e.Import=Import;e.MemberExpression=MemberExpression;e.MetaProperty=MetaProperty;e.ModuleExpression=ModuleExpression;e.NewExpression=NewExpression;e.OptionalCallExpression=OptionalCallExpression;e.OptionalMemberExpression=OptionalMemberExpression;e.ParenthesizedExpression=ParenthesizedExpression;e.PrivateName=PrivateName;e.SequenceExpression=SequenceExpression;e.Super=Super;e.ThisExpression=ThisExpression;e.UnaryExpression=UnaryExpression;e.UpdateExpression=UpdateExpression;e.V8IntrinsicIdentifier=V8IntrinsicIdentifier;e.YieldExpression=void 0;var i=n(740);var s=n(458);const{isCallExpression:r,isLiteral:o,isMemberExpression:a,isNewExpression:c}=i;function UnaryExpression(t){if(t.operator==="void"||t.operator==="delete"||t.operator==="typeof"||t.operator==="throw"){this.word(t.operator);this.space()}else{this.token(t.operator)}this.print(t.argument,t)}function DoExpression(t){if(t.async){this.word("async");this.space()}this.word("do");this.space();this.print(t.body,t)}function ParenthesizedExpression(t){this.token("(");this.print(t.expression,t);this.token(")")}function UpdateExpression(t){if(t.prefix){this.token(t.operator);this.print(t.argument,t)}else{this.startTerminatorless(true);this.print(t.argument,t);this.endTerminatorless();this.token(t.operator)}}function ConditionalExpression(t){this.print(t.test,t);this.space();this.token("?");this.space();this.print(t.consequent,t);this.space();this.token(":");this.space();this.print(t.alternate,t)}function NewExpression(t,e){this.word("new");this.space();this.print(t.callee,t);if(this.format.minified&&t.arguments.length===0&&!t.optional&&!r(e,{callee:t})&&!a(e)&&!c(e)){return}this.print(t.typeArguments,t);this.print(t.typeParameters,t);if(t.optional){this.token("?.")}this.token("(");this.printList(t.arguments,t);this.token(")")}function SequenceExpression(t){this.printList(t.expressions,t)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function isDecoratorMemberExpression(t){switch(t.type){case"Identifier":return true;case"MemberExpression":return!t.computed&&t.property.type==="Identifier"&&isDecoratorMemberExpression(t.object);default:return false}}function shouldParenthesizeDecoratorExpression(t){if(t.type==="CallExpression"){t=t.callee}if(t.type==="ParenthesizedExpression"){return false}return!isDecoratorMemberExpression(t)}function Decorator(t){this.token("@");const{expression:e}=t;if(shouldParenthesizeDecoratorExpression(e)){this.token("(");this.print(e,t);this.token(")")}else{this.print(e,t)}this.newline()}function OptionalMemberExpression(t){this.print(t.object,t);if(!t.computed&&a(t.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let e=t.computed;if(o(t.property)&&typeof t.property.value==="number"){e=true}if(t.optional){this.token("?.")}if(e){this.token("[");this.print(t.property,t);this.token("]")}else{if(!t.optional){this.token(".")}this.print(t.property,t)}}function OptionalCallExpression(t){this.print(t.callee,t);this.print(t.typeArguments,t);this.print(t.typeParameters,t);if(t.optional){this.token("?.")}this.token("(");this.printList(t.arguments,t);this.token(")")}function CallExpression(t){this.print(t.callee,t);this.print(t.typeArguments,t);this.print(t.typeParameters,t);this.token("(");this.printList(t.arguments,t);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(t){return function(e){this.word(t);if(e.delegate){this.token("*")}if(e.argument){this.space();const t=this.startTerminatorless();this.print(e.argument,e);this.endTerminatorless(t)}}}const p=buildYieldAwait("yield");e.YieldExpression=p;const l=buildYieldAwait("await");e.AwaitExpression=l;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(t){this.print(t.expression,t);this.semicolon()}function AssignmentPattern(t){this.print(t.left,t);if(t.left.optional)this.token("?");this.print(t.left.typeAnnotation,t);this.space();this.token("=");this.space();this.print(t.right,t)}function AssignmentExpression(t,e){const n=this.inForStatementInitCounter&&t.operator==="in"&&!s.needsParens(t,e);if(n){this.token("(")}this.print(t.left,t);this.space();if(t.operator==="in"||t.operator==="instanceof"){this.word(t.operator)}else{this.token(t.operator)}this.space();this.print(t.right,t);if(n){this.token(")")}}function BindExpression(t){this.print(t.object,t);this.token("::");this.print(t.callee,t)}function MemberExpression(t){this.print(t.object,t);if(!t.computed&&a(t.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let e=t.computed;if(o(t.property)&&typeof t.property.value==="number"){e=true}if(e){this.token("[");this.print(t.property,t);this.token("]")}else{this.token(".");this.print(t.property,t)}}function MetaProperty(t){this.print(t.meta,t);this.token(".");this.print(t.property,t)}function PrivateName(t){this.token("#");this.print(t.id,t)}function V8IntrinsicIdentifier(t){this.token("%");this.word(t.name)}function ModuleExpression(t){this.word("module");this.space();this.token("{");if(t.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(t.body.body,t,{indent:true});this.rightBrace()}}},818:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.AnyTypeAnnotation=AnyTypeAnnotation;e.ArrayTypeAnnotation=ArrayTypeAnnotation;e.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;e.BooleanTypeAnnotation=BooleanTypeAnnotation;e.DeclareClass=DeclareClass;e.DeclareExportAllDeclaration=DeclareExportAllDeclaration;e.DeclareExportDeclaration=DeclareExportDeclaration;e.DeclareFunction=DeclareFunction;e.DeclareInterface=DeclareInterface;e.DeclareModule=DeclareModule;e.DeclareModuleExports=DeclareModuleExports;e.DeclareOpaqueType=DeclareOpaqueType;e.DeclareTypeAlias=DeclareTypeAlias;e.DeclareVariable=DeclareVariable;e.DeclaredPredicate=DeclaredPredicate;e.EmptyTypeAnnotation=EmptyTypeAnnotation;e.EnumBooleanBody=EnumBooleanBody;e.EnumBooleanMember=EnumBooleanMember;e.EnumDeclaration=EnumDeclaration;e.EnumDefaultedMember=EnumDefaultedMember;e.EnumNumberBody=EnumNumberBody;e.EnumNumberMember=EnumNumberMember;e.EnumStringBody=EnumStringBody;e.EnumStringMember=EnumStringMember;e.EnumSymbolBody=EnumSymbolBody;e.ExistsTypeAnnotation=ExistsTypeAnnotation;e.FunctionTypeAnnotation=FunctionTypeAnnotation;e.FunctionTypeParam=FunctionTypeParam;e.IndexedAccessType=IndexedAccessType;e.InferredPredicate=InferredPredicate;e.InterfaceDeclaration=InterfaceDeclaration;e.GenericTypeAnnotation=e.ClassImplements=e.InterfaceExtends=InterfaceExtends;e.InterfaceTypeAnnotation=InterfaceTypeAnnotation;e.IntersectionTypeAnnotation=IntersectionTypeAnnotation;e.MixedTypeAnnotation=MixedTypeAnnotation;e.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;e.NullableTypeAnnotation=NullableTypeAnnotation;Object.defineProperty(e,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return r.NumericLiteral}});e.NumberTypeAnnotation=NumberTypeAnnotation;e.ObjectTypeAnnotation=ObjectTypeAnnotation;e.ObjectTypeCallProperty=ObjectTypeCallProperty;e.ObjectTypeIndexer=ObjectTypeIndexer;e.ObjectTypeInternalSlot=ObjectTypeInternalSlot;e.ObjectTypeProperty=ObjectTypeProperty;e.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;e.OpaqueType=OpaqueType;e.OptionalIndexedAccessType=OptionalIndexedAccessType;e.QualifiedTypeIdentifier=QualifiedTypeIdentifier;Object.defineProperty(e,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return r.StringLiteral}});e.StringTypeAnnotation=StringTypeAnnotation;e.SymbolTypeAnnotation=SymbolTypeAnnotation;e.ThisTypeAnnotation=ThisTypeAnnotation;e.TupleTypeAnnotation=TupleTypeAnnotation;e.TypeAlias=TypeAlias;e.TypeAnnotation=TypeAnnotation;e.TypeCastExpression=TypeCastExpression;e.TypeParameter=TypeParameter;e.TypeParameterDeclaration=e.TypeParameterInstantiation=TypeParameterInstantiation;e.TypeofTypeAnnotation=TypeofTypeAnnotation;e.UnionTypeAnnotation=UnionTypeAnnotation;e.Variance=Variance;e.VoidTypeAnnotation=VoidTypeAnnotation;e._interfaceish=_interfaceish;e._variance=_variance;var i=n(740);var s=n(330);var r=n(446);const{isDeclareExportDeclaration:o,isStatement:a}=i;function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(t){this.print(t.elementType,t);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(t){this.word(t.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(t,e){if(!o(e)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(t)}function DeclareFunction(t,e){if(!o(e)){this.word("declare");this.space()}this.word("function");this.space();this.print(t.id,t);this.print(t.id.typeAnnotation.typeAnnotation,t);if(t.predicate){this.space();this.print(t.predicate,t)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(t){this.token("%");this.word("checks");this.token("(");this.print(t.value,t);this.token(")")}function DeclareInterface(t){this.word("declare");this.space();this.InterfaceDeclaration(t)}function DeclareModule(t){this.word("declare");this.space();this.word("module");this.space();this.print(t.id,t);this.space();this.print(t.body,t)}function DeclareModuleExports(t){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(t.typeAnnotation,t)}function DeclareTypeAlias(t){this.word("declare");this.space();this.TypeAlias(t)}function DeclareOpaqueType(t,e){if(!o(e)){this.word("declare");this.space()}this.OpaqueType(t)}function DeclareVariable(t,e){if(!o(e)){this.word("declare");this.space()}this.word("var");this.space();this.print(t.id,t);this.print(t.id.typeAnnotation,t);this.semicolon()}function DeclareExportDeclaration(t){this.word("declare");this.space();this.word("export");this.space();if(t.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();s.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(t){const{id:e,body:n}=t;this.word("enum");this.space();this.print(e,t);this.print(n,t)}function enumExplicitType(t,e,n){if(n){t.space();t.word("of");t.space();t.word(e)}t.space()}function enumBody(t,e){const{members:n}=e;t.token("{");t.indent();t.newline();for(const i of n){t.print(i,e);t.newline()}if(e.hasUnknownMembers){t.token("...");t.newline()}t.dedent();t.token("}")}function EnumBooleanBody(t){const{explicitType:e}=t;enumExplicitType(this,"boolean",e);enumBody(this,t)}function EnumNumberBody(t){const{explicitType:e}=t;enumExplicitType(this,"number",e);enumBody(this,t)}function EnumStringBody(t){const{explicitType:e}=t;enumExplicitType(this,"string",e);enumBody(this,t)}function EnumSymbolBody(t){enumExplicitType(this,"symbol",true);enumBody(this,t)}function EnumDefaultedMember(t){const{id:e}=t;this.print(e,t);this.token(",")}function enumInitializedMember(t,e){const{id:n,init:i}=e;t.print(n,e);t.space();t.token("=");t.space();t.print(i,e);t.token(",")}function EnumBooleanMember(t){enumInitializedMember(this,t)}function EnumNumberMember(t){enumInitializedMember(this,t)}function EnumStringMember(t){enumInitializedMember(this,t)}function FlowExportDeclaration(t){if(t.declaration){const e=t.declaration;this.print(e,t);if(!a(e))this.semicolon()}else{this.token("{");if(t.specifiers.length){this.space();this.printList(t.specifiers,t);this.space()}this.token("}");if(t.source){this.space();this.word("from");this.space();this.print(t.source,t)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(t,e){this.print(t.typeParameters,t);this.token("(");if(t.this){this.word("this");this.token(":");this.space();this.print(t.this.typeAnnotation,t);if(t.params.length||t.rest){this.token(",");this.space()}}this.printList(t.params,t);if(t.rest){if(t.params.length){this.token(",");this.space()}this.token("...");this.print(t.rest,t)}this.token(")");if(e&&(e.type==="ObjectTypeCallProperty"||e.type==="DeclareFunction"||e.type==="ObjectTypeProperty"&&e.method)){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(t.returnType,t)}function FunctionTypeParam(t){this.print(t.name,t);if(t.optional)this.token("?");if(t.name){this.token(":");this.space()}this.print(t.typeAnnotation,t)}function InterfaceExtends(t){this.print(t.id,t);this.print(t.typeParameters,t)}function _interfaceish(t){var e;this.print(t.id,t);this.print(t.typeParameters,t);if((e=t.extends)!=null&&e.length){this.space();this.word("extends");this.space();this.printList(t.extends,t)}if(t.mixins&&t.mixins.length){this.space();this.word("mixins");this.space();this.printList(t.mixins,t)}if(t.implements&&t.implements.length){this.space();this.word("implements");this.space();this.printList(t.implements,t)}this.space();this.print(t.body,t)}function _variance(t){if(t.variance){if(t.variance.kind==="plus"){this.token("+")}else if(t.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(t){this.word("interface");this.space();this._interfaceish(t)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(t){this.word("interface");if(t.extends&&t.extends.length){this.space();this.word("extends");this.space();this.printList(t.extends,t)}this.space();this.print(t.body,t)}function IntersectionTypeAnnotation(t){this.printJoin(t.types,t,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(t){this.token("?");this.print(t.typeAnnotation,t)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(t){this.token("[");this.printList(t.types,t);this.token("]")}function TypeofTypeAnnotation(t){this.word("typeof");this.space();this.print(t.argument,t)}function TypeAlias(t){this.word("type");this.space();this.print(t.id,t);this.print(t.typeParameters,t);this.space();this.token("=");this.space();this.print(t.right,t);this.semicolon()}function TypeAnnotation(t){this.token(":");this.space();if(t.optional)this.token("?");this.print(t.typeAnnotation,t)}function TypeParameterInstantiation(t){this.token("<");this.printList(t.params,t,{});this.token(">")}function TypeParameter(t){this._variance(t);this.word(t.name);if(t.bound){this.print(t.bound,t)}if(t.default){this.space();this.token("=");this.space();this.print(t.default,t)}}function OpaqueType(t){this.word("opaque");this.space();this.word("type");this.space();this.print(t.id,t);this.print(t.typeParameters,t);if(t.supertype){this.token(":");this.space();this.print(t.supertype,t)}if(t.impltype){this.space();this.token("=");this.space();this.print(t.impltype,t)}this.semicolon()}function ObjectTypeAnnotation(t){if(t.exact){this.token("{|")}else{this.token("{")}const e=[...t.properties,...t.callProperties||[],...t.indexers||[],...t.internalSlots||[]];if(e.length){this.space();this.printJoin(e,t,{addNewlines(t){if(t&&!e[0])return 1},indent:true,statement:true,iterator:()=>{if(e.length!==1||t.inexact){this.token(",");this.space()}}});this.space()}if(t.inexact){this.indent();this.token("...");if(e.length){this.newline()}this.dedent()}if(t.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(t){if(t.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(t.id,t);this.token("]");this.token("]");if(t.optional)this.token("?");if(!t.method){this.token(":");this.space()}this.print(t.value,t)}function ObjectTypeCallProperty(t){if(t.static){this.word("static");this.space()}this.print(t.value,t)}function ObjectTypeIndexer(t){if(t.static){this.word("static");this.space()}this._variance(t);this.token("[");if(t.id){this.print(t.id,t);this.token(":");this.space()}this.print(t.key,t);this.token("]");this.token(":");this.space();this.print(t.value,t)}function ObjectTypeProperty(t){if(t.proto){this.word("proto");this.space()}if(t.static){this.word("static");this.space()}if(t.kind==="get"||t.kind==="set"){this.word(t.kind);this.space()}this._variance(t);this.print(t.key,t);if(t.optional)this.token("?");if(!t.method){this.token(":");this.space()}this.print(t.value,t)}function ObjectTypeSpreadProperty(t){this.token("...");this.print(t.argument,t)}function QualifiedTypeIdentifier(t){this.print(t.qualification,t);this.token(".");this.print(t.id,t)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(t){this.printJoin(t.types,t,{separator:orSeparator})}function TypeCastExpression(t){this.token("(");this.print(t.expression,t);this.print(t.typeAnnotation,t);this.token(")")}function Variance(t){if(t.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(t){this.print(t.objectType,t);this.token("[");this.print(t.indexType,t);this.token("]")}function OptionalIndexedAccessType(t){this.print(t.objectType,t);if(t.optional){this.token("?.")}this.token("[");this.print(t.indexType,t);this.token("]")}},561:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});var i=n(117);Object.keys(i).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===i[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return i[t]}})}));var s=n(774);Object.keys(s).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===s[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return s[t]}})}));var r=n(996);Object.keys(r).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===r[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return r[t]}})}));var o=n(640);Object.keys(o).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===o[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return o[t]}})}));var a=n(872);Object.keys(a).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===a[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return a[t]}})}));var c=n(330);Object.keys(c).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===c[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return c[t]}})}));var p=n(446);Object.keys(p).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===p[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return p[t]}})}));var l=n(818);Object.keys(l).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===l[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return l[t]}})}));var h=n(712);Object.keys(h).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===h[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return h[t]}})}));var u=n(206);Object.keys(u).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===u[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return u[t]}})}));var f=n(816);Object.keys(f).forEach((function(t){if(t==="default"||t==="__esModule")return;if(t in e&&e[t]===f[t])return;Object.defineProperty(e,t,{enumerable:true,get:function(){return f[t]}})}))},206:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.JSXAttribute=JSXAttribute;e.JSXClosingElement=JSXClosingElement;e.JSXClosingFragment=JSXClosingFragment;e.JSXElement=JSXElement;e.JSXEmptyExpression=JSXEmptyExpression;e.JSXExpressionContainer=JSXExpressionContainer;e.JSXFragment=JSXFragment;e.JSXIdentifier=JSXIdentifier;e.JSXMemberExpression=JSXMemberExpression;e.JSXNamespacedName=JSXNamespacedName;e.JSXOpeningElement=JSXOpeningElement;e.JSXOpeningFragment=JSXOpeningFragment;e.JSXSpreadAttribute=JSXSpreadAttribute;e.JSXSpreadChild=JSXSpreadChild;e.JSXText=JSXText;function JSXAttribute(t){this.print(t.name,t);if(t.value){this.token("=");this.print(t.value,t)}}function JSXIdentifier(t){this.word(t.name)}function JSXNamespacedName(t){this.print(t.namespace,t);this.token(":");this.print(t.name,t)}function JSXMemberExpression(t){this.print(t.object,t);this.token(".");this.print(t.property,t)}function JSXSpreadAttribute(t){this.token("{");this.token("...");this.print(t.argument,t);this.token("}")}function JSXExpressionContainer(t){this.token("{");this.print(t.expression,t);this.token("}")}function JSXSpreadChild(t){this.token("{");this.token("...");this.print(t.expression,t);this.token("}")}function JSXText(t){const e=this.getPossibleRaw(t);if(e!=null){this.token(e)}else{this.token(t.value)}}function JSXElement(t){const e=t.openingElement;this.print(e,t);if(e.selfClosing)return;this.indent();for(const e of t.children){this.print(e,t)}this.dedent();this.print(t.closingElement,t)}function spaceSeparator(){this.space()}function JSXOpeningElement(t){this.token("<");this.print(t.name,t);this.print(t.typeParameters,t);if(t.attributes.length>0){this.space();this.printJoin(t.attributes,t,{separator:spaceSeparator})}if(t.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(t){this.token("")}function JSXEmptyExpression(t){this.printInnerComments(t)}function JSXFragment(t){this.print(t.openingFragment,t);this.indent();for(const e of t.children){this.print(e,t)}this.dedent();this.print(t.closingFragment,t)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("")}},872:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.ArrowFunctionExpression=ArrowFunctionExpression;e.FunctionDeclaration=e.FunctionExpression=FunctionExpression;e._functionHead=_functionHead;e._methodHead=_methodHead;e._param=_param;e._parameters=_parameters;e._params=_params;e._predicate=_predicate;var i=n(740);const{isIdentifier:s}=i;function _params(t){this.print(t.typeParameters,t);this.token("(");this._parameters(t.params,t);this.token(")");this.print(t.returnType,t)}function _parameters(t,e){for(let n=0;n");this.space();this.print(t.body,t)}function hasTypesOrComments(t,e){var n,i;return!!(t.typeParameters||t.returnType||t.predicate||e.typeAnnotation||e.optional||(n=e.leadingComments)!=null&&n.length||(i=e.trailingComments)!=null&&i.length)}},330:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.ExportAllDeclaration=ExportAllDeclaration;e.ExportDefaultDeclaration=ExportDefaultDeclaration;e.ExportDefaultSpecifier=ExportDefaultSpecifier;e.ExportNamedDeclaration=ExportNamedDeclaration;e.ExportNamespaceSpecifier=ExportNamespaceSpecifier;e.ExportSpecifier=ExportSpecifier;e.ImportAttribute=ImportAttribute;e.ImportDeclaration=ImportDeclaration;e.ImportDefaultSpecifier=ImportDefaultSpecifier;e.ImportNamespaceSpecifier=ImportNamespaceSpecifier;e.ImportSpecifier=ImportSpecifier;var i=n(740);const{isClassDeclaration:s,isExportDefaultSpecifier:r,isExportNamespaceSpecifier:o,isImportDefaultSpecifier:a,isImportNamespaceSpecifier:c,isStatement:p}=i;function ImportSpecifier(t){if(t.importKind==="type"||t.importKind==="typeof"){this.word(t.importKind);this.space()}this.print(t.imported,t);if(t.local&&t.local.name!==t.imported.name){this.space();this.word("as");this.space();this.print(t.local,t)}}function ImportDefaultSpecifier(t){this.print(t.local,t)}function ExportDefaultSpecifier(t){this.print(t.exported,t)}function ExportSpecifier(t){if(t.exportKind==="type"){this.word("type");this.space()}this.print(t.local,t);if(t.exported&&t.local.name!==t.exported.name){this.space();this.word("as");this.space();this.print(t.exported,t)}}function ExportNamespaceSpecifier(t){this.token("*");this.space();this.word("as");this.space();this.print(t.exported,t)}function ExportAllDeclaration(t){this.word("export");this.space();if(t.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(t.source,t);this.printAssertions(t);this.semicolon()}function ExportNamedDeclaration(t){if(this.format.decoratorsBeforeExport&&s(t.declaration)){this.printJoin(t.declaration.decorators,t)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(t){if(this.format.decoratorsBeforeExport&&s(t.declaration)){this.printJoin(t.declaration.decorators,t)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(t){if(t.declaration){const e=t.declaration;this.print(e,t);if(!p(e))this.semicolon()}else{if(t.exportKind==="type"){this.word("type");this.space()}const e=t.specifiers.slice(0);let n=false;for(;;){const i=e[0];if(r(i)||o(i)){n=true;this.print(e.shift(),t);if(e.length){this.token(",");this.space()}}else{break}}if(e.length||!e.length&&!n){this.token("{");if(e.length){this.space();this.printList(e,t);this.space()}this.token("}")}if(t.source){this.space();this.word("from");this.space();this.print(t.source,t);this.printAssertions(t)}this.semicolon()}}function ImportDeclaration(t){this.word("import");this.space();const e=t.importKind==="type"||t.importKind==="typeof";if(e){this.word(t.importKind);this.space()}const n=t.specifiers.slice(0);const i=!!n.length;while(i){const e=n[0];if(a(e)||c(e)){this.print(n.shift(),t);if(n.length){this.token(",");this.space()}}else{break}}if(n.length){this.token("{");this.space();this.printList(n,t);this.space();this.token("}")}else if(e&&!i){this.token("{");this.token("}")}if(i||e){this.space();this.word("from");this.space()}this.print(t.source,t);this.printAssertions(t);{var s;if((s=t.attributes)!=null&&s.length){this.space();this.word("with");this.space();this.printList(t.attributes,t)}}this.semicolon()}function ImportAttribute(t){this.print(t.key);this.token(":");this.space();this.print(t.value)}function ImportNamespaceSpecifier(t){this.token("*");this.space();this.word("as");this.space();this.print(t.local,t)}},996:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.BreakStatement=void 0;e.CatchClause=CatchClause;e.ContinueStatement=void 0;e.DebuggerStatement=DebuggerStatement;e.DoWhileStatement=DoWhileStatement;e.ForOfStatement=e.ForInStatement=void 0;e.ForStatement=ForStatement;e.IfStatement=IfStatement;e.LabeledStatement=LabeledStatement;e.ReturnStatement=void 0;e.SwitchCase=SwitchCase;e.SwitchStatement=SwitchStatement;e.ThrowStatement=void 0;e.TryStatement=TryStatement;e.VariableDeclaration=VariableDeclaration;e.VariableDeclarator=VariableDeclarator;e.WhileStatement=WhileStatement;e.WithStatement=WithStatement;var i=n(740);const{isFor:s,isForStatement:r,isIfStatement:o,isStatement:a}=i;function WithStatement(t){this.word("with");this.space();this.token("(");this.print(t.object,t);this.token(")");this.printBlock(t)}function IfStatement(t){this.word("if");this.space();this.token("(");this.print(t.test,t);this.token(")");this.space();const e=t.alternate&&o(getLastStatement(t.consequent));if(e){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(t.consequent,t);if(e){this.dedent();this.newline();this.token("}")}if(t.alternate){if(this.endsWith(125))this.space();this.word("else");this.space();this.printAndIndentOnComments(t.alternate,t)}}function getLastStatement(t){if(!a(t.body))return t;return getLastStatement(t.body)}function ForStatement(t){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(t.init,t);this.inForStatementInitCounter--;this.token(";");if(t.test){this.space();this.print(t.test,t)}this.token(";");if(t.update){this.space();this.print(t.update,t)}this.token(")");this.printBlock(t)}function WhileStatement(t){this.word("while");this.space();this.token("(");this.print(t.test,t);this.token(")");this.printBlock(t)}const buildForXStatement=function(t){return function(e){this.word("for");this.space();if(t==="of"&&e.await){this.word("await");this.space()}this.token("(");this.print(e.left,e);this.space();this.word(t);this.space();this.print(e.right,e);this.token(")");this.printBlock(e)}};const c=buildForXStatement("in");e.ForInStatement=c;const p=buildForXStatement("of");e.ForOfStatement=p;function DoWhileStatement(t){this.word("do");this.space();this.print(t.body,t);this.space();this.word("while");this.space();this.token("(");this.print(t.test,t);this.token(")");this.semicolon()}function buildLabelStatement(t,e="label"){return function(n){this.word(t);const i=n[e];if(i){this.space();const t=e=="label";const s=this.startTerminatorless(t);this.print(i,n);this.endTerminatorless(s)}this.semicolon()}}const l=buildLabelStatement("continue");e.ContinueStatement=l;const h=buildLabelStatement("return","argument");e.ReturnStatement=h;const u=buildLabelStatement("break");e.BreakStatement=u;const f=buildLabelStatement("throw","argument");e.ThrowStatement=f;function LabeledStatement(t){this.print(t.label,t);this.token(":");this.space();this.print(t.body,t)}function TryStatement(t){this.word("try");this.space();this.print(t.block,t);this.space();if(t.handlers){this.print(t.handlers[0],t)}else{this.print(t.handler,t)}if(t.finalizer){this.space();this.word("finally");this.space();this.print(t.finalizer,t)}}function CatchClause(t){this.word("catch");this.space();if(t.param){this.token("(");this.print(t.param,t);this.print(t.param.typeAnnotation,t);this.token(")");this.space()}this.print(t.body,t)}function SwitchStatement(t){this.word("switch");this.space();this.token("(");this.print(t.discriminant,t);this.token(")");this.space();this.token("{");this.printSequence(t.cases,t,{indent:true,addNewlines(e,n){if(!e&&t.cases[t.cases.length-1]===n)return-1}});this.token("}")}function SwitchCase(t){if(t.test){this.word("case");this.space();this.print(t.test,t);this.token(":")}else{this.word("default");this.token(":")}if(t.consequent.length){this.newline();this.printSequence(t.consequent,t,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let t=0;t<4;t++)this.space(true)}}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let t=0;t<6;t++)this.space(true)}}function VariableDeclaration(t,e){if(t.declare){this.word("declare");this.space()}this.word(t.kind);this.space();let n=false;if(!s(e)){for(const e of t.declarations){if(e.init){n=true}}}let i;if(n){i=t.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(t.declarations,t,{separator:i});if(s(e)){if(r(e)){if(e.init===t)return}else{if(e.left===t)return}}this.semicolon()}function VariableDeclarator(t){this.print(t.id,t);if(t.definite)this.token("!");this.print(t.id.typeAnnotation,t);if(t.init){this.space();this.token("=");this.space();this.print(t.init,t)}}},117:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.TaggedTemplateExpression=TaggedTemplateExpression;e.TemplateElement=TemplateElement;e.TemplateLiteral=TemplateLiteral;function TaggedTemplateExpression(t){this.print(t.tag,t);this.print(t.typeParameters,t);this.print(t.quasi,t)}function TemplateElement(t,e){const n=e.quasis[0]===t;const i=e.quasis[e.quasis.length-1]===t;const s=(n?"`":"}")+t.value.raw+(i?"`":"${");this.token(s)}function TemplateLiteral(t){const e=t.quasis;for(let n=0;n{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.ArgumentPlaceholder=ArgumentPlaceholder;e.ArrayPattern=e.ArrayExpression=ArrayExpression;e.BigIntLiteral=BigIntLiteral;e.BooleanLiteral=BooleanLiteral;e.DecimalLiteral=DecimalLiteral;e.Identifier=Identifier;e.NullLiteral=NullLiteral;e.NumericLiteral=NumericLiteral;e.ObjectPattern=e.ObjectExpression=ObjectExpression;e.ObjectMethod=ObjectMethod;e.ObjectProperty=ObjectProperty;e.PipelineBareFunction=PipelineBareFunction;e.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;e.PipelineTopicExpression=PipelineTopicExpression;e.RecordExpression=RecordExpression;e.RegExpLiteral=RegExpLiteral;e.SpreadElement=e.RestElement=RestElement;e.StringLiteral=StringLiteral;e.TopicReference=TopicReference;e.TupleExpression=TupleExpression;var i=n(740);var s=n(95);const{isAssignmentPattern:r,isIdentifier:o}=i;function Identifier(t){this.exactSource(t.loc,(()=>{this.word(t.name)}))}function ArgumentPlaceholder(){this.token("?")}function RestElement(t){this.token("...");this.print(t.argument,t)}function ObjectExpression(t){const e=t.properties;this.token("{");this.printInnerComments(t);if(e.length){this.space();this.printList(e,t,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(t){this.printJoin(t.decorators,t);this._methodHead(t);this.space();this.print(t.body,t)}function ObjectProperty(t){this.printJoin(t.decorators,t);if(t.computed){this.token("[");this.print(t.key,t);this.token("]")}else{if(r(t.value)&&o(t.key)&&t.key.name===t.value.left.name){this.print(t.value,t);return}this.print(t.key,t);if(t.shorthand&&o(t.key)&&o(t.value)&&t.key.name===t.value.name){return}}this.token(":");this.space();this.print(t.value,t)}function ArrayExpression(t){const e=t.elements;const n=e.length;this.token("[");this.printInnerComments(t);for(let i=0;i0)this.space();this.print(s,t);if(i0)this.space();this.print(s,t);if(iJSON.stringify(t)));throw new Error(`The "topicToken" generator option must be one of `+`${n.join(", ")} (${e} received instead).`)}}function PipelineTopicExpression(t){this.print(t.expression,t)}function PipelineBareFunction(t){this.print(t.callee,t)}function PipelinePrimaryTopicReference(){this.token("#")}},816:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.TSAnyKeyword=TSAnyKeyword;e.TSArrayType=TSArrayType;e.TSAsExpression=TSAsExpression;e.TSBigIntKeyword=TSBigIntKeyword;e.TSBooleanKeyword=TSBooleanKeyword;e.TSCallSignatureDeclaration=TSCallSignatureDeclaration;e.TSConditionalType=TSConditionalType;e.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;e.TSConstructorType=TSConstructorType;e.TSDeclareFunction=TSDeclareFunction;e.TSDeclareMethod=TSDeclareMethod;e.TSEnumDeclaration=TSEnumDeclaration;e.TSEnumMember=TSEnumMember;e.TSExportAssignment=TSExportAssignment;e.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;e.TSExternalModuleReference=TSExternalModuleReference;e.TSFunctionType=TSFunctionType;e.TSImportEqualsDeclaration=TSImportEqualsDeclaration;e.TSImportType=TSImportType;e.TSIndexSignature=TSIndexSignature;e.TSIndexedAccessType=TSIndexedAccessType;e.TSInferType=TSInferType;e.TSInstantiationExpression=TSInstantiationExpression;e.TSInterfaceBody=TSInterfaceBody;e.TSInterfaceDeclaration=TSInterfaceDeclaration;e.TSIntersectionType=TSIntersectionType;e.TSIntrinsicKeyword=TSIntrinsicKeyword;e.TSLiteralType=TSLiteralType;e.TSMappedType=TSMappedType;e.TSMethodSignature=TSMethodSignature;e.TSModuleBlock=TSModuleBlock;e.TSModuleDeclaration=TSModuleDeclaration;e.TSNamedTupleMember=TSNamedTupleMember;e.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;e.TSNeverKeyword=TSNeverKeyword;e.TSNonNullExpression=TSNonNullExpression;e.TSNullKeyword=TSNullKeyword;e.TSNumberKeyword=TSNumberKeyword;e.TSObjectKeyword=TSObjectKeyword;e.TSOptionalType=TSOptionalType;e.TSParameterProperty=TSParameterProperty;e.TSParenthesizedType=TSParenthesizedType;e.TSPropertySignature=TSPropertySignature;e.TSQualifiedName=TSQualifiedName;e.TSRestType=TSRestType;e.TSStringKeyword=TSStringKeyword;e.TSSymbolKeyword=TSSymbolKeyword;e.TSThisType=TSThisType;e.TSTupleType=TSTupleType;e.TSTypeAliasDeclaration=TSTypeAliasDeclaration;e.TSTypeAnnotation=TSTypeAnnotation;e.TSTypeAssertion=TSTypeAssertion;e.TSTypeLiteral=TSTypeLiteral;e.TSTypeOperator=TSTypeOperator;e.TSTypeParameter=TSTypeParameter;e.TSTypeParameterDeclaration=e.TSTypeParameterInstantiation=TSTypeParameterInstantiation;e.TSTypePredicate=TSTypePredicate;e.TSTypeQuery=TSTypeQuery;e.TSTypeReference=TSTypeReference;e.TSUndefinedKeyword=TSUndefinedKeyword;e.TSUnionType=TSUnionType;e.TSUnknownKeyword=TSUnknownKeyword;e.TSVoidKeyword=TSVoidKeyword;e.tsPrintBraced=tsPrintBraced;e.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;e.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;e.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;e.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;e.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;e.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;function TSTypeAnnotation(t){this.token(":");this.space();if(t.optional)this.token("?");this.print(t.typeAnnotation,t)}function TSTypeParameterInstantiation(t,e){this.token("<");this.printList(t.params,t,{});if(e.type==="ArrowFunctionExpression"&&t.params.length===1){this.token(",")}this.token(">")}function TSTypeParameter(t){if(t.in){this.word("in");this.space()}if(t.out){this.word("out");this.space()}this.word(t.name);if(t.constraint){this.space();this.word("extends");this.space();this.print(t.constraint,t)}if(t.default){this.space();this.token("=");this.space();this.print(t.default,t)}}function TSParameterProperty(t){if(t.accessibility){this.word(t.accessibility);this.space()}if(t.readonly){this.word("readonly");this.space()}this._param(t.parameter)}function TSDeclareFunction(t){if(t.declare){this.word("declare");this.space()}this._functionHead(t);this.token(";")}function TSDeclareMethod(t){this._classMethodHead(t);this.token(";")}function TSQualifiedName(t){this.print(t.left,t);this.token(".");this.print(t.right,t)}function TSCallSignatureDeclaration(t){this.tsPrintSignatureDeclarationBase(t);this.token(";")}function TSConstructSignatureDeclaration(t){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(t);this.token(";")}function TSPropertySignature(t){const{readonly:e,initializer:n}=t;if(e){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(t);this.print(t.typeAnnotation,t);if(n){this.space();this.token("=");this.space();this.print(n,t)}this.token(";")}function tsPrintPropertyOrMethodName(t){if(t.computed){this.token("[")}this.print(t.key,t);if(t.computed){this.token("]")}if(t.optional){this.token("?")}}function TSMethodSignature(t){const{kind:e}=t;if(e==="set"||e==="get"){this.word(e);this.space()}this.tsPrintPropertyOrMethodName(t);this.tsPrintSignatureDeclarationBase(t);this.token(";")}function TSIndexSignature(t){const{readonly:e,static:n}=t;if(n){this.word("static");this.space()}if(e){this.word("readonly");this.space()}this.token("[");this._parameters(t.parameters,t);this.token("]");this.print(t.typeAnnotation,t);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(t){this.tsPrintFunctionOrConstructorType(t)}function TSConstructorType(t){if(t.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(t)}function tsPrintFunctionOrConstructorType(t){const{typeParameters:e}=t;const n=t.parameters;this.print(e,t);this.token("(");this._parameters(n,t);this.token(")");this.space();this.token("=>");this.space();const i=t.typeAnnotation;this.print(i.typeAnnotation,t)}function TSTypeReference(t){this.print(t.typeName,t);this.print(t.typeParameters,t)}function TSTypePredicate(t){if(t.asserts){this.word("asserts");this.space()}this.print(t.parameterName);if(t.typeAnnotation){this.space();this.word("is");this.space();this.print(t.typeAnnotation.typeAnnotation)}}function TSTypeQuery(t){this.word("typeof");this.space();this.print(t.exprName);if(t.typeParameters){this.print(t.typeParameters,t)}}function TSTypeLiteral(t){this.tsPrintTypeLiteralOrInterfaceBody(t.members,t)}function tsPrintTypeLiteralOrInterfaceBody(t,e){this.tsPrintBraced(t,e)}function tsPrintBraced(t,e){this.token("{");if(t.length){this.indent();this.newline();for(const n of t){this.print(n,e);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(t){this.print(t.elementType,t);this.token("[]")}function TSTupleType(t){this.token("[");this.printList(t.elementTypes,t);this.token("]")}function TSOptionalType(t){this.print(t.typeAnnotation,t);this.token("?")}function TSRestType(t){this.token("...");this.print(t.typeAnnotation,t)}function TSNamedTupleMember(t){this.print(t.label,t);if(t.optional)this.token("?");this.token(":");this.space();this.print(t.elementType,t)}function TSUnionType(t){this.tsPrintUnionOrIntersectionType(t,"|")}function TSIntersectionType(t){this.tsPrintUnionOrIntersectionType(t,"&")}function tsPrintUnionOrIntersectionType(t,e){this.printJoin(t.types,t,{separator(){this.space();this.token(e);this.space()}})}function TSConditionalType(t){this.print(t.checkType);this.space();this.word("extends");this.space();this.print(t.extendsType);this.space();this.token("?");this.space();this.print(t.trueType);this.space();this.token(":");this.space();this.print(t.falseType)}function TSInferType(t){this.token("infer");this.space();this.print(t.typeParameter)}function TSParenthesizedType(t){this.token("(");this.print(t.typeAnnotation,t);this.token(")")}function TSTypeOperator(t){this.word(t.operator);this.space();this.print(t.typeAnnotation,t)}function TSIndexedAccessType(t){this.print(t.objectType,t);this.token("[");this.print(t.indexType,t);this.token("]")}function TSMappedType(t){const{nameType:e,optional:n,readonly:i,typeParameter:s}=t;this.token("{");this.space();if(i){tokenIfPlusMinus(this,i);this.word("readonly");this.space()}this.token("[");this.word(s.name);this.space();this.word("in");this.space();this.print(s.constraint,s);if(e){this.space();this.word("as");this.space();this.print(e,t)}this.token("]");if(n){tokenIfPlusMinus(this,n);this.token("?")}this.token(":");this.space();this.print(t.typeAnnotation,t);this.space();this.token("}")}function tokenIfPlusMinus(t,e){if(e!==true){t.token(e)}}function TSLiteralType(t){this.print(t.literal,t)}function TSExpressionWithTypeArguments(t){this.print(t.expression,t);this.print(t.typeParameters,t)}function TSInterfaceDeclaration(t){const{declare:e,id:n,typeParameters:i,extends:s,body:r}=t;if(e){this.word("declare");this.space()}this.word("interface");this.space();this.print(n,t);this.print(i,t);if(s!=null&&s.length){this.space();this.word("extends");this.space();this.printList(s,t)}this.space();this.print(r,t)}function TSInterfaceBody(t){this.tsPrintTypeLiteralOrInterfaceBody(t.body,t)}function TSTypeAliasDeclaration(t){const{declare:e,id:n,typeParameters:i,typeAnnotation:s}=t;if(e){this.word("declare");this.space()}this.word("type");this.space();this.print(n,t);this.print(i,t);this.space();this.token("=");this.space();this.print(s,t);this.token(";")}function TSAsExpression(t){const{expression:e,typeAnnotation:n}=t;this.print(e,t);this.space();this.word("as");this.space();this.print(n,t)}function TSTypeAssertion(t){const{typeAnnotation:e,expression:n}=t;this.token("<");this.print(e,t);this.token(">");this.space();this.print(n,t)}function TSInstantiationExpression(t){this.print(t.expression,t);this.print(t.typeParameters,t)}function TSEnumDeclaration(t){const{declare:e,const:n,id:i,members:s}=t;if(e){this.word("declare");this.space()}if(n){this.word("const");this.space()}this.word("enum");this.space();this.print(i,t);this.space();this.tsPrintBraced(s,t)}function TSEnumMember(t){const{id:e,initializer:n}=t;this.print(e,t);if(n){this.space();this.token("=");this.space();this.print(n,t)}this.token(",")}function TSModuleDeclaration(t){const{declare:e,id:n}=t;if(e){this.word("declare");this.space()}if(!t.global){this.word(n.type==="Identifier"?"namespace":"module");this.space()}this.print(n,t);if(!t.body){this.token(";");return}let i=t.body;while(i.type==="TSModuleDeclaration"){this.token(".");this.print(i.id,i);i=i.body}this.space();this.print(i,t)}function TSModuleBlock(t){this.tsPrintBraced(t.body,t)}function TSImportType(t){const{argument:e,qualifier:n,typeParameters:i}=t;this.word("import");this.token("(");this.print(e,t);this.token(")");if(n){this.token(".");this.print(n,t)}if(i){this.print(i,t)}}function TSImportEqualsDeclaration(t){const{isExport:e,id:n,moduleReference:i}=t;if(e){this.word("export");this.space()}this.word("import");this.space();this.print(n,t);this.space();this.token("=");this.space();this.print(i,t);this.token(";")}function TSExternalModuleReference(t){this.token("require(");this.print(t.expression,t);this.token(")")}function TSNonNullExpression(t){this.print(t.expression,t);this.token("!")}function TSExportAssignment(t){this.word("export");this.space();this.token("=");this.space();this.print(t.expression,t);this.token(";")}function TSNamespaceExportDeclaration(t){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(t.id,t)}function tsPrintSignatureDeclarationBase(t){const{typeParameters:e}=t;const n=t.parameters;this.print(e,t);this.token("(");this._parameters(n,t);this.token(")");const i=t.typeAnnotation;this.print(i,t)}function tsPrintClassMemberModifiers(t,e){if(e&&t.declare){this.word("declare");this.space()}if(t.accessibility){this.word(t.accessibility);this.space()}if(t.static){this.word("static");this.space()}if(t.override){this.word("override");this.space()}if(t.abstract){this.word("abstract");this.space()}if(e&&t.readonly){this.word("readonly");this.space()}}},458:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.needsParens=needsParens;e.needsWhitespace=needsWhitespace;e.needsWhitespaceAfter=needsWhitespaceAfter;e.needsWhitespaceBefore=needsWhitespaceBefore;var i=n(946);var s=n(554);var r=n(740);const{FLIPPED_ALIAS_KEYS:o,isCallExpression:a,isExpressionStatement:c,isMemberExpression:p,isNewExpression:l}=r;function expandAliases(t){const e={};function add(t,n){const i=e[t];e[t]=i?function(t,e,s){const r=i(t,e,s);return r==null?n(t,e,s):r}:n}for(const e of Object.keys(t)){const n=o[e];if(n){for(const i of n){add(i,t[e])}}else{add(e,t[e])}}return e}const h=expandAliases(s);const u=expandAliases(i.nodes);const f=expandAliases(i.list);function find(t,e,n,i){const s=t[e.type];return s?s(e,n,i):null}function isOrHasCallExpression(t){if(a(t)){return true}return p(t)&&isOrHasCallExpression(t.object)}function needsWhitespace(t,e,n){if(!t)return 0;if(c(t)){t=t.expression}let i=find(u,t,e);if(!i){const s=find(f,t,e);if(s){for(let e=0;e{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.ArrowFunctionExpression=ArrowFunctionExpression;e.AssignmentExpression=AssignmentExpression;e.Binary=Binary;e.BinaryExpression=BinaryExpression;e.ClassExpression=ClassExpression;e.ConditionalExpression=ConditionalExpression;e.DoExpression=DoExpression;e.FunctionExpression=FunctionExpression;e.FunctionTypeAnnotation=FunctionTypeAnnotation;e.Identifier=Identifier;e.LogicalExpression=LogicalExpression;e.NullableTypeAnnotation=NullableTypeAnnotation;e.ObjectExpression=ObjectExpression;e.OptionalIndexedAccessType=OptionalIndexedAccessType;e.OptionalCallExpression=e.OptionalMemberExpression=OptionalMemberExpression;e.SequenceExpression=SequenceExpression;e.TSAsExpression=TSAsExpression;e.TSInferType=TSInferType;e.TSInstantiationExpression=TSInstantiationExpression;e.TSTypeAssertion=TSTypeAssertion;e.TSIntersectionType=e.TSUnionType=TSUnionType;e.UnaryLike=UnaryLike;e.IntersectionTypeAnnotation=e.UnionTypeAnnotation=UnionTypeAnnotation;e.UpdateExpression=UpdateExpression;e.AwaitExpression=e.YieldExpression=YieldExpression;var i=n(740);const{isArrayTypeAnnotation:s,isArrowFunctionExpression:r,isAssignmentExpression:o,isAwaitExpression:a,isBinary:c,isBinaryExpression:p,isUpdateExpression:l,isCallExpression:h,isClassDeclaration:u,isClassExpression:f,isConditional:d,isConditionalExpression:m,isExportDeclaration:y,isExportDefaultDeclaration:T,isExpressionStatement:S,isFor:g,isForInStatement:x,isForOfStatement:b,isForStatement:_,isFunctionExpression:w,isIfStatement:k,isIndexedAccessType:E,isIntersectionTypeAnnotation:A,isLogicalExpression:P,isMemberExpression:C,isNewExpression:v,isNullableTypeAnnotation:M,isObjectPattern:I,isOptionalCallExpression:O,isOptionalMemberExpression:D,isReturnStatement:N,isSequenceExpression:L,isSwitchStatement:j,isTSArrayType:B,isTSAsExpression:F,isTSInstantiationExpression:q,isTSIntersectionType:U,isTSNonNullExpression:J,isTSOptionalType:W,isTSRestType:R,isTSTypeAssertion:K,isTSUnionType:X,isTaggedTemplateExpression:H,isThrowStatement:z,isTypeAnnotation:V,isUnaryLike:$,isUnionTypeAnnotation:G,isVariableDeclarator:Y,isWhileStatement:Q,isYieldExpression:Z}=i;const tt={"||":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 isClassExtendsClause=(t,e)=>(u(e)||f(e))&&e.superClass===t;const hasPostfixPart=(t,e)=>(C(e)||D(e))&&e.object===t||(h(e)||O(e)||v(e))&&e.callee===t||H(e)&&e.tag===t||J(e);function NullableTypeAnnotation(t,e){return s(e)}function FunctionTypeAnnotation(t,e,n){return G(e)||A(e)||s(e)||V(e)&&r(n[n.length-3])}function UpdateExpression(t,e){return hasPostfixPart(t,e)||isClassExtendsClause(t,e)}function ObjectExpression(t,e,n){return isFirstInContext(n,{expressionStatement:true,arrowBody:true})}function DoExpression(t,e,n){return!t.async&&isFirstInContext(n,{expressionStatement:true})}function Binary(t,e){if(t.operator==="**"&&p(e,{operator:"**"})){return e.left===t}if(isClassExtendsClause(t,e)){return true}if(hasPostfixPart(t,e)||$(e)||a(e)){return true}if(c(e)){const n=e.operator;const i=tt[n];const s=t.operator;const r=tt[s];if(i===r&&e.right===t&&!P(e)||i>r){return true}}}function UnionTypeAnnotation(t,e){return s(e)||M(e)||A(e)||G(e)}function OptionalIndexedAccessType(t,e){return E(e,{objectType:t})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(t,e){return B(e)||W(e)||U(e)||X(e)||R(e)}function TSInferType(t,e){return B(e)||W(e)}function TSInstantiationExpression(t,e){return(h(e)||O(e)||v(e)||q(e))&&!!e.typeParameters}function BinaryExpression(t,e){return t.operator==="in"&&(Y(e)||g(e))}function SequenceExpression(t,e){if(_(e)||z(e)||N(e)||k(e)&&e.test===t||Q(e)&&e.test===t||x(e)&&e.right===t||j(e)&&e.discriminant===t||S(e)&&e.expression===t){return false}return true}function YieldExpression(t,e){return c(e)||$(e)||hasPostfixPart(t,e)||a(e)&&Z(t)||m(e)&&t===e.test||isClassExtendsClause(t,e)}function ClassExpression(t,e,n){return isFirstInContext(n,{expressionStatement:true,exportDefault:true})}function UnaryLike(t,e){return hasPostfixPart(t,e)||p(e,{operator:"**",left:t})||isClassExtendsClause(t,e)}function FunctionExpression(t,e,n){return isFirstInContext(n,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(t,e){return y(e)||ConditionalExpression(t,e)}function ConditionalExpression(t,e){if($(e)||c(e)||m(e,{test:t})||a(e)||K(e)||F(e)){return true}return UnaryLike(t,e)}function OptionalMemberExpression(t,e){return h(e,{callee:t})||C(e,{object:t})}function AssignmentExpression(t,e){if(I(t.left)){return true}else{return ConditionalExpression(t,e)}}function LogicalExpression(t,e){switch(t.operator){case"||":if(!P(e))return false;return e.operator==="??"||e.operator==="&&";case"&&":return P(e,{operator:"??"});case"??":return P(e)&&e.operator!=="??"}}function Identifier(t,e,n){var i;if((i=t.extra)!=null&&i.parenthesized&&o(e,{left:t})&&(w(e.right)||f(e.right))&&e.right.id==null){return true}if(t.name==="let"){const i=C(e,{object:t,computed:true})||D(e,{object:t,computed:true,optional:false});return isFirstInContext(n,{expressionStatement:i,forHead:i,forInHead:i,forOfHead:true})}return t.name==="async"&&b(e)&&t===e.left}function isFirstInContext(t,{expressionStatement:e=false,arrowBody:n=false,exportDefault:i=false,forHead:s=false,forInHead:a=false,forOfHead:p=false}){let h=t.length-1;let u=t[h];h--;let f=t[h];while(h>=0){if(e&&S(f,{expression:u})||i&&T(f,{declaration:u})||n&&r(f,{body:u})||s&&_(f,{init:u})||a&&x(f,{left:u})||p&&b(f,{left:u})){return true}if(hasPostfixPart(u,f)&&!v(f)||L(f)&&f.expressions[0]===u||l(f)&&!f.prefix||d(f,{test:u})||c(f,{left:u})||o(f,{left:u})){u=f;h--;f=t[h]}else{return false}}return false}},946:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.nodes=e.list=void 0;var i=n(740);const{FLIPPED_ALIAS_KEYS:s,isArrayExpression:r,isAssignmentExpression:o,isBinary:a,isBlockStatement:c,isCallExpression:p,isFunction:l,isIdentifier:h,isLiteral:u,isMemberExpression:f,isObjectExpression:d,isOptionalCallExpression:m,isOptionalMemberExpression:y,isStringLiteral:T}=i;function crawl(t,e={}){if(f(t)||y(t)){crawl(t.object,e);if(t.computed)crawl(t.property,e)}else if(a(t)||o(t)){crawl(t.left,e);crawl(t.right,e)}else if(p(t)||m(t)){e.hasCall=true;crawl(t.callee,e)}else if(l(t)){e.hasFunction=true}else if(h(t)){e.hasHelper=e.hasHelper||isHelper(t.callee)}return e}function isHelper(t){if(f(t)){return isHelper(t.object)||isHelper(t.property)}else if(h(t)){return t.name==="require"||t.name[0]==="_"}else if(p(t)){return isHelper(t.callee)}else if(a(t)||o(t)){return h(t.left)&&isHelper(t.left)||isHelper(t.right)}else{return false}}function isType(t){return u(t)||d(t)||r(t)||h(t)||f(t)}const S={AssignmentExpression(t){const e=crawl(t.right);if(e.hasCall&&e.hasHelper||e.hasFunction){return{before:e.hasFunction,after:true}}},SwitchCase(t,e){return{before:!!t.consequent.length||e.cases[0]===t,after:!t.consequent.length&&e.cases[e.cases.length-1]===t}},LogicalExpression(t){if(l(t.left)||l(t.right)){return{after:true}}},Literal(t){if(T(t)&&t.value==="use strict"){return{after:true}}},CallExpression(t){if(l(t.callee)||isHelper(t)){return{before:true,after:true}}},OptionalCallExpression(t){if(l(t.callee)){return{before:true,after:true}}},VariableDeclaration(t){for(let e=0;et.init))},ArrayExpression(t){return t.elements},ObjectExpression(t){return t.properties}};e.list=g;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach((function([t,e]){if(typeof e==="boolean"){e={after:e,before:e}}[t].concat(s[t]||[]).forEach((function(t){S[t]=function(){return e}}))}))},754:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var i=n(90);var s=n(458);var r=n(740);var o=n(561);const{isProgram:a,isFile:c,isEmptyStatement:p}=r;const l=/e/i;const h=/\.0+$/;const u=/^0[box]/;const f=/^\s*[@#]__PURE__\s*$/;const{needsParens:d,needsWhitespaceAfter:m,needsWhitespaceBefore:y}=s;class Printer{constructor(t,e){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=t;this._buf=new i.default(e)}generate(t){this.print(t);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(t=false){this._maybeAddAuxComment();this._append(";",!t)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(t=false){if(this.format.compact)return;if(t){this._space()}else if(this._buf.hasContent()){const t=this.getLastChar();if(t!==32&&t!==10){this._space()}}}word(t){if(this._endsWithWord||this.endsWith(47)&&t.charCodeAt(0)===47){this._space()}this._maybeAddAuxComment();this._append(t);this._endsWithWord=true}number(t){this.word(t);this._endsWithInteger=Number.isInteger(+t)&&!u.test(t)&&!l.test(t)&&!h.test(t)&&t.charCodeAt(t.length-1)!==46}token(t){const e=this.getLastChar();const n=t.charCodeAt(0);if(t==="--"&&e===33||n===43&&e===43||n===45&&e===45||n===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(t)}newline(t=1){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}const e=this.endsWithCharAndNewline();if(e===10)return;if(e===123||e===58){t--}if(t<=0)return;for(let e=0;e{i.call(this,t,e)}));this._printTrailingComments(t);if(r)this.token(")");this._printStack.pop();this.format.concise=n;this._insideAux=s}_maybeAddAuxComment(t){if(t)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const t=this.format.auxiliaryCommentBefore;if(t){this._printComment({type:"CommentBlock",value:t})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const t=this.format.auxiliaryCommentAfter;if(t){this._printComment({type:"CommentBlock",value:t})}}getPossibleRaw(t){const e=t.extra;if(e&&e.raw!=null&&e.rawValue!=null&&t.value===e.rawValue){return e.raw}}printJoin(t,e,n={}){if(!(t!=null&&t.length))return;if(n.indent)this.indent();const i={addNewlines:n.addNewlines};for(let s=0;s0;if(n)this.indent();this.print(t,e);if(n)this.dedent()}printBlock(t){const e=t.body;if(!p(e)){this.space()}this.print(e,t)}_printTrailingComments(t){this._printComments(this._getComments(false,t))}_printLeadingComments(t){this._printComments(this._getComments(true,t),true)}printInnerComments(t,e=true){var n;if(!((n=t.innerComments)!=null&&n.length))return;if(e)this.indent();this._printComments(t.innerComments);if(e)this.dedent()}printSequence(t,e,n={}){n.statement=true;return this.printJoin(t,e,n)}printList(t,e,n={}){if(n.separator==null){n.separator=commaSeparator}return this.printJoin(t,e,n)}_printNewline(t,e,n,i){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!t)s++;if(i.addNewlines)s+=i.addNewlines(t,e)||0;const r=t?y:m;if(r(e,n))s++}this.newline(Math.min(2,s))}_getComments(t,e){return e&&(t?e.leadingComments:e.trailingComments)||[]}_printComment(t,e){if(!this.format.shouldPrintComment(t.value))return;if(t.ignore)return;if(this._printedComments.has(t))return;this._printedComments.add(t);const n=t.type==="CommentBlock";const i=n&&!e&&!this._noLineTerminator;if(i&&this._buf.hasContent())this.newline(1);const s=this.getLastChar();if(s!==91&&s!==123){this.space()}let r=!n&&!this._noLineTerminator?`//${t.value}\n`:`/*${t.value}*/`;if(n&&this.format.indent.adjustMultilineComment){var o;const e=(o=t.loc)==null?void 0:o.start.column;if(e){const t=new RegExp("\\n\\s{1,"+e+"}","g");r=r.replace(t,"\n")}const n=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());r=r.replace(/\n(?!$)/g,`\n${" ".repeat(n)}`)}if(this.endsWith(47))this._space();this.withSource("start",t.loc,(()=>{this._append(r)}));if(i)this.newline(1)}_printComments(t,e){if(!(t!=null&&t.length))return;if(e&&t.length===1&&f.test(t[0].value)){this._printComment(t[0],this._buf.hasContent()&&!this.endsWith(10))}else{for(const e of t){this._printComment(e)}}}printAssertions(t){var e;if((e=t.assertions)!=null&&e.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(t.assertions,t);this.space();this.token("}")}}}Object.assign(Printer.prototype,o);{Printer.prototype.Noop=function Noop(){}}var T=Printer;e["default"]=T;function commaSeparator(){this.token(",");this.space()}},47:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var i=n(937);class SourceMap{constructor(t,e){var n;this._map=void 0;this._rawMappings=void 0;this._sourceFileName=void 0;this._lastGenLine=0;this._lastSourceLine=0;this._lastSourceColumn=0;const s=this._map=new i.GenMapping({sourceRoot:t.sourceRoot});this._sourceFileName=(n=t.sourceFileName)==null?void 0:n.replace(/\\/g,"/");this._rawMappings=undefined;if(typeof e==="string"){(0,i.setSourceContent)(s,this._sourceFileName,e)}else if(typeof e==="object"){Object.keys(e).forEach((t=>{(0,i.setSourceContent)(s,t.replace(/\\/g,"/"),e[t])}))}}get(){return(0,i.toEncodedMap)(this._map)}getDecoded(){return(0,i.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,i.allMappings)(this._map))}mark(t,e,n,s,r){this._rawMappings=undefined;(0,i.maybeAddMapping)(this._map,{name:s,generated:t,source:e==null?undefined:(r==null?void 0:r.replace(/\\/g,"/"))||this._sourceFileName,original:e==null?undefined:{line:e,column:n}})}}e["default"]=SourceMap},937:function(t,e,n){(function(t,i){true?i(e,n(465),n(248),n(474)):0})(this,(function(t,e,n,i){"use strict";const s=0;const r=1;const o=2;const a=3;const c=4;const p=-1;t.addSegment=void 0;t.addMapping=void 0;t.maybeAddSegment=void 0;t.maybeAddMapping=void 0;t.setSourceContent=void 0;t.toDecodedMap=void 0;t.toEncodedMap=void 0;t.fromMap=void 0;t.allMappings=void 0;let l;class GenMapping{constructor({file:t,sourceRoot:n}={}){this._names=new e.SetArray;this._sources=new e.SetArray;this._sourcesContent=[];this._mappings=[];this.file=t;this.sourceRoot=n}}(()=>{t.addSegment=(t,e,n,i,s,r,o,a)=>l(false,t,e,n,i,s,r,o,a);t.maybeAddSegment=(t,e,n,i,s,r,o,a)=>l(true,t,e,n,i,s,r,o,a);t.addMapping=(t,e)=>addMappingInternal(false,t,e);t.maybeAddMapping=(t,e)=>addMappingInternal(true,t,e);t.setSourceContent=(t,n,i)=>{const{_sources:s,_sourcesContent:r}=t;r[e.put(s,n)]=i};t.toDecodedMap=t=>{const{file:e,sourceRoot:n,_mappings:i,_sources:s,_sourcesContent:r,_names:o}=t;removeEmptyFinalLines(i);return{version:3,file:e||undefined,names:o.array,sourceRoot:n||undefined,sources:s.array,sourcesContent:r,mappings:i}};t.toEncodedMap=e=>{const i=t.toDecodedMap(e);return Object.assign(Object.assign({},i),{mappings:n.encode(i.mappings)})};t.allMappings=t=>{const e=[];const{_mappings:n,_sources:i,_names:p}=t;for(let t=0;t{const e=new i.TraceMap(t);const n=new GenMapping({file:e.file,sourceRoot:e.sourceRoot});putAll(n._names,e.names);putAll(n._sources,e.sources);n._sourcesContent=e.sourcesContent||e.sources.map((()=>null));n._mappings=i.decodedMappings(e);return n};l=(t,n,i,s,r,o,a,c,l)=>{const{_mappings:h,_sources:u,_sourcesContent:f,_names:d}=n;const m=getLine(h,i);const y=getColumnIndex(m,s);if(!r){if(t&&skipSourceless(m,y))return;return insert(m,y,[s])}const T=e.put(u,r);const S=c?e.put(d,c):p;if(T===f.length)f[T]=l!==null&&l!==void 0?l:null;if(t&&skipSource(m,y,T,o,a,S)){return}return insert(m,y,c?[s,T,o,a,S]:[s,T,o,a])}})();function getLine(t,e){for(let n=t.length;n<=e;n++){t[n]=[]}return t[e]}function getColumnIndex(t,e){let n=t.length;for(let i=n-1;i>=0;n=i--){const n=t[i];if(e>=n[s])break}return n}function insert(t,e,n){for(let n=t.length;n>e;n--){t[n]=t[n-1]}t[e]=n}function removeEmptyFinalLines(t){const{length:e}=t;let n=e;for(let e=n-1;e>=0;n=e,e--){if(t[e].length>0)break}if(n{t.get=(t,e)=>t._indexes[e];t.put=(e,n)=>{const i=t.get(e,n);if(i!==undefined)return i;const{array:s,_indexes:r}=e;return r[n]=s.push(n)-1};t.pop=t=>{const{array:e,_indexes:n}=t;if(e.length===0)return;const i=e.pop();n[i]=undefined}})();t.SetArray=SetArray;Object.defineProperty(t,"__esModule",{value:true})}))},248:function(t,e){(function(t,n){true?n(e):0})(this,(function(t){"use strict";const e=",".charCodeAt(0);const n=";".charCodeAt(0);const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const s=new Uint8Array(64);const r=new Uint8Array(128);for(let t=0;t>>=1;if(c){s=-2147483648|-s}n[i]+=s;return e}function hasMoreVlq(t,n,i){if(n>=i)return false;return t.charCodeAt(n)!==e}function sort(t){t.sort(sortComparator)}function sortComparator(t,e){return t[0]-e[0]}function encode(t){const i=new Int32Array(5);const s=1024*16;const r=s-36;const a=new Uint8Array(s);const c=a.subarray(0,r);let p=0;let l="";for(let h=0;h0){if(p===s){l+=o.decode(a);p=0}a[p++]=n}if(u.length===0)continue;i[0]=0;for(let t=0;tr){l+=o.decode(c);a.copyWithin(0,r,p);p-=r}if(t>0)a[p++]=e;p=encodeInteger(a,p,i,n,0);if(n.length===1)continue;p=encodeInteger(a,p,i,n,1);p=encodeInteger(a,p,i,n,2);p=encodeInteger(a,p,i,n,3);if(n.length===4)continue;p=encodeInteger(a,p,i,n,4)}}return l+o.decode(a.subarray(0,p))}function encodeInteger(t,e,n,i,r){const o=i[r];let a=o-n[r];n[r]=o;a=a<0?-a<<1|1:a<<1;do{let n=a&31;a>>>=5;if(a>0)n|=32;t[e++]=s[n]}while(a>0);return e}t.decode=decode;t.encode=encode;Object.defineProperty(t,"__esModule",{value:true})}))},474:function(t,e,n){(function(t,i){true?i(e,n(248),n(778)):0})(this,(function(t,e,n){"use strict";function _interopDefaultLegacy(t){return t&&typeof t==="object"&&"default"in t?t:{default:t}}var i=_interopDefaultLegacy(n);function resolve(t,e){if(e&&!e.endsWith("/"))e+="/";return i["default"](t,e)}function stripFilename(t){if(!t)return"";const e=t.lastIndexOf("/");return t.slice(0,e+1)}const s=0;const r=1;const o=2;const a=3;const c=4;const p=1;const l=2;function maybeSort(t,e){const n=nextUnsortedSegmentLine(t,0);if(n===t.length)return t;if(!e)t=t.slice();for(let i=n;i>1);const o=t[r][s]-e;if(o===0){h=true;return r}if(o<0){n=r+1}else{i=r-1}}h=false;return n-1}function upperBound(t,e,n){for(let i=n+1;i=0;n=i--){if(t[i][s]!==e)break}return n}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(t,e,n,i){const{lastKey:r,lastNeedle:o,lastIndex:a}=n;let c=0;let p=t.length-1;if(i===r){if(e===o){h=a!==-1&&t[a][s]===e;return a}if(e>=o){c=a===-1?0:a}else{p=a}}n.lastKey=i;n.lastNeedle=e;return n.lastIndex=binarySearch(t,e,c,p)}function buildBySources(t,e){const n=e.map(buildNullArray);for(let i=0;ie;n--){t[n]=t[n-1]}t[e]=n}function buildNullArray(){return{__proto__:null}}const AnyMap=function(e,n){const i=typeof e==="string"?JSON.parse(e):e;if(!("sections"in i))return new TraceMap(i,n);const s=[];const r=[];const o=[];const a=[];recurse(i,n,s,r,o,a,0,0,Infinity,Infinity);const c={version:3,file:i.file,names:a,sources:r,sourcesContent:o,mappings:s};return t.presortedDecodedMap(c)};function recurse(t,e,n,i,s,r,o,a,c,p){const{sections:l}=t;for(let t=0;td)return;const n=getLine(i,e);const p=t===0?f:0;const l=g[t];for(let t=0;t=m)return;if(i.length===1){n.push([h]);continue}const u=T+i[r];const f=i[o];const y=i[a];n.push(i.length===4?[h,u,f,y]:[h,u,f,y,S+i[c]])}}}function append(t,e){for(let n=0;nresolve(t||"",l)));const{mappings:h}=i;if(typeof h==="string"){this._encoded=h;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(h,n)}}}(()=>{t.encodedMappings=t=>{var n;return(n=t._encoded)!==null&&n!==void 0?n:t._encoded=e.encode(t._decoded)};t.decodedMappings=t=>t._decoded||(t._decoded=e.decode(t._encoded));t.traceSegment=(e,n,i)=>{const s=t.decodedMappings(e);if(n>=s.length)return null;return traceSegmentInternal(s[n],e._decodedMemo,n,i,m)};t.originalPositionFor=(e,{line:n,column:i,bias:s})=>{n--;if(n<0)throw new Error(u);if(i<0)throw new Error(f);const p=t.decodedMappings(e);if(n>=p.length)return OMapping(null,null,null,null);const l=traceSegmentInternal(p[n],e._decodedMemo,n,i,s||m);if(l==null)return OMapping(null,null,null,null);if(l.length==1)return OMapping(null,null,null,null);const{names:h,resolvedSources:d}=e;return OMapping(d[l[r]],l[o]+1,l[a],l.length===5?h[l[c]]:null)};t.generatedPositionFor=(e,{source:n,line:i,column:s,bias:r})=>{i--;if(i<0)throw new Error(u);if(s<0)throw new Error(f);const{sources:o,resolvedSources:a}=e;let c=o.indexOf(n);if(c===-1)c=a.indexOf(n);if(c===-1)return GMapping(null,null);const h=e._bySources||(e._bySources=buildBySources(t.decodedMappings(e),e._bySourceMemos=o.map(memoizedState)));const d=e._bySourceMemos;const y=h[c][i];if(y==null)return GMapping(null,null);const T=traceSegmentInternal(y,d[c],i,s,r||m);if(T==null)return GMapping(null,null);return GMapping(T[p]+1,T[l])};t.eachMapping=(e,n)=>{const i=t.decodedMappings(e);const{names:s,resolvedSources:r}=e;for(let t=0;t{const{sources:n,resolvedSources:i,sourcesContent:s}=t;if(s==null)return null;let r=n.indexOf(e);if(r===-1)r=i.indexOf(e);return r===-1?null:s[r]};t.presortedDecodedMap=(t,e)=>{const n=Object.assign({},t);n.mappings=[];const i=new TraceMap(n,e);i._decoded=t.mappings;return i};t.decodedMap=e=>({version:3,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t.decodedMappings(e)});t.encodedMap=e=>({version:3,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t.encodedMappings(e)})})();function OMapping(t,e,n,i){return{source:t,line:e,column:n,name:i}}function GMapping(t,e){return{line:t,column:e}}function traceSegmentInternal(t,e,n,i,s){let r=memoizedBinarySearch(t,i,e,n);if(h){r=(s===d?upperBound:lowerBound)(t,i,r)}else if(s===d)r++;if(r===-1||r===t.length)return null;return t[r]}t.AnyMap=AnyMap;t.GREATEST_LOWER_BOUND=m;t.LEAST_UPPER_BOUND=d;t.TraceMap=TraceMap;Object.defineProperty(t,"__esModule",{value:true})}))},95:t=>{"use strict";const e={};const n=e.hasOwnProperty;const forOwn=(t,e)=>{for(const i in t){if(n.call(t,i)){e(i,t[i])}}};const extend=(t,e)=>{if(!e){return t}forOwn(e,((e,n)=>{t[e]=n}));return t};const forEach=(t,e)=>{const n=t.length;let i=-1;while(++ii.call(t)=="[object Object]";const isString=t=>typeof t=="string"||i.call(t)=="[object String]";const isNumber=t=>typeof t=="number"||i.call(t)=="[object Number]";const isFunction=t=>typeof t=="function";const isMap=t=>i.call(t)=="[object Map]";const isSet=t=>i.call(t)=="[object Set]";const o={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const a=/["'\\\b\f\n\r\t]/;const c=/[0-9]/;const p=/[ !#-&\(-\[\]-_a-~]/;const jsesc=(t,e)=>{const increaseIndentation=()=>{d=f;++e.indentLevel;f=e.indent.repeat(e.indentLevel)};const n={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 i=e&&e.json;if(i){n.quotes="double";n.wrap=true}e=extend(n,e);if(e.quotes!="single"&&e.quotes!="double"&&e.quotes!="backtick"){e.quotes="single"}const l=e.quotes=="double"?'"':e.quotes=="backtick"?"`":"'";const h=e.compact;const u=e.lowercaseHex;let f=e.indent.repeat(e.indentLevel);let d="";const m=e.__inline1__;const y=e.__inline2__;const T=h?"":"\n";let S;let g=true;const x=e.numbers=="binary";const b=e.numbers=="octal";const _=e.numbers=="decimal";const w=e.numbers=="hexadecimal";if(i&&t&&isFunction(t.toJSON)){t=t.toJSON()}if(!isString(t)){if(isMap(t)){if(t.size==0){return"new Map()"}if(!h){e.__inline1__=true;e.__inline2__=false}return"new Map("+jsesc(Array.from(t),e)+")"}if(isSet(t)){if(t.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(t),e)+")"}if(r(t)){if(t.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(t),e)+")"}if(s(t)){S=[];e.wrap=true;if(m){e.__inline1__=false;e.__inline2__=true}if(!y){increaseIndentation()}forEach(t,(t=>{g=false;if(y){e.__inline2__=false}S.push((h||y?"":f)+jsesc(t,e))}));if(g){return"[]"}if(y){return"["+S.join(", ")+"]"}return"["+T+S.join(","+T)+T+(h?"":d)+"]"}else if(isNumber(t)){if(i){return JSON.stringify(t)}if(_){return String(t)}if(w){let e=t.toString(16);if(!u){e=e.toUpperCase()}return"0x"+e}if(x){return"0b"+t.toString(2)}if(b){return"0o"+t.toString(8)}}else if(!isObject(t)){if(i){return JSON.stringify(t)||"null"}return String(t)}else{S=[];e.wrap=true;increaseIndentation();forOwn(t,((t,n)=>{g=false;S.push((h?"":f)+jsesc(t,e)+":"+(h?"":" ")+jsesc(n,e))}));if(g){return"{}"}return"{"+T+S.join(","+T)+T+(h?"":d)+"}"}}const k=t;let E=-1;const A=k.length;S="";while(++E=55296&&t<=56319&&A>E+1){const e=k.charCodeAt(E+1);if(e>=56320&&e<=57343){const n=(t-55296)*1024+e-56320+65536;let i=n.toString(16);if(!u){i=i.toUpperCase()}S+="\\u{"+i+"}";++E;continue}}}if(!e.escapeEverything){if(p.test(t)){S+=t;continue}if(t=='"'){S+=l==t?'\\"':t;continue}if(t=="`"){S+=l==t?"\\`":t;continue}if(t=="'"){S+=l==t?"\\'":t;continue}}if(t=="\0"&&!i&&!c.test(k.charAt(E+1))){S+="\\0";continue}if(a.test(t)){S+=o[t];continue}const n=t.charCodeAt(0);if(e.minimal&&n!=8232&&n!=8233){S+=t;continue}let s=n.toString(16);if(!u){s=s.toUpperCase()}const r=s.length>2||i;const h="\\"+(r?"u":"x")+("0000"+s).slice(r?-4:-2);S+=h;continue}if(e.wrap){S=l+S+l}if(l=="`"){S=S.replace(/\$\{/g,"\\${")}if(e.isScriptContext){return S.replace(/<\/(script|style)/gi,"<\\/$1").replace(/