From d508c4bfab2915f2154b7ac1171e5a169f9142ad Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Wed, 26 Aug 2020 12:01:43 -0400 Subject: [PATCH 01/16] Auto enable React's new JSX transform on 17.x --- packages/next/build/babel/preset.ts | 7 +- packages/next/build/webpack-config.ts | 11 +- packages/next/package.json | 26 +- yarn.lock | 639 ++++++-------------------- 4 files changed, 165 insertions(+), 518 deletions(-) diff --git a/packages/next/build/babel/preset.ts b/packages/next/build/babel/preset.ts index 8296591b1ee5d..8c9e8d74f9968 100644 --- a/packages/next/build/babel/preset.ts +++ b/packages/next/build/babel/preset.ts @@ -65,6 +65,9 @@ module.exports = ( const supportsESM = api.caller(supportsStaticESM) const isServer = api.caller((caller: any) => !!caller && caller.isServer) const isModern = api.caller((caller: any) => !!caller && caller.isModern) + const hasJsxRuntime = Boolean( + api.caller((caller: any) => !!caller && caller.hasJsxRuntime) + ) const isLaxModern = isModern || @@ -113,7 +116,7 @@ module.exports = ( // This adds @babel/plugin-transform-react-jsx-source and // @babel/plugin-transform-react-jsx-self automatically in development development: isDevelopment || isTest, - pragma: '__jsx', + ...(hasJsxRuntime ? { runtime: 'automatic' } : { pragma: '__jsx' }), ...options['preset-react'], }, ], @@ -123,7 +126,7 @@ module.exports = ( ], ], plugins: [ - [ + !hasJsxRuntime && [ require('./plugins/jsx-pragma'), { // This produces the following injected import for modules containing JSX: diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 31ee7da60ec97..91f0a66373a5c 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -3,6 +3,7 @@ import ReactRefreshWebpackPlugin from '@next/react-refresh-utils/ReactRefreshWeb import crypto from 'crypto' import { readFileSync } from 'fs' import chalk from 'next/dist/compiled/chalk' +import semver from 'next/dist/compiled/semver' import TerserPlugin from 'next/dist/compiled/terser-webpack-plugin' import path from 'path' import webpack from 'webpack' @@ -14,6 +15,8 @@ import { PAGES_DIR_ALIAS, } from '../lib/constants' import { fileExists } from '../lib/file-exists' +import { getPackageVersion } from '../lib/get-package-version' +import { Rewrite } from '../lib/load-custom-routes' import { resolveRequest } from '../lib/resolve-request' import { getTypeScriptConfiguration } from '../lib/typescript/getTypeScriptConfiguration' import { @@ -54,7 +57,7 @@ import WebpackConformancePlugin, { ReactSyncScriptsConformanceCheck, } from './webpack/plugins/webpack-conformance-plugin' import { WellKnownErrorsPlugin } from './webpack/plugins/wellknown-errors-plugin' -import { Rewrite } from '../lib/load-custom-routes' + type ExcludesFalse = (x: T | false) => x is T const isWebpack5 = parseInt(webpack.version!) === 5 @@ -226,7 +229,10 @@ export default async function getBaseWebpackConfig( } } - const hasReactRefresh = dev && !isServer + const reactVersion = await getPackageVersion({ cwd: dir, name: 'react' }) + const hasReactRefresh: boolean = dev && !isServer + const hasJsxRuntime: boolean = + Boolean(reactVersion) && semver.gte(reactVersion!, '17.0.0') const distDir = path.join(dir, config.distDir) const defaultLoaders = { @@ -243,6 +249,7 @@ export default async function getBaseWebpackConfig( hasModern: !!config.experimental.modern, development: dev, hasReactRefresh, + hasJsxRuntime, }, }, // Backwards compat diff --git a/packages/next/package.json b/packages/next/package.json index 37ca12d702a2c..7195305876e48 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -59,24 +59,24 @@ }, "dependencies": { "@ampproject/toolbox-optimizer": "2.6.0", - "@babel/code-frame": "7.8.3", + "@babel/code-frame": "7.10.4", "@babel/core": "7.7.7", - "@babel/plugin-proposal-class-properties": "7.8.3", + "@babel/plugin-proposal-class-properties": "7.10.4", "@babel/plugin-proposal-export-namespace-from": "7.10.4", - "@babel/plugin-proposal-nullish-coalescing-operator": "7.8.3", - "@babel/plugin-proposal-numeric-separator": "7.8.3", - "@babel/plugin-proposal-object-rest-spread": "7.9.6", - "@babel/plugin-proposal-optional-chaining": "7.9.0", + "@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4", + "@babel/plugin-proposal-numeric-separator": "7.10.4", + "@babel/plugin-proposal-object-rest-spread": "7.11.0", + "@babel/plugin-proposal-optional-chaining": "7.11.0", "@babel/plugin-syntax-bigint": "7.8.3", "@babel/plugin-syntax-dynamic-import": "7.8.3", - "@babel/plugin-transform-modules-commonjs": "7.9.6", - "@babel/plugin-transform-runtime": "7.9.6", - "@babel/preset-env": "7.9.6", + "@babel/plugin-transform-modules-commonjs": "7.10.4", + "@babel/plugin-transform-runtime": "7.11.0", + "@babel/preset-env": "7.11.0", "@babel/preset-modules": "0.1.3", - "@babel/preset-react": "7.9.4", - "@babel/preset-typescript": "7.9.0", - "@babel/runtime": "7.9.6", - "@babel/types": "7.9.6", + "@babel/preset-react": "7.10.4", + "@babel/preset-typescript": "7.10.4", + "@babel/runtime": "7.11.2", + "@babel/types": "7.11.0", "@next/react-dev-overlay": "9.5.3-canary.23", "@next/react-refresh-utils": "9.5.3-canary.23", "ast-types": "0.13.2", diff --git a/yarn.lock b/yarn.lock index 2267aa0f15a34..0618319485d7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -53,19 +53,19 @@ dependencies: cross-fetch "3.0.5" -"@babel/code-frame@7.8.3", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" - dependencies: - "@babel/highlight" "^7.8.3" - -"@babel/code-frame@^7.10.4": +"@babel/code-frame@7.10.4", "@babel/code-frame@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== dependencies: "@babel/highlight" "^7.10.4" +"@babel/code-frame@7.8.3", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" + dependencies: + "@babel/highlight" "^7.8.3" + "@babel/compat-data@^7.10.4", "@babel/compat-data@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.11.0.tgz#e9f73efe09af1355b723a7f39b11bad637d7c99c" @@ -75,14 +75,6 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/compat-data@^7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.9.6.tgz#3f604c40e420131affe6f2c8052e9a275ae2049b" - dependencies: - browserslist "^4.11.1" - invariant "^2.2.4" - semver "^5.5.0" - "@babel/core@7.7.7": version "7.7.7" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" @@ -222,12 +214,14 @@ "@babel/helper-explode-assignable-expression" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" +"@babel/helper-builder-react-jsx-experimental@^7.10.4": + version "7.10.5" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.10.5.tgz#f35e956a19955ff08c1258e44a515a6d6248646b" + integrity sha512-Buewnx6M4ttG+NLkKyt7baQn7ScC/Td+e99G914fRU8fGIUivDDgVIQeDHFa5e4CRSJQt58WpNHhsAZgtzVhsg== dependencies: - "@babel/helper-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-module-imports" "^7.10.4" + "@babel/types" "^7.10.5" "@babel/helper-builder-react-jsx-experimental@^7.9.0": version "7.9.5" @@ -237,6 +231,14 @@ "@babel/helper-module-imports" "^7.8.3" "@babel/types" "^7.9.5" +"@babel/helper-builder-react-jsx@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.10.4.tgz#8095cddbff858e6fa9c326daee54a2f2732c1d5d" + integrity sha512-5nPcIZ7+KKDxT1427oBivl9V9YTal7qk0diccnh7RrcgrT/pGFOjgGw1dgryyx1GvHEpXVfoDF6Ak3rTiWh8Rg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/types" "^7.10.4" + "@babel/helper-builder-react-jsx@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.9.0.tgz#16bf391990b57732700a3278d4d9a81231ea8d32" @@ -255,16 +257,6 @@ levenary "^1.1.1" semver "^5.5.0" -"@babel/helper-compilation-targets@^7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.9.6.tgz#1e05b7ccc9d38d2f8b40b458b380a04dcfadd38a" - dependencies: - "@babel/compat-data" "^7.9.6" - browserslist "^4.11.1" - invariant "^2.2.4" - levenary "^1.1.1" - semver "^5.5.0" - "@babel/helper-create-class-features-plugin@^7.10.4", "@babel/helper-create-class-features-plugin@^7.10.5": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.10.5.tgz#9f61446ba80e8240b0a5c85c6fdac8459d6f259d" @@ -288,17 +280,6 @@ "@babel/helper-replace-supers" "^7.8.3" "@babel/helper-split-export-declaration" "^7.8.3" -"@babel/helper-create-class-features-plugin@^7.8.3": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.9.5.tgz#79753d44017806b481017f24b02fd4113c7106ea" - dependencies: - "@babel/helper-function-name" "^7.9.5" - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/helper-create-regexp-features-plugin@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.4.tgz#fdd60d88524659a0b6959c0579925e425714f3b8" @@ -315,14 +296,6 @@ "@babel/helper-regex" "^7.4.4" regexpu-core "^4.6.0" -"@babel/helper-create-regexp-features-plugin@^7.8.3", "@babel/helper-create-regexp-features-plugin@^7.8.8": - version "7.8.8" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.8.tgz#5d84180b588f560b7864efaeea89243e58312087" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-regex" "^7.8.3" - regexpu-core "^4.7.0" - "@babel/helper-define-map@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.10.5.tgz#b53c10db78a640800152692b13393147acb9bb30" @@ -332,14 +305,6 @@ "@babel/types" "^7.10.5" lodash "^4.17.19" -"@babel/helper-define-map@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15" - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/types" "^7.8.3" - lodash "^4.17.13" - "@babel/helper-explode-assignable-expression@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.10.4.tgz#40a1cd917bff1288f699a94a75b37a1a2dbd8c7c" @@ -348,13 +313,6 @@ "@babel/traverse" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-explode-assignable-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" - dependencies: - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - "@babel/helper-function-name@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz#d2d3b20c59ad8c47112fa7d2a94bc09d5ef82f1a" @@ -400,12 +358,6 @@ dependencies: "@babel/types" "^7.10.4" -"@babel/helper-hoist-variables@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" - dependencies: - "@babel/types" "^7.8.3" - "@babel/helper-member-expression-to-functions@^7.10.4", "@babel/helper-member-expression-to-functions@^7.10.5": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz#ae69c83d84ee82f4b42f96e2a09410935a8f26df" @@ -498,12 +450,6 @@ dependencies: lodash "^4.17.13" -"@babel/helper-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965" - dependencies: - lodash "^4.17.13" - "@babel/helper-remap-async-to-generator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.10.4.tgz#fce8bea4e9690bbe923056ded21e54b4e8b68ed5" @@ -515,16 +461,6 @@ "@babel/traverse" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-remap-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-wrap-function" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - "@babel/helper-replace-supers@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz#d585cd9388ea06e6031e4cd44b6713cbead9e6cf" @@ -607,15 +543,6 @@ "@babel/traverse" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-wrap-function@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - "@babel/helpers@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.10.4.tgz#2abeb0d721aff7c0a97376b9e1f6f65d7a475044" @@ -684,13 +611,13 @@ "@babel/helper-remap-async-to-generator" "^7.10.4" "@babel/plugin-syntax-async-generators" "^7.8.0" -"@babel/plugin-proposal-async-generator-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" +"@babel/plugin-proposal-class-properties@7.10.4", "@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.10.4.tgz#a33bf632da390a59c7a8c570045d1115cd778807" + integrity sha512-vhwkEROxzcHGNu2mzUC0OFFNXdZ4M23ib8aRRcJSsW8BZK9pQMD7QB7csl97NBbgGZO7ZyHUyKDnxzOaP4IrCg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/helper-create-class-features-plugin" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-proposal-class-properties@7.2.1": version "7.2.1" @@ -699,21 +626,6 @@ "@babel/helper-create-class-features-plugin" "^7.2.1" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-proposal-class-properties@7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz#5e06654af5cd04b608915aada9b2a6788004464e" - dependencies: - "@babel/helper-create-class-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.10.4.tgz#a33bf632da390a59c7a8c570045d1115cd778807" - integrity sha512-vhwkEROxzcHGNu2mzUC0OFFNXdZ4M23ib8aRRcJSsW8BZK9pQMD7QB7csl97NBbgGZO7ZyHUyKDnxzOaP4IrCg== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-proposal-dynamic-import@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.10.4.tgz#ba57a26cb98b37741e9d5bca1b8b0ddf8291f17e" @@ -722,13 +634,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-dynamic-import" "^7.8.0" -"@babel/plugin-proposal-dynamic-import@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - "@babel/plugin-proposal-export-namespace-from@7.10.4", "@babel/plugin-proposal-export-namespace-from@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.10.4.tgz#570d883b91031637b3e2958eea3c438e62c05f54" @@ -745,13 +650,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-json-strings" "^7.8.0" -"@babel/plugin-proposal-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.0" - "@babel/plugin-proposal-logical-assignment-operators@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.11.0.tgz#9f80e482c03083c87125dee10026b58527ea20c8" @@ -760,14 +658,7 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@7.8.3", "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - -"@babel/plugin-proposal-nullish-coalescing-operator@^7.10.4": +"@babel/plugin-proposal-nullish-coalescing-operator@7.10.4", "@babel/plugin-proposal-nullish-coalescing-operator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.10.4.tgz#02a7e961fc32e6d5b2db0649e01bf80ddee7e04a" integrity sha512-wq5n1M3ZUlHl9sqT2ok1T2/MTt6AXE0e1Lz4WzWBr95LsAZ5qDXe4KnFuauYyEyLiohvXFMdbsOTMyLZs91Zlw== @@ -775,14 +666,7 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" -"@babel/plugin-proposal-numeric-separator@7.8.3", "@babel/plugin-proposal-numeric-separator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.8.3.tgz#5d6769409699ec9b3b68684cd8116cedff93bad8" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.8.3" - -"@babel/plugin-proposal-numeric-separator@^7.10.4": +"@babel/plugin-proposal-numeric-separator@7.10.4", "@babel/plugin-proposal-numeric-separator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.10.4.tgz#ce1590ff0a65ad12970a609d78855e9a4c1aef06" integrity sha512-73/G7QoRoeNkLZFxsoCCvlg4ezE4eM+57PnOqgaPOozd5myfj7p0muD1mRVJvbUWbOzD+q3No2bWbaKy+DJ8DA== @@ -790,15 +674,7 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@7.9.6", "@babel/plugin-proposal-object-rest-spread@^7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.9.5" - -"@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.11.0": +"@babel/plugin-proposal-object-rest-spread@7.11.0", "@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.11.0.tgz#bd81f95a1f746760ea43b6c2d3d62b11790ad0af" integrity sha512-wzch41N4yztwoRw0ak+37wxwJM2oiIiy6huGCoqkvSTA9acYWcPfn9Y4aJqmFFJ70KTJUu29f3DQ43uJ9HXzEA== @@ -807,6 +683,14 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.10.4" +"@babel/plugin-proposal-object-rest-spread@7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-transform-parameters" "^7.9.5" + "@babel/plugin-proposal-object-rest-spread@^7.3.2": version "7.7.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.7.7.tgz#9f27075004ab99be08c5c1bd653a2985813cb370" @@ -822,21 +706,7 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" -"@babel/plugin-proposal-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - -"@babel/plugin-proposal-optional-chaining@7.9.0", "@babel/plugin-proposal-optional-chaining@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.9.0.tgz#31db16b154c39d6b8a645292472b98394c292a58" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - -"@babel/plugin-proposal-optional-chaining@^7.11.0": +"@babel/plugin-proposal-optional-chaining@7.11.0", "@babel/plugin-proposal-optional-chaining@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.11.0.tgz#de5866d0646f6afdaab8a566382fe3a221755076" integrity sha512-v9fZIu3Y8562RRwhm1BbMRxtqZNFmFA2EG+pT2diuU8PT3H6T/KXoZ54KgYisfOFZHV6PfvAiBIZ9Rcz+/JCxA== @@ -868,13 +738,6 @@ "@babel/helper-create-regexp-features-plugin" "^7.7.4" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-proposal-unicode-property-regex@^7.8.3": - version "7.8.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.8.tgz#ee3a95e90cdc04fe8cd92ec3279fa017d68a0d1d" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.8" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" @@ -932,6 +795,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz#39abaae3cbf710c4373d8429484e6ba21340166c" + integrity sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx@^7.2.0": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.7.4.tgz#dab2b56a36fb6c3c222a1fbc71f7bf97f327a9ec" @@ -970,7 +840,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-numeric-separator@^7.8.0", "@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.8.3.tgz#0e3fb63e09bea1b11e96467271c8308007e7c41f" dependencies: @@ -1007,12 +877,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-top-level-await@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-typescript@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.10.4.tgz#2f55e770d3501e83af217d782cb7517d7bb34d25" @@ -1026,12 +890,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-typescript@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.8.3.tgz#c1f659dda97711a569cef75275f7e15dcaa6cabc" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-arrow-functions@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.10.4.tgz#e22960d77e697c74f41c501d44d73dbf8a6a64cd" @@ -1039,12 +897,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-arrow-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-async-to-generator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.10.4.tgz#41a5017e49eb6f3cda9392a51eef29405b245a37" @@ -1054,14 +906,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/helper-remap-async-to-generator" "^7.10.4" -"@babel/plugin-transform-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" - dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - "@babel/plugin-transform-block-scoped-functions@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.10.4.tgz#1afa595744f75e43a91af73b0d998ecfe4ebc2e8" @@ -1069,12 +913,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-block-scoped-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-block-scoping@^7.10.4": version "7.11.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.11.1.tgz#5b7efe98852bef8d652c0b28144cd93a9e4b5215" @@ -1082,13 +920,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-block-scoping@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - lodash "^4.17.13" - "@babel/plugin-transform-classes@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.4.tgz#405136af2b3e218bc4a1926228bc917ab1a0adc7" @@ -1103,19 +934,6 @@ "@babel/helper-split-export-declaration" "^7.10.4" globals "^11.1.0" -"@babel/plugin-transform-classes@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.9.5" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-split-export-declaration" "^7.8.3" - globals "^11.1.0" - "@babel/plugin-transform-computed-properties@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.10.4.tgz#9ded83a816e82ded28d52d4b4ecbdd810cdfc0eb" @@ -1123,12 +941,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-computed-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-destructuring@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.4.tgz#70ddd2b3d1bea83d01509e9bb25ddb3a74fc85e5" @@ -1136,12 +948,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-destructuring@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.9.5.tgz#72c97cf5f38604aea3abf3b935b0e17b1db76a50" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-dotall-regex@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.10.4.tgz#469c2062105c1eb6a040eaf4fac4b488078395ee" @@ -1157,13 +963,6 @@ "@babel/helper-create-regexp-features-plugin" "^7.7.4" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-dotall-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-duplicate-keys@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.10.4.tgz#697e50c9fee14380fe843d1f306b295617431e47" @@ -1171,12 +970,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-duplicate-keys@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-exponentiation-operator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.10.4.tgz#5ae338c57f8cf4001bdb35607ae66b92d665af2e" @@ -1185,13 +978,6 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-exponentiation-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-flow-strip-types@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.10.4.tgz#c497957f09e86e3df7296271e9eb642876bf7788" @@ -1214,12 +1000,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-for-of@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.9.0.tgz#0f260e27d3e29cd1bb3128da5e76c761aa6c108e" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-function-name@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.10.4.tgz#6a467880e0fc9638514ba369111811ddbe2644b7" @@ -1228,13 +1008,6 @@ "@babel/helper-function-name" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-function-name@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-literals@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.10.4.tgz#9f42ba0841100a135f22712d0e391c462f571f3c" @@ -1242,12 +1015,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-member-expression-literals@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.10.4.tgz#b1ec44fcf195afcb8db2c62cd8e551c881baf8b7" @@ -1255,12 +1022,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-member-expression-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-modules-amd@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.5.tgz#1b9cddaf05d9e88b3aad339cb3e445c4f020a9b1" @@ -1270,24 +1031,7 @@ "@babel/helper-plugin-utils" "^7.10.4" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-amd@^7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.6.tgz#8539ec42c153d12ea3836e0e3ac30d5aae7b258e" - dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-commonjs@7.9.6", "@babel/plugin-transform-modules-commonjs@^7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.6.tgz#64b7474a4279ee588cacd1906695ca721687c277" - dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-commonjs@^7.10.4": +"@babel/plugin-transform-modules-commonjs@7.10.4", "@babel/plugin-transform-modules-commonjs@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.4.tgz#66667c3eeda1ebf7896d41f1f16b17105a2fbca0" integrity sha512-Xj7Uq5o80HDLlW64rVfDBhao6OX89HKUmb+9vWYaLXBZOma4gA6tw4Ni1O5qVDoZWUV0fxMYA0aYzOawz0l+1w== @@ -1307,15 +1051,6 @@ "@babel/helper-plugin-utils" "^7.10.4" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.6.tgz#207f1461c78a231d5337a92140e52422510d81a4" - dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.3" - "@babel/plugin-transform-modules-umd@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.10.4.tgz#9a8481fe81b824654b3a0b65da3df89f3d21839e" @@ -1324,13 +1059,6 @@ "@babel/helper-module-transforms" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-modules-umd@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.9.0.tgz#e909acae276fec280f9b821a5f38e1f08b480697" - dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-named-capturing-groups-regex@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.10.4.tgz#78b4d978810b6f3bcf03f9e318f2fc0ed41aecb6" @@ -1338,12 +1066,6 @@ dependencies: "@babel/helper-create-regexp-features-plugin" "^7.10.4" -"@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/plugin-transform-new-target@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.10.4.tgz#9097d753cb7b024cb7381a3b2e52e9513a9c6888" @@ -1351,12 +1073,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-new-target@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-object-super@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.10.4.tgz#d7146c4d139433e7a6526f888c667e314a093894" @@ -1365,13 +1081,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/helper-replace-supers" "^7.10.4" -"@babel/plugin-transform-object-super@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - "@babel/plugin-transform-parameters@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.5.tgz#59d339d58d0b1950435f4043e74e2510005e2c4a" @@ -1394,11 +1103,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-property-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" +"@babel/plugin-transform-react-display-name@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.10.4.tgz#b5795f4e3e3140419c3611b7a2a3832b9aef328d" + integrity sha512-Zd4X54Mu9SBfPGnEcaGcOrVAYOtjT2on8QZkLKEq1S/tHexG39d9XXGZv19VfRrDjPJzFmPfTAqOQS1pfFOujw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-transform-react-display-name@^7.8.3": version "7.8.3" @@ -1406,6 +1116,15 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-react-jsx-development@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.10.4.tgz#6ec90f244394604623880e15ebc3c34c356258ba" + integrity sha512-RM3ZAd1sU1iQ7rI2dhrZRZGv0aqzNQMbkIUCS1txYpi9wHQ2ZHNjo5TwX+UD6pvFW4AbWqLVYvKy5qJSAyRGjQ== + dependencies: + "@babel/helper-builder-react-jsx-experimental" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx-development@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.9.0.tgz#3c2a130727caf00c2a293f0aed24520825dbf754" @@ -1414,6 +1133,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-jsx-self@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.10.4.tgz#cd301a5fed8988c182ed0b9d55e9bd6db0bd9369" + integrity sha512-yOvxY2pDiVJi0axdTWHSMi5T0DILN+H+SaeJeACHKjQLezEzhLx9nEF9xgpBLPtkZsks9cnb5P9iBEi21En3gg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx-self@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.9.0.tgz#f4f26a325820205239bb915bad8e06fcadabb49b" @@ -1421,6 +1148,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-jsx-source@^7.10.4": + version "7.10.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.10.5.tgz#34f1779117520a779c054f2cdd9680435b9222b4" + integrity sha512-wTeqHVkN1lfPLubRiZH3o73f4rfon42HpgxUSs86Nc+8QIcm/B9s8NNVXu/gwGcOyd7yDib9ikxoDLxJP0UiDA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx-source@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.9.0.tgz#89ef93025240dd5d17d3122294a093e5e0183de0" @@ -1428,6 +1163,16 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-jsx@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.10.4.tgz#673c9f913948764a4421683b2bef2936968fddf2" + integrity sha512-L+MfRhWjX0eI7Js093MM6MacKU4M6dnCRa/QPDwYMxjljzSCzzlzKzj9Pk4P3OtrPcxr2N3znR419nr3Xw+65A== + dependencies: + "@babel/helper-builder-react-jsx" "^7.10.4" + "@babel/helper-builder-react-jsx-experimental" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx@^7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.9.4.tgz#86f576c8540bd06d0e95e0b61ea76d55f6cbd03f" @@ -1437,6 +1182,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-pure-annotations@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.10.4.tgz#3eefbb73db94afbc075f097523e445354a1c6501" + integrity sha512-+njZkqcOuS8RaPakrnR9KvxjoG1ASJWpoIv/doyWngId88JoFlPlISenGXjrVacZUIALGUr6eodRs1vmPnF23A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-transform-regenerator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.10.4.tgz#2015e59d839074e76838de2159db421966fd8b63" @@ -1444,12 +1197,6 @@ dependencies: regenerator-transform "^0.14.2" -"@babel/plugin-transform-regenerator@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz#5e46a0dca2bee1ad8285eb0527e6abc9c37672f8" - dependencies: - regenerator-transform "^0.14.2" - "@babel/plugin-transform-reserved-words@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.10.4.tgz#8f2682bcdcef9ed327e1b0861585d7013f8a54dd" @@ -1457,18 +1204,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-reserved-words@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-runtime@7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz#3ba804438ad0d880a17bca5eaa0cdf1edeedb2fd" +"@babel/plugin-transform-runtime@7.11.0": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.0.tgz#e27f78eb36f19448636e05c33c90fd9ad9b8bccf" + integrity sha512-LFEsP+t3wkYBlis8w6/kmnd6Kb1dxTd+wGJ8MlxTGzQo//ehtqlVL4S9DNUa53+dtPSQobN2CXx4d81FqC58cw== dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-imports" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" resolve "^1.8.1" semver "^5.5.1" @@ -1479,12 +1221,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-shorthand-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-spread@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.11.0.tgz#fa84d300f5e4f57752fe41a6d1b3c554f13f17cc" @@ -1493,12 +1229,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/helper-skip-transparent-expression-wrappers" "^7.11.0" -"@babel/plugin-transform-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-sticky-regex@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.10.4.tgz#8f3889ee8657581130a29d9cc91d7c73b7c4a28d" @@ -1507,13 +1237,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/helper-regex" "^7.10.4" -"@babel/plugin-transform-sticky-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-regex" "^7.8.3" - "@babel/plugin-transform-template-literals@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.10.5.tgz#78bc5d626a6642db3312d9d0f001f5e7639fde8c" @@ -1522,13 +1245,6 @@ "@babel/helper-annotate-as-pure" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-template-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-typeof-symbol@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.10.4.tgz#9509f1a7eec31c4edbffe137c16cc33ff0bc5bfc" @@ -1536,12 +1252,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-typeof-symbol@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-typescript@^7.10.4": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.11.0.tgz#2b4879676af37342ebb278216dd090ac67f13abb" @@ -1559,14 +1269,6 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-typescript" "^7.7.4" -"@babel/plugin-transform-typescript@^7.9.0": - version "7.9.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.9.4.tgz#4bb4dde4f10bbf2d787fce9707fb09b483e33359" - dependencies: - "@babel/helper-create-class-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-typescript" "^7.8.3" - "@babel/plugin-transform-unicode-escapes@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.10.4.tgz#feae523391c7651ddac115dae0a9d06857892007" @@ -1582,13 +1284,6 @@ "@babel/helper-create-regexp-features-plugin" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-unicode-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/polyfill@^7.0.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.8.3.tgz#2333fc2144a542a7c07da39502ceeeb3abe4debd" @@ -1596,72 +1291,7 @@ core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/preset-env@7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" - dependencies: - "@babel/compat-data" "^7.9.6" - "@babel/helper-compilation-targets" "^7.9.6" - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-proposal-async-generator-functions" "^7.8.3" - "@babel/plugin-proposal-dynamic-import" "^7.8.3" - "@babel/plugin-proposal-json-strings" "^7.8.3" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.6" - "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" - "@babel/plugin-proposal-optional-chaining" "^7.9.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" - "@babel/plugin-syntax-async-generators" "^7.8.0" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - "@babel/plugin-syntax-json-strings" "^7.8.0" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - "@babel/plugin-syntax-numeric-separator" "^7.8.0" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-syntax-top-level-await" "^7.8.3" - "@babel/plugin-transform-arrow-functions" "^7.8.3" - "@babel/plugin-transform-async-to-generator" "^7.8.3" - "@babel/plugin-transform-block-scoped-functions" "^7.8.3" - "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.9.5" - "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.9.5" - "@babel/plugin-transform-dotall-regex" "^7.8.3" - "@babel/plugin-transform-duplicate-keys" "^7.8.3" - "@babel/plugin-transform-exponentiation-operator" "^7.8.3" - "@babel/plugin-transform-for-of" "^7.9.0" - "@babel/plugin-transform-function-name" "^7.8.3" - "@babel/plugin-transform-literals" "^7.8.3" - "@babel/plugin-transform-member-expression-literals" "^7.8.3" - "@babel/plugin-transform-modules-amd" "^7.9.6" - "@babel/plugin-transform-modules-commonjs" "^7.9.6" - "@babel/plugin-transform-modules-systemjs" "^7.9.6" - "@babel/plugin-transform-modules-umd" "^7.9.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" - "@babel/plugin-transform-new-target" "^7.8.3" - "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.9.5" - "@babel/plugin-transform-property-literals" "^7.8.3" - "@babel/plugin-transform-regenerator" "^7.8.7" - "@babel/plugin-transform-reserved-words" "^7.8.3" - "@babel/plugin-transform-shorthand-properties" "^7.8.3" - "@babel/plugin-transform-spread" "^7.8.3" - "@babel/plugin-transform-sticky-regex" "^7.8.3" - "@babel/plugin-transform-template-literals" "^7.8.3" - "@babel/plugin-transform-typeof-symbol" "^7.8.4" - "@babel/plugin-transform-unicode-regex" "^7.8.3" - "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.6" - browserslist "^4.11.1" - core-js-compat "^3.6.2" - invariant "^2.2.2" - levenary "^1.1.1" - semver "^5.5.0" - -"@babel/preset-env@^7.1.6": +"@babel/preset-env@7.11.0", "@babel/preset-env@^7.1.6": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.11.0.tgz#860ee38f2ce17ad60480c2021ba9689393efb796" integrity sha512-2u1/k7rG/gTh02dylX2kL3S0IJNF+J6bfDSp4DI2Ma8QN6Y9x9pmAax59fsCk6QUQG0yqH47yJWA+u1I1LccAg== @@ -1760,6 +1390,19 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" +"@babel/preset-react@7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.10.4.tgz#92e8a66d816f9911d11d4cc935be67adfc82dbcf" + integrity sha512-BrHp4TgOIy4M19JAfO1LhycVXOPWdDbTRep7eVyatf174Hff+6Uk53sDyajqZPu8W1qXRBiYOfIamek6jA7YVw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-transform-react-display-name" "^7.10.4" + "@babel/plugin-transform-react-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx-development" "^7.10.4" + "@babel/plugin-transform-react-jsx-self" "^7.10.4" + "@babel/plugin-transform-react-jsx-source" "^7.10.4" + "@babel/plugin-transform-react-pure-annotations" "^7.10.4" + "@babel/preset-react@7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.9.4.tgz#c6c97693ac65b6b9c0b4f25b948a8f665463014d" @@ -1771,12 +1414,13 @@ "@babel/plugin-transform-react-jsx-self" "^7.9.0" "@babel/plugin-transform-react-jsx-source" "^7.9.0" -"@babel/preset-typescript@7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.9.0.tgz#87705a72b1f0d59df21c179f7c3d2ef4b16ce192" +"@babel/preset-typescript@7.10.4", "@babel/preset-typescript@^7.1.0": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz#7d5d052e52a682480d6e2cc5aa31be61c8c25e36" + integrity sha512-SdYnvGPv+bLlwkF2VkJnaX/ni1sMNetcGI1+nThF1gyv6Ph8Qucc4ZZAjM5yZcE/AKRXIOTZz7eSRDWOEjPyRQ== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-typescript" "^7.9.0" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-transform-typescript" "^7.10.4" "@babel/preset-typescript@^7.0.0": version "7.7.7" @@ -1785,14 +1429,6 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-transform-typescript" "^7.7.4" -"@babel/preset-typescript@^7.1.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz#7d5d052e52a682480d6e2cc5aa31be61c8c25e36" - integrity sha512-SdYnvGPv+bLlwkF2VkJnaX/ni1sMNetcGI1+nThF1gyv6Ph8Qucc4ZZAjM5yZcE/AKRXIOTZz7eSRDWOEjPyRQ== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-transform-typescript" "^7.10.4" - "@babel/register@^7.0.0": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.10.5.tgz#354f3574895f1307f79efe37a51525e52fd38d89" @@ -1804,9 +1440,10 @@ pirates "^4.0.0" source-map-support "^0.5.16" -"@babel/runtime@7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f" +"@babel/runtime@7.11.2": + version "7.11.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.11.2.tgz#f549c13c754cc40b87644b9fa9f09a6a95fe0736" + integrity sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw== dependencies: regenerator-runtime "^0.13.4" @@ -1898,6 +1535,15 @@ globals "^11.1.0" lodash "^4.17.13" +"@babel/types@7.11.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.0.tgz#2ae6bf1ba9ae8c3c43824e5861269871b206e90d" + integrity sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + lodash "^4.17.19" + to-fast-properties "^2.0.0" + "@babel/types@7.8.3", "@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.4.4", "@babel/types@^7.7.4": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" @@ -1906,7 +1552,7 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" -"@babel/types@7.9.6", "@babel/types@^7.3.3", "@babel/types@^7.8.3", "@babel/types@^7.9.0", "@babel/types@^7.9.5", "@babel/types@^7.9.6": +"@babel/types@^7.3.3", "@babel/types@^7.8.3", "@babel/types@^7.9.0", "@babel/types@^7.9.5", "@babel/types@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.6.tgz#2c5502b427251e9de1bd2dff95add646d95cc9f7" dependencies: @@ -1914,15 +1560,6 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" -"@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0": - version "7.11.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.0.tgz#2ae6bf1ba9ae8c3c43824e5861269871b206e90d" - integrity sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA== - dependencies: - "@babel/helper-validator-identifier" "^7.10.4" - lodash "^4.17.19" - to-fast-properties "^2.0.0" - "@babel/types@^7.8.6": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.5.tgz#89231f82915a8a566a703b3b20133f73da6b9444" @@ -4969,7 +4606,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@4.13.0, browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6, browserslist@^4.0.0, browserslist@^4.11.1, browserslist@^4.12.0, browserslist@^4.13.0, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3, browserslist@^4.8.5: +browserslist@4.13.0, browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6, browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.13.0, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3, browserslist@^4.8.5: version "4.13.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.13.0.tgz#42556cba011e1b0a2775b611cba6a8eca18e940d" integrity sha512-MINatJ5ZNrLnQ6blGvePd/QOz9Xtu+Ne+x29iQSCHfkU5BugKVJwZKn/iiL8UbpIpa3JhviKjz+XxMo0m2caFQ== From 6c1f9dc5bdf1ac614c71def6df95984ee3737f57 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Wed, 26 Aug 2020 12:47:21 -0400 Subject: [PATCH 02/16] Fix babel caller passthrough --- packages/next/build/webpack/loaders/next-babel-loader.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/next/build/webpack/loaders/next-babel-loader.js b/packages/next/build/webpack/loaders/next-babel-loader.js index bde1c2aa2d803..56212e6db210b 100644 --- a/packages/next/build/webpack/loaders/next-babel-loader.js +++ b/packages/next/build/webpack/loaders/next-babel-loader.js @@ -3,9 +3,9 @@ import hash from 'next/dist/compiled/string-hash' import { basename, join } from 'path' import * as Log from '../../output/log' -// increment 'm' to invalidate cache +// increment 'n' to invalidate cache // eslint-disable-next-line no-useless-concat -const cacheKey = 'babel-cache-' + 'm' + '-' +const cacheKey = 'babel-cache-' + 'n' + '-' const nextBabelPreset = require('../../babel/preset') const getModernOptions = (babelOptions = {}) => { @@ -61,6 +61,7 @@ module.exports = babelLoader.custom((babel) => { babelPresetPlugins: opts.babelPresetPlugins, development: opts.development, hasReactRefresh: opts.hasReactRefresh, + hasJsxRuntime: opts.hasJsxRuntime, } const filename = join(opts.cwd, 'noop.js') const loader = Object.assign( @@ -76,6 +77,7 @@ module.exports = babelLoader.custom((babel) => { '-new-polyfills' + (opts.development ? '-development' : '-production') + (opts.hasReactRefresh ? '-react-refresh' : '') + + (opts.hasJsxRuntime ? '-jsx-runtime' : '') + JSON.stringify( babel.loadPartialConfig({ filename, @@ -99,6 +101,7 @@ module.exports = babelLoader.custom((babel) => { delete loader.babelPresetPlugins delete loader.development delete loader.hasReactRefresh + delete loader.hasJsxRuntime return { loader, custom } }, config( @@ -113,6 +116,7 @@ module.exports = babelLoader.custom((babel) => { babelPresetPlugins, development, hasReactRefresh, + hasJsxRuntime, }, } ) { @@ -136,6 +140,7 @@ module.exports = babelLoader.custom((babel) => { options.caller.isServer = isServer options.caller.isModern = isModern options.caller.isDev = development + options.caller.hasJsxRuntime = hasJsxRuntime const emitWarning = this.emitWarning.bind(this) Object.defineProperty(options.caller, 'onWarning', { From b329becc325b220a28b4a7b08467ead9efa206f7 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Wed, 26 Aug 2020 22:25:01 -0400 Subject: [PATCH 03/16] Fix numeric separator tests --- packages/next/build/babel/preset.ts | 10 +++------ .../pages/index.js | 0 .../numeric-sep/test/index.test.js | 22 +++++++++++++++++++ .../test/index.test.js | 22 ------------------- 4 files changed, 25 insertions(+), 29 deletions(-) rename test/integration/{typescript-numeric-sep-exclusive => numeric-sep}/pages/index.js (100%) create mode 100644 test/integration/numeric-sep/test/index.test.js delete mode 100644 test/integration/typescript-numeric-sep-exclusive/test/index.test.js diff --git a/packages/next/build/babel/preset.ts b/packages/next/build/babel/preset.ts index 8c9e8d74f9968..8c6ecc097fa1e 100644 --- a/packages/next/build/babel/preset.ts +++ b/packages/next/build/babel/preset.ts @@ -184,14 +184,10 @@ module.exports = ( require('@babel/plugin-proposal-optional-chaining'), require('@babel/plugin-proposal-nullish-coalescing-operator'), isServer && require('@babel/plugin-syntax-bigint'), - [require('@babel/plugin-proposal-numeric-separator').default, false], + // Always compile numeric separator because the resulting number is + // smaller. + require('@babel/plugin-proposal-numeric-separator'), require('@babel/plugin-proposal-export-namespace-from'), ].filter(Boolean), - overrides: [ - { - test: /\.tsx?$/, - plugins: [require('@babel/plugin-proposal-numeric-separator').default], - }, - ], } } diff --git a/test/integration/typescript-numeric-sep-exclusive/pages/index.js b/test/integration/numeric-sep/pages/index.js similarity index 100% rename from test/integration/typescript-numeric-sep-exclusive/pages/index.js rename to test/integration/numeric-sep/pages/index.js diff --git a/test/integration/numeric-sep/test/index.test.js b/test/integration/numeric-sep/test/index.test.js new file mode 100644 index 0000000000000..b147bbfebbc97 --- /dev/null +++ b/test/integration/numeric-sep/test/index.test.js @@ -0,0 +1,22 @@ +/* eslint-env jest */ + +import { nextBuild } from 'next-test-utils' +import { join } from 'path' + +jest.setTimeout(1000 * 60 * 2) + +const appDir = join(__dirname, '../') + +describe('Numeric Separator Support', () => { + it('should successfully build for a JavaScript file', async () => { + const { code, stdout, stderr } = await nextBuild(appDir, [], { + stdout: true, + stderr: true, + }) + + expect(code).toBe(0) + + expect(stdout).toContain('Compiled successfully') + expect(stderr).not.toContain('Failed to compile') + }) +}) diff --git a/test/integration/typescript-numeric-sep-exclusive/test/index.test.js b/test/integration/typescript-numeric-sep-exclusive/test/index.test.js deleted file mode 100644 index 3048f0f3ecd91..0000000000000 --- a/test/integration/typescript-numeric-sep-exclusive/test/index.test.js +++ /dev/null @@ -1,22 +0,0 @@ -/* eslint-env jest */ - -import { nextBuild } from 'next-test-utils' -import { join } from 'path' - -jest.setTimeout(1000 * 60 * 2) - -const appDir = join(__dirname, '../') - -describe('TypeScript Exclusivity of Numeric Separator', () => { - it('should fail to build for a JavaScript file', async () => { - const { code, stderr } = await nextBuild(appDir, [], { - stderr: true, - }) - - expect(code).toBe(1) - - expect(stderr).toContain('Failed to compile.') - expect(stderr).toContain('Syntax error') - expect(stderr).toContain('config to enable transformation') - }) -}) From f19ad19083d8229fcc2d353a0c05dc68f51af4e9 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Thu, 27 Aug 2020 21:57:13 -0400 Subject: [PATCH 04/16] Test React 17 in CI --- .github/workflows/build_test_deploy.yml | 6 ++++-- packages/next/build/webpack-config.ts | 4 +++- test/acceptance/helpers.js | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 3d5dce3de6011..59015195f72fd 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -96,8 +96,8 @@ jobs: steps: - run: exit 0 - testWebpack5: - name: webpack 5 (Basic, Production, Acceptance) + testFutureDependencies: + name: React 17 + webpack 5 (Basic, Production, Acceptance) runs-on: ubuntu-latest env: NEXT_TELEMETRY_DISABLED: 1 @@ -108,6 +108,8 @@ jobs: - uses: actions/checkout@v2 - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - run: cat package.json | jq '.resolutions.webpack = "^5.0.0-beta.22"' > package.json.tmp && mv package.json.tmp package.json + - run: cat package.json | jq '.resolutions.react = "0.0.0-4e6999103"' > package.json.tmp && mv package.json.tmp package.json + - run: cat package.json | jq '.resolutions."react-dom" = "0.0.0-4e6999103"' > package.json.tmp && mv package.json.tmp package.json - run: yarn install --check-files - run: node run-tests.js test/integration/production/test/index.test.js - run: node run-tests.js test/integration/basic/test/index.test.js diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 91f0a66373a5c..6e5f3a5ca7c72 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -232,7 +232,9 @@ export default async function getBaseWebpackConfig( const reactVersion = await getPackageVersion({ cwd: dir, name: 'react' }) const hasReactRefresh: boolean = dev && !isServer const hasJsxRuntime: boolean = - Boolean(reactVersion) && semver.gte(reactVersion!, '17.0.0') + Boolean(reactVersion) && + (semver.gte(reactVersion!, '17.0.0-rc.0') || + semver.eq(reactVersion!, '0.0.0-4e6999103')) const distDir = path.join(dir, config.distDir) const defaultLoaders = { diff --git a/test/acceptance/helpers.js b/test/acceptance/helpers.js index 76f96c22617e1..7379af1c2fae9 100644 --- a/test/acceptance/helpers.js +++ b/test/acceptance/helpers.js @@ -38,6 +38,9 @@ export async function sandbox( }) const browser = await webdriver(appPort, '/') + // Slow down tests a bit to ensure application is ready: + await new Promise((resolve) => setTimeout(resolve, 750)) + return [ { sandboxDirectory, From 86b0d693de68ba7d6b4f124186c0c1751ab01f6c Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Thu, 27 Aug 2020 21:59:33 -0400 Subject: [PATCH 05/16] Adjust snapshot for react 17 --- test/integration/basic/test/error-recovery.js | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/test/integration/basic/test/error-recovery.js b/test/integration/basic/test/error-recovery.js index 9b3fd4e8a8866..bcf03a1781128 100644 --- a/test/integration/basic/test/error-recovery.js +++ b/test/integration/basic/test/error-recovery.js @@ -253,22 +253,9 @@ export default (context, renderViaHTTP) => { '__WEBPACK_DEFAULT_EXPORT__', 'Unknown' ) - ).toMatchInlineSnapshot(` - " 1 of 1 unhandled error - Server Error - - Error: Objects are not valid as a React child (found: /search/). If you meant to render a collection of children, use an array instead. - in Unknown - in App - in Unknown - in Context.Provider - in Context.Provider - in Context.Provider - in Context.Provider - in AppContainer - - This error happened while generating the page. Any console logs will be displayed in the terminal window." - `) + ).toMatch( + 'Objects are not valid as a React child (found: /search/). If you meant to render a collection of children, use an array instead.' + ) aboutPage.restore() From 33e4815d4ac7dea5c001948260ed9be692f3255f Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Thu, 27 Aug 2020 23:40:11 -0400 Subject: [PATCH 06/16] Disable new JSX runtime in development --- packages/next/build/babel/preset.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next/build/babel/preset.ts b/packages/next/build/babel/preset.ts index 8c6ecc097fa1e..76c2aa41874a7 100644 --- a/packages/next/build/babel/preset.ts +++ b/packages/next/build/babel/preset.ts @@ -65,9 +65,9 @@ module.exports = ( const supportsESM = api.caller(supportsStaticESM) const isServer = api.caller((caller: any) => !!caller && caller.isServer) const isModern = api.caller((caller: any) => !!caller && caller.isModern) - const hasJsxRuntime = Boolean( - api.caller((caller: any) => !!caller && caller.hasJsxRuntime) - ) + const hasJsxRuntime = + Boolean(api.caller((caller: any) => !!caller && caller.hasJsxRuntime)) && + isProduction const isLaxModern = isModern || From e18cd058ad5c70b49b9173bebbb1f88b62b7787d Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Fri, 28 Aug 2020 11:24:39 -0400 Subject: [PATCH 07/16] Undo prod only change --- packages/next/build/babel/preset.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next/build/babel/preset.ts b/packages/next/build/babel/preset.ts index 76c2aa41874a7..8c6ecc097fa1e 100644 --- a/packages/next/build/babel/preset.ts +++ b/packages/next/build/babel/preset.ts @@ -65,9 +65,9 @@ module.exports = ( const supportsESM = api.caller(supportsStaticESM) const isServer = api.caller((caller: any) => !!caller && caller.isServer) const isModern = api.caller((caller: any) => !!caller && caller.isModern) - const hasJsxRuntime = - Boolean(api.caller((caller: any) => !!caller && caller.hasJsxRuntime)) && - isProduction + const hasJsxRuntime = Boolean( + api.caller((caller: any) => !!caller && caller.hasJsxRuntime) + ) const isLaxModern = isModern || From 725095a1eebeb57075db9ca26166b7542a0723e3 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Fri, 28 Aug 2020 11:25:37 -0400 Subject: [PATCH 08/16] use rc.1 --- .github/workflows/build_test_deploy.yml | 4 ++-- packages/next/build/webpack-config.ts | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 59015195f72fd..d23ce3641a1ed 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -108,8 +108,8 @@ jobs: - uses: actions/checkout@v2 - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - run: cat package.json | jq '.resolutions.webpack = "^5.0.0-beta.22"' > package.json.tmp && mv package.json.tmp package.json - - run: cat package.json | jq '.resolutions.react = "0.0.0-4e6999103"' > package.json.tmp && mv package.json.tmp package.json - - run: cat package.json | jq '.resolutions."react-dom" = "0.0.0-4e6999103"' > package.json.tmp && mv package.json.tmp package.json + - run: cat package.json | jq '.resolutions.react = "^17.0.0-rc.1"' > package.json.tmp && mv package.json.tmp package.json + - run: cat package.json | jq '.resolutions."react-dom" = "^17.0.0-rc.1"' > package.json.tmp && mv package.json.tmp package.json - run: yarn install --check-files - run: node run-tests.js test/integration/production/test/index.test.js - run: node run-tests.js test/integration/basic/test/index.test.js diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 6e5f3a5ca7c72..07ff3eb89ff9c 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -232,9 +232,7 @@ export default async function getBaseWebpackConfig( const reactVersion = await getPackageVersion({ cwd: dir, name: 'react' }) const hasReactRefresh: boolean = dev && !isServer const hasJsxRuntime: boolean = - Boolean(reactVersion) && - (semver.gte(reactVersion!, '17.0.0-rc.0') || - semver.eq(reactVersion!, '0.0.0-4e6999103')) + Boolean(reactVersion) && semver.gte(reactVersion!, '17.0.0-rc.0') const distDir = path.join(dir, config.distDir) const defaultLoaders = { From 5e3868c73f38e8d2402f02c48862450c2d178e45 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Mon, 31 Aug 2020 15:07:09 -0400 Subject: [PATCH 09/16] Temporarily bundle babel dependency for hotfix --- .../LICENSE | 22 +++++++++++++ .../package.json | 1 + .../next/compiled/@babel/preset-react/LICENSE | 22 +++++++++++++ .../compiled/@babel/preset-react/package.json | 1 + .../index.js | 1 + .../compiled/babel__preset-react/index.js | 1 + packages/next/package.json | 1 + packages/next/taskfile.js | 33 +++++++++++++++++++ yarn.lock | 15 +++++++-- 9 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 packages/next/compiled/@babel/helper-builder-react-jsx-experimental/LICENSE create mode 100644 packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json create mode 100644 packages/next/compiled/@babel/preset-react/LICENSE create mode 100644 packages/next/compiled/@babel/preset-react/package.json create mode 100644 packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js create mode 100644 packages/next/compiled/babel__preset-react/index.js diff --git a/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/LICENSE b/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/LICENSE new file mode 100644 index 0000000000000..5185b9ff14cd8 --- /dev/null +++ b/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/LICENSE @@ -0,0 +1,22 @@ +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. \ No newline at end of file diff --git a/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json b/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json new file mode 100644 index 0000000000000..9dc2f98c59198 --- /dev/null +++ b/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json @@ -0,0 +1 @@ +{"name":"@babel/helper-builder-react-jsx-experimental","main":"index.js","license":"MIT"} diff --git a/packages/next/compiled/@babel/preset-react/LICENSE b/packages/next/compiled/@babel/preset-react/LICENSE new file mode 100644 index 0000000000000..f31575ec773bb --- /dev/null +++ b/packages/next/compiled/@babel/preset-react/LICENSE @@ -0,0 +1,22 @@ +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/next/compiled/@babel/preset-react/package.json b/packages/next/compiled/@babel/preset-react/package.json new file mode 100644 index 0000000000000..2e5dbe7c803f0 --- /dev/null +++ b/packages/next/compiled/@babel/preset-react/package.json @@ -0,0 +1 @@ +{"name":"@babel/preset-react","main":"index.js","author":"Sebastian McKenzie ","license":"MIT"} diff --git a/packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js b/packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js new file mode 100644 index 0000000000000..94217b176d7f9 --- /dev/null +++ b/packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js @@ -0,0 +1 @@ +module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={i:t,l:false,exports:{}};e[t].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(186)}t(__webpack_require__);return startup()}({5:function(e,t,r){var n=r(445),a=r(572),i=r(703),s=r(968);var o=/[\\^$.*+?()[\]{}|]/g;var l=/^\[object .+?Constructor\]$/;var u=Function.prototype,f=Object.prototype;var p=u.toString;var c=f.hasOwnProperty;var d=RegExp("^"+p.call(c).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!i(e)||a(e)){return false}var t=n(e)?d:l;return t.test(s(e))}e.exports=baseIsNative},21:function(e,t,r){var n=r(835),a=r(373);var i=n(a,"DataView");e.exports=i},29:function(e,t,r){var n=r(373);var a=n.Symbol;e.exports=a},38:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=_interopRequireDefault(r(884));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},40:function(e){var t=typeof global=="object"&&global&&global.Object===Object&&global;e.exports=t},44:function(e,t,r){var n=r(835);var a=n(Object,"create");e.exports=a},46:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},49:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},61:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=_interopRequireDefault(r(446));var a=r(810);var i=r(774);var s=_interopRequireDefault(r(675));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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)}}},62:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(774);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}},63:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const a=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||a.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},66:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(140);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)}}}},68:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=_interopRequireDefault(r(888));var a=r(140);var i=_interopRequireDefault(r(939));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function builder(e,...t){const r=a.BUILDER_KEYS[e];const s=t.length;if(s>r.length){throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`)}const o={type:e};let l=0;r.forEach(r=>{const i=a.NODE_FIELDS[e][r];let u;if(l{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},a.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,a.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier")},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"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},88:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(774);var a=_interopRequireDefault(r(603));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function createTSUnionType(e){const t=e.map(e=>e.typeAnnotations);const r=(0,a.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},90:function(e,t,r){var n=r(44);var a="__lodash_hash_undefined__";var i=Object.prototype;var s=i.hasOwnProperty;function hashGet(e){var t=this.__data__;if(n){var r=t[e];return r===a?undefined:r}return s.call(t,e)?t[e]:undefined}e.exports=hashGet},108:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(810);var a=_interopRequireDefault(r(956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function buildChildren(e){const t=[];for(let r=0;re)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r1){s="jsxs"}else{s="jsx"}r.add(s);if(r.size===p){e.stop()}}});return r}function hasJSX(e){let t=false;e.traverse({"JSXElement|JSXFragment"(e){t=true;e.stop()}});return t}function getSource(e,r){switch(r){case"Fragment":return`${e}/${t.development?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function addAutoImports(e,t){const r=getImportNames(e,t);if((0,a.isModule)(e)){const n={};r.forEach(r=>{if(!n[r]){n[r]=(0,a.addNamed)(e,r,getSource(t.source,r),{importedInterop:"uncompiled",ensureLiveReference:true}).name}});return n}else{const n={};const i={};r.forEach(r=>{const s=getSource(t.source,r);if(!n[r]){if(!i[s]){i[s]=(0,a.addNamespace)(e,s,{importedInterop:"uncompiled",ensureLiveReference:true}).name}n[r]=i[s]}});return n}}function createIdentifierParser(e){return()=>{return e.split(".").map(e=>n.identifier(e)).reduce((e,t)=>n.memberExpression(e,t))}}function makeTrace(e,t,r){const a=t!=null?n.numericLiteral(t):n.nullLiteral();const i=r!=null?n.numericLiteral(r+1):n.nullLiteral();const s=n.objectProperty(n.identifier("fileName"),e);const o=n.objectProperty(n.identifier("lineNumber"),a);const l=n.objectProperty(n.identifier("columnNumber"),i);return n.objectExpression([s,o,l])}function makeSource(e,t){const a=e.node.loc;if(!a){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:a=""}=t;const i=e.scope.generateUidIdentifier(r);const s=e.hub.getScope();if(s){s.push({id:i,init:n.stringLiteral(a)})}t.fileNameIdentifier=i}return makeTrace(n.cloneNode(t.fileNameIdentifier),a.start.line,a.start.column)}function convertJSXIdentifier(e,t){if(n.isJSXIdentifier(e)){if(e.name==="this"&&n.isReferenced(e,t)){return n.thisExpression()}else if(n.isValidIdentifier(e.name,false)){e.type="Identifier"}else{return n.stringLiteral(e.name)}}else if(n.isJSXMemberExpression(e)){return n.memberExpression(convertJSXIdentifier(e.object,e),convertJSXIdentifier(e.property,e))}else if(n.isJSXNamespacedName(e)){return n.stringLiteral(`${e.namespace.name}:${e.name.name}`)}return e}function convertAttributeValue(e){if(n.isJSXExpressionContainer(e)){return e.expression}else{return e}}function convertAttribute(e){const t=convertAttributeValue(e.value||n.booleanLiteral(true));if(n.isJSXSpreadAttribute(e)){return n.spreadElement(e.argument)}if(n.isStringLiteral(t)&&!n.isJSXExpressionContainer(e.value)){t.value=t.value.replace(/\n\s+/g," ");if(t.extra&&t.extra.raw){delete t.extra.raw}}if(n.isJSXNamespacedName(e.name)){e.name=n.stringLiteral(e.name.namespace.name+":"+e.name.name.name)}else if(n.isValidIdentifier(e.name.name,false)){e.name.type="Identifier"}else{e.name=n.stringLiteral(e.name.name)}return n.inherits(n.objectProperty(e.name,t),e)}function buildJSXElementCall(e,r){const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=convertJSXIdentifier(a.node.name,a.node);const o=[];let l;if(n.isIdentifier(s)){l=s.name}else if(n.isLiteral(s)){l=s.value}const u={tagExpr:s,tagName:l,args:o,pure:false};if(t.pre){t.pre(u,r)}let f=[];const p=Object.create(null);for(const t of a.get("attributes")){if(t.isJSXAttribute()&&n.isJSXIdentifier(t.node.name)){const{name:r}=t.node.name;switch(r){case"__source":case"__self":if(p[r])throw sourceSelfError(e,r);case"key":p[r]=convertAttributeValue(t.node.value);break;default:f.push(t.node)}}else{f.push(t.node)}}if(f.length||e.node.children.length){f=buildJSXOpeningElementAttributes(f,r,e.node.children)}else{f=n.objectExpression([])}o.push(f);if(!t.development){if(p.key!==undefined){o.push(p.key)}}else{var c,d,y;o.push((c=p.key)!=null?c:e.scope.buildUndefinedNode(),n.booleanLiteral(e.node.children.length>1),(d=p.__source)!=null?d:e.scope.buildUndefinedNode(),(y=p.__self)!=null?y:n.thisExpression())}if(t.post){t.post(u,r)}const T=u.call||n.callExpression(e.node.children.length>1?u.jsxStaticCallee:u.jsxCallee,o);if(u.pure)(0,i.default)(T);return T}function buildJSXOpeningElementAttributes(e,t,r){const a=e.map(convertAttribute);if(r&&r.length>0){if(r.length===1){a.push(n.objectProperty(n.identifier("children"),r[0]))}else{a.push(n.objectProperty(n.identifier("children"),n.arrayExpression(r)))}}return n.objectExpression(a)}function buildJSXFragmentCall(e,r){const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=[];const o=null;const l=r.get("@babel/plugin-react-jsx/jsxFragIdentifier")();const u={tagExpr:l,tagName:o,args:s,pure:false};if(t.pre){t.pre(u,r)}let f;if(e.node.children.length>0){if(e.node.children.length===1){f=e.node.children[0]}else{f=n.arrayExpression(e.node.children)}}s.push(n.objectExpression(f!==undefined?[n.objectProperty(n.identifier("children"),f)]:[]));if(t.development){s.push(e.scope.buildUndefinedNode(),n.booleanLiteral(e.node.children.length>1))}if(t.post){t.post(u,r)}const p=u.call||n.callExpression(e.node.children.length>1?u.jsxStaticCallee:u.jsxCallee,s);if(u.pure)(0,i.default)(p);return p}function buildCreateElementFragmentCall(e,r){if(t.filter&&!t.filter(e.node,r)){return}const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=[];const o=null;const l=r.get("@babel/plugin-react-jsx/jsxFragIdentifier")();const u={tagExpr:l,tagName:o,args:s,pure:false};if(t.pre){t.pre(u,r)}s.push(n.nullLiteral(),...e.node.children);if(t.post){t.post(u,r)}r.set("@babel/plugin-react-jsx/usedFragment",true);const f=u.call||n.callExpression(u.createElementCallee,s);if(u.pure)(0,i.default)(f);return f}function buildCreateElementCall(e,r){const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=convertJSXIdentifier(a.node.name,a.node);const o=[];let l;if(n.isIdentifier(s)){l=s.name}else if(n.isLiteral(s)){l=s.value}const u={tagExpr:s,tagName:l,args:o,pure:false};if(t.pre){t.pre(u,r)}const f=buildCreateElementOpeningElementAttributes(e,a.node.attributes);o.push(f,...e.node.children);if(t.post){t.post(u,r)}const p=u.call||n.callExpression(u.createElementCallee,o);if(u.pure)(0,i.default)(p);return p}function buildCreateElementOpeningElementAttributes(e,r){const a=[];const i=Object.create(null);for(const s of r){const r=n.isJSXAttribute(s)&&n.isJSXIdentifier(s.name)&&s.name.name;if(r==="__source"||r==="__self"){if(i[r])throw sourceSelfError(e,r);i[r]=true;if(!t.development)continue}a.push(convertAttribute(s))}return a.length>0?n.objectExpression(a):n.nullLiteral()}function sourceSelfError(e,t){const r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}}},193:function(e,t,r){var n=r(372);function assocIndexOf(e,t){var r=e.length;while(r--){if(n(e[r][0],t)){return r}}return-1}e.exports=assocIndexOf},194:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return d.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return ce.default}});t.react=void 0;var a=_interopRequireDefault(r(450));var i=_interopRequireDefault(r(109));var s=_interopRequireDefault(r(108));var o=_interopRequireDefault(r(494));var l=r(279);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=_interopRequireDefault(r(333));var f=_interopRequireDefault(r(345));var p=_interopRequireDefault(r(88));var c=r(774);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=_interopRequireDefault(r(675));var y=_interopRequireDefault(r(422));var T=_interopRequireDefault(r(317));var S=_interopRequireDefault(r(393));var E=_interopRequireDefault(r(787));var m=_interopRequireDefault(r(873));var v=_interopRequireDefault(r(696));var x=_interopRequireDefault(r(49));var P=_interopRequireDefault(r(46));var A=_interopRequireDefault(r(642));var b=_interopRequireDefault(r(661));var h=_interopRequireDefault(r(557));var g=r(958);Object.keys(g).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return g[e]}})});var O=r(864);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=_interopRequireDefault(r(38));var _=_interopRequireDefault(r(981));var D=_interopRequireDefault(r(884));var j=_interopRequireDefault(r(949));var C=_interopRequireDefault(r(399));var L=_interopRequireDefault(r(605));var N=_interopRequireDefault(r(242));var w=_interopRequireDefault(r(455));var M=_interopRequireDefault(r(471));var F=_interopRequireDefault(r(308));var B=r(140);Object.keys(B).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return B[e]}})});var R=_interopRequireDefault(r(62));var K=_interopRequireDefault(r(526));var X=_interopRequireDefault(r(804));var q=_interopRequireDefault(r(640));var J=_interopRequireDefault(r(348));var k=_interopRequireDefault(r(613));var V=_interopRequireDefault(r(446));var Y=_interopRequireDefault(r(510));var W=_interopRequireDefault(r(825));var U=_interopRequireDefault(r(66));var $=_interopRequireDefault(r(178));var G=_interopRequireDefault(r(505));var z=_interopRequireDefault(r(283));var Q=_interopRequireDefault(r(336));var H=_interopRequireDefault(r(793));var Z=_interopRequireDefault(r(436));var ee=_interopRequireDefault(r(400));var te=_interopRequireDefault(r(240));var re=_interopRequireDefault(r(288));var ne=_interopRequireDefault(r(296));var ae=_interopRequireDefault(r(476));var ie=_interopRequireDefault(r(780));var se=_interopRequireDefault(r(559));var oe=_interopRequireDefault(r(143));var le=_interopRequireDefault(r(573));var ue=_interopRequireDefault(r(175));var fe=_interopRequireDefault(r(211));var pe=_interopRequireDefault(r(939));var ce=_interopRequireDefault(r(481));var de=r(810);Object.keys(de).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return de[e]}})});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const ye={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default};t.react=ye},198:function(e){function stackDelete(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}e.exports=stackDelete},202:function(e,t,r){var n=r(583),a=r(600);function copySymbols(e,t){return n(e,a(e),t)}e.exports=copySymbols},206:function(e){function isObjectLike(e){return e!=null&&typeof e=="object"}e.exports=isObjectLike},211:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(810);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=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},243:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=_interopRequireWildcard(r(194));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a="#__PURE__";const i=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e.node||e;if(i(t)){return}n.addComment(t,"leading",a)}},250:function(e,t,r){var n=r(917);var a=n(Object.getPrototypeOf,Object);e.exports=a},257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=_interopRequireDefault(r(505));var a=_interopRequireDefault(r(573));var i=r(289);var s=r(864);var o=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,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")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,a){const i=r.operator==="in"?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const f=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=f;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},f,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const p={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=p;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},p,{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))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,a,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},p,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,a]=r;if(e[n].length>a+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,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")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},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"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,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}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let 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 c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{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=c;const d=Object.assign({},l,c,{kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},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}}})},274:function(e,t,r){var n=r(814),a=r(619);function baseGetAllKeys(e,t,r){var i=t(e);return a(e)?i:n(i,r(e))}e.exports=baseGetAllKeys},276:function(e,t,r){var n=r(907),a=r(206);var i=Object.prototype;var s=i.hasOwnProperty;var o=i.propertyIsEnumerable;var l=n(function(){return arguments}())?n:function(e){return a(e)&&s.call(e,"callee")&&!o.call(e,"callee")};e.exports=l},277:function(e,t,r){var n=r(926),a=r(722),i=r(909),s=r(735),o=r(212);var l="[object Boolean]",u="[object Date]",f="[object Map]",p="[object Number]",c="[object RegExp]",d="[object Set]",y="[object String]",T="[object Symbol]";var S="[object ArrayBuffer]",E="[object DataView]",m="[object Float32Array]",v="[object Float64Array]",x="[object Int8Array]",P="[object Int16Array]",A="[object Int32Array]",b="[object Uint8Array]",h="[object Uint8ClampedArray]",g="[object Uint16Array]",O="[object Uint32Array]";function initCloneByTag(e,t,r){var I=e.constructor;switch(t){case S:return n(e);case l:case u:return new I(+e);case E:return a(e,r);case m:case v:case x:case P:case A:case b:case h:case g:case O:return o(e,r);case f:return new I;case p:case y:return new I(e);case c:return i(e);case d:return new I;case T:return s(e)}}e.exports=initCloneByTag},279:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=_interopRequireDefault(r(505));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t={}){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t={}){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t={}){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t={}){assert("InterpreterDirective",e,t)}function assertDirective(e,t={}){assert("Directive",e,t)}function assertDirectiveLiteral(e,t={}){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t={}){assert("BlockStatement",e,t)}function assertBreakStatement(e,t={}){assert("BreakStatement",e,t)}function assertCallExpression(e,t={}){assert("CallExpression",e,t)}function assertCatchClause(e,t={}){assert("CatchClause",e,t)}function assertConditionalExpression(e,t={}){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t={}){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t={}){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t={}){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t={}){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t={}){assert("ExpressionStatement",e,t)}function assertFile(e,t={}){assert("File",e,t)}function assertForInStatement(e,t={}){assert("ForInStatement",e,t)}function assertForStatement(e,t={}){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t={}){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t={}){assert("FunctionExpression",e,t)}function assertIdentifier(e,t={}){assert("Identifier",e,t)}function assertIfStatement(e,t={}){assert("IfStatement",e,t)}function assertLabeledStatement(e,t={}){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t={}){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t={}){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t={}){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t={}){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t={}){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t={}){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t={}){assert("MemberExpression",e,t)}function assertNewExpression(e,t={}){assert("NewExpression",e,t)}function assertProgram(e,t={}){assert("Program",e,t)}function assertObjectExpression(e,t={}){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t={}){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t={}){assert("ObjectProperty",e,t)}function assertRestElement(e,t={}){assert("RestElement",e,t)}function assertReturnStatement(e,t={}){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t={}){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t={}){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t={}){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t={}){assert("SwitchStatement",e,t)}function assertThisExpression(e,t={}){assert("ThisExpression",e,t)}function assertThrowStatement(e,t={}){assert("ThrowStatement",e,t)}function assertTryStatement(e,t={}){assert("TryStatement",e,t)}function assertUnaryExpression(e,t={}){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t={}){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t={}){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t={}){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t={}){assert("WhileStatement",e,t)}function assertWithStatement(e,t={}){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t={}){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t={}){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t={}){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t={}){assert("ClassBody",e,t)}function assertClassExpression(e,t={}){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t={}){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t={}){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t={}){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t={}){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t={}){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t={}){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t={}){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t={}){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t={}){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t={}){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t={}){assert("MetaProperty",e,t)}function assertClassMethod(e,t={}){assert("ClassMethod",e,t)}function assertObjectPattern(e,t={}){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t={}){assert("SpreadElement",e,t)}function assertSuper(e,t={}){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t={}){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t={}){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t={}){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t={}){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t={}){assert("AwaitExpression",e,t)}function assertImport(e,t={}){assert("Import",e,t)}function assertBigIntLiteral(e,t={}){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t={}){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t={}){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t={}){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t={}){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t={}){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t={}){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t={}){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t={}){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t={}){assert("ClassImplements",e,t)}function assertDeclareClass(e,t={}){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t={}){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t={}){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t={}){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t={}){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t={}){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t={}){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t={}){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t={}){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t={}){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t={}){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t={}){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t={}){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t={}){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t={}){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t={}){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t={}){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t={}){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t={}){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t={}){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t={}){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t={}){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t={}){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t={}){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t={}){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t={}){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t={}){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t={}){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t={}){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t={}){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t={}){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t={}){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t={}){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t={}){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t={}){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t={}){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t={}){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t={}){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t={}){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t={}){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t={}){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t={}){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t={}){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t={}){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t={}){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t={}){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t={}){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t={}){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t={}){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t={}){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t={}){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t={}){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t={}){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t={}){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t={}){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t={}){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t={}){assert("EnumDefaultedMember",e,t)}function assertJSXAttribute(e,t={}){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t={}){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t={}){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t={}){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t={}){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t={}){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t={}){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t={}){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t={}){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t={}){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t={}){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t={}){assert("JSXText",e,t)}function assertJSXFragment(e,t={}){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t={}){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t={}){assert("JSXClosingFragment",e,t)}function assertNoop(e,t={}){assert("Noop",e,t)}function assertPlaceholder(e,t={}){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t={}){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t={}){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t={}){assert("BindExpression",e,t)}function assertClassProperty(e,t={}){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t={}){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t={}){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t={}){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t={}){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t={}){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t={}){assert("ImportAttribute",e,t)}function assertDecorator(e,t={}){assert("Decorator",e,t)}function assertDoExpression(e,t={}){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t={}){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t={}){assert("PrivateName",e,t)}function assertRecordExpression(e,t={}){assert("RecordExpression",e,t)}function assertTupleExpression(e,t={}){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t={}){assert("DecimalLiteral",e,t)}function 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 assertTSNeverKeyword(e,t={}){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t={}){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t={}){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t={}){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t={}){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t={}){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t={}){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t={}){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t={}){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t={}){assert("TSThisType",e,t)}function assertTSFunctionType(e,t={}){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t={}){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t={}){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t={}){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t={}){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t={}){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t={}){assert("TSArrayType",e,t)}function assertTSTupleType(e,t={}){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t={}){assert("TSOptionalType",e,t)}function assertTSRestType(e,t={}){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t={}){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t={}){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t={}){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t={}){assert("TSConditionalType",e,t)}function assertTSInferType(e,t={}){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t={}){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t={}){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t={}){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t={}){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t={}){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t={}){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t={}){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t={}){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t={}){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t={}){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t={}){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t={}){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t={}){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t={}){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t={}){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t={}){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t={}){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t={}){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t={}){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t={}){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t={}){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t={}){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t={}){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t={}){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t={}){assert("TSTypeParameter",e,t)}function assertExpression(e,t={}){assert("Expression",e,t)}function assertBinary(e,t={}){assert("Binary",e,t)}function assertScopable(e,t={}){assert("Scopable",e,t)}function assertBlockParent(e,t={}){assert("BlockParent",e,t)}function assertBlock(e,t={}){assert("Block",e,t)}function assertStatement(e,t={}){assert("Statement",e,t)}function assertTerminatorless(e,t={}){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t={}){assert("CompletionStatement",e,t)}function assertConditional(e,t={}){assert("Conditional",e,t)}function assertLoop(e,t={}){assert("Loop",e,t)}function assertWhile(e,t={}){assert("While",e,t)}function assertExpressionWrapper(e,t={}){assert("ExpressionWrapper",e,t)}function assertFor(e,t={}){assert("For",e,t)}function assertForXStatement(e,t={}){assert("ForXStatement",e,t)}function assertFunction(e,t={}){assert("Function",e,t)}function assertFunctionParent(e,t={}){assert("FunctionParent",e,t)}function assertPureish(e,t={}){assert("Pureish",e,t)}function assertDeclaration(e,t={}){assert("Declaration",e,t)}function assertPatternLike(e,t={}){assert("PatternLike",e,t)}function assertLVal(e,t={}){assert("LVal",e,t)}function assertTSEntityName(e,t={}){assert("TSEntityName",e,t)}function assertLiteral(e,t={}){assert("Literal",e,t)}function assertImmutable(e,t={}){assert("Immutable",e,t)}function assertUserWhitespacable(e,t={}){assert("UserWhitespacable",e,t)}function assertMethod(e,t={}){assert("Method",e,t)}function assertObjectMember(e,t={}){assert("ObjectMember",e,t)}function assertProperty(e,t={}){assert("Property",e,t)}function assertUnaryLike(e,t={}){assert("UnaryLike",e,t)}function assertPattern(e,t={}){assert("Pattern",e,t)}function assertClass(e,t={}){assert("Class",e,t)}function assertModuleDeclaration(e,t={}){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t={}){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t={}){assert("ModuleSpecifier",e,t)}function assertFlow(e,t={}){assert("Flow",e,t)}function assertFlowType(e,t={}){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t={}){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t={}){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t={}){assert("FlowPredicate",e,t)}function assertEnumBody(e,t={}){assert("EnumBody",e,t)}function assertEnumMember(e,t={}){assert("EnumMember",e,t)}function assertJSX(e,t={}){assert("JSX",e,t)}function assertPrivate(e,t={}){assert("Private",e,t)}function assertTSTypeElement(e,t={}){assert("TSTypeElement",e,t)}function assertTSType(e,t={}){assert("TSType",e,t)}function assertTSBaseType(e,t={}){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}},288:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(140);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}},289:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});var n=r(179);var a=r(63)},296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":if(t.source){return false}return t.local===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},298:function(e,t,r){var n=r(511),a=r(157),i=r(403);function mapCacheClear(){this.size=0;this.__data__={hash:new n,map:new(i||a),string:new n}}e.exports=mapCacheClear},300:function(e,t,r){var n=r(835),a=r(373);var i=n(a,"Set");e.exports=i},305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.default}});var n=_interopRequireDefault(r(673));var a=_interopRequireDefault(r(137));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,a){return new n.default(e).addNamed(t,r,a)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},308:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=valueToNode;var n=_interopRequireDefault(r(220));var a=_interopRequireDefault(r(832));var i=_interopRequireDefault(r(573));var s=r(774);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if((0,a.default)(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if((0,n.default)(e)){const t=[];for(const r of Object.keys(e)){let n;if((0,i.default)(r)){n=(0,s.identifier)(r)}else{n=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(n,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},313:function(e,t,r){var n=r(157),a=r(403),i=r(685);var s=200;function stackSet(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!a||o.length(0,n.default)(e,r,t)}},494:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=_interopRequireDefault(r(400));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}"`)}}},496:function(e){var t=Object.prototype;var r=t.hasOwnProperty;function initCloneArray(e){var t=e.length,n=new e.constructor(t);if(t&&typeof e[0]=="string"&&r.call(e,"index")){n.index=e.index;n.input=e.input}return n}e.exports=initCloneArray},505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=_interopRequireDefault(r(178));var a=_interopRequireDefault(r(559));var i=_interopRequireDefault(r(288));var s=r(140);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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)}}},510:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getOuterBindingIdentifiers;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},511:function(e,t,r){var n=r(742),a=r(621),i=r(90),s=r(639),o=r(335);function Hash(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{e[t]=null});return e}},559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(140);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}},565:function(e){function arrayEach(e,t){var r=-1,n=e==null?0:e.length;while(++r=0){continue}if((0,n.isTSAnyKeyword)(s.type)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(a.indexOf(s.types)<0){e=e.concat(s.types);a.push(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}},605:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=_interopRequireDefault(r(573));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function toIdentifier(e){e=e+"";e=e.replace(/[^a-zA-Z0-9$_]/g,"-");e=e.replace(/^[-0-9]+/,"");e=e.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(e)){e=`_${e}`}return e||"_"}},612:function(e,t,r){var n=r(70),a=r(556),i=r(776);var s=i&&i.isSet;var o=s?a(s):n;e.exports=o},613:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(810);function removeTypeDuplicates(e){const t={};const r={};const a=[];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.indexOf(o.types)<0){e=e.concat(o.types);a.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=o.id.name;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}},619:function(e){var t=Array.isArray;e.exports=t},621:function(e){function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}e.exports=hashDelete},635:function(e,t,r){var n=r(797),a=r(206);var i="[object RegExp]";function baseIsRegExp(e){return a(e)&&n(e)==i}e.exports=baseIsRegExp},639:function(e,t,r){var n=r(44);var a=Object.prototype;var i=a.hasOwnProperty;function hashHas(e){var t=this.__data__;return n?t[e]!==undefined:i.call(t,e)}e.exports=hashHas},640:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(864);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}}},642:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=_interopRequireDefault(r(661));var a=_interopRequireDefault(r(46));var i=_interopRequireDefault(r(49));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritsComments(e,t){(0,n.default)(e,t);(0,a.default)(e,t);(0,i.default)(e,t);return e}},659:function(e,t,r){e=r.nmd(e);var n=r(373),a=r(860);var i=true&&t&&!t.nodeType&&t;var s=i&&"object"=="object"&&e&&!e.nodeType&&e;var o=s&&s.exports===i;var l=o?n.Buffer:undefined;var u=l?l.isBuffer:undefined;var f=u||a;e.exports=f},661:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},667:function(e,t,r){var n=r(193);function listCacheHas(e){return n(this.__data__,e)>-1}e.exports=listCacheHas},673:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(357));var a=_interopRequireWildcard(r(194));var i=_interopRequireDefault(r(404));var s=_interopRequireDefault(r(137));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){(0,n.default)(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const a=[];if(typeof e==="string"){a.push({importedSource:e});a.push(t)}else{(0,n.default)(!t,"Unexpected secondary arguments.");a.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of a){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:f,importingInterop:p,ensureLiveReference:c,ensureNoContext:d,nameHint:y,blockHoist:T}=e;let S=y||t;const E=(0,s.default)(this._programPath);const m=E&&p==="node";const v=E&&p==="babel";const x=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!m&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}x.import();if(o){x.namespace(y||l)}else if(r||n){x.named(S,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(f==="babel"){if(m){S=S!=="default"?S:l;const e=`${l}$es6Default`;x.import();if(o){x.default(e).var(S||l).wildcardInterop()}else if(r){if(c){x.default(e).var(S||l).defaultInterop().read("default")}else{x.default(e).var(S).defaultInterop().prop(t)}}else if(n){x.default(e).read(t)}}else if(v){x.import();if(o){x.namespace(S||l)}else if(r||n){x.named(S,t)}}else{x.require();if(o){x.var(S||l).wildcardInterop()}else if((r||n)&&c){if(r){S=S!=="default"?S:l;x.var(S).read(t);x.defaultInterop()}else{x.var(l).read(t)}}else if(r){x.var(S).defaultInterop().prop(t)}else if(n){x.var(S).prop(t)}}}else if(f==="compiled"){if(m){x.import();if(o){x.default(S||l)}else if(r||n){x.default(l).read(S)}}else if(v){x.import();if(o){x.namespace(S||l)}else if(r||n){x.named(S,t)}}else{x.require();if(o){x.var(S||l)}else if(r||n){if(c){x.var(l).read(S)}else{x.prop(t).var(S)}}}}else if(f==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(m){x.import();if(o){x.default(S||l)}else if(r){x.default(S)}else if(n){x.default(l).read(S)}}else if(v){x.import();if(o){x.default(S||l)}else if(r){x.default(S)}else if(n){x.named(S,t)}}else{x.require();if(o){x.var(S||l)}else if(r){x.var(S)}else if(n){if(c){x.var(l).read(S)}else{x.var(S).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${f}".`)}const{statements:P,resultName:A}=x.done();this._insertStatements(P,T);if((r||n)&&d&&A.type!=="Identifier"){return a.sequenceExpression([a.numericLiteral(0),A])}return A}_insertStatements(e,t=3){e.forEach(e=>{e._blockHoist=t});const r=this._programPath.get("body").find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(r){r.insertBefore(e)}else{this._programPath.unshiftContainer("body",e)}}}t.default=ImportInjector},675:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(140);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:i}=e;const s={type:i};if(i==="Identifier"){s.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){s.optional=e.optional}if(a(e,"typeAnnotation")){s.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,i)){throw new Error(`Unknown node type: "${i}"`)}else{for(const o of Object.keys(n.NODE_FIELDS[i])){if(a(e,o)){if(t){s[o]=i==="File"&&o==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[o],true,r)}else{s[o]=e[o]}}}}if(a(e,"loc")){if(r){s.loc=null}else{s.loc=e.loc}}if(a(e,"leadingComments")){s.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){s.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){s.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){s.extra=Object.assign({},e.extra)}return s}function cloneCommentsWithoutLoc(e){return e.map(({type:e,value:t})=>({type:e,value:t,loc:null}))}function maybeCloneComments(e,t,r){return t&&r?cloneCommentsWithoutLoc(e):e}},677:function(e){function getValue(e,t){return e==null?undefined:e[t]}e.exports=getValue},684:function(e,t,r){var n=r(835),a=r(373);var i=n(a,"WeakMap");e.exports=i},685:function(e,t,r){var n=r(298),a=r(126),i=r(690),s=r(812),o=r(532);function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},742:function(e,t,r){var n=r(44);function hashClear(){this.__data__=n?n(null):{};this.size=0}e.exports=hashClear},754:function(e){var t=9007199254740991;var r=/^(?:0|[1-9]\d*)$/;function isIndex(e,n){var a=typeof e;n=n==null?t:n;return!!n&&(a=="number"||a!="symbol"&&r.test(e))&&(e>-1&&e%1==0&&e{o[t]=o[t]||[];o[t].push(e)});if(t.validate){p[e]=t.validate}y[e]=t}const y={}},855:function(e,t,r){"use strict";var n=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});a("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember")}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember")}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"])}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember")}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}})},860:function(e){function stubFalse(){return false}e.exports=stubFalse},864:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const 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 f=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=f;const p=[...f,...l];t.BOOLEAN_BINARY_OPERATORS=p;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...p];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 S=["+","-","~"];t.NUMBER_UNARY_OPERATORS=S;const E=["typeof"];t.STRING_UNARY_OPERATORS=E;const m=["void","throw",...T,...S,...E];t.UNARY_OPERATORS=m;const v={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=v;const x=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=x;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},867:function(e){function stubArray(){return[]}e.exports=stubArray},869:function(e){var t=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=t}e.exports=isLength},873:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=_interopRequireDefault(r(696));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function addComment(e,t,r,a){return(0,n.default)(e,t,[{type:a?"CommentLine":"CommentBlock",value:r}])}},876:function(e,t,r){var n=r(996),a=r(381),i=r(228);function keysIn(e){return i(e)?n(e,true):a(e)}e.exports=keysIn},882:function(e,t,r){var n=r(193);function listCacheGet(e){var t=this.__data__,r=n(t,e);return r<0?undefined:t[r][1]}e.exports=listCacheGet},884:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(810);var a=r(774);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)}},885:function(e,t,r){var n=r(797),a=r(869),i=r(206);var s="[object Arguments]",o="[object Array]",l="[object Boolean]",u="[object Date]",f="[object Error]",p="[object Function]",c="[object Map]",d="[object Number]",y="[object Object]",T="[object RegExp]",S="[object Set]",E="[object String]",m="[object WeakMap]";var v="[object ArrayBuffer]",x="[object DataView]",P="[object Float32Array]",A="[object Float64Array]",b="[object Int8Array]",h="[object Int16Array]",g="[object Int32Array]",O="[object Uint8Array]",I="[object Uint8ClampedArray]",_="[object Uint16Array]",D="[object Uint32Array]";var j={};j[P]=j[A]=j[b]=j[h]=j[g]=j[O]=j[I]=j[_]=j[D]=true;j[s]=j[o]=j[v]=j[l]=j[x]=j[u]=j[f]=j[p]=j[c]=j[d]=j[y]=j[T]=j[S]=j[E]=j[m]=false;function baseIsTypedArray(e){return i(e)&&a(e.length)&&!!j[n(e)]}e.exports=baseIsTypedArray},888:function(e,t,r){var n=r(688);var a=4;function clone(e){return n(e,a)}e.exports=clone},904:function(e,t,r){var n=r(80);function baseAssignValue(e,t,r){if(t=="__proto__"&&n){n(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}e.exports=baseAssignValue},907:function(e,t,r){var n=r(797),a=r(206);var i="[object Arguments]";function baseIsArguments(e){return a(e)&&n(e)==i}e.exports=baseIsArguments},909:function(e){var t=/\w*$/;function cloneRegExp(e){var r=new e.constructor(e.source,t.exec(e));r.lastIndex=e.lastIndex;return r}e.exports=cloneRegExp},917:function(e){function overArg(e,t){return function(r){return e(t(r))}}e.exports=overArg},925:function(e,t,r){var n=r(583),a=r(876);function baseAssignIn(e,t){return e&&n(t,a(t),e)}e.exports=baseAssignIn},926:function(e,t,r){var n=r(595);function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new n(t).set(new n(e));return t}e.exports=cloneArrayBuffer},936:function(e){function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}e.exports=isKeyable},939:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(140);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?void 0: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)}},943:function(e,t,r){var n=r(274),a=r(600),i=r(182);function getAllKeys(e){return n(e,i,a)}e.exports=getAllKeys},946:function(e,t,r){var n=r(718),a=r(206);var i="[object Map]";function baseIsMap(e){return a(e)&&n(e)==i}e.exports=baseIsMap},949:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(810);var a=r(774);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,a.stringLiteral)(t.name);return t}},956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(774);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let a=0;for(let e=0;er.length){throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`)}const o={type:e};let l=0;r.forEach(r=>{const i=a.NODE_FIELDS[e][r];let u;if(l{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},a.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,a.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier")},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"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(774);var a=_interopRequireDefault(r(603));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function createTSUnionType(e){const t=e.map(e=>e.typeAnnotations);const r=(0,a.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},,function(e,t,r){var n=r(44);var a="__lodash_hash_undefined__";var i=Object.prototype;var s=i.hasOwnProperty;function hashGet(e){var t=this.__data__;if(n){var r=t[e];return r===a?undefined:r}return s.call(t,e)?t[e]:undefined}e.exports=hashGet},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(810);var a=_interopRequireDefault(r(956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function buildChildren(e){const t=[];for(let r=0;re)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},,,,function(e,t,r){var n=r(372);function assocIndexOf(e,t){var r=e.length;while(r--){if(n(e[r][0],t)){return r}}return-1}e.exports=assocIndexOf},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return d.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return ce.default}});t.react=void 0;var a=_interopRequireDefault(r(450));var i=_interopRequireDefault(r(148));var s=_interopRequireDefault(r(108));var o=_interopRequireDefault(r(494));var l=r(279);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=_interopRequireDefault(r(333));var f=_interopRequireDefault(r(345));var p=_interopRequireDefault(r(88));var c=r(774);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=_interopRequireDefault(r(675));var y=_interopRequireDefault(r(422));var T=_interopRequireDefault(r(317));var m=_interopRequireDefault(r(393));var S=_interopRequireDefault(r(787));var E=_interopRequireDefault(r(873));var b=_interopRequireDefault(r(696));var v=_interopRequireDefault(r(49));var x=_interopRequireDefault(r(46));var P=_interopRequireDefault(r(642));var A=_interopRequireDefault(r(661));var D=_interopRequireDefault(r(557));var g=r(958);Object.keys(g).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return g[e]}})});var h=r(864);Object.keys(h).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return h[e]}})});var O=_interopRequireDefault(r(38));var I=_interopRequireDefault(r(981));var _=_interopRequireDefault(r(884));var N=_interopRequireDefault(r(949));var L=_interopRequireDefault(r(399));var j=_interopRequireDefault(r(605));var C=_interopRequireDefault(r(242));var M=_interopRequireDefault(r(455));var w=_interopRequireDefault(r(471));var F=_interopRequireDefault(r(308));var B=r(140);Object.keys(B).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return B[e]}})});var R=_interopRequireDefault(r(62));var K=_interopRequireDefault(r(526));var q=_interopRequireDefault(r(804));var X=_interopRequireDefault(r(640));var V=_interopRequireDefault(r(348));var J=_interopRequireDefault(r(613));var k=_interopRequireDefault(r(446));var Y=_interopRequireDefault(r(510));var W=_interopRequireDefault(r(825));var U=_interopRequireDefault(r(66));var G=_interopRequireDefault(r(178));var $=_interopRequireDefault(r(505));var z=_interopRequireDefault(r(886));var Q=_interopRequireDefault(r(336));var H=_interopRequireDefault(r(793));var Z=_interopRequireDefault(r(436));var ee=_interopRequireDefault(r(400));var te=_interopRequireDefault(r(240));var re=_interopRequireDefault(r(288));var ne=_interopRequireDefault(r(296));var ae=_interopRequireDefault(r(476));var ie=_interopRequireDefault(r(780));var se=_interopRequireDefault(r(559));var oe=_interopRequireDefault(r(143));var le=_interopRequireDefault(r(573));var ue=_interopRequireDefault(r(175));var fe=_interopRequireDefault(r(211));var pe=_interopRequireDefault(r(939));var ce=_interopRequireDefault(r(481));var de=r(810);Object.keys(de).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return de[e]}})});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const ye={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default};t.react=ye},,,,function(e){function stackDelete(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}e.exports=stackDelete},,,,function(e,t,r){var n=r(283),a=r(600);function copySymbols(e,t){return n(e,a(e),t)}e.exports=copySymbols},,,,function(e){function isObjectLike(e){return e!=null&&typeof e=="object"}e.exports=isObjectLike},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(810);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{const{runtime:r="classic"}=t;if(r==="classic"){return(0,n.default)(e,t)}else{return(0,a.default)(e,t)}});t.default=s},,function(e,t,r){var n=r(797),a=r(250),i=r(206);var s="[object Object]";var o=Function.prototype,l=Object.prototype;var u=o.toString;var f=l.hasOwnProperty;var p=u.call(Object);function isPlainObject(e){if(!i(e)||n(e)!=s){return false}var t=a(e);if(t===null){return true}var r=f.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&u.call(r)==p}e.exports=isPlainObject},,,,,,,,function(e,t,r){var n=r(445),a=r(869);function isArrayLike(e){return e!=null&&a(e.length)&&!n(e)}e.exports=isArrayLike},,function(e){var t=Object.prototype;function isPrototype(e){var r=e&&e.constructor,n=typeof r=="function"&&r.prototype||t;return e===n}e.exports=isPrototype},,,,,,,function(e,t,r){var n=r(157);function stackClear(){this.__data__=new n;this.size=0}e.exports=stackClear},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(140);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=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=_interopRequireWildcard(r(194));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a="#__PURE__";const i=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e.node||e;if(i(t)){return}n.addComment(t,"leading",a)}},,,,,,,function(e,t,r){var n=r(917);var a=n(Object.getPrototypeOf,Object);e.exports=a},,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=_interopRequireDefault(r(505));var a=_interopRequireDefault(r(573));var i=r(289);var s=r(864);var o=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,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")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,a){const i=r.operator==="in"?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const f=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=f;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},f,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const p={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=p;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},p,{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))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,a,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},p,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,a]=r;if(e[n].length>a+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,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")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},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"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,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}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let 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 c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{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=c;const d=Object.assign({},l,c,{kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},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}}})},,,,,,,,,,,,,,,,,function(e,t,r){var n=r(814),a=r(619);function baseGetAllKeys(e,t,r){var i=t(e);return a(e)?i:n(i,r(e))}e.exports=baseGetAllKeys},,function(e,t,r){var n=r(907),a=r(206);var i=Object.prototype;var s=i.hasOwnProperty;var o=i.propertyIsEnumerable;var l=n(function(){return arguments}())?n:function(e){return a(e)&&s.call(e,"callee")&&!o.call(e,"callee")};e.exports=l},function(e,t,r){var n=r(926),a=r(722),i=r(909),s=r(735),o=r(212);var l="[object Boolean]",u="[object Date]",f="[object Map]",p="[object Number]",c="[object RegExp]",d="[object Set]",y="[object String]",T="[object Symbol]";var m="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",b="[object Float64Array]",v="[object Int8Array]",x="[object Int16Array]",P="[object Int32Array]",A="[object Uint8Array]",D="[object Uint8ClampedArray]",g="[object Uint16Array]",h="[object Uint32Array]";function initCloneByTag(e,t,r){var O=e.constructor;switch(t){case m:return n(e);case l:case u:return new O(+e);case S:return a(e,r);case E:case b:case v:case x:case P:case A:case D:case g:case h:return o(e,r);case f:return new O;case p:case y:return new O(e);case c:return i(e);case d:return new O;case T:return s(e)}}e.exports=initCloneByTag},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=_interopRequireDefault(r(505));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t={}){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t={}){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t={}){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t={}){assert("InterpreterDirective",e,t)}function assertDirective(e,t={}){assert("Directive",e,t)}function assertDirectiveLiteral(e,t={}){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t={}){assert("BlockStatement",e,t)}function assertBreakStatement(e,t={}){assert("BreakStatement",e,t)}function assertCallExpression(e,t={}){assert("CallExpression",e,t)}function assertCatchClause(e,t={}){assert("CatchClause",e,t)}function assertConditionalExpression(e,t={}){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t={}){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t={}){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t={}){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t={}){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t={}){assert("ExpressionStatement",e,t)}function assertFile(e,t={}){assert("File",e,t)}function assertForInStatement(e,t={}){assert("ForInStatement",e,t)}function assertForStatement(e,t={}){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t={}){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t={}){assert("FunctionExpression",e,t)}function assertIdentifier(e,t={}){assert("Identifier",e,t)}function assertIfStatement(e,t={}){assert("IfStatement",e,t)}function assertLabeledStatement(e,t={}){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t={}){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t={}){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t={}){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t={}){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t={}){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t={}){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t={}){assert("MemberExpression",e,t)}function assertNewExpression(e,t={}){assert("NewExpression",e,t)}function assertProgram(e,t={}){assert("Program",e,t)}function assertObjectExpression(e,t={}){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t={}){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t={}){assert("ObjectProperty",e,t)}function assertRestElement(e,t={}){assert("RestElement",e,t)}function assertReturnStatement(e,t={}){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t={}){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t={}){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t={}){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t={}){assert("SwitchStatement",e,t)}function assertThisExpression(e,t={}){assert("ThisExpression",e,t)}function assertThrowStatement(e,t={}){assert("ThrowStatement",e,t)}function assertTryStatement(e,t={}){assert("TryStatement",e,t)}function assertUnaryExpression(e,t={}){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t={}){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t={}){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t={}){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t={}){assert("WhileStatement",e,t)}function assertWithStatement(e,t={}){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t={}){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t={}){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t={}){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t={}){assert("ClassBody",e,t)}function assertClassExpression(e,t={}){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t={}){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t={}){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t={}){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t={}){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t={}){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t={}){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t={}){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t={}){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t={}){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t={}){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t={}){assert("MetaProperty",e,t)}function assertClassMethod(e,t={}){assert("ClassMethod",e,t)}function assertObjectPattern(e,t={}){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t={}){assert("SpreadElement",e,t)}function assertSuper(e,t={}){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t={}){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t={}){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t={}){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t={}){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t={}){assert("AwaitExpression",e,t)}function assertImport(e,t={}){assert("Import",e,t)}function assertBigIntLiteral(e,t={}){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t={}){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t={}){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t={}){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t={}){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t={}){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t={}){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t={}){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t={}){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t={}){assert("ClassImplements",e,t)}function assertDeclareClass(e,t={}){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t={}){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t={}){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t={}){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t={}){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t={}){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t={}){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t={}){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t={}){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t={}){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t={}){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t={}){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t={}){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t={}){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t={}){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t={}){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t={}){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t={}){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t={}){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t={}){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t={}){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t={}){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t={}){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t={}){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t={}){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t={}){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t={}){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t={}){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t={}){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t={}){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t={}){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t={}){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t={}){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t={}){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t={}){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t={}){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t={}){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t={}){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t={}){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t={}){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t={}){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t={}){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t={}){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t={}){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t={}){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t={}){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t={}){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t={}){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t={}){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t={}){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t={}){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t={}){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t={}){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t={}){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t={}){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t={}){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t={}){assert("EnumDefaultedMember",e,t)}function assertJSXAttribute(e,t={}){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t={}){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t={}){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t={}){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t={}){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t={}){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t={}){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t={}){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t={}){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t={}){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t={}){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t={}){assert("JSXText",e,t)}function assertJSXFragment(e,t={}){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t={}){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t={}){assert("JSXClosingFragment",e,t)}function assertNoop(e,t={}){assert("Noop",e,t)}function assertPlaceholder(e,t={}){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t={}){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t={}){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t={}){assert("BindExpression",e,t)}function assertClassProperty(e,t={}){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t={}){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t={}){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t={}){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t={}){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t={}){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t={}){assert("ImportAttribute",e,t)}function assertDecorator(e,t={}){assert("Decorator",e,t)}function assertDoExpression(e,t={}){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t={}){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t={}){assert("PrivateName",e,t)}function assertRecordExpression(e,t={}){assert("RecordExpression",e,t)}function assertTupleExpression(e,t={}){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t={}){assert("DecimalLiteral",e,t)}function 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 assertTSNeverKeyword(e,t={}){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t={}){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t={}){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t={}){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t={}){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t={}){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t={}){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t={}){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t={}){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t={}){assert("TSThisType",e,t)}function assertTSFunctionType(e,t={}){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t={}){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t={}){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t={}){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t={}){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t={}){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t={}){assert("TSArrayType",e,t)}function assertTSTupleType(e,t={}){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t={}){assert("TSOptionalType",e,t)}function assertTSRestType(e,t={}){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t={}){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t={}){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t={}){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t={}){assert("TSConditionalType",e,t)}function assertTSInferType(e,t={}){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t={}){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t={}){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t={}){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t={}){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t={}){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t={}){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t={}){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t={}){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t={}){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t={}){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t={}){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t={}){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t={}){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t={}){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t={}){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t={}){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t={}){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t={}){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t={}){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t={}){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t={}){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t={}){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t={}){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t={}){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t={}){assert("TSTypeParameter",e,t)}function assertExpression(e,t={}){assert("Expression",e,t)}function assertBinary(e,t={}){assert("Binary",e,t)}function assertScopable(e,t={}){assert("Scopable",e,t)}function assertBlockParent(e,t={}){assert("BlockParent",e,t)}function assertBlock(e,t={}){assert("Block",e,t)}function assertStatement(e,t={}){assert("Statement",e,t)}function assertTerminatorless(e,t={}){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t={}){assert("CompletionStatement",e,t)}function assertConditional(e,t={}){assert("Conditional",e,t)}function assertLoop(e,t={}){assert("Loop",e,t)}function assertWhile(e,t={}){assert("While",e,t)}function assertExpressionWrapper(e,t={}){assert("ExpressionWrapper",e,t)}function assertFor(e,t={}){assert("For",e,t)}function assertForXStatement(e,t={}){assert("ForXStatement",e,t)}function assertFunction(e,t={}){assert("Function",e,t)}function assertFunctionParent(e,t={}){assert("FunctionParent",e,t)}function assertPureish(e,t={}){assert("Pureish",e,t)}function assertDeclaration(e,t={}){assert("Declaration",e,t)}function assertPatternLike(e,t={}){assert("PatternLike",e,t)}function assertLVal(e,t={}){assert("LVal",e,t)}function assertTSEntityName(e,t={}){assert("TSEntityName",e,t)}function assertLiteral(e,t={}){assert("Literal",e,t)}function assertImmutable(e,t={}){assert("Immutable",e,t)}function assertUserWhitespacable(e,t={}){assert("UserWhitespacable",e,t)}function assertMethod(e,t={}){assert("Method",e,t)}function assertObjectMember(e,t={}){assert("ObjectMember",e,t)}function assertProperty(e,t={}){assert("Property",e,t)}function assertUnaryLike(e,t={}){assert("UnaryLike",e,t)}function assertPattern(e,t={}){assert("Pattern",e,t)}function assertClass(e,t={}){assert("Class",e,t)}function assertModuleDeclaration(e,t={}){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t={}){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t={}){assert("ModuleSpecifier",e,t)}function assertFlow(e,t={}){assert("Flow",e,t)}function assertFlowType(e,t={}){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t={}){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t={}){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t={}){assert("FlowPredicate",e,t)}function assertEnumBody(e,t={}){assert("EnumBody",e,t)}function assertEnumMember(e,t={}){assert("EnumMember",e,t)}function assertJSX(e,t={}){assert("JSX",e,t)}function assertPrivate(e,t={}){assert("Private",e,t)}function assertTSTypeElement(e,t={}){assert("TSTypeElement",e,t)}function assertTSType(e,t={}){assert("TSType",e,t)}function assertTSBaseType(e,t={}){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},,,,function(e,t,r){var n=r(417),a=r(904);function copyObject(e,t,r,i){var s=!r;r||(r={});var o=-1,l=t.length;while(++o{const r=t.pure;const i=(0,a.helper)(e,Object.assign({pre(e){const t=e.tagName;const r=e.args;if(s.types.react.isCompatTag(t)){r.push(s.types.stringLiteral(t))}else{r.push(e.tagExpr)}},post(e,t){if(t.get("@babel/plugin-react-jsx/runtime")==="classic"){e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/pragmaSet")}else{e.jsxCallee=t.get("@babel/plugin-react-jsx/jsxIdentifier")();e.jsxStaticCallee=t.get("@babel/plugin-react-jsx/jsxStaticIdentifier")();e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/importSourceSet")}}},t,{development:true}));return{name:"transform-react-jsx",inherits:n.default,visitor:i}});t.default=o},,,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":if(t.source){return false}return t.local===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},,function(e,t,r){var n=r(511),a=r(157),i=r(403);function mapCacheClear(){this.size=0;this.__data__={hash:new n,map:new(i||a),string:new n}}e.exports=mapCacheClear},,function(e,t,r){var n=r(835),a=r(373);var i=n(a,"Set");e.exports=i},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=valueToNode;var n=_interopRequireDefault(r(220));var a=_interopRequireDefault(r(832));var i=_interopRequireDefault(r(573));var s=r(774);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if((0,a.default)(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if((0,n.default)(e)){const t=[];for(const r of Object.keys(e)){let n;if((0,i.default)(r)){n=(0,s.identifier)(r)}else{n=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(n,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},,,,,function(e,t,r){var n=r(157),a=r(403),i=r(685);var s=200;function stackSet(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!a||o.length{const r=t.throwIfNamespace===undefined?true:!!t.throwIfNamespace;const n=t.pragma||o.pragma;const l=t.pragmaFrag||o.pragmaFrag;const u=t.pure;const f=/\*?\s*@jsx\s+([^\s]+)/;const p=/\*?\s*@jsxFrag\s+([^\s]+)/;const c=e=>()=>{return e.split(".").map(e=>s.types.identifier(e)).reduce((e,t)=>s.types.memberExpression(e,t))};const d=(0,i.default)({pre(e){const t=e.tagName;const r=e.args;if(s.types.react.isCompatTag(t)){r.push(s.types.stringLiteral(t))}else{r.push(e.tagExpr)}},post(e,t){e.callee=t.get("jsxIdentifier")();e.pure=u!=null?u:t.get("pragma")===o.pragma},throwIfNamespace:r});d.Program={enter(e,r){const{file:a}=r;let i=n;let s=l;let o=!!t.pragma;let u=!!t.pragma;if(a.ast.comments){for(const e of a.ast.comments){const t=f.exec(e.value);if(t){i=t[1];o=true}const r=p.exec(e.value);if(r){s=r[1];u=true}}}r.set("jsxIdentifier",c(i));r.set("jsxFragIdentifier",c(s));r.set("usedFragment",false);r.set("pragma",i);r.set("pragmaSet",o);r.set("pragmaFragSet",u)},exit(e,t){if(t.get("pragmaSet")&&t.get("usedFragment")&&!t.get("pragmaFragSet")){throw new Error("transform-react-jsx: pragma has been set but "+"pragmaFrag has not been set")}}};d.JSXAttribute=function(e){if(s.types.isJSXElement(e.node.value)){e.node.value=s.types.jsxExpressionContainer(e.node.value)}};return{name:"transform-react-jsx",inherits:a.default,visitor:d}});t.default=l},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=_interopRequireDefault(r(675));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function clone(e){return(0,n.default)(e,false)}},,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(810);var a=r(864);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[a.BLOCK_SCOPED_SYMBOL])}},,,,,,function(e){function listCacheClear(){this.__data__=[];this.size=0}e.exports=listCacheClear},,,function(e,t,r){var n=r(797),a=r(703);var i="[object AsyncFunction]",s="[object Function]",o="[object GeneratorFunction]",l="[object Proxy]";function isFunction(e){if(!a(e)){return false}var t=n(e);return t==s||t==o||t==i||t==l}e.exports=isFunction},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(810);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)){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(0,n.default)(e,r,t)}},,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=_interopRequireDefault(r(400));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}"`)}}},,function(e){var t=Object.prototype;var r=t.hasOwnProperty;function initCloneArray(e){var t=e.length,n=new e.constructor(t);if(t&&typeof e[0]=="string"&&r.call(e,"index")){n.index=e.index;n.input=e.input}return n}e.exports=initCloneArray},,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=_interopRequireDefault(r(178));var a=_interopRequireDefault(r(559));var i=_interopRequireDefault(r(288));var s=r(140);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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)}}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getOuterBindingIdentifiers;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},function(e,t,r){var n=r(742),a=r(621),i=r(90),s=r(639),o=r(335);function Hash(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{e.assertVersion(7);const t={JSXOpeningElement({node:e}){const t=a.types.jsxIdentifier(i);const r=a.types.thisExpression();e.attributes.push(a.types.jsxAttribute(t,a.types.jsxExpressionContainer(r)))}};return{name:"transform-react-jsx-self",visitor:{Program(e){e.traverse(t)}}}});t.default=s},,,,,,,,,,,,,,,function(e){function baseUnary(e){return function(t){return e(t)}}e.exports=baseUnary},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(864);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(140);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}},,,,,,function(e){function arrayEach(e,t){var r=-1,n=e==null?0:e.length;while(++r{e.assertVersion(7);let{pragma:r,pragmaFrag:n}=t;const{pure:f,throwIfNamespace:p=true,useSpread:c,runtime:d="classic",importSource:y}=t;if(d==="classic"){r=r||"React.createElement";n=n||"React.Fragment"}const T=!!t.development;const m=!!t.useBuiltIns;if(typeof T!=="boolean"){throw new Error("@babel/preset-react 'development' option must be a boolean.")}const S=d==="automatic"&&T?i.default:a.default;return{plugins:[[S,{importSource:y,pragma:r,pragmaFrag:n,runtime:d,throwIfNamespace:p,useBuiltIns:m,useSpread:c,pure:f}],s.default,f!==false&&u.default,T&&d==="classic"&&o.default,T&&d==="classic"&&l.default].filter(Boolean)}});t.default=f},,,,,,,,function(e){function arrayFilter(e,t){var r=-1,n=e==null?0:e.length,a=0,i=[];while(++r{e.assertVersion(7);return{name:"transform-react-pure-annotations",visitor:{CallExpression(e){if(isReactCall(e)){(0,a.default)(e)}}}}});t.default=o;function isReactCall(e){if(!i.types.isMemberExpression(e.node.callee)){const t=e.get("callee");for(const[e,r]of s){for(const n of r){if(t.referencesImport(e,n)){return true}}}return false}for(const[t,r]of s){const n=e.get("callee.object");if(n.referencesImport(t,"default")||n.referencesImport(t,"*")){for(const t of r){if(i.types.isIdentifier(e.node.callee.property,{name:t})){return true}}return false}}return false}},,function(e,t,r){var n=r(373);var a=n.Uint8Array;e.exports=a},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(189);var a=r(671);const i="__source";const s="_jsxFileName";var o=(0,n.declare)(e=>{e.assertVersion(7);function makeTrace(e,t,r){const n=t!=null?a.types.numericLiteral(t):a.types.nullLiteral();const i=r!=null?a.types.numericLiteral(r+1):a.types.nullLiteral();const s=a.types.objectProperty(a.types.identifier("fileName"),e);const o=a.types.objectProperty(a.types.identifier("lineNumber"),n);const l=a.types.objectProperty(a.types.identifier("columnNumber"),i);return a.types.objectExpression([s,o,l])}const t={JSXOpeningElement(e,t){const r=a.types.jsxIdentifier(i);const n=e.container.openingElement.loc;if(!n){return}const o=e.container.openingElement.attributes;for(let e=0;e=0){continue}if((0,n.isTSAnyKeyword)(s.type)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(a.indexOf(s.types)<0){e=e.concat(s.types);a.push(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}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=_interopRequireDefault(r(573));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function toIdentifier(e){e=e+"";e=e.replace(/[^a-zA-Z0-9$_]/g,"-");e=e.replace(/^[-0-9]+/,"");e=e.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(e)){e=`_${e}`}return e||"_"}},,,,,,,function(e,t,r){var n=r(70),a=r(556),i=r(776);var s=i&&i.isSet;var o=s?a(s):n;e.exports=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(810);function removeTypeDuplicates(e){const t={};const r={};const a=[];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.indexOf(o.types)<0){e=e.concat(o.types);a.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=o.id.name;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}},,,,,,function(e){var t=Array.isArray;e.exports=t},,function(e){function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}e.exports=hashDelete},function(e){e.exports=require("path")},,,,,,,,,,,,,function(e,t,r){var n=r(797),a=r(206);var i="[object RegExp]";function baseIsRegExp(e){return a(e)&&n(e)==i}e.exports=baseIsRegExp},,,,function(e,t,r){var n=r(44);var a=Object.prototype;var i=a.hasOwnProperty;function hashHas(e){var t=this.__data__;return n?t[e]!==undefined:i.call(t,e)}e.exports=hashHas},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(864);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}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=_interopRequireDefault(r(661));var a=_interopRequireDefault(r(46));var i=_interopRequireDefault(r(49));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritsComments(e,t){(0,n.default)(e,t);(0,a.default)(e,t);(0,i.default)(e,t);return e}},,,,,,,,,,,,,,,,,function(e,t,r){e=r.nmd(e);var n=r(373),a=r(860);var i=true&&t&&!t.nodeType&&t;var s=i&&"object"=="object"&&e&&!e.nodeType&&e;var o=s&&s.exports===i;var l=o?n.Buffer:undefined;var u=l?l.isBuffer:undefined;var f=u||a;e.exports=f},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},,,,,,function(e,t,r){var n=r(193);function listCacheHas(e){return n(this.__data__,e)>-1}e.exports=listCacheHas},,,,function(e){e.exports=require("@babel/core")},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(140);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:i}=e;const s={type:i};if(i==="Identifier"){s.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){s.optional=e.optional}if(a(e,"typeAnnotation")){s.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,i)){throw new Error(`Unknown node type: "${i}"`)}else{for(const o of Object.keys(n.NODE_FIELDS[i])){if(a(e,o)){if(t){s[o]=i==="File"&&o==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[o],true,r)}else{s[o]=e[o]}}}}if(a(e,"loc")){if(r){s.loc=null}else{s.loc=e.loc}}if(a(e,"leadingComments")){s.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){s.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){s.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){s.extra=Object.assign({},e.extra)}return s}function cloneCommentsWithoutLoc(e){return e.map(({type:e,value:t})=>({type:e,value:t,loc:null}))}function maybeCloneComments(e,t,r){return t&&r?cloneCommentsWithoutLoc(e):e}},,function(e){function getValue(e,t){return e==null?undefined:e[t]}e.exports=getValue},,,,,,,function(e,t,r){var n=r(835),a=r(373);var i=n(a,"WeakMap");e.exports=i},function(e,t,r){var n=r(298),a=r(126),i=r(690),s=r(812),o=r(532);function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(189);var a=_interopRequireDefault(r(622));var i=r(671);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=(0,n.declare)(e=>{e.assertVersion(7);function addDisplayName(e,t){const r=t.arguments[0].properties;let n=true;for(let e=0;ee.name==="createReactClass";function isCreateClass(e){if(!e||!i.types.isCallExpression(e))return false;if(!t(e.callee)&&!r(e.callee)){return false}const n=e.arguments;if(n.length!==1)return false;const a=n[0];if(!i.types.isObjectExpression(a))return false;return true}return{name:"transform-react-display-name",visitor:{ExportDefaultDeclaration({node:e},t){if(isCreateClass(e.declaration)){const r=t.filename||"unknown";let n=a.default.basename(r,a.default.extname(r));if(n==="index"){n=a.default.basename(a.default.dirname(r))}addDisplayName(n,e.declaration)}},CallExpression(e){const{node:t}=e;if(!isCreateClass(t))return;let r;e.find(function(e){if(e.isAssignmentExpression()){r=e.node.left}else if(e.isObjectProperty()){r=e.node.key}else if(e.isVariableDeclarator()){r=e.node.id}else if(e.isStatement()){return true}if(r)return true});if(!r)return;if(i.types.isMemberExpression(r)){r=r.property}if(i.types.isIdentifier(r)){addDisplayName(r.name,t)}}}}});t.default=s},,function(e,t,r){var n=r(44);function hashClear(){this.__data__=n?n(null):{};this.size=0}e.exports=hashClear},,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(929));var a=r(791);var i=r(189);var s=r(671);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=(0,i.declare)((e,t)=>{const r=t.pure;const i=(0,a.helper)(e,Object.assign({pre(e){const t=e.tagName;const r=e.args;if(s.types.react.isCompatTag(t)){r.push(s.types.stringLiteral(t))}else{r.push(e.tagExpr)}},post(e,t){if(t.get("@babel/plugin-react-jsx/runtime")==="classic"){e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/pragmaSet")}else{e.jsxCallee=t.get("@babel/plugin-react-jsx/jsxIdentifier")();e.jsxStaticCallee=t.get("@babel/plugin-react-jsx/jsxStaticIdentifier")();e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/importSourceSet")}}},t,{development:false}));return{name:"transform-react-jsx",inherits:n.default,visitor:i}});t.default=o},,,function(e){var t=9007199254740991;var r=/^(?:0|[1-9]\d*)$/;function isIndex(e,n){var a=typeof e;n=n==null?t:n;return!!n&&(a=="number"||a!="symbol"&&r.test(e))&&(e>-1&&e%1==0&&e{o[t]=o[t]||[];o[t].push(e)});if(t.validate){p[e]=t.validate}y[e]=t}const y={}},,,,,function(e,t,r){"use strict";var n=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});a("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember")}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember")}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"])}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember")}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}})},,,,,function(e){function stubFalse(){return false}e.exports=stubFalse},,,,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const 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 f=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=f;const p=[...f,...l];t.BOOLEAN_BINARY_OPERATORS=p;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...p];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 v=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=v;const x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},,,function(e){function stubArray(){return[]}e.exports=stubArray},,function(e){var t=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=t}e.exports=isLength},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=_interopRequireDefault(r(696));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function addComment(e,t,r,a){return(0,n.default)(e,t,[{type:a?"CommentLine":"CommentBlock",value:r}])}},,,function(e,t,r){var n=r(996),a=r(381),i=r(228);function keysIn(e){return i(e)?n(e,true):a(e)}e.exports=keysIn},,,,,,function(e,t,r){var n=r(193);function listCacheGet(e){var t=this.__data__,r=n(t,e);return r<0?undefined:t[r][1]}e.exports=listCacheGet},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(810);var a=r(774);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)}},function(e,t,r){var n=r(797),a=r(869),i=r(206);var s="[object Arguments]",o="[object Array]",l="[object Boolean]",u="[object Date]",f="[object Error]",p="[object Function]",c="[object Map]",d="[object Number]",y="[object Object]",T="[object RegExp]",m="[object Set]",S="[object String]",E="[object WeakMap]";var b="[object ArrayBuffer]",v="[object DataView]",x="[object Float32Array]",P="[object Float64Array]",A="[object Int8Array]",D="[object Int16Array]",g="[object Int32Array]",h="[object Uint8Array]",O="[object Uint8ClampedArray]",I="[object Uint16Array]",_="[object Uint32Array]";var N={};N[x]=N[P]=N[A]=N[D]=N[g]=N[h]=N[O]=N[I]=N[_]=true;N[s]=N[o]=N[b]=N[l]=N[v]=N[u]=N[f]=N[p]=N[c]=N[d]=N[y]=N[T]=N[m]=N[S]=N[E]=false;function baseIsTypedArray(e){return i(e)&&a(e.length)&&!!N[n(e)]}e.exports=baseIsTypedArray},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}},,function(e,t,r){var n=r(688);var a=4;function clone(e){return n(e,a)}e.exports=clone},,,,,,,,,,,,,,,,function(e,t,r){var n=r(80);function baseAssignValue(e,t,r){if(t=="__proto__"&&n){n(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}e.exports=baseAssignValue},,,function(e,t,r){var n=r(797),a=r(206);var i="[object Arguments]";function baseIsArguments(e){return a(e)&&n(e)==i}e.exports=baseIsArguments},,function(e){var t=/\w*$/;function cloneRegExp(e){var r=new e.constructor(e.source,t.exec(e));r.lastIndex=e.lastIndex;return r}e.exports=cloneRegExp},,,,,,,,function(e){function overArg(e,t){return function(r){return e(t(r))}}e.exports=overArg},,,,,,,,function(e,t,r){var n=r(283),a=r(876);function baseAssignIn(e,t){return e&&n(t,a(t),e)}e.exports=baseAssignIn},function(e,t,r){var n=r(595);function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new n(t).set(new n(e));return t}e.exports=cloneArrayBuffer},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(189);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=a},,,,,,,function(e){function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}e.exports=isKeyable},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(140);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?void 0: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)}},,,,function(e,t,r){var n=r(274),a=r(600),i=r(182);function getAllKeys(e){return n(e,i,a)}e.exports=getAllKeys},,,function(e,t,r){var n=r(718),a=r(206);var i="[object Map]";function baseIsMap(e){return a(e)&&n(e)==i}e.exports=baseIsMap},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(810);var a=r(774);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,a.stringLiteral)(t.name);return t}},,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(774);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let a=0;for(let e=0;e Date: Mon, 31 Aug 2020 16:09:04 -0400 Subject: [PATCH 10/16] Revert "Temporarily bundle babel dependency for hotfix" This reverts commit 5e3868c73f38e8d2402f02c48862450c2d178e45. --- .../LICENSE | 22 ------------- .../package.json | 1 - .../next/compiled/@babel/preset-react/LICENSE | 22 ------------- .../compiled/@babel/preset-react/package.json | 1 - .../index.js | 1 - .../compiled/babel__preset-react/index.js | 1 - packages/next/package.json | 1 - packages/next/taskfile.js | 33 ------------------- yarn.lock | 15 ++------- 9 files changed, 3 insertions(+), 94 deletions(-) delete mode 100644 packages/next/compiled/@babel/helper-builder-react-jsx-experimental/LICENSE delete mode 100644 packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json delete mode 100644 packages/next/compiled/@babel/preset-react/LICENSE delete mode 100644 packages/next/compiled/@babel/preset-react/package.json delete mode 100644 packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js delete mode 100644 packages/next/compiled/babel__preset-react/index.js diff --git a/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/LICENSE b/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/LICENSE deleted file mode 100644 index 5185b9ff14cd8..0000000000000 --- a/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/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. \ No newline at end of file diff --git a/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json b/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json deleted file mode 100644 index 9dc2f98c59198..0000000000000 --- a/packages/next/compiled/@babel/helper-builder-react-jsx-experimental/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/helper-builder-react-jsx-experimental","main":"index.js","license":"MIT"} diff --git a/packages/next/compiled/@babel/preset-react/LICENSE b/packages/next/compiled/@babel/preset-react/LICENSE deleted file mode 100644 index f31575ec773bb..0000000000000 --- a/packages/next/compiled/@babel/preset-react/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/next/compiled/@babel/preset-react/package.json b/packages/next/compiled/@babel/preset-react/package.json deleted file mode 100644 index 2e5dbe7c803f0..0000000000000 --- a/packages/next/compiled/@babel/preset-react/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"@babel/preset-react","main":"index.js","author":"Sebastian McKenzie ","license":"MIT"} diff --git a/packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js b/packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js deleted file mode 100644 index 94217b176d7f9..0000000000000 --- a/packages/next/compiled/babel__helper-builder-react-jsx-experimental/index.js +++ /dev/null @@ -1 +0,0 @@ -module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={i:t,l:false,exports:{}};e[t].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(186)}t(__webpack_require__);return startup()}({5:function(e,t,r){var n=r(445),a=r(572),i=r(703),s=r(968);var o=/[\\^$.*+?()[\]{}|]/g;var l=/^\[object .+?Constructor\]$/;var u=Function.prototype,f=Object.prototype;var p=u.toString;var c=f.hasOwnProperty;var d=RegExp("^"+p.call(c).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!i(e)||a(e)){return false}var t=n(e)?d:l;return t.test(s(e))}e.exports=baseIsNative},21:function(e,t,r){var n=r(835),a=r(373);var i=n(a,"DataView");e.exports=i},29:function(e,t,r){var n=r(373);var a=n.Symbol;e.exports=a},38:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=ensureBlock;var n=_interopRequireDefault(r(884));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},40:function(e){var t=typeof global=="object"&&global&&global.Object===Object&&global;e.exports=t},44:function(e,t,r){var n=r(835);var a=n(Object,"create");e.exports=a},46:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritLeadingComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},49:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritInnerComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},61:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=gatherSequenceExpressions;var n=_interopRequireDefault(r(446));var a=r(810);var i=r(774);var s=_interopRequireDefault(r(675));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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)}}},62:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=appendToMemberExpression;var n=r(774);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}},63:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const a=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||a.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},66:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=traverseFast;var n=r(140);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)}}}},68:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=builder;var n=_interopRequireDefault(r(888));var a=r(140);var i=_interopRequireDefault(r(939));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function builder(e,...t){const r=a.BUILDER_KEYS[e];const s=t.length;if(s>r.length){throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`)}const o={type:e};let l=0;r.forEach(r=>{const i=a.NODE_FIELDS[e][r];let u;if(l{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},a.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,a.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier")},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"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},88:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(774);var a=_interopRequireDefault(r(603));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function createTSUnionType(e){const t=e.map(e=>e.typeAnnotations);const r=(0,a.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},90:function(e,t,r){var n=r(44);var a="__lodash_hash_undefined__";var i=Object.prototype;var s=i.hasOwnProperty;function hashGet(e){var t=this.__data__;if(n){var r=t[e];return r===a?undefined:r}return s.call(t,e)?t[e]:undefined}e.exports=hashGet},108:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(810);var a=_interopRequireDefault(r(956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function buildChildren(e){const t=[];for(let r=0;re)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r1){s="jsxs"}else{s="jsx"}r.add(s);if(r.size===p){e.stop()}}});return r}function hasJSX(e){let t=false;e.traverse({"JSXElement|JSXFragment"(e){t=true;e.stop()}});return t}function getSource(e,r){switch(r){case"Fragment":return`${e}/${t.development?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function addAutoImports(e,t){const r=getImportNames(e,t);if((0,a.isModule)(e)){const n={};r.forEach(r=>{if(!n[r]){n[r]=(0,a.addNamed)(e,r,getSource(t.source,r),{importedInterop:"uncompiled",ensureLiveReference:true}).name}});return n}else{const n={};const i={};r.forEach(r=>{const s=getSource(t.source,r);if(!n[r]){if(!i[s]){i[s]=(0,a.addNamespace)(e,s,{importedInterop:"uncompiled",ensureLiveReference:true}).name}n[r]=i[s]}});return n}}function createIdentifierParser(e){return()=>{return e.split(".").map(e=>n.identifier(e)).reduce((e,t)=>n.memberExpression(e,t))}}function makeTrace(e,t,r){const a=t!=null?n.numericLiteral(t):n.nullLiteral();const i=r!=null?n.numericLiteral(r+1):n.nullLiteral();const s=n.objectProperty(n.identifier("fileName"),e);const o=n.objectProperty(n.identifier("lineNumber"),a);const l=n.objectProperty(n.identifier("columnNumber"),i);return n.objectExpression([s,o,l])}function makeSource(e,t){const a=e.node.loc;if(!a){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:a=""}=t;const i=e.scope.generateUidIdentifier(r);const s=e.hub.getScope();if(s){s.push({id:i,init:n.stringLiteral(a)})}t.fileNameIdentifier=i}return makeTrace(n.cloneNode(t.fileNameIdentifier),a.start.line,a.start.column)}function convertJSXIdentifier(e,t){if(n.isJSXIdentifier(e)){if(e.name==="this"&&n.isReferenced(e,t)){return n.thisExpression()}else if(n.isValidIdentifier(e.name,false)){e.type="Identifier"}else{return n.stringLiteral(e.name)}}else if(n.isJSXMemberExpression(e)){return n.memberExpression(convertJSXIdentifier(e.object,e),convertJSXIdentifier(e.property,e))}else if(n.isJSXNamespacedName(e)){return n.stringLiteral(`${e.namespace.name}:${e.name.name}`)}return e}function convertAttributeValue(e){if(n.isJSXExpressionContainer(e)){return e.expression}else{return e}}function convertAttribute(e){const t=convertAttributeValue(e.value||n.booleanLiteral(true));if(n.isJSXSpreadAttribute(e)){return n.spreadElement(e.argument)}if(n.isStringLiteral(t)&&!n.isJSXExpressionContainer(e.value)){t.value=t.value.replace(/\n\s+/g," ");if(t.extra&&t.extra.raw){delete t.extra.raw}}if(n.isJSXNamespacedName(e.name)){e.name=n.stringLiteral(e.name.namespace.name+":"+e.name.name.name)}else if(n.isValidIdentifier(e.name.name,false)){e.name.type="Identifier"}else{e.name=n.stringLiteral(e.name.name)}return n.inherits(n.objectProperty(e.name,t),e)}function buildJSXElementCall(e,r){const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=convertJSXIdentifier(a.node.name,a.node);const o=[];let l;if(n.isIdentifier(s)){l=s.name}else if(n.isLiteral(s)){l=s.value}const u={tagExpr:s,tagName:l,args:o,pure:false};if(t.pre){t.pre(u,r)}let f=[];const p=Object.create(null);for(const t of a.get("attributes")){if(t.isJSXAttribute()&&n.isJSXIdentifier(t.node.name)){const{name:r}=t.node.name;switch(r){case"__source":case"__self":if(p[r])throw sourceSelfError(e,r);case"key":p[r]=convertAttributeValue(t.node.value);break;default:f.push(t.node)}}else{f.push(t.node)}}if(f.length||e.node.children.length){f=buildJSXOpeningElementAttributes(f,r,e.node.children)}else{f=n.objectExpression([])}o.push(f);if(!t.development){if(p.key!==undefined){o.push(p.key)}}else{var c,d,y;o.push((c=p.key)!=null?c:e.scope.buildUndefinedNode(),n.booleanLiteral(e.node.children.length>1),(d=p.__source)!=null?d:e.scope.buildUndefinedNode(),(y=p.__self)!=null?y:n.thisExpression())}if(t.post){t.post(u,r)}const T=u.call||n.callExpression(e.node.children.length>1?u.jsxStaticCallee:u.jsxCallee,o);if(u.pure)(0,i.default)(T);return T}function buildJSXOpeningElementAttributes(e,t,r){const a=e.map(convertAttribute);if(r&&r.length>0){if(r.length===1){a.push(n.objectProperty(n.identifier("children"),r[0]))}else{a.push(n.objectProperty(n.identifier("children"),n.arrayExpression(r)))}}return n.objectExpression(a)}function buildJSXFragmentCall(e,r){const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=[];const o=null;const l=r.get("@babel/plugin-react-jsx/jsxFragIdentifier")();const u={tagExpr:l,tagName:o,args:s,pure:false};if(t.pre){t.pre(u,r)}let f;if(e.node.children.length>0){if(e.node.children.length===1){f=e.node.children[0]}else{f=n.arrayExpression(e.node.children)}}s.push(n.objectExpression(f!==undefined?[n.objectProperty(n.identifier("children"),f)]:[]));if(t.development){s.push(e.scope.buildUndefinedNode(),n.booleanLiteral(e.node.children.length>1))}if(t.post){t.post(u,r)}const p=u.call||n.callExpression(e.node.children.length>1?u.jsxStaticCallee:u.jsxCallee,s);if(u.pure)(0,i.default)(p);return p}function buildCreateElementFragmentCall(e,r){if(t.filter&&!t.filter(e.node,r)){return}const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=[];const o=null;const l=r.get("@babel/plugin-react-jsx/jsxFragIdentifier")();const u={tagExpr:l,tagName:o,args:s,pure:false};if(t.pre){t.pre(u,r)}s.push(n.nullLiteral(),...e.node.children);if(t.post){t.post(u,r)}r.set("@babel/plugin-react-jsx/usedFragment",true);const f=u.call||n.callExpression(u.createElementCallee,s);if(u.pure)(0,i.default)(f);return f}function buildCreateElementCall(e,r){const a=e.get("openingElement");a.parent.children=n.react.buildChildren(a.parent);const s=convertJSXIdentifier(a.node.name,a.node);const o=[];let l;if(n.isIdentifier(s)){l=s.name}else if(n.isLiteral(s)){l=s.value}const u={tagExpr:s,tagName:l,args:o,pure:false};if(t.pre){t.pre(u,r)}const f=buildCreateElementOpeningElementAttributes(e,a.node.attributes);o.push(f,...e.node.children);if(t.post){t.post(u,r)}const p=u.call||n.callExpression(u.createElementCallee,o);if(u.pure)(0,i.default)(p);return p}function buildCreateElementOpeningElementAttributes(e,r){const a=[];const i=Object.create(null);for(const s of r){const r=n.isJSXAttribute(s)&&n.isJSXIdentifier(s.name)&&s.name.name;if(r==="__source"||r==="__self"){if(i[r])throw sourceSelfError(e,r);i[r]=true;if(!t.development)continue}a.push(convertAttribute(s))}return a.length>0?n.objectExpression(a):n.nullLiteral()}function sourceSelfError(e,t){const r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}}},193:function(e,t,r){var n=r(372);function assocIndexOf(e,t){var r=e.length;while(r--){if(n(e[r][0],t)){return r}}return-1}e.exports=assocIndexOf},194:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return d.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return ce.default}});t.react=void 0;var a=_interopRequireDefault(r(450));var i=_interopRequireDefault(r(109));var s=_interopRequireDefault(r(108));var o=_interopRequireDefault(r(494));var l=r(279);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=_interopRequireDefault(r(333));var f=_interopRequireDefault(r(345));var p=_interopRequireDefault(r(88));var c=r(774);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=_interopRequireDefault(r(675));var y=_interopRequireDefault(r(422));var T=_interopRequireDefault(r(317));var S=_interopRequireDefault(r(393));var E=_interopRequireDefault(r(787));var m=_interopRequireDefault(r(873));var v=_interopRequireDefault(r(696));var x=_interopRequireDefault(r(49));var P=_interopRequireDefault(r(46));var A=_interopRequireDefault(r(642));var b=_interopRequireDefault(r(661));var h=_interopRequireDefault(r(557));var g=r(958);Object.keys(g).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return g[e]}})});var O=r(864);Object.keys(O).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return O[e]}})});var I=_interopRequireDefault(r(38));var _=_interopRequireDefault(r(981));var D=_interopRequireDefault(r(884));var j=_interopRequireDefault(r(949));var C=_interopRequireDefault(r(399));var L=_interopRequireDefault(r(605));var N=_interopRequireDefault(r(242));var w=_interopRequireDefault(r(455));var M=_interopRequireDefault(r(471));var F=_interopRequireDefault(r(308));var B=r(140);Object.keys(B).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return B[e]}})});var R=_interopRequireDefault(r(62));var K=_interopRequireDefault(r(526));var X=_interopRequireDefault(r(804));var q=_interopRequireDefault(r(640));var J=_interopRequireDefault(r(348));var k=_interopRequireDefault(r(613));var V=_interopRequireDefault(r(446));var Y=_interopRequireDefault(r(510));var W=_interopRequireDefault(r(825));var U=_interopRequireDefault(r(66));var $=_interopRequireDefault(r(178));var G=_interopRequireDefault(r(505));var z=_interopRequireDefault(r(283));var Q=_interopRequireDefault(r(336));var H=_interopRequireDefault(r(793));var Z=_interopRequireDefault(r(436));var ee=_interopRequireDefault(r(400));var te=_interopRequireDefault(r(240));var re=_interopRequireDefault(r(288));var ne=_interopRequireDefault(r(296));var ae=_interopRequireDefault(r(476));var ie=_interopRequireDefault(r(780));var se=_interopRequireDefault(r(559));var oe=_interopRequireDefault(r(143));var le=_interopRequireDefault(r(573));var ue=_interopRequireDefault(r(175));var fe=_interopRequireDefault(r(211));var pe=_interopRequireDefault(r(939));var ce=_interopRequireDefault(r(481));var de=r(810);Object.keys(de).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return de[e]}})});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const ye={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default};t.react=ye},198:function(e){function stackDelete(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}e.exports=stackDelete},202:function(e,t,r){var n=r(583),a=r(600);function copySymbols(e,t){return n(e,a(e),t)}e.exports=copySymbols},206:function(e){function isObjectLike(e){return e!=null&&typeof e=="object"}e.exports=isObjectLike},211:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(810);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=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},243:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=_interopRequireWildcard(r(194));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a="#__PURE__";const i=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e.node||e;if(i(t)){return}n.addComment(t,"leading",a)}},250:function(e,t,r){var n=r(917);var a=n(Object.getPrototypeOf,Object);e.exports=a},257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=_interopRequireDefault(r(505));var a=_interopRequireDefault(r(573));var i=r(289);var s=r(864);var o=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,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")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,a){const i=r.operator==="in"?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const f=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=f;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},f,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const p={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=p;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},p,{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))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,a,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},p,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,a]=r;if(e[n].length>a+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,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")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},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"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,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}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let 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 c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{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=c;const d=Object.assign({},l,c,{kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},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}}})},274:function(e,t,r){var n=r(814),a=r(619);function baseGetAllKeys(e,t,r){var i=t(e);return a(e)?i:n(i,r(e))}e.exports=baseGetAllKeys},276:function(e,t,r){var n=r(907),a=r(206);var i=Object.prototype;var s=i.hasOwnProperty;var o=i.propertyIsEnumerable;var l=n(function(){return arguments}())?n:function(e){return a(e)&&s.call(e,"callee")&&!o.call(e,"callee")};e.exports=l},277:function(e,t,r){var n=r(926),a=r(722),i=r(909),s=r(735),o=r(212);var l="[object Boolean]",u="[object Date]",f="[object Map]",p="[object Number]",c="[object RegExp]",d="[object Set]",y="[object String]",T="[object Symbol]";var S="[object ArrayBuffer]",E="[object DataView]",m="[object Float32Array]",v="[object Float64Array]",x="[object Int8Array]",P="[object Int16Array]",A="[object Int32Array]",b="[object Uint8Array]",h="[object Uint8ClampedArray]",g="[object Uint16Array]",O="[object Uint32Array]";function initCloneByTag(e,t,r){var I=e.constructor;switch(t){case S:return n(e);case l:case u:return new I(+e);case E:return a(e,r);case m:case v:case x:case P:case A:case b:case h:case g:case O:return o(e,r);case f:return new I;case p:case y:return new I(e);case c:return i(e);case d:return new I;case T:return s(e)}}e.exports=initCloneByTag},279:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=_interopRequireDefault(r(505));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t={}){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t={}){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t={}){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t={}){assert("InterpreterDirective",e,t)}function assertDirective(e,t={}){assert("Directive",e,t)}function assertDirectiveLiteral(e,t={}){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t={}){assert("BlockStatement",e,t)}function assertBreakStatement(e,t={}){assert("BreakStatement",e,t)}function assertCallExpression(e,t={}){assert("CallExpression",e,t)}function assertCatchClause(e,t={}){assert("CatchClause",e,t)}function assertConditionalExpression(e,t={}){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t={}){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t={}){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t={}){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t={}){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t={}){assert("ExpressionStatement",e,t)}function assertFile(e,t={}){assert("File",e,t)}function assertForInStatement(e,t={}){assert("ForInStatement",e,t)}function assertForStatement(e,t={}){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t={}){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t={}){assert("FunctionExpression",e,t)}function assertIdentifier(e,t={}){assert("Identifier",e,t)}function assertIfStatement(e,t={}){assert("IfStatement",e,t)}function assertLabeledStatement(e,t={}){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t={}){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t={}){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t={}){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t={}){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t={}){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t={}){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t={}){assert("MemberExpression",e,t)}function assertNewExpression(e,t={}){assert("NewExpression",e,t)}function assertProgram(e,t={}){assert("Program",e,t)}function assertObjectExpression(e,t={}){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t={}){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t={}){assert("ObjectProperty",e,t)}function assertRestElement(e,t={}){assert("RestElement",e,t)}function assertReturnStatement(e,t={}){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t={}){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t={}){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t={}){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t={}){assert("SwitchStatement",e,t)}function assertThisExpression(e,t={}){assert("ThisExpression",e,t)}function assertThrowStatement(e,t={}){assert("ThrowStatement",e,t)}function assertTryStatement(e,t={}){assert("TryStatement",e,t)}function assertUnaryExpression(e,t={}){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t={}){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t={}){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t={}){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t={}){assert("WhileStatement",e,t)}function assertWithStatement(e,t={}){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t={}){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t={}){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t={}){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t={}){assert("ClassBody",e,t)}function assertClassExpression(e,t={}){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t={}){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t={}){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t={}){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t={}){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t={}){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t={}){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t={}){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t={}){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t={}){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t={}){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t={}){assert("MetaProperty",e,t)}function assertClassMethod(e,t={}){assert("ClassMethod",e,t)}function assertObjectPattern(e,t={}){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t={}){assert("SpreadElement",e,t)}function assertSuper(e,t={}){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t={}){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t={}){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t={}){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t={}){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t={}){assert("AwaitExpression",e,t)}function assertImport(e,t={}){assert("Import",e,t)}function assertBigIntLiteral(e,t={}){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t={}){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t={}){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t={}){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t={}){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t={}){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t={}){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t={}){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t={}){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t={}){assert("ClassImplements",e,t)}function assertDeclareClass(e,t={}){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t={}){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t={}){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t={}){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t={}){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t={}){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t={}){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t={}){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t={}){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t={}){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t={}){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t={}){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t={}){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t={}){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t={}){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t={}){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t={}){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t={}){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t={}){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t={}){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t={}){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t={}){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t={}){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t={}){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t={}){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t={}){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t={}){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t={}){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t={}){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t={}){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t={}){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t={}){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t={}){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t={}){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t={}){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t={}){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t={}){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t={}){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t={}){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t={}){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t={}){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t={}){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t={}){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t={}){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t={}){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t={}){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t={}){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t={}){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t={}){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t={}){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t={}){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t={}){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t={}){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t={}){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t={}){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t={}){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t={}){assert("EnumDefaultedMember",e,t)}function assertJSXAttribute(e,t={}){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t={}){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t={}){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t={}){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t={}){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t={}){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t={}){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t={}){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t={}){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t={}){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t={}){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t={}){assert("JSXText",e,t)}function assertJSXFragment(e,t={}){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t={}){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t={}){assert("JSXClosingFragment",e,t)}function assertNoop(e,t={}){assert("Noop",e,t)}function assertPlaceholder(e,t={}){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t={}){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t={}){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t={}){assert("BindExpression",e,t)}function assertClassProperty(e,t={}){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t={}){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t={}){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t={}){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t={}){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t={}){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t={}){assert("ImportAttribute",e,t)}function assertDecorator(e,t={}){assert("Decorator",e,t)}function assertDoExpression(e,t={}){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t={}){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t={}){assert("PrivateName",e,t)}function assertRecordExpression(e,t={}){assert("RecordExpression",e,t)}function assertTupleExpression(e,t={}){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t={}){assert("DecimalLiteral",e,t)}function 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 assertTSNeverKeyword(e,t={}){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t={}){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t={}){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t={}){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t={}){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t={}){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t={}){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t={}){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t={}){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t={}){assert("TSThisType",e,t)}function assertTSFunctionType(e,t={}){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t={}){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t={}){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t={}){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t={}){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t={}){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t={}){assert("TSArrayType",e,t)}function assertTSTupleType(e,t={}){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t={}){assert("TSOptionalType",e,t)}function assertTSRestType(e,t={}){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t={}){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t={}){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t={}){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t={}){assert("TSConditionalType",e,t)}function assertTSInferType(e,t={}){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t={}){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t={}){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t={}){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t={}){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t={}){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t={}){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t={}){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t={}){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t={}){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t={}){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t={}){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t={}){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t={}){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t={}){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t={}){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t={}){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t={}){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t={}){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t={}){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t={}){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t={}){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t={}){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t={}){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t={}){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t={}){assert("TSTypeParameter",e,t)}function assertExpression(e,t={}){assert("Expression",e,t)}function assertBinary(e,t={}){assert("Binary",e,t)}function assertScopable(e,t={}){assert("Scopable",e,t)}function assertBlockParent(e,t={}){assert("BlockParent",e,t)}function assertBlock(e,t={}){assert("Block",e,t)}function assertStatement(e,t={}){assert("Statement",e,t)}function assertTerminatorless(e,t={}){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t={}){assert("CompletionStatement",e,t)}function assertConditional(e,t={}){assert("Conditional",e,t)}function assertLoop(e,t={}){assert("Loop",e,t)}function assertWhile(e,t={}){assert("While",e,t)}function assertExpressionWrapper(e,t={}){assert("ExpressionWrapper",e,t)}function assertFor(e,t={}){assert("For",e,t)}function assertForXStatement(e,t={}){assert("ForXStatement",e,t)}function assertFunction(e,t={}){assert("Function",e,t)}function assertFunctionParent(e,t={}){assert("FunctionParent",e,t)}function assertPureish(e,t={}){assert("Pureish",e,t)}function assertDeclaration(e,t={}){assert("Declaration",e,t)}function assertPatternLike(e,t={}){assert("PatternLike",e,t)}function assertLVal(e,t={}){assert("LVal",e,t)}function assertTSEntityName(e,t={}){assert("TSEntityName",e,t)}function assertLiteral(e,t={}){assert("Literal",e,t)}function assertImmutable(e,t={}){assert("Immutable",e,t)}function assertUserWhitespacable(e,t={}){assert("UserWhitespacable",e,t)}function assertMethod(e,t={}){assert("Method",e,t)}function assertObjectMember(e,t={}){assert("ObjectMember",e,t)}function assertProperty(e,t={}){assert("Property",e,t)}function assertUnaryLike(e,t={}){assert("UnaryLike",e,t)}function assertPattern(e,t={}){assert("Pattern",e,t)}function assertClass(e,t={}){assert("Class",e,t)}function assertModuleDeclaration(e,t={}){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t={}){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t={}){assert("ModuleSpecifier",e,t)}function assertFlow(e,t={}){assert("Flow",e,t)}function assertFlowType(e,t={}){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t={}){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t={}){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t={}){assert("FlowPredicate",e,t)}function assertEnumBody(e,t={}){assert("EnumBody",e,t)}function assertEnumMember(e,t={}){assert("EnumMember",e,t)}function assertJSX(e,t={}){assert("JSX",e,t)}function assertPrivate(e,t={}){assert("Private",e,t)}function assertTSTypeElement(e,t={}){assert("TSTypeElement",e,t)}function assertTSType(e,t={}){assert("TSType",e,t)}function assertTSBaseType(e,t={}){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}},288:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isPlaceholderType;var n=r(140);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}},289:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});var n=r(179);var a=r(63)},296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":if(t.source){return false}return t.local===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},298:function(e,t,r){var n=r(511),a=r(157),i=r(403);function mapCacheClear(){this.size=0;this.__data__={hash:new n,map:new(i||a),string:new n}}e.exports=mapCacheClear},300:function(e,t,r){var n=r(835),a=r(373);var i=n(a,"Set");e.exports=i},305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.default}});var n=_interopRequireDefault(r(673));var a=_interopRequireDefault(r(137));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,a){return new n.default(e).addNamed(t,r,a)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},308:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=valueToNode;var n=_interopRequireDefault(r(220));var a=_interopRequireDefault(r(832));var i=_interopRequireDefault(r(573));var s=r(774);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if((0,a.default)(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if((0,n.default)(e)){const t=[];for(const r of Object.keys(e)){let n;if((0,i.default)(r)){n=(0,s.identifier)(r)}else{n=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(n,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},313:function(e,t,r){var n=r(157),a=r(403),i=r(685);var s=200;function stackSet(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!a||o.length(0,n.default)(e,r,t)}},494:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=_interopRequireDefault(r(400));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}"`)}}},496:function(e){var t=Object.prototype;var r=t.hasOwnProperty;function initCloneArray(e){var t=e.length,n=new e.constructor(t);if(t&&typeof e[0]=="string"&&r.call(e,"index")){n.index=e.index;n.input=e.input}return n}e.exports=initCloneArray},505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=_interopRequireDefault(r(178));var a=_interopRequireDefault(r(559));var i=_interopRequireDefault(r(288));var s=r(140);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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)}}},510:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getOuterBindingIdentifiers;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},511:function(e,t,r){var n=r(742),a=r(621),i=r(90),s=r(639),o=r(335);function Hash(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{e[t]=null});return e}},559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(140);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}},565:function(e){function arrayEach(e,t){var r=-1,n=e==null?0:e.length;while(++r=0){continue}if((0,n.isTSAnyKeyword)(s.type)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(a.indexOf(s.types)<0){e=e.concat(s.types);a.push(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}},605:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=_interopRequireDefault(r(573));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function toIdentifier(e){e=e+"";e=e.replace(/[^a-zA-Z0-9$_]/g,"-");e=e.replace(/^[-0-9]+/,"");e=e.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(e)){e=`_${e}`}return e||"_"}},612:function(e,t,r){var n=r(70),a=r(556),i=r(776);var s=i&&i.isSet;var o=s?a(s):n;e.exports=o},613:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(810);function removeTypeDuplicates(e){const t={};const r={};const a=[];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.indexOf(o.types)<0){e=e.concat(o.types);a.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=o.id.name;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}},619:function(e){var t=Array.isArray;e.exports=t},621:function(e){function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}e.exports=hashDelete},635:function(e,t,r){var n=r(797),a=r(206);var i="[object RegExp]";function baseIsRegExp(e){return a(e)&&n(e)==i}e.exports=baseIsRegExp},639:function(e,t,r){var n=r(44);var a=Object.prototype;var i=a.hasOwnProperty;function hashHas(e){var t=this.__data__;return n?t[e]!==undefined:i.call(t,e)}e.exports=hashHas},640:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(864);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}}},642:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=_interopRequireDefault(r(661));var a=_interopRequireDefault(r(46));var i=_interopRequireDefault(r(49));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritsComments(e,t){(0,n.default)(e,t);(0,a.default)(e,t);(0,i.default)(e,t);return e}},659:function(e,t,r){e=r.nmd(e);var n=r(373),a=r(860);var i=true&&t&&!t.nodeType&&t;var s=i&&"object"=="object"&&e&&!e.nodeType&&e;var o=s&&s.exports===i;var l=o?n.Buffer:undefined;var u=l?l.isBuffer:undefined;var f=u||a;e.exports=f},661:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},667:function(e,t,r){var n=r(193);function listCacheHas(e){return n(this.__data__,e)>-1}e.exports=listCacheHas},673:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(357));var a=_interopRequireWildcard(r(194));var i=_interopRequireDefault(r(404));var s=_interopRequireDefault(r(137));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false};const n=e.find(e=>e.isProgram());this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){(0,n.default)(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const a=[];if(typeof e==="string"){a.push({importedSource:e});a.push(t)}else{(0,n.default)(!t,"Unexpected secondary arguments.");a.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of a){if(!e)continue;Object.keys(i).forEach(t=>{if(e[t]!==undefined)i[t]=e[t]});if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const o=t===null;const{importedSource:l,importedType:u,importedInterop:f,importingInterop:p,ensureLiveReference:c,ensureNoContext:d,nameHint:y,blockHoist:T}=e;let S=y||t;const E=(0,s.default)(this._programPath);const m=E&&p==="node";const v=E&&p==="babel";const x=new i.default(l,this._programScope,this._hub);if(u==="es6"){if(!m&&!v){throw new Error("Cannot import an ES6 module from CommonJS")}x.import();if(o){x.namespace(y||l)}else if(r||n){x.named(S,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(f==="babel"){if(m){S=S!=="default"?S:l;const e=`${l}$es6Default`;x.import();if(o){x.default(e).var(S||l).wildcardInterop()}else if(r){if(c){x.default(e).var(S||l).defaultInterop().read("default")}else{x.default(e).var(S).defaultInterop().prop(t)}}else if(n){x.default(e).read(t)}}else if(v){x.import();if(o){x.namespace(S||l)}else if(r||n){x.named(S,t)}}else{x.require();if(o){x.var(S||l).wildcardInterop()}else if((r||n)&&c){if(r){S=S!=="default"?S:l;x.var(S).read(t);x.defaultInterop()}else{x.var(l).read(t)}}else if(r){x.var(S).defaultInterop().prop(t)}else if(n){x.var(S).prop(t)}}}else if(f==="compiled"){if(m){x.import();if(o){x.default(S||l)}else if(r||n){x.default(l).read(S)}}else if(v){x.import();if(o){x.namespace(S||l)}else if(r||n){x.named(S,t)}}else{x.require();if(o){x.var(S||l)}else if(r||n){if(c){x.var(l).read(S)}else{x.prop(t).var(S)}}}}else if(f==="uncompiled"){if(r&&c){throw new Error("No live reference for commonjs default")}if(m){x.import();if(o){x.default(S||l)}else if(r){x.default(S)}else if(n){x.default(l).read(S)}}else if(v){x.import();if(o){x.default(S||l)}else if(r){x.default(S)}else if(n){x.named(S,t)}}else{x.require();if(o){x.var(S||l)}else if(r){x.var(S)}else if(n){if(c){x.var(l).read(S)}else{x.var(S).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${f}".`)}const{statements:P,resultName:A}=x.done();this._insertStatements(P,T);if((r||n)&&d&&A.type!=="Identifier"){return a.sequenceExpression([a.numericLiteral(0),A])}return A}_insertStatements(e,t=3){e.forEach(e=>{e._blockHoist=t});const r=this._programPath.get("body").find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(r){r.insertBefore(e)}else{this._programPath.unshiftContainer("body",e)}}}t.default=ImportInjector},675:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(140);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:i}=e;const s={type:i};if(i==="Identifier"){s.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){s.optional=e.optional}if(a(e,"typeAnnotation")){s.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,i)){throw new Error(`Unknown node type: "${i}"`)}else{for(const o of Object.keys(n.NODE_FIELDS[i])){if(a(e,o)){if(t){s[o]=i==="File"&&o==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[o],true,r)}else{s[o]=e[o]}}}}if(a(e,"loc")){if(r){s.loc=null}else{s.loc=e.loc}}if(a(e,"leadingComments")){s.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){s.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){s.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){s.extra=Object.assign({},e.extra)}return s}function cloneCommentsWithoutLoc(e){return e.map(({type:e,value:t})=>({type:e,value:t,loc:null}))}function maybeCloneComments(e,t,r){return t&&r?cloneCommentsWithoutLoc(e):e}},677:function(e){function getValue(e,t){return e==null?undefined:e[t]}e.exports=getValue},684:function(e,t,r){var n=r(835),a=r(373);var i=n(a,"WeakMap");e.exports=i},685:function(e,t,r){var n=r(298),a=r(126),i=r(690),s=r(812),o=r(532);function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},742:function(e,t,r){var n=r(44);function hashClear(){this.__data__=n?n(null):{};this.size=0}e.exports=hashClear},754:function(e){var t=9007199254740991;var r=/^(?:0|[1-9]\d*)$/;function isIndex(e,n){var a=typeof e;n=n==null?t:n;return!!n&&(a=="number"||a!="symbol"&&r.test(e))&&(e>-1&&e%1==0&&e{o[t]=o[t]||[];o[t].push(e)});if(t.validate){p[e]=t.validate}y[e]=t}const y={}},855:function(e,t,r){"use strict";var n=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});a("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember")}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember")}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"])}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember")}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}})},860:function(e){function stubFalse(){return false}e.exports=stubFalse},864:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const 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 f=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=f;const p=[...f,...l];t.BOOLEAN_BINARY_OPERATORS=p;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...p];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 S=["+","-","~"];t.NUMBER_UNARY_OPERATORS=S;const E=["typeof"];t.STRING_UNARY_OPERATORS=E;const m=["void","throw",...T,...S,...E];t.UNARY_OPERATORS=m;const v={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=v;const x=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=x;const P=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=P},867:function(e){function stubArray(){return[]}e.exports=stubArray},869:function(e){var t=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=t}e.exports=isLength},873:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=_interopRequireDefault(r(696));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function addComment(e,t,r,a){return(0,n.default)(e,t,[{type:a?"CommentLine":"CommentBlock",value:r}])}},876:function(e,t,r){var n=r(996),a=r(381),i=r(228);function keysIn(e){return i(e)?n(e,true):a(e)}e.exports=keysIn},882:function(e,t,r){var n=r(193);function listCacheGet(e){var t=this.__data__,r=n(t,e);return r<0?undefined:t[r][1]}e.exports=listCacheGet},884:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(810);var a=r(774);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)}},885:function(e,t,r){var n=r(797),a=r(869),i=r(206);var s="[object Arguments]",o="[object Array]",l="[object Boolean]",u="[object Date]",f="[object Error]",p="[object Function]",c="[object Map]",d="[object Number]",y="[object Object]",T="[object RegExp]",S="[object Set]",E="[object String]",m="[object WeakMap]";var v="[object ArrayBuffer]",x="[object DataView]",P="[object Float32Array]",A="[object Float64Array]",b="[object Int8Array]",h="[object Int16Array]",g="[object Int32Array]",O="[object Uint8Array]",I="[object Uint8ClampedArray]",_="[object Uint16Array]",D="[object Uint32Array]";var j={};j[P]=j[A]=j[b]=j[h]=j[g]=j[O]=j[I]=j[_]=j[D]=true;j[s]=j[o]=j[v]=j[l]=j[x]=j[u]=j[f]=j[p]=j[c]=j[d]=j[y]=j[T]=j[S]=j[E]=j[m]=false;function baseIsTypedArray(e){return i(e)&&a(e.length)&&!!j[n(e)]}e.exports=baseIsTypedArray},888:function(e,t,r){var n=r(688);var a=4;function clone(e){return n(e,a)}e.exports=clone},904:function(e,t,r){var n=r(80);function baseAssignValue(e,t,r){if(t=="__proto__"&&n){n(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}e.exports=baseAssignValue},907:function(e,t,r){var n=r(797),a=r(206);var i="[object Arguments]";function baseIsArguments(e){return a(e)&&n(e)==i}e.exports=baseIsArguments},909:function(e){var t=/\w*$/;function cloneRegExp(e){var r=new e.constructor(e.source,t.exec(e));r.lastIndex=e.lastIndex;return r}e.exports=cloneRegExp},917:function(e){function overArg(e,t){return function(r){return e(t(r))}}e.exports=overArg},925:function(e,t,r){var n=r(583),a=r(876);function baseAssignIn(e,t){return e&&n(t,a(t),e)}e.exports=baseAssignIn},926:function(e,t,r){var n=r(595);function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new n(t).set(new n(e));return t}e.exports=cloneArrayBuffer},936:function(e){function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}e.exports=isKeyable},939:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(140);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?void 0: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)}},943:function(e,t,r){var n=r(274),a=r(600),i=r(182);function getAllKeys(e){return n(e,i,a)}e.exports=getAllKeys},946:function(e,t,r){var n=r(718),a=r(206);var i="[object Map]";function baseIsMap(e){return a(e)&&n(e)==i}e.exports=baseIsMap},949:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(810);var a=r(774);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,a.stringLiteral)(t.name);return t}},956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(774);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let a=0;for(let e=0;er.length){throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`)}const o={type:e};let l=0;r.forEach(r=>{const i=a.NODE_FIELDS[e][r];let u;if(l{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},a.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:true},definite:{validate:(0,n.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},declare:{validate:(0,n.assertValueType)("boolean"),optional:true}})});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,a.functionTypeAnnotationCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier")},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"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=createTSUnionType;var n=r(774);var a=_interopRequireDefault(r(603));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function createTSUnionType(e){const t=e.map(e=>e.typeAnnotations);const r=(0,a.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},,function(e,t,r){var n=r(44);var a="__lodash_hash_undefined__";var i=Object.prototype;var s=i.hasOwnProperty;function hashGet(e){var t=this.__data__;if(n){var r=t[e];return r===a?undefined:r}return s.call(t,e)?t[e]:undefined}e.exports=hashGet},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=buildChildren;var n=r(810);var a=_interopRequireDefault(r(956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function buildChildren(e){const t=[];for(let r=0;re)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{if(!t.assertVersion){t=Object.assign(copyApiObject(t),{assertVersion(e){throwVersionError(e,t.version)}})}return e(t,r||{},n)}}function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},,,,function(e,t,r){var n=r(372);function assocIndexOf(e,t){var r=e.length;while(r--){if(n(e[r][0],t)){return r}}return-1}e.exports=assocIndexOf},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return d.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return w.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return ce.default}});t.react=void 0;var a=_interopRequireDefault(r(450));var i=_interopRequireDefault(r(148));var s=_interopRequireDefault(r(108));var o=_interopRequireDefault(r(494));var l=r(279);Object.keys(l).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})});var u=_interopRequireDefault(r(333));var f=_interopRequireDefault(r(345));var p=_interopRequireDefault(r(88));var c=r(774);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})});var d=_interopRequireDefault(r(675));var y=_interopRequireDefault(r(422));var T=_interopRequireDefault(r(317));var m=_interopRequireDefault(r(393));var S=_interopRequireDefault(r(787));var E=_interopRequireDefault(r(873));var b=_interopRequireDefault(r(696));var v=_interopRequireDefault(r(49));var x=_interopRequireDefault(r(46));var P=_interopRequireDefault(r(642));var A=_interopRequireDefault(r(661));var D=_interopRequireDefault(r(557));var g=r(958);Object.keys(g).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return g[e]}})});var h=r(864);Object.keys(h).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return h[e]}})});var O=_interopRequireDefault(r(38));var I=_interopRequireDefault(r(981));var _=_interopRequireDefault(r(884));var N=_interopRequireDefault(r(949));var L=_interopRequireDefault(r(399));var j=_interopRequireDefault(r(605));var C=_interopRequireDefault(r(242));var M=_interopRequireDefault(r(455));var w=_interopRequireDefault(r(471));var F=_interopRequireDefault(r(308));var B=r(140);Object.keys(B).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return B[e]}})});var R=_interopRequireDefault(r(62));var K=_interopRequireDefault(r(526));var q=_interopRequireDefault(r(804));var X=_interopRequireDefault(r(640));var V=_interopRequireDefault(r(348));var J=_interopRequireDefault(r(613));var k=_interopRequireDefault(r(446));var Y=_interopRequireDefault(r(510));var W=_interopRequireDefault(r(825));var U=_interopRequireDefault(r(66));var G=_interopRequireDefault(r(178));var $=_interopRequireDefault(r(505));var z=_interopRequireDefault(r(886));var Q=_interopRequireDefault(r(336));var H=_interopRequireDefault(r(793));var Z=_interopRequireDefault(r(436));var ee=_interopRequireDefault(r(400));var te=_interopRequireDefault(r(240));var re=_interopRequireDefault(r(288));var ne=_interopRequireDefault(r(296));var ae=_interopRequireDefault(r(476));var ie=_interopRequireDefault(r(780));var se=_interopRequireDefault(r(559));var oe=_interopRequireDefault(r(143));var le=_interopRequireDefault(r(573));var ue=_interopRequireDefault(r(175));var fe=_interopRequireDefault(r(211));var pe=_interopRequireDefault(r(939));var ce=_interopRequireDefault(r(481));var de=r(810);Object.keys(de).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;Object.defineProperty(t,e,{enumerable:true,get:function(){return de[e]}})});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const ye={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default};t.react=ye},,,,function(e){function stackDelete(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}e.exports=stackDelete},,,,function(e,t,r){var n=r(283),a=r(600);function copySymbols(e,t){return n(e,a(e),t)}e.exports=copySymbols},,,,function(e){function isObjectLike(e){return e!=null&&typeof e=="object"}e.exports=isObjectLike},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=matchesPattern;var n=r(810);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{const{runtime:r="classic"}=t;if(r==="classic"){return(0,n.default)(e,t)}else{return(0,a.default)(e,t)}});t.default=s},,function(e,t,r){var n=r(797),a=r(250),i=r(206);var s="[object Object]";var o=Function.prototype,l=Object.prototype;var u=o.toString;var f=l.hasOwnProperty;var p=u.call(Object);function isPlainObject(e){if(!i(e)||n(e)!=s){return false}var t=a(e);if(t===null){return true}var r=f.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&u.call(r)==p}e.exports=isPlainObject},,,,,,,,function(e,t,r){var n=r(445),a=r(869);function isArrayLike(e){return e!=null&&a(e.length)&&!n(e)}e.exports=isArrayLike},,function(e){var t=Object.prototype;function isPrototype(e){var r=e&&e.constructor,n=typeof r=="function"&&r.prototype||t;return e===n}e.exports=isPrototype},,,,,,,function(e,t,r){var n=r(157);function stackClear(){this.__data__=new n;this.size=0}e.exports=stackClear},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isNodesEquivalent;var n=r(140);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=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=annotateAsPure;var n=_interopRequireWildcard(r(194));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a="#__PURE__";const i=({leadingComments:e})=>!!e&&e.some(e=>/[@#]__PURE__/.test(e.value));function annotateAsPure(e){const t=e.node||e;if(i(t)){return}n.addComment(t,"leading",a)}},,,,,,,function(e,t,r){var n=r(917);var a=n(Object.getPrototypeOf,Object);e.exports=a},,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n=_interopRequireDefault(r(505));var a=_interopRequireDefault(r(573));var i=r(289);var s=r(864);var o=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,o.default)("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});(0,o.default)("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...s.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,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")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});(0,o.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const r=function(r,n,a){const i=r.operator==="in"?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","PrivateName"];return r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});(0,o.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});(0,o.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});(0,o.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});(0,o.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});(0,o.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});(0,o.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});(0,o.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});(0,o.default)("DebuggerStatement",{aliases:["Statement"]});(0,o.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});(0,o.default)("EmptyStatement",{aliases:["Statement"]});(0,o.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});(0,o.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:true}}});(0,o.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const l={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:false},async:{default:false}};t.functionCommon=l;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const f=Object.assign({},l,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=f;(0,o.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},f,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const p={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=p;(0,o.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},p,{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))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});(0,o.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}},{type:"string"})),default:""}}});(0,o.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return r}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});(0,o.default)("NewExpression",{inherits:"CallExpression"});(0,o.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});(0,o.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});(0,o.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},l,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});(0,o.default)("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}},{type:"boolean"}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern");const t=(0,o.assertNodeType)("Expression");return function(r,a,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=(0,n.default)("ObjectPattern",r)?e:t;s(i,"value",i.value)}}()});(0,o.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},p,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","Pattern","MemberExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,a]=r;if(e[n].length>a+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});(0,o.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});(0,o.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});(0,o.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});(0,o.default)("ThisExpression",{aliases:["Expression"]});(0,o.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});(0,o.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});(0,o.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});(0,o.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});(0,o.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,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")}}});(0,o.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});(0,o.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})});(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});(0,o.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});(0,o.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,a){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(a,"id",a.id)}}}()});(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")}}});(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}});(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}})},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"))}});(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(r,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}}});(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier")},importKind:{validate:(0,o.assertOneOf)("type","typeof"),optional:true}}});(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let 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 c={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{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=c;const d=Object.assign({},l,c,{kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=d;(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},d,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},p,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Super",{aliases:["Expression"]});(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")),function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}})}}});(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}},{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});(0,o.default)("Import",{aliases:["Expression"]});(0,o.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});(0,o.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const r=function(r,n,a){const i=r.computed?t:e;i(r,n,a)};r.oneOfNodeTypes=["Expression","Identifier"];return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});(0,o.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},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}}})},,,,,,,,,,,,,,,,,function(e,t,r){var n=r(814),a=r(619);function baseGetAllKeys(e,t,r){var i=t(e);return a(e)?i:n(i,r(e))}e.exports=baseGetAllKeys},,function(e,t,r){var n=r(907),a=r(206);var i=Object.prototype;var s=i.hasOwnProperty;var o=i.propertyIsEnumerable;var l=n(function(){return arguments}())?n:function(e){return a(e)&&s.call(e,"callee")&&!o.call(e,"callee")};e.exports=l},function(e,t,r){var n=r(926),a=r(722),i=r(909),s=r(735),o=r(212);var l="[object Boolean]",u="[object Date]",f="[object Map]",p="[object Number]",c="[object RegExp]",d="[object Set]",y="[object String]",T="[object Symbol]";var m="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",b="[object Float64Array]",v="[object Int8Array]",x="[object Int16Array]",P="[object Int32Array]",A="[object Uint8Array]",D="[object Uint8ClampedArray]",g="[object Uint16Array]",h="[object Uint32Array]";function initCloneByTag(e,t,r){var O=e.constructor;switch(t){case m:return n(e);case l:case u:return new O(+e);case S:return a(e,r);case E:case b:case v:case x:case P:case A:case D:case g:case h:return o(e,r);case f:return new O;case p:case y:return new O(e);case c:return i(e);case d:return new O;case T:return s(e)}}e.exports=initCloneByTag},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertArrayExpression=assertArrayExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertBinaryExpression=assertBinaryExpression;t.assertInterpreterDirective=assertInterpreterDirective;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertBlockStatement=assertBlockStatement;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertExpressionStatement=assertExpressionStatement;t.assertFile=assertFile;t.assertForInStatement=assertForInStatement;t.assertForStatement=assertForStatement;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertLabeledStatement=assertLabeledStatement;t.assertStringLiteral=assertStringLiteral;t.assertNumericLiteral=assertNumericLiteral;t.assertNullLiteral=assertNullLiteral;t.assertBooleanLiteral=assertBooleanLiteral;t.assertRegExpLiteral=assertRegExpLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertMemberExpression=assertMemberExpression;t.assertNewExpression=assertNewExpression;t.assertProgram=assertProgram;t.assertObjectExpression=assertObjectExpression;t.assertObjectMethod=assertObjectMethod;t.assertObjectProperty=assertObjectProperty;t.assertRestElement=assertRestElement;t.assertReturnStatement=assertReturnStatement;t.assertSequenceExpression=assertSequenceExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertThisExpression=assertThisExpression;t.assertThrowStatement=assertThrowStatement;t.assertTryStatement=assertTryStatement;t.assertUnaryExpression=assertUnaryExpression;t.assertUpdateExpression=assertUpdateExpression;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertAssignmentPattern=assertAssignmentPattern;t.assertArrayPattern=assertArrayPattern;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertClassBody=assertClassBody;t.assertClassExpression=assertClassExpression;t.assertClassDeclaration=assertClassDeclaration;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportSpecifier=assertExportSpecifier;t.assertForOfStatement=assertForOfStatement;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertMetaProperty=assertMetaProperty;t.assertClassMethod=assertClassMethod;t.assertObjectPattern=assertObjectPattern;t.assertSpreadElement=assertSpreadElement;t.assertSuper=assertSuper;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertYieldExpression=assertYieldExpression;t.assertAwaitExpression=assertAwaitExpression;t.assertImport=assertImport;t.assertBigIntLiteral=assertBigIntLiteral;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertClassImplements=assertClassImplements;t.assertDeclareClass=assertDeclareClass;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXText=assertJSXText;t.assertJSXFragment=assertJSXFragment;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertNoop=assertNoop;t.assertPlaceholder=assertPlaceholder;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertBindExpression=assertBindExpression;t.assertClassProperty=assertClassProperty;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertImportAttribute=assertImportAttribute;t.assertDecorator=assertDecorator;t.assertDoExpression=assertDoExpression;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertPrivateName=assertPrivateName;t.assertRecordExpression=assertRecordExpression;t.assertTupleExpression=assertTupleExpression;t.assertDecimalLiteral=assertDecimalLiteral;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTSThisType=assertTSThisType;t.assertTSFunctionType=assertTSFunctionType;t.assertTSConstructorType=assertTSConstructorType;t.assertTSTypeReference=assertTSTypeReference;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSArrayType=assertTSArrayType;t.assertTSTupleType=assertTSTupleType;t.assertTSOptionalType=assertTSOptionalType;t.assertTSRestType=assertTSRestType;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSUnionType=assertTSUnionType;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSConditionalType=assertTSConditionalType;t.assertTSInferType=assertTSInferType;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSMappedType=assertTSMappedType;t.assertTSLiteralType=assertTSLiteralType;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSAsExpression=assertTSAsExpression;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSImportType=assertTSImportType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameter=assertTSTypeParameter;t.assertExpression=assertExpression;t.assertBinary=assertBinary;t.assertScopable=assertScopable;t.assertBlockParent=assertBlockParent;t.assertBlock=assertBlock;t.assertStatement=assertStatement;t.assertTerminatorless=assertTerminatorless;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertLoop=assertLoop;t.assertWhile=assertWhile;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFor=assertFor;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionParent=assertFunctionParent;t.assertPureish=assertPureish;t.assertDeclaration=assertDeclaration;t.assertPatternLike=assertPatternLike;t.assertLVal=assertLVal;t.assertTSEntityName=assertTSEntityName;t.assertLiteral=assertLiteral;t.assertImmutable=assertImmutable;t.assertUserWhitespacable=assertUserWhitespacable;t.assertMethod=assertMethod;t.assertObjectMember=assertObjectMember;t.assertProperty=assertProperty;t.assertUnaryLike=assertUnaryLike;t.assertPattern=assertPattern;t.assertClass=assertClass;t.assertModuleDeclaration=assertModuleDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertModuleSpecifier=assertModuleSpecifier;t.assertFlow=assertFlow;t.assertFlowType=assertFlowType;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertEnumBody=assertEnumBody;t.assertEnumMember=assertEnumMember;t.assertJSX=assertJSX;t.assertPrivate=assertPrivate;t.assertTSTypeElement=assertTSTypeElement;t.assertTSType=assertTSType;t.assertTSBaseType=assertTSBaseType;t.assertNumberLiteral=assertNumberLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestProperty=assertRestProperty;t.assertSpreadProperty=assertSpreadProperty;var n=_interopRequireDefault(r(505));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t={}){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t={}){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t={}){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t={}){assert("InterpreterDirective",e,t)}function assertDirective(e,t={}){assert("Directive",e,t)}function assertDirectiveLiteral(e,t={}){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t={}){assert("BlockStatement",e,t)}function assertBreakStatement(e,t={}){assert("BreakStatement",e,t)}function assertCallExpression(e,t={}){assert("CallExpression",e,t)}function assertCatchClause(e,t={}){assert("CatchClause",e,t)}function assertConditionalExpression(e,t={}){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t={}){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t={}){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t={}){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t={}){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t={}){assert("ExpressionStatement",e,t)}function assertFile(e,t={}){assert("File",e,t)}function assertForInStatement(e,t={}){assert("ForInStatement",e,t)}function assertForStatement(e,t={}){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t={}){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t={}){assert("FunctionExpression",e,t)}function assertIdentifier(e,t={}){assert("Identifier",e,t)}function assertIfStatement(e,t={}){assert("IfStatement",e,t)}function assertLabeledStatement(e,t={}){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t={}){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t={}){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t={}){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t={}){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t={}){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t={}){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t={}){assert("MemberExpression",e,t)}function assertNewExpression(e,t={}){assert("NewExpression",e,t)}function assertProgram(e,t={}){assert("Program",e,t)}function assertObjectExpression(e,t={}){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t={}){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t={}){assert("ObjectProperty",e,t)}function assertRestElement(e,t={}){assert("RestElement",e,t)}function assertReturnStatement(e,t={}){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t={}){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t={}){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t={}){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t={}){assert("SwitchStatement",e,t)}function assertThisExpression(e,t={}){assert("ThisExpression",e,t)}function assertThrowStatement(e,t={}){assert("ThrowStatement",e,t)}function assertTryStatement(e,t={}){assert("TryStatement",e,t)}function assertUnaryExpression(e,t={}){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t={}){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t={}){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t={}){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t={}){assert("WhileStatement",e,t)}function assertWithStatement(e,t={}){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t={}){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t={}){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t={}){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t={}){assert("ClassBody",e,t)}function assertClassExpression(e,t={}){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t={}){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t={}){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t={}){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t={}){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t={}){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t={}){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t={}){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t={}){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t={}){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t={}){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t={}){assert("MetaProperty",e,t)}function assertClassMethod(e,t={}){assert("ClassMethod",e,t)}function assertObjectPattern(e,t={}){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t={}){assert("SpreadElement",e,t)}function assertSuper(e,t={}){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t={}){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t={}){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t={}){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t={}){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t={}){assert("AwaitExpression",e,t)}function assertImport(e,t={}){assert("Import",e,t)}function assertBigIntLiteral(e,t={}){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t={}){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t={}){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t={}){assert("OptionalCallExpression",e,t)}function assertAnyTypeAnnotation(e,t={}){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t={}){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t={}){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t={}){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t={}){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t={}){assert("ClassImplements",e,t)}function assertDeclareClass(e,t={}){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t={}){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t={}){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t={}){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t={}){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t={}){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t={}){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t={}){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t={}){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t={}){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t={}){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t={}){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t={}){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t={}){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t={}){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t={}){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t={}){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t={}){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t={}){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t={}){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t={}){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t={}){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t={}){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t={}){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t={}){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t={}){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t={}){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t={}){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t={}){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t={}){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t={}){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t={}){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t={}){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t={}){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t={}){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t={}){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t={}){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t={}){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t={}){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t={}){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t={}){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t={}){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t={}){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t={}){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t={}){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t={}){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t={}){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t={}){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t={}){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t={}){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t={}){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t={}){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t={}){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t={}){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t={}){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t={}){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t={}){assert("EnumDefaultedMember",e,t)}function assertJSXAttribute(e,t={}){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t={}){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t={}){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t={}){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t={}){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t={}){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t={}){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t={}){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t={}){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t={}){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t={}){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t={}){assert("JSXText",e,t)}function assertJSXFragment(e,t={}){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t={}){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t={}){assert("JSXClosingFragment",e,t)}function assertNoop(e,t={}){assert("Noop",e,t)}function assertPlaceholder(e,t={}){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t={}){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t={}){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t={}){assert("BindExpression",e,t)}function assertClassProperty(e,t={}){assert("ClassProperty",e,t)}function assertPipelineTopicExpression(e,t={}){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t={}){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t={}){assert("PipelinePrimaryTopicReference",e,t)}function assertClassPrivateProperty(e,t={}){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t={}){assert("ClassPrivateMethod",e,t)}function assertImportAttribute(e,t={}){assert("ImportAttribute",e,t)}function assertDecorator(e,t={}){assert("Decorator",e,t)}function assertDoExpression(e,t={}){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t={}){assert("ExportDefaultSpecifier",e,t)}function assertPrivateName(e,t={}){assert("PrivateName",e,t)}function assertRecordExpression(e,t={}){assert("RecordExpression",e,t)}function assertTupleExpression(e,t={}){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t={}){assert("DecimalLiteral",e,t)}function 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 assertTSNeverKeyword(e,t={}){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t={}){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t={}){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t={}){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t={}){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t={}){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t={}){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t={}){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t={}){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t={}){assert("TSThisType",e,t)}function assertTSFunctionType(e,t={}){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t={}){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t={}){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t={}){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t={}){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t={}){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t={}){assert("TSArrayType",e,t)}function assertTSTupleType(e,t={}){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t={}){assert("TSOptionalType",e,t)}function assertTSRestType(e,t={}){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t={}){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t={}){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t={}){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t={}){assert("TSConditionalType",e,t)}function assertTSInferType(e,t={}){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t={}){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t={}){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t={}){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t={}){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t={}){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t={}){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t={}){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t={}){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t={}){assert("TSTypeAliasDeclaration",e,t)}function assertTSAsExpression(e,t={}){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t={}){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t={}){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t={}){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t={}){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t={}){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t={}){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t={}){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t={}){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t={}){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t={}){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t={}){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t={}){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t={}){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t={}){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t={}){assert("TSTypeParameter",e,t)}function assertExpression(e,t={}){assert("Expression",e,t)}function assertBinary(e,t={}){assert("Binary",e,t)}function assertScopable(e,t={}){assert("Scopable",e,t)}function assertBlockParent(e,t={}){assert("BlockParent",e,t)}function assertBlock(e,t={}){assert("Block",e,t)}function assertStatement(e,t={}){assert("Statement",e,t)}function assertTerminatorless(e,t={}){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t={}){assert("CompletionStatement",e,t)}function assertConditional(e,t={}){assert("Conditional",e,t)}function assertLoop(e,t={}){assert("Loop",e,t)}function assertWhile(e,t={}){assert("While",e,t)}function assertExpressionWrapper(e,t={}){assert("ExpressionWrapper",e,t)}function assertFor(e,t={}){assert("For",e,t)}function assertForXStatement(e,t={}){assert("ForXStatement",e,t)}function assertFunction(e,t={}){assert("Function",e,t)}function assertFunctionParent(e,t={}){assert("FunctionParent",e,t)}function assertPureish(e,t={}){assert("Pureish",e,t)}function assertDeclaration(e,t={}){assert("Declaration",e,t)}function assertPatternLike(e,t={}){assert("PatternLike",e,t)}function assertLVal(e,t={}){assert("LVal",e,t)}function assertTSEntityName(e,t={}){assert("TSEntityName",e,t)}function assertLiteral(e,t={}){assert("Literal",e,t)}function assertImmutable(e,t={}){assert("Immutable",e,t)}function assertUserWhitespacable(e,t={}){assert("UserWhitespacable",e,t)}function assertMethod(e,t={}){assert("Method",e,t)}function assertObjectMember(e,t={}){assert("ObjectMember",e,t)}function assertProperty(e,t={}){assert("Property",e,t)}function assertUnaryLike(e,t={}){assert("UnaryLike",e,t)}function assertPattern(e,t={}){assert("Pattern",e,t)}function assertClass(e,t={}){assert("Class",e,t)}function assertModuleDeclaration(e,t={}){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t={}){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t={}){assert("ModuleSpecifier",e,t)}function assertFlow(e,t={}){assert("Flow",e,t)}function assertFlowType(e,t={}){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t={}){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t={}){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t={}){assert("FlowPredicate",e,t)}function assertEnumBody(e,t={}){assert("EnumBody",e,t)}function assertEnumMember(e,t={}){assert("EnumMember",e,t)}function assertJSX(e,t={}){assert("JSX",e,t)}function assertPrivate(e,t={}){assert("Private",e,t)}function assertTSTypeElement(e,t={}){assert("TSTypeElement",e,t)}function assertTSType(e,t={}){assert("TSType",e,t)}function assertTSBaseType(e,t={}){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},,,,function(e,t,r){var n=r(417),a=r(904);function copyObject(e,t,r,i){var s=!r;r||(r={});var o=-1,l=t.length;while(++o{const r=t.pure;const i=(0,a.helper)(e,Object.assign({pre(e){const t=e.tagName;const r=e.args;if(s.types.react.isCompatTag(t)){r.push(s.types.stringLiteral(t))}else{r.push(e.tagExpr)}},post(e,t){if(t.get("@babel/plugin-react-jsx/runtime")==="classic"){e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/pragmaSet")}else{e.jsxCallee=t.get("@babel/plugin-react-jsx/jsxIdentifier")();e.jsxStaticCallee=t.get("@babel/plugin-react-jsx/jsxStaticIdentifier")();e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/importSourceSet")}}},t,{development:true}));return{name:"transform-react-jsx",inherits:n.default,visitor:i}});t.default=o},,,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":if(t.source){return false}return t.local===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e)){return false}case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":if(t.key===e){return!!t.computed}if(t.value===e){return!r||r.type!=="ObjectPattern"}return true;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},,function(e,t,r){var n=r(511),a=r(157),i=r(403);function mapCacheClear(){this.size=0;this.__data__={hash:new n,map:new(i||a),string:new n}}e.exports=mapCacheClear},,function(e,t,r){var n=r(835),a=r(373);var i=n(a,"Set");e.exports=i},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=valueToNode;var n=_interopRequireDefault(r(220));var a=_interopRequireDefault(r(832));var i=_interopRequireDefault(r(573));var s=r(774);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if((0,a.default)(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if((0,n.default)(e)){const t=[];for(const r of Object.keys(e)){let n;if((0,i.default)(r)){n=(0,s.identifier)(r)}else{n=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(n,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},,,,,function(e,t,r){var n=r(157),a=r(403),i=r(685);var s=200;function stackSet(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!a||o.length{const r=t.throwIfNamespace===undefined?true:!!t.throwIfNamespace;const n=t.pragma||o.pragma;const l=t.pragmaFrag||o.pragmaFrag;const u=t.pure;const f=/\*?\s*@jsx\s+([^\s]+)/;const p=/\*?\s*@jsxFrag\s+([^\s]+)/;const c=e=>()=>{return e.split(".").map(e=>s.types.identifier(e)).reduce((e,t)=>s.types.memberExpression(e,t))};const d=(0,i.default)({pre(e){const t=e.tagName;const r=e.args;if(s.types.react.isCompatTag(t)){r.push(s.types.stringLiteral(t))}else{r.push(e.tagExpr)}},post(e,t){e.callee=t.get("jsxIdentifier")();e.pure=u!=null?u:t.get("pragma")===o.pragma},throwIfNamespace:r});d.Program={enter(e,r){const{file:a}=r;let i=n;let s=l;let o=!!t.pragma;let u=!!t.pragma;if(a.ast.comments){for(const e of a.ast.comments){const t=f.exec(e.value);if(t){i=t[1];o=true}const r=p.exec(e.value);if(r){s=r[1];u=true}}}r.set("jsxIdentifier",c(i));r.set("jsxFragIdentifier",c(s));r.set("usedFragment",false);r.set("pragma",i);r.set("pragmaSet",o);r.set("pragmaFragSet",u)},exit(e,t){if(t.get("pragmaSet")&&t.get("usedFragment")&&!t.get("pragmaFragSet")){throw new Error("transform-react-jsx: pragma has been set but "+"pragmaFrag has not been set")}}};d.JSXAttribute=function(e){if(s.types.isJSXElement(e.node.value)){e.node.value=s.types.jsxExpressionContainer(e.node.value)}};return{name:"transform-react-jsx",inherits:a.default,visitor:d}});t.default=l},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=clone;var n=_interopRequireDefault(r(675));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function clone(e){return(0,n.default)(e,false)}},,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isLet;var n=r(810);var a=r(864);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[a.BLOCK_SCOPED_SYMBOL])}},,,,,,function(e){function listCacheClear(){this.__data__=[];this.size=0}e.exports=listCacheClear},,,function(e,t,r){var n=r(797),a=r(703);var i="[object AsyncFunction]",s="[object Function]",o="[object GeneratorFunction]",l="[object Proxy]";function isFunction(e){if(!a(e)){return false}var t=n(e);return t==s||t==o||t==i||t==l}e.exports=isFunction},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getBindingIdentifiers;var n=r(810);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)){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(0,n.default)(e,r,t)}},,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=assertNode;var n=_interopRequireDefault(r(400));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}"`)}}},,function(e){var t=Object.prototype;var r=t.hasOwnProperty;function initCloneArray(e){var t=e.length,n=new e.constructor(t);if(t&&typeof e[0]=="string"&&r.call(e,"index")){n.index=e.index;n.input=e.input}return n}e.exports=initCloneArray},,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=is;var n=_interopRequireDefault(r(178));var a=_interopRequireDefault(r(559));var i=_interopRequireDefault(r(288));var s=r(140);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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)}}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=getOuterBindingIdentifiers;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},function(e,t,r){var n=r(742),a=r(621),i=r(90),s=r(639),o=r(335);function Hash(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{e.assertVersion(7);const t={JSXOpeningElement({node:e}){const t=a.types.jsxIdentifier(i);const r=a.types.thisExpression();e.attributes.push(a.types.jsxAttribute(t,a.types.jsxExpressionContainer(r)))}};return{name:"transform-react-jsx-self",visitor:{Program(e){e.traverse(t)}}}});t.default=s},,,,,,,,,,,,,,,function(e){function baseUnary(e){return function(t){return e(t)}}e.exports=baseUnary},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeComments;var n=r(864);function removeComments(e){n.COMMENT_KEYS.forEach(t=>{e[t]=null});return e}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isType;var n=r(140);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}},,,,,,function(e){function arrayEach(e,t){var r=-1,n=e==null?0:e.length;while(++r{e.assertVersion(7);let{pragma:r,pragmaFrag:n}=t;const{pure:f,throwIfNamespace:p=true,useSpread:c,runtime:d="classic",importSource:y}=t;if(d==="classic"){r=r||"React.createElement";n=n||"React.Fragment"}const T=!!t.development;const m=!!t.useBuiltIns;if(typeof T!=="boolean"){throw new Error("@babel/preset-react 'development' option must be a boolean.")}const S=d==="automatic"&&T?i.default:a.default;return{plugins:[[S,{importSource:y,pragma:r,pragmaFrag:n,runtime:d,throwIfNamespace:p,useBuiltIns:m,useSpread:c,pure:f}],s.default,f!==false&&u.default,T&&d==="classic"&&o.default,T&&d==="classic"&&l.default].filter(Boolean)}});t.default=f},,,,,,,,function(e){function arrayFilter(e,t){var r=-1,n=e==null?0:e.length,a=0,i=[];while(++r{e.assertVersion(7);return{name:"transform-react-pure-annotations",visitor:{CallExpression(e){if(isReactCall(e)){(0,a.default)(e)}}}}});t.default=o;function isReactCall(e){if(!i.types.isMemberExpression(e.node.callee)){const t=e.get("callee");for(const[e,r]of s){for(const n of r){if(t.referencesImport(e,n)){return true}}}return false}for(const[t,r]of s){const n=e.get("callee.object");if(n.referencesImport(t,"default")||n.referencesImport(t,"*")){for(const t of r){if(i.types.isIdentifier(e.node.callee.property,{name:t})){return true}}return false}}return false}},,function(e,t,r){var n=r(373);var a=n.Uint8Array;e.exports=a},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(189);var a=r(671);const i="__source";const s="_jsxFileName";var o=(0,n.declare)(e=>{e.assertVersion(7);function makeTrace(e,t,r){const n=t!=null?a.types.numericLiteral(t):a.types.nullLiteral();const i=r!=null?a.types.numericLiteral(r+1):a.types.nullLiteral();const s=a.types.objectProperty(a.types.identifier("fileName"),e);const o=a.types.objectProperty(a.types.identifier("lineNumber"),n);const l=a.types.objectProperty(a.types.identifier("columnNumber"),i);return a.types.objectExpression([s,o,l])}const t={JSXOpeningElement(e,t){const r=a.types.jsxIdentifier(i);const n=e.container.openingElement.loc;if(!n){return}const o=e.container.openingElement.attributes;for(let e=0;e=0){continue}if((0,n.isTSAnyKeyword)(s.type)){return[s]}if((0,n.isTSBaseType)(s)){r[s.type]=s;continue}if((0,n.isTSUnionType)(s)){if(a.indexOf(s.types)<0){e=e.concat(s.types);a.push(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}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toIdentifier;var n=_interopRequireDefault(r(573));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function toIdentifier(e){e=e+"";e=e.replace(/[^a-zA-Z0-9$_]/g,"-");e=e.replace(/^[-0-9]+/,"");e=e.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""});if(!(0,n.default)(e)){e=`_${e}`}return e||"_"}},,,,,,,function(e,t,r){var n=r(70),a=r(556),i=r(776);var s=i&&i.isSet;var o=s?a(s):n;e.exports=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeTypeDuplicates;var n=r(810);function removeTypeDuplicates(e){const t={};const r={};const a=[];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.indexOf(o.types)<0){e=e.concat(o.types);a.push(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=o.id.name;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}},,,,,,function(e){var t=Array.isArray;e.exports=t},,function(e){function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}e.exports=hashDelete},function(e){e.exports=require("path")},,,,,,,,,,,,,function(e,t,r){var n=r(797),a=r(206);var i="[object RegExp]";function baseIsRegExp(e){return a(e)&&n(e)==i}e.exports=baseIsRegExp},,,,function(e,t,r){var n=r(44);var a=Object.prototype;var i=a.hasOwnProperty;function hashHas(e){var t=this.__data__;return n?t[e]!==undefined:i.call(t,e)}e.exports=hashHas},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=removeProperties;var n=r(864);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}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritsComments;var n=_interopRequireDefault(r(661));var a=_interopRequireDefault(r(46));var i=_interopRequireDefault(r(49));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritsComments(e,t){(0,n.default)(e,t);(0,a.default)(e,t);(0,i.default)(e,t);return e}},,,,,,,,,,,,,,,,,function(e,t,r){e=r.nmd(e);var n=r(373),a=r(860);var i=true&&t&&!t.nodeType&&t;var s=i&&"object"=="object"&&e&&!e.nodeType&&e;var o=s&&s.exports===i;var l=o?n.Buffer:undefined;var u=l?l.isBuffer:undefined;var f=u||a;e.exports=f},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=inheritTrailingComments;var n=_interopRequireDefault(r(983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},,,,,,function(e,t,r){var n=r(193);function listCacheHas(e){return n(this.__data__,e)>-1}e.exports=listCacheHas},,,,function(e){e.exports=require("@babel/core")},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cloneNode;var n=r(140);const a=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r){if(e&&typeof e.type==="string"){return cloneNode(e,t,r)}return e}function cloneIfNodeOrArray(e,t,r){if(Array.isArray(e)){return e.map(e=>cloneIfNode(e,t,r))}return cloneIfNode(e,t,r)}function cloneNode(e,t=true,r=false){if(!e)return e;const{type:i}=e;const s={type:i};if(i==="Identifier"){s.name=e.name;if(a(e,"optional")&&typeof e.optional==="boolean"){s.optional=e.optional}if(a(e,"typeAnnotation")){s.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r):e.typeAnnotation}}else if(!a(n.NODE_FIELDS,i)){throw new Error(`Unknown node type: "${i}"`)}else{for(const o of Object.keys(n.NODE_FIELDS[i])){if(a(e,o)){if(t){s[o]=i==="File"&&o==="comments"?maybeCloneComments(e.comments,t,r):cloneIfNodeOrArray(e[o],true,r)}else{s[o]=e[o]}}}}if(a(e,"loc")){if(r){s.loc=null}else{s.loc=e.loc}}if(a(e,"leadingComments")){s.leadingComments=maybeCloneComments(e.leadingComments,t,r)}if(a(e,"innerComments")){s.innerComments=maybeCloneComments(e.innerComments,t,r)}if(a(e,"trailingComments")){s.trailingComments=maybeCloneComments(e.trailingComments,t,r)}if(a(e,"extra")){s.extra=Object.assign({},e.extra)}return s}function cloneCommentsWithoutLoc(e){return e.map(({type:e,value:t})=>({type:e,value:t,loc:null}))}function maybeCloneComments(e,t,r){return t&&r?cloneCommentsWithoutLoc(e):e}},,function(e){function getValue(e,t){return e==null?undefined:e[t]}e.exports=getValue},,,,,,,function(e,t,r){var n=r(835),a=r(373);var i=n(a,"WeakMap");e.exports=i},function(e,t,r){var n=r(298),a=r(126),i=r(690),s=r(812),o=r(532);function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t{i[e].forEach(t=>{if(!Object.hasOwnProperty.call(s,t)){s[t]=[]}s[t].push(e)})})},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(189);var a=_interopRequireDefault(r(622));var i=r(671);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=(0,n.declare)(e=>{e.assertVersion(7);function addDisplayName(e,t){const r=t.arguments[0].properties;let n=true;for(let e=0;ee.name==="createReactClass";function isCreateClass(e){if(!e||!i.types.isCallExpression(e))return false;if(!t(e.callee)&&!r(e.callee)){return false}const n=e.arguments;if(n.length!==1)return false;const a=n[0];if(!i.types.isObjectExpression(a))return false;return true}return{name:"transform-react-display-name",visitor:{ExportDefaultDeclaration({node:e},t){if(isCreateClass(e.declaration)){const r=t.filename||"unknown";let n=a.default.basename(r,a.default.extname(r));if(n==="index"){n=a.default.basename(a.default.dirname(r))}addDisplayName(n,e.declaration)}},CallExpression(e){const{node:t}=e;if(!isCreateClass(t))return;let r;e.find(function(e){if(e.isAssignmentExpression()){r=e.node.left}else if(e.isObjectProperty()){r=e.node.key}else if(e.isVariableDeclarator()){r=e.node.id}else if(e.isStatement()){return true}if(r)return true});if(!r)return;if(i.types.isMemberExpression(r)){r=r.property}if(i.types.isIdentifier(r)){addDisplayName(r.name,t)}}}}});t.default=s},,function(e,t,r){var n=r(44);function hashClear(){this.__data__=n?n(null):{};this.size=0}e.exports=hashClear},,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(929));var a=r(791);var i=r(189);var s=r(671);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=(0,i.declare)((e,t)=>{const r=t.pure;const i=(0,a.helper)(e,Object.assign({pre(e){const t=e.tagName;const r=e.args;if(s.types.react.isCompatTag(t)){r.push(s.types.stringLiteral(t))}else{r.push(e.tagExpr)}},post(e,t){if(t.get("@babel/plugin-react-jsx/runtime")==="classic"){e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/pragmaSet")}else{e.jsxCallee=t.get("@babel/plugin-react-jsx/jsxIdentifier")();e.jsxStaticCallee=t.get("@babel/plugin-react-jsx/jsxStaticIdentifier")();e.createElementCallee=t.get("@babel/plugin-react-jsx/createElementIdentifier")();e.pure=r!=null?r:!t.get("@babel/plugin-react-jsx/importSourceSet")}}},t,{development:false}));return{name:"transform-react-jsx",inherits:n.default,visitor:i}});t.default=o},,,function(e){var t=9007199254740991;var r=/^(?:0|[1-9]\d*)$/;function isIndex(e,n){var a=typeof e;n=n==null?t:n;return!!n&&(a=="number"||a!="symbol"&&r.test(e))&&(e>-1&&e%1==0&&e{o[t]=o[t]||[];o[t].push(e)});if(t.validate){p[e]=t.validate}y[e]=t}const y={}},,,,,function(e,t,r){"use strict";var n=_interopRequireWildcard(r(850));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;if(i&&(i.get||i.set)){Object.defineProperty(r,a,i)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const a=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("DeclareClass");(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});a("DeclareInterface");(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}});(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]});(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]});(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});a("InterfaceDeclaration");(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]});(0,n.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});(0,n.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember")}});(0,n.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember")}});(0,n.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"])}});(0,n.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember")}});(0,n.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});(0,n.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});(0,n.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});(0,n.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}})},,,,,function(e){function stubFalse(){return false}e.exports=stubFalse},,,,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.ASSIGNMENT_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const 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 f=[...u,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=f;const p=[...f,...l];t.BOOLEAN_BINARY_OPERATORS=p;const c=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=c;const d=["+",...c,...p];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 v=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=v;const x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},,,function(e){function stubArray(){return[]}e.exports=stubArray},,function(e){var t=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=t}e.exports=isLength},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=addComment;var n=_interopRequireDefault(r(696));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function addComment(e,t,r,a){return(0,n.default)(e,t,[{type:a?"CommentLine":"CommentBlock",value:r}])}},,,function(e,t,r){var n=r(996),a=r(381),i=r(228);function keysIn(e){return i(e)?n(e,true):a(e)}e.exports=keysIn},,,,,,function(e,t,r){var n=r(193);function listCacheGet(e){var t=this.__data__,r=n(t,e);return r<0?undefined:t[r][1]}e.exports=listCacheGet},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toBlock;var n=r(810);var a=r(774);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)}},function(e,t,r){var n=r(797),a=r(869),i=r(206);var s="[object Arguments]",o="[object Array]",l="[object Boolean]",u="[object Date]",f="[object Error]",p="[object Function]",c="[object Map]",d="[object Number]",y="[object Object]",T="[object RegExp]",m="[object Set]",S="[object String]",E="[object WeakMap]";var b="[object ArrayBuffer]",v="[object DataView]",x="[object Float32Array]",P="[object Float64Array]",A="[object Int8Array]",D="[object Int16Array]",g="[object Int32Array]",h="[object Uint8Array]",O="[object Uint8ClampedArray]",I="[object Uint16Array]",_="[object Uint32Array]";var N={};N[x]=N[P]=N[A]=N[D]=N[g]=N[h]=N[O]=N[I]=N[_]=true;N[s]=N[o]=N[b]=N[l]=N[v]=N[u]=N[f]=N[p]=N[c]=N[d]=N[y]=N[T]=N[m]=N[S]=N[E]=false;function baseIsTypedArray(e){return i(e)&&a(e.length)&&!!N[n(e)]}e.exports=baseIsTypedArray},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=isBinding;var n=_interopRequireDefault(r(446));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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}},,function(e,t,r){var n=r(688);var a=4;function clone(e){return n(e,a)}e.exports=clone},,,,,,,,,,,,,,,,function(e,t,r){var n=r(80);function baseAssignValue(e,t,r){if(t=="__proto__"&&n){n(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}e.exports=baseAssignValue},,,function(e,t,r){var n=r(797),a=r(206);var i="[object Arguments]";function baseIsArguments(e){return a(e)&&n(e)==i}e.exports=baseIsArguments},,function(e){var t=/\w*$/;function cloneRegExp(e){var r=new e.constructor(e.source,t.exec(e));r.lastIndex=e.lastIndex;return r}e.exports=cloneRegExp},,,,,,,,function(e){function overArg(e,t){return function(r){return e(t(r))}}e.exports=overArg},,,,,,,,function(e,t,r){var n=r(283),a=r(876);function baseAssignIn(e,t){return e&&n(t,a(t),e)}e.exports=baseAssignIn},function(e,t,r){var n=r(595);function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new n(t).set(new n(e));return t}e.exports=cloneArrayBuffer},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(189);var a=(0,n.declare)(e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some(e=>(Array.isArray(e)?e[0]:e)==="typescript")){return}t.plugins.push("jsx")}}});t.default=a},,,,,,,function(e){function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}e.exports=isKeyable},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=validate;t.validateField=validateField;t.validateChild=validateChild;var n=r(140);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?void 0: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)}},,,,function(e,t,r){var n=r(274),a=r(600),i=r(182);function getAllKeys(e){return n(e,i,a)}e.exports=getAllKeys},,,function(e,t,r){var n=r(718),a=r(206);var i="[object Map]";function baseIsMap(e){return a(e)&&n(e)==i}e.exports=baseIsMap},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toComputedKey;var n=r(810);var a=r(774);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,a.stringLiteral)(t.name);return t}},,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=cleanJSXElementLiteralChild;var n=r(774);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let a=0;for(let e=0;e Date: Mon, 31 Aug 2020 16:17:47 -0400 Subject: [PATCH 11/16] Upgrade deps --- package.json | 8 +- packages/next/package.json | 12 +- packages/react-dev-overlay/package.json | 2 +- yarn.lock | 313 ++++++++++++------------ 4 files changed, 172 insertions(+), 163 deletions(-) diff --git a/package.json b/package.json index 46828ae51ac5d..671b1b8e62f9f 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,9 @@ }, "pre-commit": "lint-staged", "devDependencies": { - "@babel/plugin-proposal-object-rest-spread": "7.9.6", - "@babel/preset-flow": "7.9.0", - "@babel/preset-react": "7.9.4", + "@babel/plugin-proposal-object-rest-spread": "7.11.0", + "@babel/preset-flow": "7.10.4", + "@babel/preset-react": "7.10.4", "@fullhuman/postcss-purgecss": "1.3.0", "@mdx-js/loader": "0.18.0", "@types/cheerio": "0.22.16", @@ -53,7 +53,7 @@ "@zeit/next-sass": "1.0.2-canary.2", "@zeit/next-typescript": "1.1.2-canary.0", "abort-controller": "3.0.0", - "amphtml-validator": "1.0.30", + "amphtml-validator": "1.0.33", "async-sema": "3.0.1", "babel-core": "7.0.0-bridge.0", "babel-eslint": "10.0.3", diff --git a/packages/next/package.json b/packages/next/package.json index b34c3a54e8653..cbf532a492a0e 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -70,13 +70,13 @@ "@babel/plugin-syntax-bigint": "7.8.3", "@babel/plugin-syntax-dynamic-import": "7.8.3", "@babel/plugin-transform-modules-commonjs": "7.10.4", - "@babel/plugin-transform-runtime": "7.11.0", - "@babel/preset-env": "7.11.0", - "@babel/preset-modules": "0.1.3", + "@babel/plugin-transform-runtime": "7.11.5", + "@babel/preset-env": "7.11.5", + "@babel/preset-modules": "0.1.4", "@babel/preset-react": "7.10.4", "@babel/preset-typescript": "7.10.4", "@babel/runtime": "7.11.2", - "@babel/types": "7.11.0", + "@babel/types": "7.11.5", "@next/react-dev-overlay": "9.5.3-canary.25", "@next/react-refresh-utils": "9.5.3-canary.25", "ast-types": "0.13.2", @@ -160,7 +160,7 @@ "@types/text-table": "0.2.1", "@types/webpack-sources": "0.1.5", "@zeit/ncc": "0.22.0", - "amphtml-validator": "1.0.31", + "amphtml-validator": "1.0.33", "arg": "4.1.0", "async-retry": "1.2.3", "async-sema": "3.0.0", @@ -169,7 +169,7 @@ "cache-loader": "4.1.0", "chalk": "2.4.2", "ci-info": "watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540", - "comment-json": "3.0.2", + "comment-json": "3.0.3", "compression": "1.7.4", "conf": "5.0.0", "content-type": "1.0.4", diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index cccf34bf452b6..d85db66a1a73c 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -16,7 +16,7 @@ "build": "tsc -d -w -p tsconfig.json" }, "dependencies": { - "@babel/code-frame": "7.8.3", + "@babel/code-frame": "7.10.4", "ally.js": "1.4.1", "anser": "1.4.9", "chalk": "4.0.0", diff --git a/yarn.lock b/yarn.lock index 0618319485d7e..237a08629cde4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -60,7 +60,7 @@ dependencies: "@babel/highlight" "^7.10.4" -"@babel/code-frame@7.8.3", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" dependencies: @@ -193,7 +193,7 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/helper-annotate-as-pure@^7.0.0", "@babel/helper-annotate-as-pure@^7.8.3": +"@babel/helper-annotate-as-pure@^7.0.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" dependencies: @@ -214,22 +214,14 @@ "@babel/helper-explode-assignable-expression" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-builder-react-jsx-experimental@^7.10.4": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.10.5.tgz#f35e956a19955ff08c1258e44a515a6d6248646b" - integrity sha512-Buewnx6M4ttG+NLkKyt7baQn7ScC/Td+e99G914fRU8fGIUivDDgVIQeDHFa5e4CRSJQt58WpNHhsAZgtzVhsg== +"@babel/helper-builder-react-jsx-experimental@^7.10.4", "@babel/helper-builder-react-jsx-experimental@^7.11.5": + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.11.5.tgz#4ea43dd63857b0a35cd1f1b161dc29b43414e79f" + integrity sha512-Vc4aPJnRZKWfzeCBsqTBnzulVNjABVdahSPhtdMD3Vs80ykx4a87jTHtF/VR+alSrDmNvat7l13yrRHauGcHVw== dependencies: "@babel/helper-annotate-as-pure" "^7.10.4" "@babel/helper-module-imports" "^7.10.4" - "@babel/types" "^7.10.5" - -"@babel/helper-builder-react-jsx-experimental@^7.9.0": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.9.5.tgz#0b4b3e04e6123f03b404ca4dfd6528fe6bb92fe3" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-module-imports" "^7.8.3" - "@babel/types" "^7.9.5" + "@babel/types" "^7.11.5" "@babel/helper-builder-react-jsx@^7.10.4": version "7.10.4" @@ -239,13 +231,6 @@ "@babel/helper-annotate-as-pure" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-builder-react-jsx@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.9.0.tgz#16bf391990b57732700a3278d4d9a81231ea8d32" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/types" "^7.9.0" - "@babel/helper-compilation-targets@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.4.tgz#804ae8e3f04376607cc791b9d47d540276332bd2" @@ -428,11 +413,11 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" -"@babel/helper-plugin-utils@^7.10.4": +"@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.8.0": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== @@ -683,14 +668,6 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@7.9.6": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.9.5" - "@babel/plugin-proposal-object-rest-spread@^7.3.2": version "7.7.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.7.7.tgz#9f27075004ab99be08c5c1bd653a2985813cb370" @@ -783,12 +760,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-flow@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.8.3.tgz#f2c883bd61a6316f2c89380ae5122f923ba4527f" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" @@ -808,12 +779,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-jsx@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.8.3.tgz#521b06c83c40480f1e58b4fd33b92eceb1d6ea94" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -986,13 +951,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-flow" "^7.10.4" -"@babel/plugin-transform-flow-strip-types@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.9.0.tgz#8a3538aa40434e000b8f44a3c5c9ac7229bd2392" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-flow" "^7.8.3" - "@babel/plugin-transform-for-of@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.4.tgz#c08892e8819d3a5db29031b115af511dbbfebae9" @@ -1089,13 +1047,6 @@ "@babel/helper-get-function-arity" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-parameters@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz#173b265746f5e15b2afe527eeda65b73623a0795" - dependencies: - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-property-literals@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.10.4.tgz#f6fe54b6590352298785b83edd815d214c42e3c0" @@ -1110,29 +1061,15 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-react-display-name@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.8.3.tgz#70ded987c91609f78353dd76d2fb2a0bb991e8e5" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-react-jsx-development@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.10.4.tgz#6ec90f244394604623880e15ebc3c34c356258ba" - integrity sha512-RM3ZAd1sU1iQ7rI2dhrZRZGv0aqzNQMbkIUCS1txYpi9wHQ2ZHNjo5TwX+UD6pvFW4AbWqLVYvKy5qJSAyRGjQ== + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.11.5.tgz#e1439e6a57ee3d43e9f54ace363fb29cefe5d7b6" + integrity sha512-cImAmIlKJ84sDmpQzm4/0q/2xrXlDezQoixy3qoz1NJeZL/8PRon6xZtluvr4H4FzwlDGI5tCcFupMnXGtr+qw== dependencies: - "@babel/helper-builder-react-jsx-experimental" "^7.10.4" + "@babel/helper-builder-react-jsx-experimental" "^7.11.5" "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-jsx" "^7.10.4" -"@babel/plugin-transform-react-jsx-development@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.9.0.tgz#3c2a130727caf00c2a293f0aed24520825dbf754" - dependencies: - "@babel/helper-builder-react-jsx-experimental" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-jsx" "^7.8.3" - "@babel/plugin-transform-react-jsx-self@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.10.4.tgz#cd301a5fed8988c182ed0b9d55e9bd6db0bd9369" @@ -1141,13 +1078,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-jsx" "^7.10.4" -"@babel/plugin-transform-react-jsx-self@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.9.0.tgz#f4f26a325820205239bb915bad8e06fcadabb49b" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-jsx" "^7.8.3" - "@babel/plugin-transform-react-jsx-source@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.10.5.tgz#34f1779117520a779c054f2cdd9680435b9222b4" @@ -1156,13 +1086,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-jsx" "^7.10.4" -"@babel/plugin-transform-react-jsx-source@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.9.0.tgz#89ef93025240dd5d17d3122294a093e5e0183de0" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-jsx" "^7.8.3" - "@babel/plugin-transform-react-jsx@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.10.4.tgz#673c9f913948764a4421683b2bef2936968fddf2" @@ -1173,15 +1096,6 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-jsx" "^7.10.4" -"@babel/plugin-transform-react-jsx@^7.9.4": - version "7.9.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.9.4.tgz#86f576c8540bd06d0e95e0b61ea76d55f6cbd03f" - dependencies: - "@babel/helper-builder-react-jsx" "^7.9.0" - "@babel/helper-builder-react-jsx-experimental" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-jsx" "^7.8.3" - "@babel/plugin-transform-react-pure-annotations@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.10.4.tgz#3eefbb73db94afbc075f097523e445354a1c6501" @@ -1204,10 +1118,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-runtime@7.11.0": - version "7.11.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.0.tgz#e27f78eb36f19448636e05c33c90fd9ad9b8bccf" - integrity sha512-LFEsP+t3wkYBlis8w6/kmnd6Kb1dxTd+wGJ8MlxTGzQo//ehtqlVL4S9DNUa53+dtPSQobN2CXx4d81FqC58cw== +"@babel/plugin-transform-runtime@7.11.5": + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.5.tgz#f108bc8e0cf33c37da031c097d1df470b3a293fc" + integrity sha512-9aIoee+EhjySZ6vY5hnLjigHzunBlscx9ANKutkeWTJTx6m5Rbq6Ic01tLvO54lSusR+BxV7u4UDdCmXv5aagg== dependencies: "@babel/helper-module-imports" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" @@ -1291,7 +1205,81 @@ core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/preset-env@7.11.0", "@babel/preset-env@^7.1.6": +"@babel/preset-env@7.11.5": + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.11.5.tgz#18cb4b9379e3e92ffea92c07471a99a2914e4272" + integrity sha512-kXqmW1jVcnB2cdueV+fyBM8estd5mlNfaQi6lwLgRwCby4edpavgbFhiBNjmWA3JpB/yZGSISa7Srf+TwxDQoA== + dependencies: + "@babel/compat-data" "^7.11.0" + "@babel/helper-compilation-targets" "^7.10.4" + "@babel/helper-module-imports" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-proposal-async-generator-functions" "^7.10.4" + "@babel/plugin-proposal-class-properties" "^7.10.4" + "@babel/plugin-proposal-dynamic-import" "^7.10.4" + "@babel/plugin-proposal-export-namespace-from" "^7.10.4" + "@babel/plugin-proposal-json-strings" "^7.10.4" + "@babel/plugin-proposal-logical-assignment-operators" "^7.11.0" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.10.4" + "@babel/plugin-proposal-numeric-separator" "^7.10.4" + "@babel/plugin-proposal-object-rest-spread" "^7.11.0" + "@babel/plugin-proposal-optional-catch-binding" "^7.10.4" + "@babel/plugin-proposal-optional-chaining" "^7.11.0" + "@babel/plugin-proposal-private-methods" "^7.10.4" + "@babel/plugin-proposal-unicode-property-regex" "^7.10.4" + "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/plugin-syntax-class-properties" "^7.10.4" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.0" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.0" + "@babel/plugin-syntax-top-level-await" "^7.10.4" + "@babel/plugin-transform-arrow-functions" "^7.10.4" + "@babel/plugin-transform-async-to-generator" "^7.10.4" + "@babel/plugin-transform-block-scoped-functions" "^7.10.4" + "@babel/plugin-transform-block-scoping" "^7.10.4" + "@babel/plugin-transform-classes" "^7.10.4" + "@babel/plugin-transform-computed-properties" "^7.10.4" + "@babel/plugin-transform-destructuring" "^7.10.4" + "@babel/plugin-transform-dotall-regex" "^7.10.4" + "@babel/plugin-transform-duplicate-keys" "^7.10.4" + "@babel/plugin-transform-exponentiation-operator" "^7.10.4" + "@babel/plugin-transform-for-of" "^7.10.4" + "@babel/plugin-transform-function-name" "^7.10.4" + "@babel/plugin-transform-literals" "^7.10.4" + "@babel/plugin-transform-member-expression-literals" "^7.10.4" + "@babel/plugin-transform-modules-amd" "^7.10.4" + "@babel/plugin-transform-modules-commonjs" "^7.10.4" + "@babel/plugin-transform-modules-systemjs" "^7.10.4" + "@babel/plugin-transform-modules-umd" "^7.10.4" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.10.4" + "@babel/plugin-transform-new-target" "^7.10.4" + "@babel/plugin-transform-object-super" "^7.10.4" + "@babel/plugin-transform-parameters" "^7.10.4" + "@babel/plugin-transform-property-literals" "^7.10.4" + "@babel/plugin-transform-regenerator" "^7.10.4" + "@babel/plugin-transform-reserved-words" "^7.10.4" + "@babel/plugin-transform-shorthand-properties" "^7.10.4" + "@babel/plugin-transform-spread" "^7.11.0" + "@babel/plugin-transform-sticky-regex" "^7.10.4" + "@babel/plugin-transform-template-literals" "^7.10.4" + "@babel/plugin-transform-typeof-symbol" "^7.10.4" + "@babel/plugin-transform-unicode-escapes" "^7.10.4" + "@babel/plugin-transform-unicode-regex" "^7.10.4" + "@babel/preset-modules" "^0.1.3" + "@babel/types" "^7.11.5" + browserslist "^4.12.0" + core-js-compat "^3.6.2" + invariant "^2.2.2" + levenary "^1.1.1" + semver "^5.5.0" + +"@babel/preset-env@^7.1.6": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.11.0.tgz#860ee38f2ce17ad60480c2021ba9689393efb796" integrity sha512-2u1/k7rG/gTh02dylX2kL3S0IJNF+J6bfDSp4DI2Ma8QN6Y9x9pmAax59fsCk6QUQG0yqH47yJWA+u1I1LccAg== @@ -1365,14 +1353,7 @@ levenary "^1.1.1" semver "^5.5.0" -"@babel/preset-flow@7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.9.0.tgz#fee847c3e090b0b2d9227c1949e4da1d1379280d" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-flow-strip-types" "^7.9.0" - -"@babel/preset-flow@^7.0.0": +"@babel/preset-flow@7.10.4", "@babel/preset-flow@^7.0.0": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.10.4.tgz#e0d9c72f8cb02d1633f6a5b7b16763aa2edf659f" integrity sha512-XI6l1CptQCOBv+ZKYwynyswhtOKwpZZp5n0LG1QKCo8erRhqjoQV6nvx61Eg30JHpysWQSBwA2AWRU3pBbSY5g== @@ -1380,7 +1361,18 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-transform-flow-strip-types" "^7.10.4" -"@babel/preset-modules@0.1.3", "@babel/preset-modules@^0.1.3": +"@babel/preset-modules@0.1.4": + version "0.1.4" + resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.4.tgz#362f2b68c662842970fdb5e254ffc8fc1c2e415e" + integrity sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/preset-modules@^0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.3.tgz#13242b53b5ef8c883c3cf7dddd55b36ce80fbc72" dependencies: @@ -1403,17 +1395,6 @@ "@babel/plugin-transform-react-jsx-source" "^7.10.4" "@babel/plugin-transform-react-pure-annotations" "^7.10.4" -"@babel/preset-react@7.9.4": - version "7.9.4" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.9.4.tgz#c6c97693ac65b6b9c0b4f25b948a8f665463014d" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-react-display-name" "^7.8.3" - "@babel/plugin-transform-react-jsx" "^7.9.4" - "@babel/plugin-transform-react-jsx-development" "^7.9.0" - "@babel/plugin-transform-react-jsx-self" "^7.9.0" - "@babel/plugin-transform-react-jsx-source" "^7.9.0" - "@babel/preset-typescript@7.10.4", "@babel/preset-typescript@^7.1.0": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz#7d5d052e52a682480d6e2cc5aa31be61c8c25e36" @@ -1535,10 +1516,10 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/types@7.11.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0": - version "7.11.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.0.tgz#2ae6bf1ba9ae8c3c43824e5861269871b206e90d" - integrity sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA== +"@babel/types@7.11.5", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.5": + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.5.tgz#d9de577d01252d77c6800cee039ee64faf75662d" + integrity sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q== dependencies: "@babel/helper-validator-identifier" "^7.10.4" lodash "^4.17.19" @@ -1552,6 +1533,15 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.11.0": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.0.tgz#2ae6bf1ba9ae8c3c43824e5861269871b206e90d" + integrity sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + lodash "^4.17.19" + to-fast-properties "^2.0.0" + "@babel/types@^7.3.3", "@babel/types@^7.8.3", "@babel/types@^7.9.0", "@babel/types@^7.9.5", "@babel/types@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.6.tgz#2c5502b427251e9de1bd2dff95add646d95cc9f7" @@ -3839,18 +3829,10 @@ amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" -amphtml-validator@1.0.30: - version "1.0.30" - resolved "https://registry.yarnpkg.com/amphtml-validator/-/amphtml-validator-1.0.30.tgz#b722ea5e965d0cc028cbdc360fc76b97e669715e" - dependencies: - colors "1.2.5" - commander "2.15.1" - promise "8.0.1" - -amphtml-validator@1.0.31: - version "1.0.31" - resolved "https://registry.yarnpkg.com/amphtml-validator/-/amphtml-validator-1.0.31.tgz#cf926ad4bbefd720b4cbeef6221f794f35849ac6" - integrity sha512-GEVZeUJqm2ssLLrERi3Zeyk6TEQlvMGRxKqkgQMt2IvyYiGEWLbwp5K6UfX6cD9aCc1xqbk9n+rDBi4HZv3uOQ== +amphtml-validator@1.0.33: + version "1.0.33" + resolved "https://registry.yarnpkg.com/amphtml-validator/-/amphtml-validator-1.0.33.tgz#ac2af219ba119f98280c33d538a7a1ae672de2be" + integrity sha512-NAamUl3flAku2DLc/OKEPpR2BQJBQTG+iW7HFeJDDvsZ0YwCmGsMAV97/HPaKAvUowzjA+79QjWr4z0Pscg+8g== dependencies: colors "1.2.5" commander "2.15.1" @@ -4606,7 +4588,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@4.13.0, browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6, browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.13.0, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3, browserslist@^4.8.5: +browserslist@4.13.0, browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.13.0, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3, browserslist@^4.8.5: version "4.13.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.13.0.tgz#42556cba011e1b0a2775b611cba6a8eca18e940d" integrity sha512-MINatJ5ZNrLnQ6blGvePd/QOz9Xtu+Ne+x29iQSCHfkU5BugKVJwZKn/iiL8UbpIpa3JhviKjz+XxMo0m2caFQ== @@ -4616,6 +4598,14 @@ browserslist@4.13.0, browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7 escalade "^3.0.1" node-releases "^1.1.58" +browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: + version "1.7.7" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.7.tgz#0bd76704258be829b2398bb50e4b62d1a166b0b9" + integrity sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk= + dependencies: + caniuse-db "^1.0.30000639" + electron-to-chromium "^1.2.7" + browserstack-local@1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/browserstack-local/-/browserstack-local-1.4.0.tgz#d979cac056f57b9af159b3bcd7fdc09b4354537c" @@ -4954,11 +4944,21 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634: version "1.0.30001023" resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30001023.tgz#f856f71af16a5a44e81f1fcefc1673912a43da72" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001019, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001113: +caniuse-db@^1.0.30000639: + version "1.0.30001120" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30001120.tgz#8af61775681b5127e049a3b18d0f6b8e4a6037ad" + integrity sha512-DvFSRBZYuPj2976yroUk/vqu45nvbf70+qJLH7q+q3S9IOXY4Wl/q7nWOJX8mq6SjWQzCWbz0J0Q6UjsuYwd2A== + +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001019, caniuse-lite@^1.0.30001020: version "1.0.30001066" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001066.tgz#0a8a58a10108f2b9bf38e7b65c237b12fd9c5f04" integrity sha512-Gfj/WAastBtfxLws0RCh2sDbTK/8rJuSeZMecrSkNGYxPcv7EzblmDGfWQCFEQcSqYE2BRgQiJh8HOD07N5hIw== +caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001113: + version "1.0.30001120" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001120.tgz#cd21d35e537214e19f7b9f4f161f7b0f2710d46c" + integrity sha512-JBP68okZs1X8D7MQTY602jxMYBmXEKOFkzTBaNSkubooMPFOAv2TXWaKle7qgHpjLDhUzA/TMT0qsNleVyXGUQ== + capitalize@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/capitalize/-/capitalize-1.0.0.tgz#dc802c580aee101929020d2ca14b4ca8a0ae44be" @@ -5371,6 +5371,7 @@ color-convert@^2.0.1: color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= color-name@^1.0.0, color-name@~1.1.4: version "1.1.4" @@ -5454,10 +5455,10 @@ commander@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" -comment-json@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/comment-json/-/comment-json-3.0.2.tgz#a5652a491910e338080bcbf98fc9a37cbd7f3733" - integrity sha512-ysJasbJ671+8mPEmwLOfLFqxoGtSmjyoep+lKRVH4J1/hsGu79fwetMDQWk8de8mVgqDZ43D7JuJAlACqjI1pg== +comment-json@3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/comment-json/-/comment-json-3.0.3.tgz#0cadacd6278602b57b8c51b1814dc5d311d228c4" + integrity sha512-P7XwYkC3qjIK45EAa9c5Y3lR7SMXhJqwFdWg3niAIAcbk3zlpKDdajV8Hyz/Y3sGNn3l+YNMl8A2N/OubSArHg== dependencies: core-util-is "^1.0.2" esprima "^4.0.1" @@ -6733,6 +6734,11 @@ ejs@^2.6.1: version "2.7.4" resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" +electron-to-chromium@^1.2.7: + version "1.3.555" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.555.tgz#a096716ff77cf8da9a608eb628fd6927869503d2" + integrity sha512-/55x3nF2feXFZ5tdGUOr00TxnUjUgdxhrn+eCJ1FAcoAt+cKQTjQkUC5XF4frMWE1R5sjHk+JueuBalimfe5Pg== + electron-to-chromium@^1.3.488: version "1.3.501" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.501.tgz#faa17a2cb0105ee30d5e1ca87eae7d8e85dd3175" @@ -7596,9 +7602,10 @@ finalhandler@~1.1.2: statuses "~1.5.0" unpipe "~1.0.0" -finally-polyfill@0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/finally-polyfill/-/finally-polyfill-0.1.0.tgz#2a17b16581d9477db16a703c7b79a898ac0b7d50" +finally-polyfill@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/finally-polyfill/-/finally-polyfill-0.2.0.tgz#1b34c6e555a6c1603d2ae046e2e176d08687bfdb" + integrity sha512-3w46w5Vo4TRtk5jrLT3c8ITGxnPJhMAg3Ogbj4nmgL6thNep9+UgBgk+IRVmRpZDbwNkR7tyGsE3S3J4Qt2zVw== find-cache-dir@3.3.1, find-cache-dir@^3.0.0, find-cache-dir@^3.3.1: version "3.3.1" @@ -8319,6 +8326,7 @@ has-flag@^1.0.0: has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= has-flag@^4.0.0: version "4.0.0" @@ -10688,9 +10696,9 @@ lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.1 resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" lodash@^4.17.19: - version "4.17.19" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b" - integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ== + version "4.17.20" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" + integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== log-driver@^1.2.7: version "1.2.7" @@ -16199,6 +16207,7 @@ to-arraybuffer@^1.0.0: to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= to-object-path@^0.3.0: version "0.3.0" From 82d0f42aa18a7b80cf3265d57ce6f0cb4da33384 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Mon, 31 Aug 2020 16:55:44 -0400 Subject: [PATCH 12/16] Update deps --- packages/next/compiled/amphtml-validator/index.js | 2 +- packages/next/compiled/async-retry/index.js | 2 +- packages/next/compiled/async-sema/index.js | 2 +- packages/next/compiled/comment-json/index.js | 2 +- packages/next/compiled/cookie/index.js | 2 +- packages/next/compiled/escape-string-regexp/index.js | 2 +- packages/next/compiled/ora/index.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/next/compiled/amphtml-validator/index.js b/packages/next/compiled/amphtml-validator/index.js index 60ac65e9c9054..7d9bd60d0fc19 100644 --- a/packages/next/compiled/amphtml-validator/index.js +++ b/packages/next/compiled/amphtml-validator/index.js @@ -1 +1 @@ -module.exports=function(t,e){"use strict";var n={};function __webpack_require__(e){if(n[e]){return n[e].exports}var r=n[e]={i:e,l:false,exports:{}};t[e].call(r.exports,r,r.exports,__webpack_require__);r.l=true;return r.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(954)}return startup()}({2:function(t,e,n){"use strict";var r=n(324);t.exports=r;r.prototype.done=function(t,e){var n=arguments.length?this.then.apply(this,arguments):this;n.then(null,function(t){setTimeout(function(){throw t},0)})}},60:function(t,e,n){"use strict";var r=n(928);var o=[];t.exports=asap;function asap(t){var e;if(o.length){e=o.pop()}else{e=new RawTask}e.task=t;e.domain=process.domain;r(e)}function RawTask(){this.task=null;this.domain=null}RawTask.prototype.call=function(){if(this.domain){this.domain.enter()}var t=true;try{this.task.call();t=false;if(this.domain){this.domain.exit()}}finally{if(t){r.requestFlush()}this.task=null;this.domain=null;o.push(this)}}},87:function(t){t.exports=require("os")},129:function(t){t.exports=require("child_process")},184:function(t){t.exports=require("vm")},191:function(t){t.exports=require("querystring")},211:function(t){t.exports=require("https")},229:function(t){t.exports=require("domain")},234:function(t,e,n){var r=n(697);t.exports=function(){return function(t,e,n){if(t===" ")return t;switch(e%3){case 0:return r.red(t);case 1:return r.white(t);case 2:return r.blue(t)}}}()},324:function(t,e,n){"use strict";var r=n(928);function noop(){}var o=null;var i={};function getThen(t){try{return t.then}catch(t){o=t;return i}}function tryCallOne(t,e){try{return t(e)}catch(t){o=t;return i}}function tryCallTwo(t,e,n){try{t(e,n)}catch(t){o=t;return i}}t.exports=Promise;function Promise(t){if(typeof this!=="object"){throw new TypeError("Promises must be constructed via new")}if(typeof t!=="function"){throw new TypeError("Promise constructor's argument is not a function")}this._75=0;this._83=0;this._18=null;this._38=null;if(t===noop)return;doResolve(t,this)}Promise._47=null;Promise._71=null;Promise._44=noop;Promise.prototype.then=function(t,e){if(this.constructor!==Promise){return safeThen(this,t,e)}var n=new Promise(noop);handle(this,new Handler(t,e,n));return n};function safeThen(t,e,n){return new t.constructor(function(r,o){var i=new Promise(noop);i.then(r,o);handle(t,new Handler(e,n,i))})}function handle(t,e){while(t._83===3){t=t._18}if(Promise._47){Promise._47(t)}if(t._83===0){if(t._75===0){t._75=1;t._38=e;return}if(t._75===1){t._75=2;t._38=[t._38,e];return}t._38.push(e);return}handleResolved(t,e)}function handleResolved(t,e){r(function(){var n=t._83===1?e.onFulfilled:e.onRejected;if(n===null){if(t._83===1){resolve(e.promise,t._18)}else{reject(e.promise,t._18)}return}var r=tryCallOne(n,t._18);if(r===i){reject(e.promise,o)}else{resolve(e.promise,r)}})}function resolve(t,e){if(e===t){return reject(t,new TypeError("A promise cannot be resolved with itself."))}if(e&&(typeof e==="object"||typeof e==="function")){var n=getThen(e);if(n===i){return reject(t,o)}if(n===t.then&&e instanceof Promise){t._83=3;t._18=e;finale(t);return}else if(typeof n==="function"){doResolve(n.bind(e),t);return}}t._83=1;t._18=e;finale(t)}function reject(t,e){t._83=2;t._18=e;if(Promise._71){Promise._71(t,e)}finale(t)}function finale(t){if(t._75===1){handle(t,t._38);t._38=null}if(t._75===2){for(var e=0;e "+e+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+i+";","var res;","switch (argLength) {",n.concat(["extra"]).map(function(t,e){return"case "+e+":"+"res = fn.call("+["self"].concat(n.slice(0,e)).concat("cb").join(",")+");"+"break;"}).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],s)(r,t)}r.nodeify=function(t){return function(){var e=Array.prototype.slice.call(arguments);var n=typeof e[e.length-1]==="function"?e.pop():null;var i=this;try{return t.apply(this,arguments).nodeify(n,i)}catch(t){if(n===null||typeof n=="undefined"){return new r(function(e,n){n(t)})}else{o(function(){n.call(i,t)})}}}};r.prototype.nodeify=function(t,e){if(typeof t!="function")return this;this.then(function(n){o(function(){t.call(e,null,n)})},function(n){o(function(){t.call(e,n)})})}},396:function(t){"use strict";t.exports=function(t,e){e=e||process.argv;var n=e.indexOf("--");var r=/^-{1,2}/.test(t)?"":"--";var o=e.indexOf(r+t);return o!==-1&&(n===-1?true:o1&&!/^[[<]/.test(t[1]))this.short=t.shift();this.long=t.shift();this.description=e||""}Option.prototype.name=function(){return this.long.replace("--","").replace("no-","")};Option.prototype.attributeName=function(){return camelcase(this.name())};Option.prototype.is=function(t){return this.short===t||this.long===t};function Command(t){this.commands=[];this.options=[];this._execs={};this._allowUnknownOption=false;this._args=[];this._name=t||""}Command.prototype.command=function(t,e,n){if(typeof e==="object"&&e!==null){n=e;e=null}n=n||{};var r=t.split(/ +/);var o=new Command(r.shift());if(e){o.description(e);this.executables=true;this._execs[o._name]=true;if(n.isDefault)this.defaultExecutable=o._name}o._noHelp=!!n.noHelp;this.commands.push(o);o.parseExpectedArgs(r);o.parent=this;if(e)return this;return o};Command.prototype.arguments=function(t){return this.parseExpectedArgs(t.split(/ +/))};Command.prototype.addImplicitHelpCommand=function(){this.command("help [cmd]","display help for [cmd]")};Command.prototype.parseExpectedArgs=function(t){if(!t.length)return;var e=this;t.forEach(function(t){var n={required:false,name:"",variadic:false};switch(t[0]){case"<":n.required=true;n.name=t.slice(1,-1);break;case"[":n.name=t.slice(1,-1);break}if(n.name.length>3&&n.name.slice(-3)==="..."){n.variadic=true;n.name=n.name.slice(0,-3)}if(n.name){e._args.push(n)}});return this};Command.prototype.action=function(t){var e=this;var n=function(n,r){n=n||[];r=r||[];var o=e.parseOptions(r);outputHelpIfNecessary(e,o.unknown);if(o.unknown.length>0){e.unknownOption(o.unknown[0])}if(o.args.length)n=o.args.concat(n);e._args.forEach(function(t,r){if(t.required&&n[r]==null){e.missingArgument(t.name)}else if(t.variadic){if(r!==e._args.length-1){e.variadicArgNotLast(t.name)}n[r]=n.splice(r)}});if(e._args.length){n[e._args.length]=e}else{n.push(e)}t.apply(e,n)};var r=this.parent||this;var o=r===this?"*":this._name;r.on("command:"+o,n);if(this._alias)r.on("command:"+this._alias,n);return this};Command.prototype.option=function(t,e,n,r){var o=this,i=new Option(t,e),s=i.name(),u=i.attributeName();if(typeof n!=="function"){if(n instanceof RegExp){var a=n;n=function(t,e){var n=a.exec(t);return n?n[0]:e}}else{r=n;n=null}}if(!i.bool||i.optional||i.required){if(!i.bool)r=true;if(r!==undefined){o[u]=r;i.defaultValue=r}}this.options.push(i);this.on("option:"+s,function(t){if(t!==null&&n){t=n(t,o[u]===undefined?r:o[u])}if(typeof o[u]==="boolean"||typeof o[u]==="undefined"){if(t==null){o[u]=i.bool?r||true:false}else{o[u]=t}}else if(t!==null){o[u]=t}});return this};Command.prototype.allowUnknownOption=function(t){this._allowUnknownOption=arguments.length===0||t;return this};Command.prototype.parse=function(t){if(this.executables)this.addImplicitHelpCommand();this.rawArgs=t;this._name=this._name||u(t[1],".js");if(this.executables&&t.length<3&&!this.defaultExecutable){t.push("--help")}var e=this.parseOptions(this.normalize(t.slice(2)));var n=this.args=e.args;var r=this.parseArgs(this.args,e.unknown);var o=r.args[0];var i=null;if(o){i=this.commands.filter(function(t){return t.alias()===o})[0]}if(this._execs[o]&&typeof this._execs[o]!=="function"){return this.executeSubCommand(t,n,e.unknown)}else if(i){n[0]=i._name;return this.executeSubCommand(t,n,e.unknown)}else if(this.defaultExecutable){n.unshift(this.defaultExecutable);return this.executeSubCommand(t,n,e.unknown)}return r};Command.prototype.executeSubCommand=function(t,e,n){e=e.concat(n);if(!e.length)this.help();if(e[0]==="help"&&e.length===1)this.help();if(e[0]==="help"){e[0]=e[1];e[1]="--help"}var r=t[1];var c=u(r,".js")+"-"+e[0];var f,l=a.lstatSync(r).isSymbolicLink()?a.readlinkSync(r):r;if(l!==r&&l.charAt(0)!=="/"){l=i.join(s(r),l)}f=s(l);var p=i.join(f,c);var h=false;if(exists(p+".js")){c=p+".js";h=true}else if(exists(p)){c=p}e=e.slice(1);var m;if(process.platform!=="win32"){if(h){e.unshift(c);e=(process.execArgv||[]).concat(e);m=o(process.argv[0],e,{stdio:"inherit",customFds:[0,1,2]})}else{m=o(c,e,{stdio:"inherit",customFds:[0,1,2]})}}else{e.unshift(c);m=o(process.execPath,e,{stdio:"inherit"})}var d=["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"];d.forEach(function(t){process.on(t,function(){if(m.killed===false&&m.exitCode===null){m.kill(t)}})});m.on("close",process.exit.bind(process));m.on("error",function(t){if(t.code==="ENOENT"){console.error("\n %s(1) does not exist, try --help\n",c)}else if(t.code==="EACCES"){console.error("\n %s(1) not executable. try chmod or run with root\n",c)}process.exit(1)});this.runningCommand=m};Command.prototype.normalize=function(t){var e=[],n,r,o;for(var i=0,s=t.length;i0){r=this.optionFor(t[i-1])}if(n==="--"){e=e.concat(t.slice(i));break}else if(r&&r.required){e.push(n)}else if(n.length>1&&n[0]==="-"&&n[1]!=="-"){n.slice(1).split("").forEach(function(t){e.push("-"+t)})}else if(/^--/.test(n)&&~(o=n.indexOf("="))){e.push(n.slice(0,o),n.slice(o+1))}else{e.push(n)}}return e};Command.prototype.parseArgs=function(t,e){var n;if(t.length){n=t[0];if(this.listeners("command:"+n).length){this.emit("command:"+t.shift(),t,e)}else{this.emit("command:*",t)}}else{outputHelpIfNecessary(this,e);if(e.length>0){this.unknownOption(e[0])}}return this};Command.prototype.optionFor=function(t){for(var e=0,n=this.options.length;e1&&i[0]==="-"){s.push(i);if(u+1t){t=this.largestArgLength()}}if(this.commands&&this.commands.length){if(this.largestCommandLength()>t){t=this.largestCommandLength()}}return t};Command.prototype.optionHelp=function(){var t=this.padWidth();return this.options.map(function(e){return pad(e.flags,t)+" "+e.description+(e.bool&&e.defaultValue!==undefined?" (default: "+e.defaultValue+")":"")}).concat([pad("-h, --help",t)+" "+"output usage information"]).join("\n")};Command.prototype.commandHelp=function(){if(!this.commands.length)return"";var t=this.prepareCommands();var e=this.padWidth();return[" Commands:","",t.map(function(t){var n=t[1]?" "+t[1]:"";return(n?pad(t[0],e):t[0])+n}).join("\n").replace(/^/gm," "),""].join("\n")};Command.prototype.helpInformation=function(){var t=[];if(this._description){t=[" "+this._description,""];var e=this._argsDescription;if(e&&this._args.length){var n=this.padWidth();t.push(" Arguments:");t.push("");this._args.forEach(function(r){t.push(" "+pad(r.name,n)+" "+e[r.name])});t.push("")}}var r=this._name;if(this._alias){r=r+"|"+this._alias}var o=[""," Usage: "+r+" "+this.usage(),""];var i=[];var s=this.commandHelp();if(s)i=[s];var u=[" Options:","",""+this.optionHelp().replace(/^/gm," "),""];return o.concat(t).concat(u).concat(i).join("\n")};Command.prototype.outputHelp=function(t){if(!t){t=function(t){return t}}process.stdout.write(t(this.helpInformation()));this.emit("--help")};Command.prototype.help=function(t){this.outputHelp(t);process.exit()};function camelcase(t){return t.split("-").reduce(function(t,e){return t+e[0].toUpperCase()+e.slice(1)})}function pad(t,e){var n=Math.max(0,e-t.length);return t+Array(n+1).join(" ")}function outputHelpIfNecessary(t,e){e=e||[];for(var n=0;n":"["+e+"]"}function exists(t){try{if(a.statSync(t).isFile()){return true}}catch(t){return false}}},493:function(t,e,n){var r=n(697);t.exports=r},605:function(t){t.exports=require("http")},614:function(t){t.exports=require("events")},622:function(t){t.exports=require("path")},626:function(t,e,n){"use strict";t.exports=n(324);n(2);n(658);n(428);n(326);n(837)},656:function(t,e,n){var r=n(697);t.exports=function(){var t=["red","yellow","green","blue","magenta"];return function(e,n,o){if(e===" "){return e}else{return r[t[n++%t.length]](e)}}}()},658:function(t,e,n){"use strict";var r=n(324);t.exports=r;r.prototype["finally"]=function(t){return this.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})})}},669:function(t){t.exports=require("util")},697:function(t,e,n){var r={};t.exports=r;r.themes={};var o=n(669);var i=r.styles=n(431);var s=Object.defineProperties;var u=new RegExp(/[\r\n]+/g);r.supportsColor=n(775).supportsColor;if(typeof r.enabled==="undefined"){r.enabled=r.supportsColor()!==false}r.enable=function(){r.enabled=true};r.disable=function(){r.enabled=false};r.stripColors=r.strip=function(t){return(""+t).replace(/\x1B\[\d+m/g,"")};var a=r.stylize=function stylize(t,e){if(!r.enabled){return t+""}return i[e].open+t+i[e].close};var c=/[|\\{}()[\]^$+*?.]/g;var f=function(t){if(typeof t!=="string"){throw new TypeError("Expected a string")}return t.replace(c,"\\$&")};function build(t){var e=function builder(){return applyStyle.apply(builder,arguments)};e._styles=t;e.__proto__=p;return e}var l=function(){var t={};i.grey=i.gray;Object.keys(i).forEach(function(e){i[e].closeRe=new RegExp(f(i[e].close),"g");t[e]={get:function(){return build(this._styles.concat(e))}}});return t}();var p=s(function colors(){},l);function applyStyle(){var t=Array.prototype.slice.call(arguments);var e=t.map(function(t){if(t!==undefined&&t.constructor===String){return t}else{return o.inspect(t)}}).join(" ");if(!r.enabled||!e){return e}var n=e.indexOf("\n")!=-1;var s=this._styles;var a=s.length;while(a--){var c=i[s[a]];e=c.open+e.replace(c.closeRe,c.open)+c.close;if(n){e=e.replace(u,c.close+"\n"+c.open)}}return e}r.setTheme=function(t){if(typeof t==="string"){console.log("colors.setTheme now only accepts an object, not a string. "+"If you are trying to set a theme from a file, it is now your (the "+"caller's) responsibility to require the file. The old syntax "+"looked like colors.setTheme(__dirname + "+"'/../themes/generic-logging.js'); The new syntax looks like "+"colors.setTheme(require(__dirname + "+"'/../themes/generic-logging.js'));");return}for(var e in t){(function(e){r[e]=function(n){if(typeof t[e]==="object"){var o=n;for(var i in t[e]){o=r[t[e][i]](o)}return o}return r[t[e]](n)}})(e)}};function init(){var t={};Object.keys(l).forEach(function(e){t[e]={get:function(){return build([e])}}});return t}var h=function sequencer(t,e){var n=e.split("");n=n.map(t);return n.join("")};r.trap=n(994);r.zalgo=n(713);r.maps={};r.maps.america=n(234);r.maps.zebra=n(899);r.maps.rainbow=n(656);r.maps.random=n(853);for(var m in r.maps){(function(t){r[t]=function(e){return h(r.maps[t],e)}})(m)}s(r,init())},700:function(t,e,n){"use strict";t.exports=n(626)},713:function(t){t.exports=function zalgo(t,e){t=t||" he is here ";var n={up:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],down:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣"],mid:["̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͜","͝","͞","͟","͠","͢","̸","̷","͡"," ҉"]};var r=[].concat(n.up,n.down,n.mid);function randomNumber(t){var e=Math.floor(Math.random()*t);return e}function isChar(t){var e=false;r.filter(function(n){e=n===t});return e}function heComes(t,e){var r="";var o;var i;e=e||{};e["up"]=typeof e["up"]!=="undefined"?e["up"]:true;e["mid"]=typeof e["mid"]!=="undefined"?e["mid"]:true;e["down"]=typeof e["down"]!=="undefined"?e["down"]:true;e["size"]=typeof e["size"]!=="undefined"?e["size"]:"maxi";t=t.split("");for(i in t){if(isChar(i)){continue}r=r+t[i];o={up:0,down:0,mid:0};switch(e.size){case"mini":o.up=randomNumber(8);o.mid=randomNumber(2);o.down=randomNumber(8);break;case"maxi":o.up=randomNumber(16)+3;o.mid=randomNumber(4)+1;o.down=randomNumber(64)+3;break;default:o.up=randomNumber(8)+1;o.mid=randomNumber(6)/2;o.down=randomNumber(8)+1;break}var s=["up","mid","down"];for(var u in s){var a=s[u];for(var c=0;c<=o[a];c++){if(e[a]){r=r+n[a][randomNumber(n[a].length)]}}}}return r}return heComes(t,e)}},747:function(t){t.exports=require("fs")},775:function(t,e,n){"use strict";var r=n(87);var o=n(396);var i=process.env;var s=void 0;if(o("no-color")||o("no-colors")||o("color=false")){s=false}else if(o("color")||o("colors")||o("color=true")||o("color=always")){s=true}if("FORCE_COLOR"in i){s=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supportsColor(t){if(s===false){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(t&&!t.isTTY&&s!==true){return 0}var e=s?1:0;if(process.platform==="win32"){var n=r.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586){return Number(n[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(t){return t in i})||i.CI_NAME==="codeship"){return 1}return e}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if("TERM_PROGRAM"in i){var u=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return u>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}if(i.TERM==="dumb"){return e}return e}function getSupportLevel(t){var e=supportsColor(t);return translateLevel(e)}t.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},835:function(t){t.exports=require("url")},837:function(t,e,n){"use strict";var r=n(324);t.exports=r;r.enableSynchronous=function(){r.prototype.isPending=function(){return this.getState()==0};r.prototype.isFulfilled=function(){return this.getState()==1};r.prototype.isRejected=function(){return this.getState()==2};r.prototype.getValue=function(){if(this._83===3){return this._18.getValue()}if(!this.isFulfilled()){throw new Error("Cannot get a value of an unfulfilled promise.")}return this._18};r.prototype.getReason=function(){if(this._83===3){return this._18.getReason()}if(!this.isRejected()){throw new Error("Cannot get a rejection reason of a non-rejected promise.")}return this._18};r.prototype.getState=function(){if(this._83===3){return this._18.getState()}if(this._83===-1||this._83===-2){return 0}return this._83}};r.disableSynchronous=function(){r.prototype.isPending=undefined;r.prototype.isFulfilled=undefined;r.prototype.isRejected=undefined;r.prototype.getValue=undefined;r.prototype.getReason=undefined;r.prototype.getState=undefined}},853:function(t,e,n){var r=n(697);t.exports=function(){var t=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta"];return function(e,n,o){return e===" "?e:r[t[Math.round(Math.random()*(t.length-2))]](e)}}()},899:function(t,e,n){var r=n(697);t.exports=function(t,e,n){return e%2===0?t:r.inverse(t)}},928:function(t,e,n){"use strict";var r;var o=typeof setImmediate==="function";t.exports=rawAsap;function rawAsap(t){if(!i.length){requestFlush();s=true}i[i.length]=t}var i=[];var s=false;var u=0;var a=1024;function flush(){while(ua){for(var e=0,n=i.length-u;e\n\n"+' Validates the files or urls provided as arguments. If "-" is\n'+" specified, reads from stdin instead.").option("--validator_js ","The Validator Javascript.\n"+" Latest published version by default, or\n"+" dist/validator_minified.js (built with build.py)\n"+" for development.","https://cdn.ampproject.org/v0/validator.js").option("--user-agent ","User agent string to use in requests.",m).option("--html_format ","The input format to be validated.\n"+" AMP by default.","AMP").option("--format ","How to format the output.\n"+' "color" displays errors/warnings/success in\n'+" red/orange/green.\n"+' "text" avoids color (e.g., useful in terminals not\n'+" supporting color).\n"+' "json" emits json corresponding to the ValidationResult\n'+" message in validator.proto.","color").parse(process.argv);if(a.args.length===0){a.outputHelp();process.exit(1)}if(a.html_format!=="AMP"&&a.html_format!=="AMP4ADS"&&a.html_format!=="AMP4EMAIL"&&a.html_format!=="ACTIONS"){process.stderr.write('--html_format must be set to "AMP", "AMP4ADS", "AMP4EMAIL", or '+'"ACTIONS.\n',function(){process.exit(1)})}if(a.format!=="color"&&a.format!=="text"&&a.format!=="json"){process.stderr.write('--format must be set to "color", "text", or "json".\n',function(){process.exit(1)})}const t=[];for(let e=0;e\n\n"+' Validates the files or urls provided as arguments. If "-" is\n'+" specified, reads from stdin instead.").option("--validator_js ","The Validator Javascript.\n"+" Latest published version by default, or\n"+" dist/validator_minified.js (built with build.py)\n"+" for development.","https://cdn.ampproject.org/v0/validator.js").option("--user-agent ","User agent string to use in requests.",m).option("--html_format ","The input format to be validated.\n"+" AMP by default.","AMP").option("--format ","How to format the output.\n"+' "color" displays errors/warnings/success in\n'+" red/orange/green.\n"+' "text" avoids color (e.g., useful in terminals not\n'+" supporting color).\n"+' "json" emits json corresponding to the ValidationResult\n'+" message in validator.proto.","color").parse(process.argv);if(a.args.length===0){a.outputHelp();process.exit(1)}if(a.html_format!=="AMP"&&a.html_format!=="AMP4ADS"&&a.html_format!=="AMP4EMAIL"){process.stderr.write('--html_format must be set to "AMP", "AMP4ADS", or "AMP4EMAIL".\n',function(){process.exit(1)})}if(a.format!=="color"&&a.format!=="text"&&a.format!=="json"){process.stderr.write('--format must be set to "color", "text", or "json".\n',function(){process.exit(1)})}const t=[];for(let e=0;e "+e+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+i+";","var res;","switch (argLength) {",n.concat(["extra"]).map(function(t,e){return"case "+e+":"+"res = fn.call("+["self"].concat(n.slice(0,e)).concat("cb").join(",")+");"+"break;"}).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],s)(r,t)}r.nodeify=function(t){return function(){var e=Array.prototype.slice.call(arguments);var n=typeof e[e.length-1]==="function"?e.pop():null;var i=this;try{return t.apply(this,arguments).nodeify(n,i)}catch(t){if(n===null||typeof n=="undefined"){return new r(function(e,n){n(t)})}else{o(function(){n.call(i,t)})}}}};r.prototype.nodeify=function(t,e){if(typeof t!="function")return this;this.then(function(n){o(function(){t.call(e,null,n)})},function(n){o(function(){t.call(e,n)})})}},396:function(t){"use strict";t.exports=function(t,e){e=e||process.argv;var n=e.indexOf("--");var r=/^-{1,2}/.test(t)?"":"--";var o=e.indexOf(r+t);return o!==-1&&(n===-1?true:o1&&!/^[[<]/.test(t[1]))this.short=t.shift();this.long=t.shift();this.description=e||""}Option.prototype.name=function(){return this.long.replace("--","").replace("no-","")};Option.prototype.attributeName=function(){return camelcase(this.name())};Option.prototype.is=function(t){return this.short===t||this.long===t};function Command(t){this.commands=[];this.options=[];this._execs={};this._allowUnknownOption=false;this._args=[];this._name=t||""}Command.prototype.command=function(t,e,n){if(typeof e==="object"&&e!==null){n=e;e=null}n=n||{};var r=t.split(/ +/);var o=new Command(r.shift());if(e){o.description(e);this.executables=true;this._execs[o._name]=true;if(n.isDefault)this.defaultExecutable=o._name}o._noHelp=!!n.noHelp;this.commands.push(o);o.parseExpectedArgs(r);o.parent=this;if(e)return this;return o};Command.prototype.arguments=function(t){return this.parseExpectedArgs(t.split(/ +/))};Command.prototype.addImplicitHelpCommand=function(){this.command("help [cmd]","display help for [cmd]")};Command.prototype.parseExpectedArgs=function(t){if(!t.length)return;var e=this;t.forEach(function(t){var n={required:false,name:"",variadic:false};switch(t[0]){case"<":n.required=true;n.name=t.slice(1,-1);break;case"[":n.name=t.slice(1,-1);break}if(n.name.length>3&&n.name.slice(-3)==="..."){n.variadic=true;n.name=n.name.slice(0,-3)}if(n.name){e._args.push(n)}});return this};Command.prototype.action=function(t){var e=this;var n=function(n,r){n=n||[];r=r||[];var o=e.parseOptions(r);outputHelpIfNecessary(e,o.unknown);if(o.unknown.length>0){e.unknownOption(o.unknown[0])}if(o.args.length)n=o.args.concat(n);e._args.forEach(function(t,r){if(t.required&&n[r]==null){e.missingArgument(t.name)}else if(t.variadic){if(r!==e._args.length-1){e.variadicArgNotLast(t.name)}n[r]=n.splice(r)}});if(e._args.length){n[e._args.length]=e}else{n.push(e)}t.apply(e,n)};var r=this.parent||this;var o=r===this?"*":this._name;r.on("command:"+o,n);if(this._alias)r.on("command:"+this._alias,n);return this};Command.prototype.option=function(t,e,n,r){var o=this,i=new Option(t,e),s=i.name(),u=i.attributeName();if(typeof n!=="function"){if(n instanceof RegExp){var a=n;n=function(t,e){var n=a.exec(t);return n?n[0]:e}}else{r=n;n=null}}if(!i.bool||i.optional||i.required){if(!i.bool)r=true;if(r!==undefined){o[u]=r;i.defaultValue=r}}this.options.push(i);this.on("option:"+s,function(t){if(t!==null&&n){t=n(t,o[u]===undefined?r:o[u])}if(typeof o[u]==="boolean"||typeof o[u]==="undefined"){if(t==null){o[u]=i.bool?r||true:false}else{o[u]=t}}else if(t!==null){o[u]=t}});return this};Command.prototype.allowUnknownOption=function(t){this._allowUnknownOption=arguments.length===0||t;return this};Command.prototype.parse=function(t){if(this.executables)this.addImplicitHelpCommand();this.rawArgs=t;this._name=this._name||u(t[1],".js");if(this.executables&&t.length<3&&!this.defaultExecutable){t.push("--help")}var e=this.parseOptions(this.normalize(t.slice(2)));var n=this.args=e.args;var r=this.parseArgs(this.args,e.unknown);var o=r.args[0];var i=null;if(o){i=this.commands.filter(function(t){return t.alias()===o})[0]}if(this._execs[o]&&typeof this._execs[o]!=="function"){return this.executeSubCommand(t,n,e.unknown)}else if(i){n[0]=i._name;return this.executeSubCommand(t,n,e.unknown)}else if(this.defaultExecutable){n.unshift(this.defaultExecutable);return this.executeSubCommand(t,n,e.unknown)}return r};Command.prototype.executeSubCommand=function(t,e,n){e=e.concat(n);if(!e.length)this.help();if(e[0]==="help"&&e.length===1)this.help();if(e[0]==="help"){e[0]=e[1];e[1]="--help"}var r=t[1];var c=u(r,".js")+"-"+e[0];var f,l=a.lstatSync(r).isSymbolicLink()?a.readlinkSync(r):r;if(l!==r&&l.charAt(0)!=="/"){l=i.join(s(r),l)}f=s(l);var p=i.join(f,c);var h=false;if(exists(p+".js")){c=p+".js";h=true}else if(exists(p)){c=p}e=e.slice(1);var m;if(process.platform!=="win32"){if(h){e.unshift(c);e=(process.execArgv||[]).concat(e);m=o(process.argv[0],e,{stdio:"inherit",customFds:[0,1,2]})}else{m=o(c,e,{stdio:"inherit",customFds:[0,1,2]})}}else{e.unshift(c);m=o(process.execPath,e,{stdio:"inherit"})}var d=["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"];d.forEach(function(t){process.on(t,function(){if(m.killed===false&&m.exitCode===null){m.kill(t)}})});m.on("close",process.exit.bind(process));m.on("error",function(t){if(t.code==="ENOENT"){console.error("\n %s(1) does not exist, try --help\n",c)}else if(t.code==="EACCES"){console.error("\n %s(1) not executable. try chmod or run with root\n",c)}process.exit(1)});this.runningCommand=m};Command.prototype.normalize=function(t){var e=[],n,r,o;for(var i=0,s=t.length;i0){r=this.optionFor(t[i-1])}if(n==="--"){e=e.concat(t.slice(i));break}else if(r&&r.required){e.push(n)}else if(n.length>1&&n[0]==="-"&&n[1]!=="-"){n.slice(1).split("").forEach(function(t){e.push("-"+t)})}else if(/^--/.test(n)&&~(o=n.indexOf("="))){e.push(n.slice(0,o),n.slice(o+1))}else{e.push(n)}}return e};Command.prototype.parseArgs=function(t,e){var n;if(t.length){n=t[0];if(this.listeners("command:"+n).length){this.emit("command:"+t.shift(),t,e)}else{this.emit("command:*",t)}}else{outputHelpIfNecessary(this,e);if(e.length>0){this.unknownOption(e[0])}}return this};Command.prototype.optionFor=function(t){for(var e=0,n=this.options.length;e1&&i[0]==="-"){s.push(i);if(u+1t){t=this.largestArgLength()}}if(this.commands&&this.commands.length){if(this.largestCommandLength()>t){t=this.largestCommandLength()}}return t};Command.prototype.optionHelp=function(){var t=this.padWidth();return this.options.map(function(e){return pad(e.flags,t)+" "+e.description+(e.bool&&e.defaultValue!==undefined?" (default: "+e.defaultValue+")":"")}).concat([pad("-h, --help",t)+" "+"output usage information"]).join("\n")};Command.prototype.commandHelp=function(){if(!this.commands.length)return"";var t=this.prepareCommands();var e=this.padWidth();return[" Commands:","",t.map(function(t){var n=t[1]?" "+t[1]:"";return(n?pad(t[0],e):t[0])+n}).join("\n").replace(/^/gm," "),""].join("\n")};Command.prototype.helpInformation=function(){var t=[];if(this._description){t=[" "+this._description,""];var e=this._argsDescription;if(e&&this._args.length){var n=this.padWidth();t.push(" Arguments:");t.push("");this._args.forEach(function(r){t.push(" "+pad(r.name,n)+" "+e[r.name])});t.push("")}}var r=this._name;if(this._alias){r=r+"|"+this._alias}var o=[""," Usage: "+r+" "+this.usage(),""];var i=[];var s=this.commandHelp();if(s)i=[s];var u=[" Options:","",""+this.optionHelp().replace(/^/gm," "),""];return o.concat(t).concat(u).concat(i).join("\n")};Command.prototype.outputHelp=function(t){if(!t){t=function(t){return t}}process.stdout.write(t(this.helpInformation()));this.emit("--help")};Command.prototype.help=function(t){this.outputHelp(t);process.exit()};function camelcase(t){return t.split("-").reduce(function(t,e){return t+e[0].toUpperCase()+e.slice(1)})}function pad(t,e){var n=Math.max(0,e-t.length);return t+Array(n+1).join(" ")}function outputHelpIfNecessary(t,e){e=e||[];for(var n=0;n":"["+e+"]"}function exists(t){try{if(a.statSync(t).isFile()){return true}}catch(t){return false}}},747:function(t){t.exports=require("fs")},775:function(t,e,n){"use strict";var r=n(87);var o=n(396);var i=process.env;var s=void 0;if(o("no-color")||o("no-colors")||o("color=false")){s=false}else if(o("color")||o("colors")||o("color=true")||o("color=always")){s=true}if("FORCE_COLOR"in i){s=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supportsColor(t){if(s===false){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(t&&!t.isTTY&&s!==true){return 0}var e=s?1:0;if(process.platform==="win32"){var n=r.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586){return Number(n[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(t){return t in i})||i.CI_NAME==="codeship"){return 1}return e}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if("TERM_PROGRAM"in i){var u=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return u>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}if(i.TERM==="dumb"){return e}return e}function getSupportLevel(t){var e=supportsColor(t);return translateLevel(e)}t.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},835:function(t){t.exports=require("url")},837:function(t,e,n){"use strict";var r=n(324);t.exports=r;r.enableSynchronous=function(){r.prototype.isPending=function(){return this.getState()==0};r.prototype.isFulfilled=function(){return this.getState()==1};r.prototype.isRejected=function(){return this.getState()==2};r.prototype.getValue=function(){if(this._83===3){return this._18.getValue()}if(!this.isFulfilled()){throw new Error("Cannot get a value of an unfulfilled promise.")}return this._18};r.prototype.getReason=function(){if(this._83===3){return this._18.getReason()}if(!this.isRejected()){throw new Error("Cannot get a rejection reason of a non-rejected promise.")}return this._18};r.prototype.getState=function(){if(this._83===3){return this._18.getState()}if(this._83===-1||this._83===-2){return 0}return this._83}};r.disableSynchronous=function(){r.prototype.isPending=undefined;r.prototype.isFulfilled=undefined;r.prototype.isRejected=undefined;r.prototype.getValue=undefined;r.prototype.getReason=undefined;r.prototype.getState=undefined}},853:function(t,e,n){var r=n(697);t.exports=function(){var t=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta"];return function(e,n,o){return e===" "?e:r[t[Math.round(Math.random()*(t.length-2))]](e)}}()},899:function(t,e,n){var r=n(697);t.exports=function(t,e,n){return e%2===0?t:r.inverse(t)}},928:function(t,e,n){"use strict";var r;var o=typeof setImmediate==="function";t.exports=rawAsap;function rawAsap(t){if(!i.length){requestFlush();s=true}i[i.length]=t}var i=[];var s=false;var u=0;var a=1024;function flush(){while(ua){for(var e=0,n=i.length-u;e=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i=e){r=o;e=a}}return r}},367:function(t,r,e){var i=e(167);r.operation=function(t){var e=r.timeouts(t);return new i(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};r.timeouts=function(t){if(t instanceof Array){return[].concat(t)}var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var e in t){r[e]=t[e]}if(r.minTimeout>r.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;or.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;o=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i=e){r=o;e=a}}return r}}}); \ No newline at end of file diff --git a/packages/next/compiled/async-sema/index.js b/packages/next/compiled/async-sema/index.js index e6ab854657403..9c7f2d59e593d 100644 --- a/packages/next/compiled/async-sema/index.js +++ b/packages/next/compiled/async-sema/index.js @@ -1 +1 @@ -module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var s=i[e]={i:e,l:false,exports:{}};t[e].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(624)}return startup()}({614:function(t){t.exports=require("events")},624:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});const r=s(i(614));function arrayMove(t,e,i,s,r){for(let n=0;n>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacitye){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;es.release(),r)}}e.RateLimit=RateLimit}}); \ No newline at end of file +module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var s=i[e]={i:e,l:false,exports:{}};t[e].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(72)}return startup()}({72:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});const r=s(i(614));function arrayMove(t,e,i,s,r){for(let n=0;n>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacitye){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;es.release(),r)}}e.RateLimit=RateLimit},614:function(t){t.exports=require("events")}}); \ No newline at end of file diff --git a/packages/next/compiled/comment-json/index.js b/packages/next/compiled/comment-json/index.js index aae345bd626b9..885b2c3b8e0bb 100644 --- a/packages/next/compiled/comment-json/index.js +++ b/packages/next/compiled/comment-json/index.js @@ -1 +1 @@ -module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var r=i[e]={i:e,l:false,exports:{}};t[e].call(r.exports,r,r.exports,__webpack_require__);r.l=true;return r.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(963)}return startup()}({130:function(t,e){function isArray(t){if(Array.isArray){return Array.isArray(t)}return objectToString(t)==="[object Array]"}e.isArray=isArray;function isBoolean(t){return typeof t==="boolean"}e.isBoolean=isBoolean;function isNull(t){return t===null}e.isNull=isNull;function isNullOrUndefined(t){return t==null}e.isNullOrUndefined=isNullOrUndefined;function isNumber(t){return typeof t==="number"}e.isNumber=isNumber;function isString(t){return typeof t==="string"}e.isString=isString;function isSymbol(t){return typeof t==="symbol"}e.isSymbol=isSymbol;function isUndefined(t){return t===void 0}e.isUndefined=isUndefined;function isRegExp(t){return objectToString(t)==="[object RegExp]"}e.isRegExp=isRegExp;function isObject(t){return typeof t==="object"&&t!==null}e.isObject=isObject;function isDate(t){return objectToString(t)==="[object Date]"}e.isDate=isDate;function isError(t){return objectToString(t)==="[object Error]"||t instanceof Error}e.isError=isError;function isFunction(t){return typeof t==="function"}e.isFunction=isFunction;function isPrimitive(t){return t===null||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="symbol"||typeof t==="undefined"}e.isPrimitive=isPrimitive;e.isBuffer=Buffer.isBuffer;function objectToString(t){return Object.prototype.toString.call(t)}},247:function(t,e,i){const r=i(702);const{isObject:n,isArray:s}=i(130);const a="before";const u="after-prop";const h="after-colon";const o="after-value";const l="after-comma";const c=[a,u,h,o,l];const p=":";const f=undefined;const D=(t,e)=>Symbol.for(t+p+e);const x=(t,e,i,n,s,a)=>{const u=D(s,n);if(!r(e,u)){return}const h=i===n?u:D(s,i);t[h]=e[u];if(a){delete e[u]}};const E=(t,e,i)=>{i.forEach(i=>{if(!r(e,i)){return}t[i]=e[i];c.forEach(r=>{x(t,e,i,i,r)})});return t};const m=(t,e,i)=>{if(e===i){return}c.forEach(n=>{const s=D(n,i);if(!r(t,s)){x(t,t,i,e,n);return}const a=t[s];x(t,t,i,e,n);t[D(n,e)]=a})};const v=t=>{const{length:e}=t;let i=0;const r=e/2;for(;i{c.forEach(s=>{x(t,e,i+r,i,s,n)})};const S=(t,e,i,r,n,s)=>{if(n>0){let a=r;while(a-- >0){C(t,e,i+a,n,s&&a=u)}};class CommentArray extends Array{splice(...t){const{length:e}=this;const i=super.splice(...t);let[r,n,...s]=t;if(r<0){r+=e}if(arguments.length===1){n=e-r}else{n=Math.min(e-r,n)}const{length:a}=s;const u=a-n;const h=r+n;const o=e-h;S(this,this,h,o,u,true);return i}slice(...t){const{length:e}=this;const i=super.slice(...t);if(!i.length){return new CommentArray}let[r,n]=t;if(n===f){n=e}else if(n<0){n+=e}if(r<0){r+=e}else if(r===f){r=0}S(i,this,r,n-r,-r);return i}unshift(...t){const{length:e}=this;const i=super.unshift(...t);const{length:r}=t;if(r>0){S(this,this,0,e,r,true)}return i}shift(){const t=super.shift();const{length:e}=this;S(this,this,1,e,-1,true);return t}reverse(){super.reverse();v(this);return this}pop(){const t=super.pop();const{length:e}=this;c.forEach(t=>{const i=D(t,e);delete this[i]});return t}concat(...t){let{length:e}=this;const i=super.concat(...t);if(!t.length){return i}t.forEach(t=>{const r=e;e+=s(t)?t.length:1;if(!(t instanceof CommentArray)){return}S(i,t,0,t.length,r)});return i}}t.exports={CommentArray:CommentArray,assign(t,e,i){if(!n(t)){throw new TypeError("Cannot convert undefined or null to object")}if(!n(e)){return t}if(i===f){i=Object.keys(e)}else if(!s(i)){throw new TypeError("keys must be array or undefined")}return E(t,e,i)},PREFIX_BEFORE:a,PREFIX_AFTER_PROP:u,PREFIX_AFTER_COLON:h,PREFIX_AFTER_VALUE:o,PREFIX_AFTER_COMMA:l,COLON:p,UNDEFINED:f}},349:function(t,e,i){const r=i(501);const{CommentArray:n,PREFIX_BEFORE:s,PREFIX_AFTER_PROP:a,PREFIX_AFTER_COLON:u,PREFIX_AFTER_VALUE:h,PREFIX_AFTER_COMMA:o,COLON:l,UNDEFINED:c}=i(247);const p=t=>r.tokenize(t,{comment:true,loc:true});const f=[];let D=null;let x=null;const E=[];let m;let v=false;let C=false;let S=null;let A=null;let d=null;let y;let F=null;const w=()=>{E.length=f.length=0;A=null;m=c};const b=()=>{w();S.length=0;x=D=S=A=d=F=null};const B="before-all";const g="after";const P="after-all";const T="[";const I="]";const M="{";const X="}";const J=",";const k="";const N="-";const L=t=>Symbol.for(m!==c?`${t}:${m}`:t);const U=(t,e)=>F?F(t,e):e;const O=()=>{const t=new SyntaxError(`Unexpected token ${d.value.slice(0,1)}`);Object.assign(t,d.loc.start);throw t};const R=()=>{const t=new SyntaxError("Unexpected end of JSON input");Object.assign(t,A?A.loc.end:{line:1,column:0});throw t};const z=()=>{const t=S[++y];C=d&&t&&d.loc.end.line===t.loc.start.line||false;A=d;d=t};const K=()=>{if(!d){R()}return d.type==="Punctuator"?d.value:d.type};const j=t=>K()===t;const H=t=>{if(!j(t)){O()}};const W=t=>{f.push(D);D=t};const V=()=>{D=f.pop()};const G=()=>{if(!x){return}const t=[];for(const e of x){if(e.inline){t.push(e)}else{break}}const{length:e}=t;if(!e){return}if(e===x.length){x=null}else{x.splice(0,e)}D[L(o)]=t};const Y=t=>{if(!x){return}D[L(t)]=x;x=null};const q=t=>{const e=[];while(d&&(j("LineComment")||j("BlockComment"))){const t={...d,inline:C};e.push(t);z()}if(v){return}if(!e.length){return}if(t){D[L(t)]=e;return}x=e};const $=(t,e)=>{if(e){E.push(m)}m=t};const Q=()=>{m=E.pop()};const Z=()=>{const t={};W(t);$(c,true);let e=false;let i;q();while(!j(X)){if(e){H(J);z();q();G();if(j(X)){break}}e=true;H("String");i=JSON.parse(d.value);$(i);Y(s);z();q(a);H(l);z();q(u);t[i]=U(i,walk());q(h)}z();m=undefined;Y(e?g:s);V();Q();return t};const _=()=>{const t=new n;W(t);$(c,true);let e=false;let i=0;q();while(!j(I)){if(e){H(J);z();q();G();if(j(I)){break}}e=true;$(i);Y(s);t[i]=U(i,walk());q(h);i++}z();m=undefined;Y(e?g:s);V();Q();return t};function walk(){let t=K();if(t===M){z();return Z()}if(t===T){z();return _()}let e=k;if(t===N){z();t=K();e=N}let i;switch(t){case"String":case"Boolean":case"Null":case"Numeric":i=d.value;z();return JSON.parse(e+i);default:}}const tt=t=>Object(t)===t;const et=(t,e,i)=>{w();S=p(t);F=e;v=i;if(!S.length){R()}y=-1;z();W({});q(B);let r=walk();q(P);if(d){O()}if(!i&&r!==null){if(!tt(r)){r=new Object(r)}Object.assign(r,D)}V();r=U("",r);b();return r};t.exports={parse:et,tokenize:p,PREFIX_BEFORE:s,PREFIX_BEFORE_ALL:B,PREFIX_AFTER_PROP:a,PREFIX_AFTER_COLON:u,PREFIX_AFTER_VALUE:h,PREFIX_AFTER_COMMA:o,PREFIX_AFTER:g,PREFIX_AFTER_ALL:P,BRACKET_OPEN:T,BRACKET_CLOSE:I,CURLY_BRACKET_OPEN:M,CURLY_BRACKET_CLOSE:X,COLON:l,COMMA:J,EMPTY:k,UNDEFINED:c}},360:function(t){"use strict";var e="";var i;t.exports=repeat;function repeat(t,r){if(typeof t!=="string"){throw new TypeError("expected a string")}if(r===1)return t;if(r===2)return t+t;var n=t.length*r;if(i!==t||typeof i==="undefined"){i=t;e=""}else if(e.length>=n){return e.substr(0,n)}while(n>e.length&&r>1){if(r&1){e+=t}r>>=1;t+=t}e+=t;e=e.substr(0,n);return e}},501:function(t){(function webpackUniversalModuleDefinition(e,i){if(true)t.exports=i();else{}})(this,function(){return function(t){var e={};function __webpack_require__(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:false};t[i].call(r.exports,r,r.exports,__webpack_require__);r.loaded=true;return r.exports}__webpack_require__.m=t;__webpack_require__.c=e;__webpack_require__.p="";return __webpack_require__(0)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(1);var n=i(3);var s=i(8);var a=i(15);function parse(t,e,i){var a=null;var u=function(t,e){if(i){i(t,e)}if(a){a.visit(t,e)}};var h=typeof i==="function"?u:null;var o=false;if(e){o=typeof e.comment==="boolean"&&e.comment;var l=typeof e.attachComment==="boolean"&&e.attachComment;if(o||l){a=new r.CommentHandler;a.attach=l;e.comment=true;h=u}}var c=false;if(e&&typeof e.sourceType==="string"){c=e.sourceType==="module"}var p;if(e&&typeof e.jsx==="boolean"&&e.jsx){p=new n.JSXParser(t,e,h)}else{p=new s.Parser(t,e,h)}var f=c?p.parseModule():p.parseScript();var D=f;if(o&&a){D.comments=a.comments}if(p.config.tokens){D.tokens=p.tokens}if(p.config.tolerant){D.errors=p.errorHandler.errors}return D}e.parse=parse;function parseModule(t,e,i){var r=e||{};r.sourceType="module";return parse(t,r,i)}e.parseModule=parseModule;function parseScript(t,e,i){var r=e||{};r.sourceType="script";return parse(t,r,i)}e.parseScript=parseScript;function tokenize(t,e,i){var r=new a.Tokenizer(t,e);var n;n=[];try{while(true){var s=r.getNextToken();if(!s){break}if(i){s=i(s)}n.push(s)}}catch(t){r.errorHandler.tolerate(t)}if(r.errorHandler.tolerant){n.errors=r.errors()}return n}e.tokenize=tokenize;var u=i(2);e.Syntax=u.Syntax;e.version="4.0.1"},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(2);var n=function(){function CommentHandler(){this.attach=false;this.comments=[];this.stack=[];this.leading=[];this.trailing=[]}CommentHandler.prototype.insertInnerComments=function(t,e){if(t.type===r.Syntax.BlockStatement&&t.body.length===0){var i=[];for(var n=this.leading.length-1;n>=0;--n){var s=this.leading[n];if(e.end.offset>=s.start){i.unshift(s.comment);this.leading.splice(n,1);this.trailing.splice(n,1)}}if(i.length){t.innerComments=i}}};CommentHandler.prototype.findTrailingComments=function(t){var e=[];if(this.trailing.length>0){for(var i=this.trailing.length-1;i>=0;--i){var r=this.trailing[i];if(r.start>=t.end.offset){e.unshift(r.comment)}}this.trailing.length=0;return e}var n=this.stack[this.stack.length-1];if(n&&n.node.trailingComments){var s=n.node.trailingComments[0];if(s&&s.range[0]>=t.end.offset){e=n.node.trailingComments;delete n.node.trailingComments}}return e};CommentHandler.prototype.findLeadingComments=function(t){var e=[];var i;while(this.stack.length>0){var r=this.stack[this.stack.length-1];if(r&&r.start>=t.start.offset){i=r.node;this.stack.pop()}else{break}}if(i){var n=i.leadingComments?i.leadingComments.length:0;for(var s=n-1;s>=0;--s){var a=i.leadingComments[s];if(a.range[1]<=t.start.offset){e.unshift(a);i.leadingComments.splice(s,1)}}if(i.leadingComments&&i.leadingComments.length===0){delete i.leadingComments}return e}for(var s=this.leading.length-1;s>=0;--s){var r=this.leading[s];if(r.start<=t.start.offset){e.unshift(r.comment);this.leading.splice(s,1)}}return e};CommentHandler.prototype.visitNode=function(t,e){if(t.type===r.Syntax.Program&&t.body.length>0){return}this.insertInnerComments(t,e);var i=this.findTrailingComments(e);var n=this.findLeadingComments(e);if(n.length>0){t.leadingComments=n}if(i.length>0){t.trailingComments=i}this.stack.push({node:t,start:e.start.offset})};CommentHandler.prototype.visitComment=function(t,e){var i=t.type[0]==="L"?"Line":"Block";var r={type:i,value:t.value};if(t.range){r.range=t.range}if(t.loc){r.loc=t.loc}this.comments.push(r);if(this.attach){var n={comment:{type:i,value:t.value,range:[e.start.offset,e.end.offset]},start:e.start.offset};if(t.loc){n.comment.loc=t.loc}t.type=i;this.leading.push(n);this.trailing.push(n)}};CommentHandler.prototype.visit=function(t,e){if(t.type==="LineComment"){this.visitComment(t,e)}else if(t.type==="BlockComment"){this.visitComment(t,e)}else if(this.attach){this.visitNode(t,e)}};return CommentHandler}();e.CommentHandler=n},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(t,e,i){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)if(e.hasOwnProperty(i))t[i]=e[i]};return function(e,i){t(e,i);function __(){this.constructor=e}e.prototype=i===null?Object.create(i):(__.prototype=i.prototype,new __)}}();Object.defineProperty(e,"__esModule",{value:true});var n=i(4);var s=i(5);var a=i(6);var u=i(7);var h=i(8);var o=i(13);var l=i(14);o.TokenName[100]="JSXIdentifier";o.TokenName[101]="JSXText";function getQualifiedElementName(t){var e;switch(t.type){case a.JSXSyntax.JSXIdentifier:var i=t;e=i.name;break;case a.JSXSyntax.JSXNamespacedName:var r=t;e=getQualifiedElementName(r.namespace)+":"+getQualifiedElementName(r.name);break;case a.JSXSyntax.JSXMemberExpression:var n=t;e=getQualifiedElementName(n.object)+"."+getQualifiedElementName(n.property);break;default:break}return e}var c=function(t){r(JSXParser,t);function JSXParser(e,i,r){return t.call(this,e,i,r)||this}JSXParser.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():t.prototype.parsePrimaryExpression.call(this)};JSXParser.prototype.startJSX=function(){this.scanner.index=this.startMarker.index;this.scanner.lineNumber=this.startMarker.line;this.scanner.lineStart=this.startMarker.index-this.startMarker.column};JSXParser.prototype.finishJSX=function(){this.nextToken()};JSXParser.prototype.reenterJSX=function(){this.startJSX();this.expectJSX("}");if(this.config.tokens){this.tokens.pop()}};JSXParser.prototype.createJSXNode=function(){this.collectComments();return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}};JSXParser.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}};JSXParser.prototype.scanXHTMLEntity=function(t){var e="&";var i=true;var r=false;var s=false;var a=false;while(!this.scanner.eof()&&i&&!r){var u=this.scanner.source[this.scanner.index];if(u===t){break}r=u===";";e+=u;++this.scanner.index;if(!r){switch(e.length){case 2:s=u==="#";break;case 3:if(s){a=u==="x";i=a||n.Character.isDecimalDigit(u.charCodeAt(0));s=s&&!a}break;default:i=i&&!(s&&!n.Character.isDecimalDigit(u.charCodeAt(0)));i=i&&!(a&&!n.Character.isHexDigit(u.charCodeAt(0)));break}}}if(i&&r&&e.length>2){var h=e.substr(1,e.length-2);if(s&&h.length>1){e=String.fromCharCode(parseInt(h.substr(1),10))}else if(a&&h.length>2){e=String.fromCharCode(parseInt("0"+h.substr(1),16))}else if(!s&&!a&&l.XHTMLEntities[h]){e=l.XHTMLEntities[h]}}return e};JSXParser.prototype.lexJSX=function(){var t=this.scanner.source.charCodeAt(this.scanner.index);if(t===60||t===62||t===47||t===58||t===61||t===123||t===125){var e=this.scanner.source[this.scanner.index++];return{type:7,value:e,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(t===34||t===39){var i=this.scanner.index;var r=this.scanner.source[this.scanner.index++];var s="";while(!this.scanner.eof()){var a=this.scanner.source[this.scanner.index++];if(a===r){break}else if(a==="&"){s+=this.scanXHTMLEntity(r)}else{s+=a}}return{type:8,value:s,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index}}if(t===46){var u=this.scanner.source.charCodeAt(this.scanner.index+1);var h=this.scanner.source.charCodeAt(this.scanner.index+2);var e=u===46&&h===46?"...":".";var i=this.scanner.index;this.scanner.index+=e.length;return{type:7,value:e,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index}}if(t===96){return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index}}if(n.Character.isIdentifierStart(t)&&t!==92){var i=this.scanner.index;++this.scanner.index;while(!this.scanner.eof()){var a=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(a)&&a!==92){++this.scanner.index}else if(a===45){++this.scanner.index}else{break}}var o=this.scanner.source.slice(i,this.scanner.index);return{type:100,value:o,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index}}return this.scanner.lex()};JSXParser.prototype.nextJSXToken=function(){this.collectComments();this.startMarker.index=this.scanner.index;this.startMarker.line=this.scanner.lineNumber;this.startMarker.column=this.scanner.index-this.scanner.lineStart;var t=this.lexJSX();this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;if(this.config.tokens){this.tokens.push(this.convertToken(t))}return t};JSXParser.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index;this.startMarker.line=this.scanner.lineNumber;this.startMarker.column=this.scanner.index-this.scanner.lineStart;var t=this.scanner.index;var e="";while(!this.scanner.eof()){var i=this.scanner.source[this.scanner.index];if(i==="{"||i==="<"){break}++this.scanner.index;e+=i;if(n.Character.isLineTerminator(i.charCodeAt(0))){++this.scanner.lineNumber;if(i==="\r"&&this.scanner.source[this.scanner.index]==="\n"){++this.scanner.index}this.scanner.lineStart=this.scanner.index}}this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var r={type:101,value:e,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index};if(e.length>0&&this.config.tokens){this.tokens.push(this.convertToken(r))}return r};JSXParser.prototype.peekJSXToken=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.lexJSX();this.scanner.restoreState(t);return e};JSXParser.prototype.expectJSX=function(t){var e=this.nextJSXToken();if(e.type!==7||e.value!==t){this.throwUnexpectedToken(e)}};JSXParser.prototype.matchJSX=function(t){var e=this.peekJSXToken();return e.type===7&&e.value===t};JSXParser.prototype.parseJSXIdentifier=function(){var t=this.createJSXNode();var e=this.nextJSXToken();if(e.type!==100){this.throwUnexpectedToken(e)}return this.finalize(t,new s.JSXIdentifier(e.value))};JSXParser.prototype.parseJSXElementName=function(){var t=this.createJSXNode();var e=this.parseJSXIdentifier();if(this.matchJSX(":")){var i=e;this.expectJSX(":");var r=this.parseJSXIdentifier();e=this.finalize(t,new s.JSXNamespacedName(i,r))}else if(this.matchJSX(".")){while(this.matchJSX(".")){var n=e;this.expectJSX(".");var a=this.parseJSXIdentifier();e=this.finalize(t,new s.JSXMemberExpression(n,a))}}return e};JSXParser.prototype.parseJSXAttributeName=function(){var t=this.createJSXNode();var e;var i=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=i;this.expectJSX(":");var n=this.parseJSXIdentifier();e=this.finalize(t,new s.JSXNamespacedName(r,n))}else{e=i}return e};JSXParser.prototype.parseJSXStringLiteralAttribute=function(){var t=this.createJSXNode();var e=this.nextJSXToken();if(e.type!==8){this.throwUnexpectedToken(e)}var i=this.getTokenRaw(e);return this.finalize(t,new u.Literal(e.value,i))};JSXParser.prototype.parseJSXExpressionAttribute=function(){var t=this.createJSXNode();this.expectJSX("{");this.finishJSX();if(this.match("}")){this.tolerateError("JSX attributes must only be assigned a non-empty expression")}var e=this.parseAssignmentExpression();this.reenterJSX();return this.finalize(t,new s.JSXExpressionContainer(e))};JSXParser.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()};JSXParser.prototype.parseJSXNameValueAttribute=function(){var t=this.createJSXNode();var e=this.parseJSXAttributeName();var i=null;if(this.matchJSX("=")){this.expectJSX("=");i=this.parseJSXAttributeValue()}return this.finalize(t,new s.JSXAttribute(e,i))};JSXParser.prototype.parseJSXSpreadAttribute=function(){var t=this.createJSXNode();this.expectJSX("{");this.expectJSX("...");this.finishJSX();var e=this.parseAssignmentExpression();this.reenterJSX();return this.finalize(t,new s.JSXSpreadAttribute(e))};JSXParser.prototype.parseJSXAttributes=function(){var t=[];while(!this.matchJSX("/")&&!this.matchJSX(">")){var e=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();t.push(e)}return t};JSXParser.prototype.parseJSXOpeningElement=function(){var t=this.createJSXNode();this.expectJSX("<");var e=this.parseJSXElementName();var i=this.parseJSXAttributes();var r=this.matchJSX("/");if(r){this.expectJSX("/")}this.expectJSX(">");return this.finalize(t,new s.JSXOpeningElement(e,r,i))};JSXParser.prototype.parseJSXBoundaryElement=function(){var t=this.createJSXNode();this.expectJSX("<");if(this.matchJSX("/")){this.expectJSX("/");var e=this.parseJSXElementName();this.expectJSX(">");return this.finalize(t,new s.JSXClosingElement(e))}var i=this.parseJSXElementName();var r=this.parseJSXAttributes();var n=this.matchJSX("/");if(n){this.expectJSX("/")}this.expectJSX(">");return this.finalize(t,new s.JSXOpeningElement(i,n,r))};JSXParser.prototype.parseJSXEmptyExpression=function(){var t=this.createJSXChildNode();this.collectComments();this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;return this.finalize(t,new s.JSXEmptyExpression)};JSXParser.prototype.parseJSXExpressionContainer=function(){var t=this.createJSXNode();this.expectJSX("{");var e;if(this.matchJSX("}")){e=this.parseJSXEmptyExpression();this.expectJSX("}")}else{this.finishJSX();e=this.parseAssignmentExpression();this.reenterJSX()}return this.finalize(t,new s.JSXExpressionContainer(e))};JSXParser.prototype.parseJSXChildren=function(){var t=[];while(!this.scanner.eof()){var e=this.createJSXChildNode();var i=this.nextJSXText();if(i.start0){var u=this.finalize(t.node,new s.JSXElement(t.opening,t.children,t.closing));t=e[e.length-1];t.children.push(u);e.pop()}else{break}}}return t};JSXParser.prototype.parseJSXElement=function(){var t=this.createJSXNode();var e=this.parseJSXOpeningElement();var i=[];var r=null;if(!e.selfClosing){var n=this.parseComplexJSXElement({node:t,opening:e,closing:r,children:i});i=n.children;r=n.closing}return this.finalize(t,new s.JSXElement(e,i,r))};JSXParser.prototype.parseJSXRoot=function(){if(this.config.tokens){this.tokens.pop()}this.startJSX();var t=this.parseJSXElement();this.finishJSX();return t};JSXParser.prototype.isStartOfExpression=function(){return t.prototype.isStartOfExpression.call(this)||this.match("<")};return JSXParser}(h.Parser);e.JSXParser=c},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});var i={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};e.Character={fromCodePoint:function(t){return t<65536?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10))+String.fromCharCode(56320+(t-65536&1023))},isWhiteSpace:function(t){return t===32||t===9||t===11||t===12||t===160||t>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(t)>=0},isLineTerminator:function(t){return t===10||t===13||t===8232||t===8233},isIdentifierStart:function(t){return t===36||t===95||t>=65&&t<=90||t>=97&&t<=122||t===92||t>=128&&i.NonAsciiIdentifierStart.test(e.Character.fromCodePoint(t))},isIdentifierPart:function(t){return t===36||t===95||t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===92||t>=128&&i.NonAsciiIdentifierPart.test(e.Character.fromCodePoint(t))},isDecimalDigit:function(t){return t>=48&&t<=57},isHexDigit:function(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102},isOctalDigit:function(t){return t>=48&&t<=55}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(6);var n=function(){function JSXClosingElement(t){this.type=r.JSXSyntax.JSXClosingElement;this.name=t}return JSXClosingElement}();e.JSXClosingElement=n;var s=function(){function JSXElement(t,e,i){this.type=r.JSXSyntax.JSXElement;this.openingElement=t;this.children=e;this.closingElement=i}return JSXElement}();e.JSXElement=s;var a=function(){function JSXEmptyExpression(){this.type=r.JSXSyntax.JSXEmptyExpression}return JSXEmptyExpression}();e.JSXEmptyExpression=a;var u=function(){function JSXExpressionContainer(t){this.type=r.JSXSyntax.JSXExpressionContainer;this.expression=t}return JSXExpressionContainer}();e.JSXExpressionContainer=u;var h=function(){function JSXIdentifier(t){this.type=r.JSXSyntax.JSXIdentifier;this.name=t}return JSXIdentifier}();e.JSXIdentifier=h;var o=function(){function JSXMemberExpression(t,e){this.type=r.JSXSyntax.JSXMemberExpression;this.object=t;this.property=e}return JSXMemberExpression}();e.JSXMemberExpression=o;var l=function(){function JSXAttribute(t,e){this.type=r.JSXSyntax.JSXAttribute;this.name=t;this.value=e}return JSXAttribute}();e.JSXAttribute=l;var c=function(){function JSXNamespacedName(t,e){this.type=r.JSXSyntax.JSXNamespacedName;this.namespace=t;this.name=e}return JSXNamespacedName}();e.JSXNamespacedName=c;var p=function(){function JSXOpeningElement(t,e,i){this.type=r.JSXSyntax.JSXOpeningElement;this.name=t;this.selfClosing=e;this.attributes=i}return JSXOpeningElement}();e.JSXOpeningElement=p;var f=function(){function JSXSpreadAttribute(t){this.type=r.JSXSyntax.JSXSpreadAttribute;this.argument=t}return JSXSpreadAttribute}();e.JSXSpreadAttribute=f;var D=function(){function JSXText(t,e){this.type=r.JSXSyntax.JSXText;this.value=t;this.raw=e}return JSXText}();e.JSXText=D},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(2);var n=function(){function ArrayExpression(t){this.type=r.Syntax.ArrayExpression;this.elements=t}return ArrayExpression}();e.ArrayExpression=n;var s=function(){function ArrayPattern(t){this.type=r.Syntax.ArrayPattern;this.elements=t}return ArrayPattern}();e.ArrayPattern=s;var a=function(){function ArrowFunctionExpression(t,e,i){this.type=r.Syntax.ArrowFunctionExpression;this.id=null;this.params=t;this.body=e;this.generator=false;this.expression=i;this.async=false}return ArrowFunctionExpression}();e.ArrowFunctionExpression=a;var u=function(){function AssignmentExpression(t,e,i){this.type=r.Syntax.AssignmentExpression;this.operator=t;this.left=e;this.right=i}return AssignmentExpression}();e.AssignmentExpression=u;var h=function(){function AssignmentPattern(t,e){this.type=r.Syntax.AssignmentPattern;this.left=t;this.right=e}return AssignmentPattern}();e.AssignmentPattern=h;var o=function(){function AsyncArrowFunctionExpression(t,e,i){this.type=r.Syntax.ArrowFunctionExpression;this.id=null;this.params=t;this.body=e;this.generator=false;this.expression=i;this.async=true}return AsyncArrowFunctionExpression}();e.AsyncArrowFunctionExpression=o;var l=function(){function AsyncFunctionDeclaration(t,e,i){this.type=r.Syntax.FunctionDeclaration;this.id=t;this.params=e;this.body=i;this.generator=false;this.expression=false;this.async=true}return AsyncFunctionDeclaration}();e.AsyncFunctionDeclaration=l;var c=function(){function AsyncFunctionExpression(t,e,i){this.type=r.Syntax.FunctionExpression;this.id=t;this.params=e;this.body=i;this.generator=false;this.expression=false;this.async=true}return AsyncFunctionExpression}();e.AsyncFunctionExpression=c;var p=function(){function AwaitExpression(t){this.type=r.Syntax.AwaitExpression;this.argument=t}return AwaitExpression}();e.AwaitExpression=p;var f=function(){function BinaryExpression(t,e,i){var n=t==="||"||t==="&&";this.type=n?r.Syntax.LogicalExpression:r.Syntax.BinaryExpression;this.operator=t;this.left=e;this.right=i}return BinaryExpression}();e.BinaryExpression=f;var D=function(){function BlockStatement(t){this.type=r.Syntax.BlockStatement;this.body=t}return BlockStatement}();e.BlockStatement=D;var x=function(){function BreakStatement(t){this.type=r.Syntax.BreakStatement;this.label=t}return BreakStatement}();e.BreakStatement=x;var E=function(){function CallExpression(t,e){this.type=r.Syntax.CallExpression;this.callee=t;this.arguments=e}return CallExpression}();e.CallExpression=E;var m=function(){function CatchClause(t,e){this.type=r.Syntax.CatchClause;this.param=t;this.body=e}return CatchClause}();e.CatchClause=m;var v=function(){function ClassBody(t){this.type=r.Syntax.ClassBody;this.body=t}return ClassBody}();e.ClassBody=v;var C=function(){function ClassDeclaration(t,e,i){this.type=r.Syntax.ClassDeclaration;this.id=t;this.superClass=e;this.body=i}return ClassDeclaration}();e.ClassDeclaration=C;var S=function(){function ClassExpression(t,e,i){this.type=r.Syntax.ClassExpression;this.id=t;this.superClass=e;this.body=i}return ClassExpression}();e.ClassExpression=S;var A=function(){function ComputedMemberExpression(t,e){this.type=r.Syntax.MemberExpression;this.computed=true;this.object=t;this.property=e}return ComputedMemberExpression}();e.ComputedMemberExpression=A;var d=function(){function ConditionalExpression(t,e,i){this.type=r.Syntax.ConditionalExpression;this.test=t;this.consequent=e;this.alternate=i}return ConditionalExpression}();e.ConditionalExpression=d;var y=function(){function ContinueStatement(t){this.type=r.Syntax.ContinueStatement;this.label=t}return ContinueStatement}();e.ContinueStatement=y;var F=function(){function DebuggerStatement(){this.type=r.Syntax.DebuggerStatement}return DebuggerStatement}();e.DebuggerStatement=F;var w=function(){function Directive(t,e){this.type=r.Syntax.ExpressionStatement;this.expression=t;this.directive=e}return Directive}();e.Directive=w;var b=function(){function DoWhileStatement(t,e){this.type=r.Syntax.DoWhileStatement;this.body=t;this.test=e}return DoWhileStatement}();e.DoWhileStatement=b;var B=function(){function EmptyStatement(){this.type=r.Syntax.EmptyStatement}return EmptyStatement}();e.EmptyStatement=B;var g=function(){function ExportAllDeclaration(t){this.type=r.Syntax.ExportAllDeclaration;this.source=t}return ExportAllDeclaration}();e.ExportAllDeclaration=g;var P=function(){function ExportDefaultDeclaration(t){this.type=r.Syntax.ExportDefaultDeclaration;this.declaration=t}return ExportDefaultDeclaration}();e.ExportDefaultDeclaration=P;var T=function(){function ExportNamedDeclaration(t,e,i){this.type=r.Syntax.ExportNamedDeclaration;this.declaration=t;this.specifiers=e;this.source=i}return ExportNamedDeclaration}();e.ExportNamedDeclaration=T;var I=function(){function ExportSpecifier(t,e){this.type=r.Syntax.ExportSpecifier;this.exported=e;this.local=t}return ExportSpecifier}();e.ExportSpecifier=I;var M=function(){function ExpressionStatement(t){this.type=r.Syntax.ExpressionStatement;this.expression=t}return ExpressionStatement}();e.ExpressionStatement=M;var X=function(){function ForInStatement(t,e,i){this.type=r.Syntax.ForInStatement;this.left=t;this.right=e;this.body=i;this.each=false}return ForInStatement}();e.ForInStatement=X;var J=function(){function ForOfStatement(t,e,i){this.type=r.Syntax.ForOfStatement;this.left=t;this.right=e;this.body=i}return ForOfStatement}();e.ForOfStatement=J;var k=function(){function ForStatement(t,e,i,n){this.type=r.Syntax.ForStatement;this.init=t;this.test=e;this.update=i;this.body=n}return ForStatement}();e.ForStatement=k;var N=function(){function FunctionDeclaration(t,e,i,n){this.type=r.Syntax.FunctionDeclaration;this.id=t;this.params=e;this.body=i;this.generator=n;this.expression=false;this.async=false}return FunctionDeclaration}();e.FunctionDeclaration=N;var L=function(){function FunctionExpression(t,e,i,n){this.type=r.Syntax.FunctionExpression;this.id=t;this.params=e;this.body=i;this.generator=n;this.expression=false;this.async=false}return FunctionExpression}();e.FunctionExpression=L;var U=function(){function Identifier(t){this.type=r.Syntax.Identifier;this.name=t}return Identifier}();e.Identifier=U;var O=function(){function IfStatement(t,e,i){this.type=r.Syntax.IfStatement;this.test=t;this.consequent=e;this.alternate=i}return IfStatement}();e.IfStatement=O;var R=function(){function ImportDeclaration(t,e){this.type=r.Syntax.ImportDeclaration;this.specifiers=t;this.source=e}return ImportDeclaration}();e.ImportDeclaration=R;var z=function(){function ImportDefaultSpecifier(t){this.type=r.Syntax.ImportDefaultSpecifier;this.local=t}return ImportDefaultSpecifier}();e.ImportDefaultSpecifier=z;var K=function(){function ImportNamespaceSpecifier(t){this.type=r.Syntax.ImportNamespaceSpecifier;this.local=t}return ImportNamespaceSpecifier}();e.ImportNamespaceSpecifier=K;var j=function(){function ImportSpecifier(t,e){this.type=r.Syntax.ImportSpecifier;this.local=t;this.imported=e}return ImportSpecifier}();e.ImportSpecifier=j;var H=function(){function LabeledStatement(t,e){this.type=r.Syntax.LabeledStatement;this.label=t;this.body=e}return LabeledStatement}();e.LabeledStatement=H;var W=function(){function Literal(t,e){this.type=r.Syntax.Literal;this.value=t;this.raw=e}return Literal}();e.Literal=W;var V=function(){function MetaProperty(t,e){this.type=r.Syntax.MetaProperty;this.meta=t;this.property=e}return MetaProperty}();e.MetaProperty=V;var G=function(){function MethodDefinition(t,e,i,n,s){this.type=r.Syntax.MethodDefinition;this.key=t;this.computed=e;this.value=i;this.kind=n;this.static=s}return MethodDefinition}();e.MethodDefinition=G;var Y=function(){function Module(t){this.type=r.Syntax.Program;this.body=t;this.sourceType="module"}return Module}();e.Module=Y;var q=function(){function NewExpression(t,e){this.type=r.Syntax.NewExpression;this.callee=t;this.arguments=e}return NewExpression}();e.NewExpression=q;var $=function(){function ObjectExpression(t){this.type=r.Syntax.ObjectExpression;this.properties=t}return ObjectExpression}();e.ObjectExpression=$;var Q=function(){function ObjectPattern(t){this.type=r.Syntax.ObjectPattern;this.properties=t}return ObjectPattern}();e.ObjectPattern=Q;var Z=function(){function Property(t,e,i,n,s,a){this.type=r.Syntax.Property;this.key=e;this.computed=i;this.value=n;this.kind=t;this.method=s;this.shorthand=a}return Property}();e.Property=Z;var _=function(){function RegexLiteral(t,e,i,n){this.type=r.Syntax.Literal;this.value=t;this.raw=e;this.regex={pattern:i,flags:n}}return RegexLiteral}();e.RegexLiteral=_;var tt=function(){function RestElement(t){this.type=r.Syntax.RestElement;this.argument=t}return RestElement}();e.RestElement=tt;var et=function(){function ReturnStatement(t){this.type=r.Syntax.ReturnStatement;this.argument=t}return ReturnStatement}();e.ReturnStatement=et;var it=function(){function Script(t){this.type=r.Syntax.Program;this.body=t;this.sourceType="script"}return Script}();e.Script=it;var rt=function(){function SequenceExpression(t){this.type=r.Syntax.SequenceExpression;this.expressions=t}return SequenceExpression}();e.SequenceExpression=rt;var nt=function(){function SpreadElement(t){this.type=r.Syntax.SpreadElement;this.argument=t}return SpreadElement}();e.SpreadElement=nt;var st=function(){function StaticMemberExpression(t,e){this.type=r.Syntax.MemberExpression;this.computed=false;this.object=t;this.property=e}return StaticMemberExpression}();e.StaticMemberExpression=st;var at=function(){function Super(){this.type=r.Syntax.Super}return Super}();e.Super=at;var ut=function(){function SwitchCase(t,e){this.type=r.Syntax.SwitchCase;this.test=t;this.consequent=e}return SwitchCase}();e.SwitchCase=ut;var ht=function(){function SwitchStatement(t,e){this.type=r.Syntax.SwitchStatement;this.discriminant=t;this.cases=e}return SwitchStatement}();e.SwitchStatement=ht;var ot=function(){function TaggedTemplateExpression(t,e){this.type=r.Syntax.TaggedTemplateExpression;this.tag=t;this.quasi=e}return TaggedTemplateExpression}();e.TaggedTemplateExpression=ot;var lt=function(){function TemplateElement(t,e){this.type=r.Syntax.TemplateElement;this.value=t;this.tail=e}return TemplateElement}();e.TemplateElement=lt;var ct=function(){function TemplateLiteral(t,e){this.type=r.Syntax.TemplateLiteral;this.quasis=t;this.expressions=e}return TemplateLiteral}();e.TemplateLiteral=ct;var pt=function(){function ThisExpression(){this.type=r.Syntax.ThisExpression}return ThisExpression}();e.ThisExpression=pt;var ft=function(){function ThrowStatement(t){this.type=r.Syntax.ThrowStatement;this.argument=t}return ThrowStatement}();e.ThrowStatement=ft;var Dt=function(){function TryStatement(t,e,i){this.type=r.Syntax.TryStatement;this.block=t;this.handler=e;this.finalizer=i}return TryStatement}();e.TryStatement=Dt;var xt=function(){function UnaryExpression(t,e){this.type=r.Syntax.UnaryExpression;this.operator=t;this.argument=e;this.prefix=true}return UnaryExpression}();e.UnaryExpression=xt;var Et=function(){function UpdateExpression(t,e,i){this.type=r.Syntax.UpdateExpression;this.operator=t;this.argument=e;this.prefix=i}return UpdateExpression}();e.UpdateExpression=Et;var mt=function(){function VariableDeclaration(t,e){this.type=r.Syntax.VariableDeclaration;this.declarations=t;this.kind=e}return VariableDeclaration}();e.VariableDeclaration=mt;var vt=function(){function VariableDeclarator(t,e){this.type=r.Syntax.VariableDeclarator;this.id=t;this.init=e}return VariableDeclarator}();e.VariableDeclarator=vt;var Ct=function(){function WhileStatement(t,e){this.type=r.Syntax.WhileStatement;this.test=t;this.body=e}return WhileStatement}();e.WhileStatement=Ct;var St=function(){function WithStatement(t,e){this.type=r.Syntax.WithStatement;this.object=t;this.body=e}return WithStatement}();e.WithStatement=St;var At=function(){function YieldExpression(t,e){this.type=r.Syntax.YieldExpression;this.argument=t;this.delegate=e}return YieldExpression}();e.YieldExpression=At},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(9);var n=i(10);var s=i(11);var a=i(7);var u=i(12);var h=i(2);var o=i(13);var l="ArrowParameterPlaceHolder";var c=function(){function Parser(t,e,i){if(e===void 0){e={}}this.config={range:typeof e.range==="boolean"&&e.range,loc:typeof e.loc==="boolean"&&e.loc,source:null,tokens:typeof e.tokens==="boolean"&&e.tokens,comment:typeof e.comment==="boolean"&&e.comment,tolerant:typeof e.tolerant==="boolean"&&e.tolerant};if(this.config.loc&&e.source&&e.source!==null){this.config.source=String(e.source)}this.delegate=i;this.errorHandler=new n.ErrorHandler;this.errorHandler.tolerant=this.config.tolerant;this.scanner=new u.Scanner(t,this.errorHandler);this.scanner.trackComment=this.config.comment;this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11};this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0};this.hasLineTerminator=false;this.context={isModule:false,await:false,allowIn:true,allowStrictDirective:true,allowYield:true,firstCoverInitializedNameError:null,isAssignmentTarget:false,isBindingElement:false,inFunctionBody:false,inIteration:false,inSwitch:false,labelSet:{},strict:false};this.tokens=[];this.startMarker={index:0,line:this.scanner.lineNumber,column:0};this.lastMarker={index:0,line:this.scanner.lineNumber,column:0};this.nextToken();this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}Parser.prototype.throwError=function(t){var e=[];for(var i=1;i0&&this.delegate){for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="};Parser.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement;var i=this.context.isAssignmentTarget;var r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=true;this.context.isAssignmentTarget=true;this.context.firstCoverInitializedNameError=null;var n=t.call(this);if(this.context.firstCoverInitializedNameError!==null){this.throwUnexpectedToken(this.context.firstCoverInitializedNameError)}this.context.isBindingElement=e;this.context.isAssignmentTarget=i;this.context.firstCoverInitializedNameError=r;return n};Parser.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement;var i=this.context.isAssignmentTarget;var r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=true;this.context.isAssignmentTarget=true;this.context.firstCoverInitializedNameError=null;var n=t.call(this);this.context.isBindingElement=this.context.isBindingElement&&e;this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i;this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError;return n};Parser.prototype.consumeSemicolon=function(){if(this.match(";")){this.nextToken()}else if(!this.hasLineTerminator){if(this.lookahead.type!==2&&!this.match("}")){this.throwUnexpectedToken(this.lookahead)}this.lastMarker.index=this.startMarker.index;this.lastMarker.line=this.startMarker.line;this.lastMarker.column=this.startMarker.column}};Parser.prototype.parsePrimaryExpression=function(){var t=this.createNode();var e;var i,r;switch(this.lookahead.type){case 3:if((this.context.isModule||this.context.await)&&this.lookahead.value==="await"){this.tolerateUnexpectedToken(this.lookahead)}e=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(t,new a.Identifier(this.nextToken().value));break;case 6:case 8:if(this.context.strict&&this.lookahead.octal){this.tolerateUnexpectedToken(this.lookahead,s.Messages.StrictOctalLiteral)}this.context.isAssignmentTarget=false;this.context.isBindingElement=false;i=this.nextToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.Literal(i.value,r));break;case 1:this.context.isAssignmentTarget=false;this.context.isBindingElement=false;i=this.nextToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.Literal(i.value==="true",r));break;case 5:this.context.isAssignmentTarget=false;this.context.isBindingElement=false;i=this.nextToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.Literal(null,r));break;case 10:e=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=false;e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=false;this.context.isBindingElement=false;this.scanner.index=this.startMarker.index;i=this.nextRegexToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.RegexLiteral(i.regex,r,i.pattern,i.flags));break;default:e=this.throwUnexpectedToken(this.nextToken())}break;case 4:if(!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")){e=this.parseIdentifierName()}else if(!this.context.strict&&this.matchKeyword("let")){e=this.finalize(t,new a.Identifier(this.nextToken().value))}else{this.context.isAssignmentTarget=false;this.context.isBindingElement=false;if(this.matchKeyword("function")){e=this.parseFunctionExpression()}else if(this.matchKeyword("this")){this.nextToken();e=this.finalize(t,new a.ThisExpression)}else if(this.matchKeyword("class")){e=this.parseClassExpression()}else{e=this.throwUnexpectedToken(this.nextToken())}}break;default:e=this.throwUnexpectedToken(this.nextToken())}return e};Parser.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new a.SpreadElement(e))};Parser.prototype.parseArrayInitializer=function(){var t=this.createNode();var e=[];this.expect("[");while(!this.match("]")){if(this.match(",")){this.nextToken();e.push(null)}else if(this.match("...")){var i=this.parseSpreadElement();if(!this.match("]")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;this.expect(",")}e.push(i)}else{e.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(!this.match("]")){this.expect(",")}}}this.expect("]");return this.finalize(t,new a.ArrayExpression(e))};Parser.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var e=this.context.strict;var i=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var r=this.isolateCoverGrammar(this.parseFunctionSourceElements);if(this.context.strict&&t.firstRestricted){this.tolerateUnexpectedToken(t.firstRestricted,t.message)}if(this.context.strict&&t.stricted){this.tolerateUnexpectedToken(t.stricted,t.message)}this.context.strict=e;this.context.allowStrictDirective=i;return r};Parser.prototype.parsePropertyMethodFunction=function(){var t=false;var e=this.createNode();var i=this.context.allowYield;this.context.allowYield=true;var r=this.parseFormalParameters();var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(e,new a.FunctionExpression(null,r.params,n,t))};Parser.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode();var e=this.context.allowYield;var i=this.context.await;this.context.allowYield=false;this.context.await=true;var r=this.parseFormalParameters();var n=this.parsePropertyMethod(r);this.context.allowYield=e;this.context.await=i;return this.finalize(t,new a.AsyncFunctionExpression(null,r.params,n))};Parser.prototype.parseObjectPropertyKey=function(){var t=this.createNode();var e=this.nextToken();var i;switch(e.type){case 8:case 6:if(this.context.strict&&e.octal){this.tolerateUnexpectedToken(e,s.Messages.StrictOctalLiteral)}var r=this.getTokenRaw(e);i=this.finalize(t,new a.Literal(e.value,r));break;case 3:case 1:case 5:case 4:i=this.finalize(t,new a.Identifier(e.value));break;case 7:if(e.value==="["){i=this.isolateCoverGrammar(this.parseAssignmentExpression);this.expect("]")}else{i=this.throwUnexpectedToken(e)}break;default:i=this.throwUnexpectedToken(e)}return i};Parser.prototype.isPropertyKey=function(t,e){return t.type===h.Syntax.Identifier&&t.name===e||t.type===h.Syntax.Literal&&t.value===e};Parser.prototype.parseObjectProperty=function(t){var e=this.createNode();var i=this.lookahead;var r;var n=null;var u=null;var h=false;var o=false;var l=false;var c=false;if(i.type===3){var p=i.value;this.nextToken();h=this.match("[");c=!this.hasLineTerminator&&p==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(",");n=c?this.parseObjectPropertyKey():this.finalize(e,new a.Identifier(p))}else if(this.match("*")){this.nextToken()}else{h=this.match("[");n=this.parseObjectPropertyKey()}var f=this.qualifiedPropertyName(this.lookahead);if(i.type===3&&!c&&i.value==="get"&&f){r="get";h=this.match("[");n=this.parseObjectPropertyKey();this.context.allowYield=false;u=this.parseGetterMethod()}else if(i.type===3&&!c&&i.value==="set"&&f){r="set";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseSetterMethod()}else if(i.type===7&&i.value==="*"&&f){r="init";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseGeneratorMethod();o=true}else{if(!n){this.throwUnexpectedToken(this.lookahead)}r="init";if(this.match(":")&&!c){if(!h&&this.isPropertyKey(n,"__proto__")){if(t.value){this.tolerateError(s.Messages.DuplicateProtoProperty)}t.value=true}this.nextToken();u=this.inheritCoverGrammar(this.parseAssignmentExpression)}else if(this.match("(")){u=c?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction();o=true}else if(i.type===3){var p=this.finalize(e,new a.Identifier(i.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead;this.nextToken();l=true;var D=this.isolateCoverGrammar(this.parseAssignmentExpression);u=this.finalize(e,new a.AssignmentPattern(p,D))}else{l=true;u=p}}else{this.throwUnexpectedToken(this.nextToken())}}return this.finalize(e,new a.Property(r,n,h,u,o,l))};Parser.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");var e=[];var i={value:false};while(!this.match("}")){e.push(this.parseObjectProperty(i));if(!this.match("}")){this.expectCommaSeparator()}}this.expect("}");return this.finalize(t,new a.ObjectExpression(e))};Parser.prototype.parseTemplateHead=function(){r.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode();var e=this.nextToken();var i=e.value;var n=e.cooked;return this.finalize(t,new a.TemplateElement({raw:i,cooked:n},e.tail))};Parser.prototype.parseTemplateElement=function(){if(this.lookahead.type!==10){this.throwUnexpectedToken()}var t=this.createNode();var e=this.nextToken();var i=e.value;var r=e.cooked;return this.finalize(t,new a.TemplateElement({raw:i,cooked:r},e.tail))};Parser.prototype.parseTemplateLiteral=function(){var t=this.createNode();var e=[];var i=[];var r=this.parseTemplateHead();i.push(r);while(!r.tail){e.push(this.parseExpression());r=this.parseTemplateElement();i.push(r)}return this.finalize(t,new a.TemplateLiteral(i,e))};Parser.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case h.Syntax.Identifier:case h.Syntax.MemberExpression:case h.Syntax.RestElement:case h.Syntax.AssignmentPattern:break;case h.Syntax.SpreadElement:t.type=h.Syntax.RestElement;this.reinterpretExpressionAsPattern(t.argument);break;case h.Syntax.ArrayExpression:t.type=h.Syntax.ArrayPattern;for(var e=0;e")){this.expect("=>")}t={type:l,params:[],async:false}}else{var e=this.lookahead;var i=[];if(this.match("...")){t=this.parseRestElement(i);this.expect(")");if(!this.match("=>")){this.expect("=>")}t={type:l,params:[t],async:false}}else{var r=false;this.context.isBindingElement=true;t=this.inheritCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var n=[];this.context.isAssignmentTarget=false;n.push(t);while(this.lookahead.type!==2){if(!this.match(",")){break}this.nextToken();if(this.match(")")){this.nextToken();for(var s=0;s")){this.expect("=>")}this.context.isBindingElement=false;for(var s=0;s")){if(t.type===h.Syntax.Identifier&&t.name==="yield"){r=true;t={type:l,params:[t],async:false}}if(!r){if(!this.context.isBindingElement){this.throwUnexpectedToken(this.lookahead)}if(t.type===h.Syntax.SequenceExpression){for(var s=0;s")){for(var h=0;h0){this.nextToken();this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var n=[t,this.lookahead];var s=e;var u=this.isolateCoverGrammar(this.parseExponentiationExpression);var h=[s,i.value,u];var o=[r];while(true){r=this.binaryPrecedence(this.lookahead);if(r<=0){break}while(h.length>2&&r<=o[o.length-1]){u=h.pop();var l=h.pop();o.pop();s=h.pop();n.pop();var c=this.startNode(n[n.length-1]);h.push(this.finalize(c,new a.BinaryExpression(l,s,u)))}h.push(this.nextToken().value);o.push(r);n.push(this.lookahead);h.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var p=h.length-1;e=h[p];var f=n.pop();while(p>1){var D=n.pop();var x=f&&f.lineStart;var c=this.startNode(D,x);var l=h[p-1];e=this.finalize(c,new a.BinaryExpression(l,h[p-2],e));p-=2;f=D}}return e};Parser.prototype.parseConditionalExpression=function(){var t=this.lookahead;var e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=true;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i;this.expect(":");var n=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new a.ConditionalExpression(e,r,n));this.context.isAssignmentTarget=false;this.context.isBindingElement=false}return e};Parser.prototype.checkPatternParam=function(t,e){switch(e.type){case h.Syntax.Identifier:this.validateParam(t,e,e.name);break;case h.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case h.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case h.Syntax.ArrayPattern:for(var i=0;i")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var n=t.async;var u=this.reinterpretAsCoverFormalsList(t);if(u){if(this.hasLineTerminator){this.tolerateUnexpectedToken(this.lookahead)}this.context.firstCoverInitializedNameError=null;var o=this.context.strict;var c=this.context.allowStrictDirective;this.context.allowStrictDirective=u.simple;var p=this.context.allowYield;var f=this.context.await;this.context.allowYield=true;this.context.await=n;var D=this.startNode(e);this.expect("=>");var x=void 0;if(this.match("{")){var E=this.context.allowIn;this.context.allowIn=true;x=this.parseFunctionSourceElements();this.context.allowIn=E}else{x=this.isolateCoverGrammar(this.parseAssignmentExpression)}var m=x.type!==h.Syntax.BlockStatement;if(this.context.strict&&u.firstRestricted){this.throwUnexpectedToken(u.firstRestricted,u.message)}if(this.context.strict&&u.stricted){this.tolerateUnexpectedToken(u.stricted,u.message)}t=n?this.finalize(D,new a.AsyncArrowFunctionExpression(u.params,x,m)):this.finalize(D,new a.ArrowFunctionExpression(u.params,x,m));this.context.strict=o;this.context.allowStrictDirective=c;this.context.allowYield=p;this.context.await=f}}else{if(this.matchAssign()){if(!this.context.isAssignmentTarget){this.tolerateError(s.Messages.InvalidLHSInAssignment)}if(this.context.strict&&t.type===h.Syntax.Identifier){var v=t;if(this.scanner.isRestrictedWord(v.name)){this.tolerateUnexpectedToken(i,s.Messages.StrictLHSAssignment)}if(this.scanner.isStrictModeReservedWord(v.name)){this.tolerateUnexpectedToken(i,s.Messages.StrictReservedWord)}}if(!this.match("=")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false}else{this.reinterpretExpressionAsPattern(t)}i=this.nextToken();var C=i.value;var S=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new a.AssignmentExpression(C,t,S));this.context.firstCoverInitializedNameError=null}}}return t};Parser.prototype.parseExpression=function(){var t=this.lookahead;var e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];i.push(e);while(this.lookahead.type!==2){if(!this.match(",")){break}this.nextToken();i.push(this.isolateCoverGrammar(this.parseAssignmentExpression))}e=this.finalize(this.startNode(t),new a.SequenceExpression(i))}return e};Parser.prototype.parseStatementListItem=function(){var t;this.context.isAssignmentTarget=true;this.context.isBindingElement=true;if(this.lookahead.type===4){switch(this.lookahead.value){case"export":if(!this.context.isModule){this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalExportDeclaration)}t=this.parseExportDeclaration();break;case"import":if(!this.context.isModule){this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalImportDeclaration)}t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:false});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:false}):this.parseStatement();break;default:t=this.parseStatement();break}}else{t=this.parseStatement()}return t};Parser.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");var e=[];while(true){if(this.match("}")){break}e.push(this.parseStatementListItem())}this.expect("}");return this.finalize(t,new a.BlockStatement(e))};Parser.prototype.parseLexicalBinding=function(t,e){var i=this.createNode();var r=[];var n=this.parsePattern(r,t);if(this.context.strict&&n.type===h.Syntax.Identifier){if(this.scanner.isRestrictedWord(n.name)){this.tolerateError(s.Messages.StrictVarName)}}var u=null;if(t==="const"){if(!this.matchKeyword("in")&&!this.matchContextualKeyword("of")){if(this.match("=")){this.nextToken();u=this.isolateCoverGrammar(this.parseAssignmentExpression)}else{this.throwError(s.Messages.DeclarationMissingInitializer,"const")}}}else if(!e.inFor&&n.type!==h.Syntax.Identifier||this.match("=")){this.expect("=");u=this.isolateCoverGrammar(this.parseAssignmentExpression)}return this.finalize(i,new a.VariableDeclarator(n,u))};Parser.prototype.parseBindingList=function(t,e){var i=[this.parseLexicalBinding(t,e)];while(this.match(",")){this.nextToken();i.push(this.parseLexicalBinding(t,e))}return i};Parser.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();this.scanner.restoreState(t);return e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"};Parser.prototype.parseLexicalDeclaration=function(t){var e=this.createNode();var i=this.nextToken().value;r.assert(i==="let"||i==="const","Lexical declaration must be either let or const");var n=this.parseBindingList(i,t);this.consumeSemicolon();return this.finalize(e,new a.VariableDeclaration(n,i))};Parser.prototype.parseBindingRestElement=function(t,e){var i=this.createNode();this.expect("...");var r=this.parsePattern(t,e);return this.finalize(i,new a.RestElement(r))};Parser.prototype.parseArrayPattern=function(t,e){var i=this.createNode();this.expect("[");var r=[];while(!this.match("]")){if(this.match(",")){this.nextToken();r.push(null)}else{if(this.match("...")){r.push(this.parseBindingRestElement(t,e));break}else{r.push(this.parsePatternWithDefault(t,e))}if(!this.match("]")){this.expect(",")}}}this.expect("]");return this.finalize(i,new a.ArrayPattern(r))};Parser.prototype.parsePropertyPattern=function(t,e){var i=this.createNode();var r=false;var n=false;var s=false;var u;var h;if(this.lookahead.type===3){var o=this.lookahead;u=this.parseVariableIdentifier();var l=this.finalize(i,new a.Identifier(o.value));if(this.match("=")){t.push(o);n=true;this.nextToken();var c=this.parseAssignmentExpression();h=this.finalize(this.startNode(o),new a.AssignmentPattern(l,c))}else if(!this.match(":")){t.push(o);n=true;h=l}else{this.expect(":");h=this.parsePatternWithDefault(t,e)}}else{r=this.match("[");u=this.parseObjectPropertyKey();this.expect(":");h=this.parsePatternWithDefault(t,e)}return this.finalize(i,new a.Property("init",u,r,h,s,n))};Parser.prototype.parseObjectPattern=function(t,e){var i=this.createNode();var r=[];this.expect("{");while(!this.match("}")){r.push(this.parsePropertyPattern(t,e));if(!this.match("}")){this.expect(",")}}this.expect("}");return this.finalize(i,new a.ObjectPattern(r))};Parser.prototype.parsePattern=function(t,e){var i;if(this.match("[")){i=this.parseArrayPattern(t,e)}else if(this.match("{")){i=this.parseObjectPattern(t,e)}else{if(this.matchKeyword("let")&&(e==="const"||e==="let")){this.tolerateUnexpectedToken(this.lookahead,s.Messages.LetInLexicalBinding)}t.push(this.lookahead);i=this.parseVariableIdentifier(e)}return i};Parser.prototype.parsePatternWithDefault=function(t,e){var i=this.lookahead;var r=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var n=this.context.allowYield;this.context.allowYield=true;var s=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=n;r=this.finalize(this.startNode(i),new a.AssignmentPattern(r,s))}return r};Parser.prototype.parseVariableIdentifier=function(t){var e=this.createNode();var i=this.nextToken();if(i.type===4&&i.value==="yield"){if(this.context.strict){this.tolerateUnexpectedToken(i,s.Messages.StrictReservedWord)}else if(!this.context.allowYield){this.throwUnexpectedToken(i)}}else if(i.type!==3){if(this.context.strict&&i.type===4&&this.scanner.isStrictModeReservedWord(i.value)){this.tolerateUnexpectedToken(i,s.Messages.StrictReservedWord)}else{if(this.context.strict||i.value!=="let"||t!=="var"){this.throwUnexpectedToken(i)}}}else if((this.context.isModule||this.context.await)&&i.type===3&&i.value==="await"){this.tolerateUnexpectedToken(i)}return this.finalize(e,new a.Identifier(i.value))};Parser.prototype.parseVariableDeclaration=function(t){var e=this.createNode();var i=[];var r=this.parsePattern(i,"var");if(this.context.strict&&r.type===h.Syntax.Identifier){if(this.scanner.isRestrictedWord(r.name)){this.tolerateError(s.Messages.StrictVarName)}}var n=null;if(this.match("=")){this.nextToken();n=this.isolateCoverGrammar(this.parseAssignmentExpression)}else if(r.type!==h.Syntax.Identifier&&!t.inFor){this.expect("=")}return this.finalize(e,new a.VariableDeclarator(r,n))};Parser.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor};var i=[];i.push(this.parseVariableDeclaration(e));while(this.match(",")){this.nextToken();i.push(this.parseVariableDeclaration(e))}return i};Parser.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:false});this.consumeSemicolon();return this.finalize(t,new a.VariableDeclaration(e,"var"))};Parser.prototype.parseEmptyStatement=function(){var t=this.createNode();this.expect(";");return this.finalize(t,new a.EmptyStatement)};Parser.prototype.parseExpressionStatement=function(){var t=this.createNode();var e=this.parseExpression();this.consumeSemicolon();return this.finalize(t,new a.ExpressionStatement(e))};Parser.prototype.parseIfClause=function(){if(this.context.strict&&this.matchKeyword("function")){this.tolerateError(s.Messages.StrictFunction)}return this.parseStatement()};Parser.prototype.parseIfStatement=function(){var t=this.createNode();var e;var i=null;this.expectKeyword("if");this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());e=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");e=this.parseIfClause();if(this.matchKeyword("else")){this.nextToken();i=this.parseIfClause()}}return this.finalize(t,new a.IfStatement(r,e,i))};Parser.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=true;var i=this.parseStatement();this.context.inIteration=e;this.expectKeyword("while");this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken())}else{this.expect(")");if(this.match(";")){this.nextToken()}}return this.finalize(t,new a.DoWhileStatement(i,r))};Parser.prototype.parseWhileStatement=function(){var t=this.createNode();var e;this.expectKeyword("while");this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());e=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");var r=this.context.inIteration;this.context.inIteration=true;e=this.parseStatement();this.context.inIteration=r}return this.finalize(t,new a.WhileStatement(i,e))};Parser.prototype.parseForStatement=function(){var t=null;var e=null;var i=null;var r=true;var n,u;var o=this.createNode();this.expectKeyword("for");this.expect("(");if(this.match(";")){this.nextToken()}else{if(this.matchKeyword("var")){t=this.createNode();this.nextToken();var l=this.context.allowIn;this.context.allowIn=false;var c=this.parseVariableDeclarationList({inFor:true});this.context.allowIn=l;if(c.length===1&&this.matchKeyword("in")){var p=c[0];if(p.init&&(p.id.type===h.Syntax.ArrayPattern||p.id.type===h.Syntax.ObjectPattern||this.context.strict)){this.tolerateError(s.Messages.ForInOfLoopInitializer,"for-in")}t=this.finalize(t,new a.VariableDeclaration(c,"var"));this.nextToken();n=t;u=this.parseExpression();t=null}else if(c.length===1&&c[0].init===null&&this.matchContextualKeyword("of")){t=this.finalize(t,new a.VariableDeclaration(c,"var"));this.nextToken();n=t;u=this.parseAssignmentExpression();t=null;r=false}else{t=this.finalize(t,new a.VariableDeclaration(c,"var"));this.expect(";")}}else if(this.matchKeyword("const")||this.matchKeyword("let")){t=this.createNode();var f=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in"){t=this.finalize(t,new a.Identifier(f));this.nextToken();n=t;u=this.parseExpression();t=null}else{var l=this.context.allowIn;this.context.allowIn=false;var c=this.parseBindingList(f,{inFor:true});this.context.allowIn=l;if(c.length===1&&c[0].init===null&&this.matchKeyword("in")){t=this.finalize(t,new a.VariableDeclaration(c,f));this.nextToken();n=t;u=this.parseExpression();t=null}else if(c.length===1&&c[0].init===null&&this.matchContextualKeyword("of")){t=this.finalize(t,new a.VariableDeclaration(c,f));this.nextToken();n=t;u=this.parseAssignmentExpression();t=null;r=false}else{this.consumeSemicolon();t=this.finalize(t,new a.VariableDeclaration(c,f))}}}else{var D=this.lookahead;var l=this.context.allowIn;this.context.allowIn=false;t=this.inheritCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=l;if(this.matchKeyword("in")){if(!this.context.isAssignmentTarget||t.type===h.Syntax.AssignmentExpression){this.tolerateError(s.Messages.InvalidLHSInForIn)}this.nextToken();this.reinterpretExpressionAsPattern(t);n=t;u=this.parseExpression();t=null}else if(this.matchContextualKeyword("of")){if(!this.context.isAssignmentTarget||t.type===h.Syntax.AssignmentExpression){this.tolerateError(s.Messages.InvalidLHSInForLoop)}this.nextToken();this.reinterpretExpressionAsPattern(t);n=t;u=this.parseAssignmentExpression();t=null;r=false}else{if(this.match(",")){var x=[t];while(this.match(",")){this.nextToken();x.push(this.isolateCoverGrammar(this.parseAssignmentExpression))}t=this.finalize(this.startNode(D),new a.SequenceExpression(x))}this.expect(";")}}}if(typeof n==="undefined"){if(!this.match(";")){e=this.parseExpression()}this.expect(";");if(!this.match(")")){i=this.parseExpression()}}var E;if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());E=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");var m=this.context.inIteration;this.context.inIteration=true;E=this.isolateCoverGrammar(this.parseStatement);this.context.inIteration=m}return typeof n==="undefined"?this.finalize(o,new a.ForStatement(t,e,i,E)):r?this.finalize(o,new a.ForInStatement(n,u,E)):this.finalize(o,new a.ForOfStatement(n,u,E))};Parser.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();e=i;var r="$"+i.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,r)){this.throwError(s.Messages.UnknownLabel,i.name)}}this.consumeSemicolon();if(e===null&&!this.context.inIteration){this.throwError(s.Messages.IllegalContinue)}return this.finalize(t,new a.ContinueStatement(e))};Parser.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();var r="$"+i.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,r)){this.throwError(s.Messages.UnknownLabel,i.name)}e=i}this.consumeSemicolon();if(e===null&&!this.context.inIteration&&!this.context.inSwitch){this.throwError(s.Messages.IllegalBreak)}return this.finalize(t,new a.BreakStatement(e))};Parser.prototype.parseReturnStatement=function(){if(!this.context.inFunctionBody){this.tolerateError(s.Messages.IllegalReturn)}var t=this.createNode();this.expectKeyword("return");var e=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10;var i=e?this.parseExpression():null;this.consumeSemicolon();return this.finalize(t,new a.ReturnStatement(i))};Parser.prototype.parseWithStatement=function(){if(this.context.strict){this.tolerateError(s.Messages.StrictModeWith)}var t=this.createNode();var e;this.expectKeyword("with");this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());e=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");e=this.parseStatement()}return this.finalize(t,new a.WithStatement(i,e))};Parser.prototype.parseSwitchCase=function(){var t=this.createNode();var e;if(this.matchKeyword("default")){this.nextToken();e=null}else{this.expectKeyword("case");e=this.parseExpression()}this.expect(":");var i=[];while(true){if(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case")){break}i.push(this.parseStatementListItem())}return this.finalize(t,new a.SwitchCase(e,i))};Parser.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch");this.expect("(");var e=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=true;var r=[];var n=false;this.expect("{");while(true){if(this.match("}")){break}var u=this.parseSwitchCase();if(u.test===null){if(n){this.throwError(s.Messages.MultipleDefaultsInSwitch)}n=true}r.push(u)}this.expect("}");this.context.inSwitch=i;return this.finalize(t,new a.SwitchStatement(e,r))};Parser.prototype.parseLabelledStatement=function(){var t=this.createNode();var e=this.parseExpression();var i;if(e.type===h.Syntax.Identifier&&this.match(":")){this.nextToken();var r=e;var n="$"+r.name;if(Object.prototype.hasOwnProperty.call(this.context.labelSet,n)){this.throwError(s.Messages.Redeclaration,"Label",r.name)}this.context.labelSet[n]=true;var u=void 0;if(this.matchKeyword("class")){this.tolerateUnexpectedToken(this.lookahead);u=this.parseClassDeclaration()}else if(this.matchKeyword("function")){var o=this.lookahead;var l=this.parseFunctionDeclaration();if(this.context.strict){this.tolerateUnexpectedToken(o,s.Messages.StrictFunction)}else if(l.generator){this.tolerateUnexpectedToken(o,s.Messages.GeneratorInLegacyContext)}u=l}else{u=this.parseStatement()}delete this.context.labelSet[n];i=new a.LabeledStatement(r,u)}else{this.consumeSemicolon();i=new a.ExpressionStatement(e)}return this.finalize(t,i)};Parser.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw");if(this.hasLineTerminator){this.throwError(s.Messages.NewlineAfterThrow)}var e=this.parseExpression();this.consumeSemicolon();return this.finalize(t,new a.ThrowStatement(e))};Parser.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch");this.expect("(");if(this.match(")")){this.throwUnexpectedToken(this.lookahead)}var e=[];var i=this.parsePattern(e);var r={};for(var n=0;n0){this.tolerateError(s.Messages.BadGetterArity)}var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(t,new a.FunctionExpression(null,r.params,n,e))};Parser.prototype.parseSetterMethod=function(){var t=this.createNode();var e=false;var i=this.context.allowYield;this.context.allowYield=!e;var r=this.parseFormalParameters();if(r.params.length!==1){this.tolerateError(s.Messages.BadSetterArity)}else if(r.params[0]instanceof a.RestElement){this.tolerateError(s.Messages.BadSetterRestParameter)}var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(t,new a.FunctionExpression(null,r.params,n,e))};Parser.prototype.parseGeneratorMethod=function(){var t=this.createNode();var e=true;var i=this.context.allowYield;this.context.allowYield=true;var r=this.parseFormalParameters();this.context.allowYield=false;var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(t,new a.FunctionExpression(null,r.params,n,e))};Parser.prototype.isStartOfExpression=function(){var t=true;var e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield";break;default:break}return t};Parser.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null;var i=false;if(!this.hasLineTerminator){var r=this.context.allowYield;this.context.allowYield=false;i=this.match("*");if(i){this.nextToken();e=this.parseAssignmentExpression()}else if(this.isStartOfExpression()){e=this.parseAssignmentExpression()}this.context.allowYield=r}return this.finalize(t,new a.YieldExpression(e,i))};Parser.prototype.parseClassElement=function(t){var e=this.lookahead;var i=this.createNode();var r="";var n=null;var u=null;var h=false;var o=false;var l=false;var c=false;if(this.match("*")){this.nextToken()}else{h=this.match("[");n=this.parseObjectPropertyKey();var p=n;if(p.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))){e=this.lookahead;l=true;h=this.match("[");if(this.match("*")){this.nextToken()}else{n=this.parseObjectPropertyKey()}}if(e.type===3&&!this.hasLineTerminator&&e.value==="async"){var f=this.lookahead.value;if(f!==":"&&f!=="("&&f!=="*"){c=true;e=this.lookahead;n=this.parseObjectPropertyKey();if(e.type===3&&e.value==="constructor"){this.tolerateUnexpectedToken(e,s.Messages.ConstructorIsAsync)}}}}var D=this.qualifiedPropertyName(this.lookahead);if(e.type===3){if(e.value==="get"&&D){r="get";h=this.match("[");n=this.parseObjectPropertyKey();this.context.allowYield=false;u=this.parseGetterMethod()}else if(e.value==="set"&&D){r="set";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseSetterMethod()}}else if(e.type===7&&e.value==="*"&&D){r="init";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseGeneratorMethod();o=true}if(!r&&n&&this.match("(")){r="init";u=c?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction();o=true}if(!r){this.throwUnexpectedToken(this.lookahead)}if(r==="init"){r="method"}if(!h){if(l&&this.isPropertyKey(n,"prototype")){this.throwUnexpectedToken(e,s.Messages.StaticPrototype)}if(!l&&this.isPropertyKey(n,"constructor")){if(r!=="method"||!o||u&&u.generator){this.throwUnexpectedToken(e,s.Messages.ConstructorSpecialMethod)}if(t.value){this.throwUnexpectedToken(e,s.Messages.DuplicateConstructor)}else{t.value=true}r="constructor"}}return this.finalize(i,new a.MethodDefinition(n,h,u,r,l))};Parser.prototype.parseClassElementList=function(){var t=[];var e={value:false};this.expect("{");while(!this.match("}")){if(this.match(";")){this.nextToken()}else{t.push(this.parseClassElement(e))}}this.expect("}");return t};Parser.prototype.parseClassBody=function(){var t=this.createNode();var e=this.parseClassElementList();return this.finalize(t,new a.ClassBody(e))};Parser.prototype.parseClassDeclaration=function(t){var e=this.createNode();var i=this.context.strict;this.context.strict=true;this.expectKeyword("class");var r=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier();var n=null;if(this.matchKeyword("extends")){this.nextToken();n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)}var s=this.parseClassBody();this.context.strict=i;return this.finalize(e,new a.ClassDeclaration(r,n,s))};Parser.prototype.parseClassExpression=function(){var t=this.createNode();var e=this.context.strict;this.context.strict=true;this.expectKeyword("class");var i=this.lookahead.type===3?this.parseVariableIdentifier():null;var r=null;if(this.matchKeyword("extends")){this.nextToken();r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)}var n=this.parseClassBody();this.context.strict=e;return this.finalize(t,new a.ClassExpression(i,r,n))};Parser.prototype.parseModule=function(){this.context.strict=true;this.context.isModule=true;this.scanner.isModule=true;var t=this.createNode();var e=this.parseDirectivePrologues();while(this.lookahead.type!==2){e.push(this.parseStatementListItem())}return this.finalize(t,new a.Module(e))};Parser.prototype.parseScript=function(){var t=this.createNode();var e=this.parseDirectivePrologues();while(this.lookahead.type!==2){e.push(this.parseStatementListItem())}return this.finalize(t,new a.Script(e))};Parser.prototype.parseModuleSpecifier=function(){var t=this.createNode();if(this.lookahead.type!==8){this.throwError(s.Messages.InvalidModuleSpecifier)}var e=this.nextToken();var i=this.getTokenRaw(e);return this.finalize(t,new a.Literal(e.value,i))};Parser.prototype.parseImportSpecifier=function(){var t=this.createNode();var e;var i;if(this.lookahead.type===3){e=this.parseVariableIdentifier();i=e;if(this.matchContextualKeyword("as")){this.nextToken();i=this.parseVariableIdentifier()}}else{e=this.parseIdentifierName();i=e;if(this.matchContextualKeyword("as")){this.nextToken();i=this.parseVariableIdentifier()}else{this.throwUnexpectedToken(this.nextToken())}}return this.finalize(t,new a.ImportSpecifier(i,e))};Parser.prototype.parseNamedImports=function(){this.expect("{");var t=[];while(!this.match("}")){t.push(this.parseImportSpecifier());if(!this.match("}")){this.expect(",")}}this.expect("}");return t};Parser.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode();var e=this.parseIdentifierName();return this.finalize(t,new a.ImportDefaultSpecifier(e))};Parser.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*");if(!this.matchContextualKeyword("as")){this.throwError(s.Messages.NoAsAfterImportNamespace)}this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new a.ImportNamespaceSpecifier(e))};Parser.prototype.parseImportDeclaration=function(){if(this.context.inFunctionBody){this.throwError(s.Messages.IllegalImportDeclaration)}var t=this.createNode();this.expectKeyword("import");var e;var i=[];if(this.lookahead.type===8){e=this.parseModuleSpecifier()}else{if(this.match("{")){i=i.concat(this.parseNamedImports())}else if(this.match("*")){i.push(this.parseImportNamespaceSpecifier())}else if(this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")){i.push(this.parseImportDefaultSpecifier());if(this.match(",")){this.nextToken();if(this.match("*")){i.push(this.parseImportNamespaceSpecifier())}else if(this.match("{")){i=i.concat(this.parseNamedImports())}else{this.throwUnexpectedToken(this.lookahead)}}}else{this.throwUnexpectedToken(this.nextToken())}if(!this.matchContextualKeyword("from")){var r=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();e=this.parseModuleSpecifier()}this.consumeSemicolon();return this.finalize(t,new a.ImportDeclaration(i,e))};Parser.prototype.parseExportSpecifier=function(){var t=this.createNode();var e=this.parseIdentifierName();var i=e;if(this.matchContextualKeyword("as")){this.nextToken();i=this.parseIdentifierName()}return this.finalize(t,new a.ExportSpecifier(e,i))};Parser.prototype.parseExportDeclaration=function(){if(this.context.inFunctionBody){this.throwError(s.Messages.IllegalExportDeclaration)}var t=this.createNode();this.expectKeyword("export");var e;if(this.matchKeyword("default")){this.nextToken();if(this.matchKeyword("function")){var i=this.parseFunctionDeclaration(true);e=this.finalize(t,new a.ExportDefaultDeclaration(i))}else if(this.matchKeyword("class")){var i=this.parseClassDeclaration(true);e=this.finalize(t,new a.ExportDefaultDeclaration(i))}else if(this.matchContextualKeyword("async")){var i=this.matchAsyncFunction()?this.parseFunctionDeclaration(true):this.parseAssignmentExpression();e=this.finalize(t,new a.ExportDefaultDeclaration(i))}else{if(this.matchContextualKeyword("from")){this.throwError(s.Messages.UnexpectedToken,this.lookahead.value)}var i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon();e=this.finalize(t,new a.ExportDefaultDeclaration(i))}}else if(this.match("*")){this.nextToken();if(!this.matchContextualKeyword("from")){var r=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();var n=this.parseModuleSpecifier();this.consumeSemicolon();e=this.finalize(t,new a.ExportAllDeclaration(n))}else if(this.lookahead.type===4){var i=void 0;switch(this.lookahead.value){case"let":case"const":i=this.parseLexicalDeclaration({inFor:false});break;case"var":case"class":case"function":i=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}e=this.finalize(t,new a.ExportNamedDeclaration(i,[],null))}else if(this.matchAsyncFunction()){var i=this.parseFunctionDeclaration();e=this.finalize(t,new a.ExportNamedDeclaration(i,[],null))}else{var u=[];var h=null;var o=false;this.expect("{");while(!this.match("}")){o=o||this.matchKeyword("default");u.push(this.parseExportSpecifier());if(!this.match("}")){this.expect(",")}}this.expect("}");if(this.matchContextualKeyword("from")){this.nextToken();h=this.parseModuleSpecifier();this.consumeSemicolon()}else if(o){var r=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}else{this.consumeSemicolon()}e=this.finalize(t,new a.ExportNamedDeclaration(null,u,h))}return e};return Parser}();e.Parser=c},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});function assert(t,e){if(!t){throw new Error("ASSERT: "+e)}}e.assert=assert},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});var i=function(){function ErrorHandler(){this.errors=[];this.tolerant=false}ErrorHandler.prototype.recordError=function(t){this.errors.push(t)};ErrorHandler.prototype.tolerate=function(t){if(this.tolerant){this.recordError(t)}else{throw t}};ErrorHandler.prototype.constructError=function(t,e){var i=new Error(t);try{throw i}catch(t){if(Object.create&&Object.defineProperty){i=Object.create(t);Object.defineProperty(i,"column",{value:e})}}return i};ErrorHandler.prototype.createError=function(t,e,i,r){var n="Line "+e+": "+r;var s=this.constructError(n,i);s.index=t;s.lineNumber=e;s.description=r;return s};ErrorHandler.prototype.throwError=function(t,e,i,r){throw this.createError(t,e,i,r)};ErrorHandler.prototype.tolerateError=function(t,e,i,r){var n=this.createError(t,e,i,r);if(this.tolerant){this.recordError(n)}else{throw n}};return ErrorHandler}();e.ErrorHandler=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(9);var n=i(4);var s=i(11);function hexValue(t){return"0123456789abcdef".indexOf(t.toLowerCase())}function octalValue(t){return"01234567".indexOf(t)}var a=function(){function Scanner(t,e){this.source=t;this.errorHandler=e;this.trackComment=false;this.isModule=false;this.length=t.length;this.index=0;this.lineNumber=t.length>0?1:0;this.lineStart=0;this.curlyStack=[]}Scanner.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}};Scanner.prototype.restoreState=function(t){this.index=t.index;this.lineNumber=t.lineNumber;this.lineStart=t.lineStart};Scanner.prototype.eof=function(){return this.index>=this.length};Scanner.prototype.throwUnexpectedToken=function(t){if(t===void 0){t=s.Messages.UnexpectedTokenIllegal}return this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,t)};Scanner.prototype.tolerateUnexpectedToken=function(t){if(t===void 0){t=s.Messages.UnexpectedTokenIllegal}this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,t)};Scanner.prototype.skipSingleLineComment=function(t){var e=[];var i,r;if(this.trackComment){e=[];i=this.index-t;r={start:{line:this.lineNumber,column:this.index-this.lineStart-t},end:{}}}while(!this.eof()){var s=this.source.charCodeAt(this.index);++this.index;if(n.Character.isLineTerminator(s)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var a={multiLine:false,slice:[i+t,this.index-1],range:[i,this.index-1],loc:r};e.push(a)}if(s===13&&this.source.charCodeAt(this.index)===10){++this.index}++this.lineNumber;this.lineStart=this.index;return e}}if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};var a={multiLine:false,slice:[i+t,this.index],range:[i,this.index],loc:r};e.push(a)}return e};Scanner.prototype.skipMultiLineComment=function(){var t=[];var e,i;if(this.trackComment){t=[];e=this.index-2;i={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}}}while(!this.eof()){var r=this.source.charCodeAt(this.index);if(n.Character.isLineTerminator(r)){if(r===13&&this.source.charCodeAt(this.index+1)===10){++this.index}++this.lineNumber;++this.index;this.lineStart=this.index}else if(r===42){if(this.source.charCodeAt(this.index+1)===47){this.index+=2;if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart};var s={multiLine:true,slice:[e+2,this.index-2],range:[e,this.index],loc:i};t.push(s)}return t}++this.index}else{++this.index}}if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart};var s={multiLine:true,slice:[e+2,this.index],range:[e,this.index],loc:i};t.push(s)}this.tolerateUnexpectedToken();return t};Scanner.prototype.scanComments=function(){var t;if(this.trackComment){t=[]}var e=this.index===0;while(!this.eof()){var i=this.source.charCodeAt(this.index);if(n.Character.isWhiteSpace(i)){++this.index}else if(n.Character.isLineTerminator(i)){++this.index;if(i===13&&this.source.charCodeAt(this.index)===10){++this.index}++this.lineNumber;this.lineStart=this.index;e=true}else if(i===47){i=this.source.charCodeAt(this.index+1);if(i===47){this.index+=2;var r=this.skipSingleLineComment(2);if(this.trackComment){t=t.concat(r)}e=true}else if(i===42){this.index+=2;var r=this.skipMultiLineComment();if(this.trackComment){t=t.concat(r)}}else{break}}else if(e&&i===45){if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var r=this.skipSingleLineComment(3);if(this.trackComment){t=t.concat(r)}}else{break}}else if(i===60&&!this.isModule){if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var r=this.skipSingleLineComment(4);if(this.trackComment){t=t.concat(r)}}else{break}}else{break}}return t};Scanner.prototype.isFutureReservedWord=function(t){switch(t){case"enum":case"export":case"import":case"super":return true;default:return false}};Scanner.prototype.isStrictModeReservedWord=function(t){switch(t){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return true;default:return false}};Scanner.prototype.isRestrictedWord=function(t){return t==="eval"||t==="arguments"};Scanner.prototype.isKeyword=function(t){switch(t.length){case 2:return t==="if"||t==="in"||t==="do";case 3:return t==="var"||t==="for"||t==="new"||t==="try"||t==="let";case 4:return t==="this"||t==="else"||t==="case"||t==="void"||t==="with"||t==="enum";case 5:return t==="while"||t==="break"||t==="catch"||t==="throw"||t==="const"||t==="yield"||t==="class"||t==="super";case 6:return t==="return"||t==="typeof"||t==="delete"||t==="switch"||t==="export"||t==="import";case 7:return t==="default"||t==="finally"||t==="extends";case 8:return t==="function"||t==="continue"||t==="debugger";case 10:return t==="instanceof";default:return false}};Scanner.prototype.codePointAt=function(t){var e=this.source.charCodeAt(t);if(e>=55296&&e<=56319){var i=this.source.charCodeAt(t+1);if(i>=56320&&i<=57343){var r=e;e=(r-55296)*1024+i-56320+65536}}return e};Scanner.prototype.scanHexEscape=function(t){var e=t==="u"?4:2;var i=0;for(var r=0;r1114111||t!=="}"){this.throwUnexpectedToken()}return n.Character.fromCodePoint(e)};Scanner.prototype.getIdentifier=function(){var t=this.index++;while(!this.eof()){var e=this.source.charCodeAt(this.index);if(e===92){this.index=t;return this.getComplexIdentifier()}else if(e>=55296&&e<57343){this.index=t;return this.getComplexIdentifier()}if(n.Character.isIdentifierPart(e)){++this.index}else{break}}return this.source.slice(t,this.index)};Scanner.prototype.getComplexIdentifier=function(){var t=this.codePointAt(this.index);var e=n.Character.fromCodePoint(t);this.index+=e.length;var i;if(t===92){if(this.source.charCodeAt(this.index)!==117){this.throwUnexpectedToken()}++this.index;if(this.source[this.index]==="{"){++this.index;i=this.scanUnicodeCodePointEscape()}else{i=this.scanHexEscape("u");if(i===null||i==="\\"||!n.Character.isIdentifierStart(i.charCodeAt(0))){this.throwUnexpectedToken()}}e=i}while(!this.eof()){t=this.codePointAt(this.index);if(!n.Character.isIdentifierPart(t)){break}i=n.Character.fromCodePoint(t);e+=i;this.index+=i.length;if(t===92){e=e.substr(0,e.length-1);if(this.source.charCodeAt(this.index)!==117){this.throwUnexpectedToken()}++this.index;if(this.source[this.index]==="{"){++this.index;i=this.scanUnicodeCodePointEscape()}else{i=this.scanHexEscape("u");if(i===null||i==="\\"||!n.Character.isIdentifierPart(i.charCodeAt(0))){this.throwUnexpectedToken()}}e+=i}}return e};Scanner.prototype.octalToDecimal=function(t){var e=t!=="0";var i=octalValue(t);if(!this.eof()&&n.Character.isOctalDigit(this.source.charCodeAt(this.index))){e=true;i=i*8+octalValue(this.source[this.index++]);if("0123".indexOf(t)>=0&&!this.eof()&&n.Character.isOctalDigit(this.source.charCodeAt(this.index))){i=i*8+octalValue(this.source[this.index++])}}return{code:i,octal:e}};Scanner.prototype.scanIdentifier=function(){var t;var e=this.index;var i=this.source.charCodeAt(e)===92?this.getComplexIdentifier():this.getIdentifier();if(i.length===1){t=3}else if(this.isKeyword(i)){t=4}else if(i==="null"){t=5}else if(i==="true"||i==="false"){t=1}else{t=3}if(t!==3&&e+i.length!==this.index){var r=this.index;this.index=e;this.tolerateUnexpectedToken(s.Messages.InvalidEscapedReservedWord);this.index=r}return{type:t,value:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};Scanner.prototype.scanPunctuator=function(){var t=this.index;var e=this.source[this.index];switch(e){case"(":case"{":if(e==="{"){this.curlyStack.push("{")}++this.index;break;case".":++this.index;if(this.source[this.index]==="."&&this.source[this.index+1]==="."){this.index+=2;e="..."}break;case"}":++this.index;this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:e=this.source.substr(this.index,4);if(e===">>>="){this.index+=4}else{e=e.substr(0,3);if(e==="==="||e==="!=="||e===">>>"||e==="<<="||e===">>="||e==="**="){this.index+=3}else{e=e.substr(0,2);if(e==="&&"||e==="||"||e==="=="||e==="!="||e==="+="||e==="-="||e==="*="||e==="/="||e==="++"||e==="--"||e==="<<"||e===">>"||e==="&="||e==="|="||e==="^="||e==="%="||e==="<="||e===">="||e==="=>"||e==="**"){this.index+=2}else{e=this.source[this.index];if("<>=!+-*%&|^/".indexOf(e)>=0){++this.index}}}}}if(this.index===t){this.throwUnexpectedToken()}return{type:7,value:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};Scanner.prototype.scanHexLiteral=function(t){var e="";while(!this.eof()){if(!n.Character.isHexDigit(this.source.charCodeAt(this.index))){break}e+=this.source[this.index++]}if(e.length===0){this.throwUnexpectedToken()}if(n.Character.isIdentifierStart(this.source.charCodeAt(this.index))){this.throwUnexpectedToken()}return{type:6,value:parseInt("0x"+e,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};Scanner.prototype.scanBinaryLiteral=function(t){var e="";var i;while(!this.eof()){i=this.source[this.index];if(i!=="0"&&i!=="1"){break}e+=this.source[this.index++]}if(e.length===0){this.throwUnexpectedToken()}if(!this.eof()){i=this.source.charCodeAt(this.index);if(n.Character.isIdentifierStart(i)||n.Character.isDecimalDigit(i)){this.throwUnexpectedToken()}}return{type:6,value:parseInt(e,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};Scanner.prototype.scanOctalLiteral=function(t,e){var i="";var r=false;if(n.Character.isOctalDigit(t.charCodeAt(0))){r=true;i="0"+this.source[this.index++]}else{++this.index}while(!this.eof()){if(!n.Character.isOctalDigit(this.source.charCodeAt(this.index))){break}i+=this.source[this.index++]}if(!r&&i.length===0){this.throwUnexpectedToken()}if(n.Character.isIdentifierStart(this.source.charCodeAt(this.index))||n.Character.isDecimalDigit(this.source.charCodeAt(this.index))){this.throwUnexpectedToken()}return{type:6,value:parseInt(i,8),octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};Scanner.prototype.isImplicitOctalLiteral=function(){for(var t=this.index+1;t=0){r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(t,e,r){var a=parseInt(e||r,16);if(a>1114111){n.throwUnexpectedToken(s.Messages.InvalidRegExp)}if(a<=65535){return String.fromCharCode(a)}return i}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i)}try{RegExp(r)}catch(t){this.throwUnexpectedToken(s.Messages.InvalidRegExp)}try{return new RegExp(t,e)}catch(t){return null}};Scanner.prototype.scanRegExpBody=function(){var t=this.source[this.index];r.assert(t==="/","Regular expression literal must start with a slash");var e=this.source[this.index++];var i=false;var a=false;while(!this.eof()){t=this.source[this.index++];e+=t;if(t==="\\"){t=this.source[this.index++];if(n.Character.isLineTerminator(t.charCodeAt(0))){this.throwUnexpectedToken(s.Messages.UnterminatedRegExp)}e+=t}else if(n.Character.isLineTerminator(t.charCodeAt(0))){this.throwUnexpectedToken(s.Messages.UnterminatedRegExp)}else if(i){if(t==="]"){i=false}}else{if(t==="/"){a=true;break}else if(t==="["){i=true}}}if(!a){this.throwUnexpectedToken(s.Messages.UnterminatedRegExp)}return e.substr(1,e.length-2)};Scanner.prototype.scanRegExpFlags=function(){var t="";var e="";while(!this.eof()){var i=this.source[this.index];if(!n.Character.isIdentifierPart(i.charCodeAt(0))){break}++this.index;if(i==="\\"&&!this.eof()){i=this.source[this.index];if(i==="u"){++this.index;var r=this.index;var s=this.scanHexEscape("u");if(s!==null){e+=s;for(t+="\\u";r=55296&&t<57343){if(n.Character.isIdentifierStart(this.codePointAt(this.index))){return this.scanIdentifier()}}return this.scanPunctuator()};return Scanner}();e.Scanner=a},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.TokenName={};e.TokenName[1]="Boolean";e.TokenName[2]="";e.TokenName[3]="Identifier";e.TokenName[4]="Keyword";e.TokenName[5]="Null";e.TokenName[6]="Numeric";e.TokenName[7]="Punctuator";e.TokenName[8]="String";e.TokenName[9]="RegularExpression";e.TokenName[10]="Template"},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.XHTMLEntities={quot:'"',amp:"&",apos:"'",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:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(10);var n=i(12);var s=i(13);var a=function(){function Reader(){this.values=[];this.curly=this.paren=-1}Reader.prototype.beforeFunctionExpression=function(t){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(t)>=0};Reader.prototype.isRegexStart=function(){var t=this.values[this.values.length-1];var e=t!==null;switch(t){case"this":case"]":e=false;break;case")":var i=this.values[this.paren-1];e=i==="if"||i==="while"||i==="for"||i==="with";break;case"}":e=false;if(this.values[this.curly-3]==="function"){var r=this.values[this.curly-4];e=r?!this.beforeFunctionExpression(r):false}else if(this.values[this.curly-4]==="function"){var r=this.values[this.curly-5];e=r?!this.beforeFunctionExpression(r):true}break;default:break}return e};Reader.prototype.push=function(t){if(t.type===7||t.type===4){if(t.value==="{"){this.curly=this.values.length}else if(t.value==="("){this.paren=this.values.length}this.values.push(t.value)}else{this.values.push(null)}};return Reader}();var u=function(){function Tokenizer(t,e){this.errorHandler=new r.ErrorHandler;this.errorHandler.tolerant=e?typeof e.tolerant==="boolean"&&e.tolerant:false;this.scanner=new n.Scanner(t,this.errorHandler);this.scanner.trackComment=e?typeof e.comment==="boolean"&&e.comment:false;this.trackRange=e?typeof e.range==="boolean"&&e.range:false;this.trackLoc=e?typeof e.loc==="boolean"&&e.loc:false;this.buffer=[];this.reader=new a}Tokenizer.prototype.errors=function(){return this.errorHandler.errors};Tokenizer.prototype.getNextToken=function(){if(this.buffer.length===0){var t=this.scanner.scanComments();if(this.scanner.trackComment){for(var e=0;e`${l}:${t}`;const T=t=>`${c}:${t}`;const I=t=>`${p}:${t}`;const M=t=>`${f}:${t}`;const X=t=>`${D}:${t}`;const J={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};const k=t=>{w.lastIndex=0;if(!w.test(t)){return t}return t.replace(w,t=>{const e=J[t];return typeof e==="string"?e:`\\u${`0000${t.charCodeAt(0).toString(16)}`.slice(-4)}`})};const N=t=>`"${k(t)}"`;const L=(t,e)=>e?`//${t}`:`/*${t}*/`;const U=(t,e,i,r)=>{const n=t[Symbol.for(e)];if(!n||!n.length){return y}let s=false;const a=n.reduce((t,{inline:e,type:r,value:n})=>{const a=e?b:B+i;s=r==="LineComment";return t+a+L(n,s)},y);return r||s?a+B+i:a};let O=null;let R=y;const z=()=>{O=null;R=y};const K=(t,e,i)=>t?e?t+e.trim()+B+i:t.trimRight()+B+i:e?e.trimRight()+B+i:y;const j=(t,e,i)=>{const r=U(e,l,i+R,true);return K(r,t,i)};const H=(t,e)=>{const i=e+R;const{length:r}=t;let n=y;let s=y;for(let e=0;e{if(!t){return"null"}const i=e+R;const n=R?b:y;let s=y;let a=y;let u=true;const h=r(O)?O:Object.keys(t);const o=e=>{const r=stringify(e,t,i);if(r===F){return}if(!u){s+=d}u=false;const h=K(a,U(t,P(e),i),i);s+=h||B+i;s+=N(e)+U(t,T(e),i)+A+U(t,I(e),i)+n+r+U(t,M(e),i);a=U(t,X(e),i)};h.forEach(o);s+=K(a,U(t,x,i),i);return C+j(s,t,e)+S};function stringify(t,e,i){let a=e[t];if(n(a)&&s(a.toJSON)){a=a.toJSON(t)}if(s(O)){a=O.call(e,t,a)}switch(typeof a){case"string":return N(a);case"number":return Number.isFinite(a)?String(a):g;case"boolean":case"null":return String(a);case"object":return r(a)?H(a,i):W(a,i);default:}}const V=t=>u(t)?t:a(t)?h(b,t):y;t.exports=((t,e,i)=>{const a=V(i);if(!a){return JSON.stringify(t,e)}if(!s(e)&&!r(e)){e=null}O=e;R=a;const u=stringify("",{"":t},y);z();return n(t)?U(t,o,y).trimLeft()+u+U(t,E,y).trimRight():u})},702:function(t){"use strict";const e=Object.prototype.hasOwnProperty;t.exports=((t,i)=>e.call(t,i))},963:function(t,e,i){const{parse:r,tokenize:n}=i(349);const s=i(651);const{CommentArray:a,assign:u}=i(247);t.exports={parse:r,stringify:s,tokenize:n,CommentArray:a,assign:u}}}); \ No newline at end of file +module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var r=i[e]={i:e,l:false,exports:{}};t[e].call(r.exports,r,r.exports,__webpack_require__);r.l=true;return r.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(963)}return startup()}({130:function(t,e){function isArray(t){if(Array.isArray){return Array.isArray(t)}return objectToString(t)==="[object Array]"}e.isArray=isArray;function isBoolean(t){return typeof t==="boolean"}e.isBoolean=isBoolean;function isNull(t){return t===null}e.isNull=isNull;function isNullOrUndefined(t){return t==null}e.isNullOrUndefined=isNullOrUndefined;function isNumber(t){return typeof t==="number"}e.isNumber=isNumber;function isString(t){return typeof t==="string"}e.isString=isString;function isSymbol(t){return typeof t==="symbol"}e.isSymbol=isSymbol;function isUndefined(t){return t===void 0}e.isUndefined=isUndefined;function isRegExp(t){return objectToString(t)==="[object RegExp]"}e.isRegExp=isRegExp;function isObject(t){return typeof t==="object"&&t!==null}e.isObject=isObject;function isDate(t){return objectToString(t)==="[object Date]"}e.isDate=isDate;function isError(t){return objectToString(t)==="[object Error]"||t instanceof Error}e.isError=isError;function isFunction(t){return typeof t==="function"}e.isFunction=isFunction;function isPrimitive(t){return t===null||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="symbol"||typeof t==="undefined"}e.isPrimitive=isPrimitive;e.isBuffer=Buffer.isBuffer;function objectToString(t){return Object.prototype.toString.call(t)}},247:function(t,e,i){const r=i(702);const{isObject:n,isArray:s}=i(130);const a="before";const u="after-prop";const h="after-colon";const o="after-value";const l="after-comma";const c=[a,u,h,o,l];const p=":";const f=undefined;const D=(t,e)=>Symbol.for(t+p+e);const x=(t,e,i,n,s,a)=>{const u=D(s,n);if(!r(e,u)){return}const h=i===n?u:D(s,i);t[h]=e[u];if(a){delete e[u]}};const E=(t,e,i)=>{i.forEach(i=>{if(!r(e,i)){return}t[i]=e[i];c.forEach(r=>{x(t,e,i,i,r)})});return t};const m=(t,e,i)=>{if(e===i){return}c.forEach(n=>{const s=D(n,i);if(!r(t,s)){x(t,t,i,e,n);return}const a=t[s];x(t,t,i,e,n);t[D(n,e)]=a})};const v=t=>{const{length:e}=t;let i=0;const r=e/2;for(;i{c.forEach(s=>{x(t,e,i+r,i,s,n)})};const S=(t,e,i,r,n,s)=>{if(n>0){let a=r;while(a-- >0){C(t,e,i+a,n,s&&a=u)}};class CommentArray extends Array{splice(...t){const{length:e}=this;const i=super.splice(...t);let[r,n,...s]=t;if(r<0){r+=e}if(arguments.length===1){n=e-r}else{n=Math.min(e-r,n)}const{length:a}=s;const u=a-n;const h=r+n;const o=e-h;S(this,this,h,o,u,true);return i}slice(...t){const{length:e}=this;const i=super.slice(...t);if(!i.length){return new CommentArray}let[r,n]=t;if(n===f){n=e}else if(n<0){n+=e}if(r<0){r+=e}else if(r===f){r=0}S(i,this,r,n-r,-r);return i}unshift(...t){const{length:e}=this;const i=super.unshift(...t);const{length:r}=t;if(r>0){S(this,this,0,e,r,true)}return i}shift(){const t=super.shift();const{length:e}=this;S(this,this,1,e,-1,true);return t}reverse(){super.reverse();v(this);return this}pop(){const t=super.pop();const{length:e}=this;c.forEach(t=>{const i=D(t,e);delete this[i]});return t}concat(...t){let{length:e}=this;const i=super.concat(...t);if(!t.length){return i}t.forEach(t=>{const r=e;e+=s(t)?t.length:1;if(!(t instanceof CommentArray)){return}S(i,t,0,t.length,r)});return i}}t.exports={CommentArray:CommentArray,assign(t,e,i){if(!n(t)){throw new TypeError("Cannot convert undefined or null to object")}if(!n(e)){return t}if(i===f){i=Object.keys(e)}else if(!s(i)){throw new TypeError("keys must be array or undefined")}return E(t,e,i)},PREFIX_BEFORE:a,PREFIX_AFTER_PROP:u,PREFIX_AFTER_COLON:h,PREFIX_AFTER_VALUE:o,PREFIX_AFTER_COMMA:l,COLON:p,UNDEFINED:f}},349:function(t,e,i){const r=i(501);const{CommentArray:n,PREFIX_BEFORE:s,PREFIX_AFTER_PROP:a,PREFIX_AFTER_COLON:u,PREFIX_AFTER_VALUE:h,PREFIX_AFTER_COMMA:o,COLON:l,UNDEFINED:c}=i(247);const p=t=>r.tokenize(t,{comment:true,loc:true});const f=[];let D=null;let x=null;const E=[];let m;let v=false;let C=false;let S=null;let y=null;let d=null;let A;let F=null;const w=()=>{E.length=f.length=0;y=null;m=c};const b=()=>{w();S.length=0;x=D=S=y=d=F=null};const B="before-all";const g="after";const P="after-all";const T="[";const I="]";const M="{";const X="}";const J=",";const k="";const N="-";const L=t=>Symbol.for(m!==c?`${t}:${m}`:t);const O=(t,e)=>F?F(t,e):e;const U=()=>{const t=new SyntaxError(`Unexpected token ${d.value.slice(0,1)}`);Object.assign(t,d.loc.start);throw t};const R=()=>{const t=new SyntaxError("Unexpected end of JSON input");Object.assign(t,y?y.loc.end:{line:1,column:0});throw t};const z=()=>{const t=S[++A];C=d&&t&&d.loc.end.line===t.loc.start.line||false;y=d;d=t};const K=()=>{if(!d){R()}return d.type==="Punctuator"?d.value:d.type};const j=t=>K()===t;const H=t=>{if(!j(t)){U()}};const W=t=>{f.push(D);D=t};const V=()=>{D=f.pop()};const G=()=>{if(!x){return}const t=[];for(const e of x){if(e.inline){t.push(e)}else{break}}const{length:e}=t;if(!e){return}if(e===x.length){x=null}else{x.splice(0,e)}D[L(o)]=t};const Y=t=>{if(!x){return}D[L(t)]=x;x=null};const q=t=>{const e=[];while(d&&(j("LineComment")||j("BlockComment"))){const t={...d,inline:C};e.push(t);z()}if(v){return}if(!e.length){return}if(t){D[L(t)]=e;return}x=e};const $=(t,e)=>{if(e){E.push(m)}m=t};const Q=()=>{m=E.pop()};const Z=()=>{const t={};W(t);$(c,true);let e=false;let i;q();while(!j(X)){if(e){H(J);z();q();G();if(j(X)){break}}e=true;H("String");i=JSON.parse(d.value);$(i);Y(s);z();q(a);H(l);z();q(u);t[i]=O(i,walk());q(h)}z();m=undefined;Y(e?g:s);V();Q();return t};const _=()=>{const t=new n;W(t);$(c,true);let e=false;let i=0;q();while(!j(I)){if(e){H(J);z();q();G();if(j(I)){break}}e=true;$(i);Y(s);t[i]=O(i,walk());q(h);i++}z();m=undefined;Y(e?g:s);V();Q();return t};function walk(){let t=K();if(t===M){z();return Z()}if(t===T){z();return _()}let e=k;if(t===N){z();t=K();e=N}let i;switch(t){case"String":case"Boolean":case"Null":case"Numeric":i=d.value;z();return JSON.parse(e+i);default:}}const tt=t=>Object(t)===t;const et=(t,e,i)=>{w();S=p(t);F=e;v=i;if(!S.length){R()}A=-1;z();W({});q(B);let r=walk();q(P);if(d){U()}if(!i&&r!==null){if(!tt(r)){r=new Object(r)}Object.assign(r,D)}V();r=O("",r);b();return r};t.exports={parse:et,tokenize:p,PREFIX_BEFORE:s,PREFIX_BEFORE_ALL:B,PREFIX_AFTER_PROP:a,PREFIX_AFTER_COLON:u,PREFIX_AFTER_VALUE:h,PREFIX_AFTER_COMMA:o,PREFIX_AFTER:g,PREFIX_AFTER_ALL:P,BRACKET_OPEN:T,BRACKET_CLOSE:I,CURLY_BRACKET_OPEN:M,CURLY_BRACKET_CLOSE:X,COLON:l,COMMA:J,EMPTY:k,UNDEFINED:c}},360:function(t){"use strict";var e="";var i;t.exports=repeat;function repeat(t,r){if(typeof t!=="string"){throw new TypeError("expected a string")}if(r===1)return t;if(r===2)return t+t;var n=t.length*r;if(i!==t||typeof i==="undefined"){i=t;e=""}else if(e.length>=n){return e.substr(0,n)}while(n>e.length&&r>1){if(r&1){e+=t}r>>=1;t+=t}e+=t;e=e.substr(0,n);return e}},501:function(t){(function webpackUniversalModuleDefinition(e,i){if(true)t.exports=i();else{}})(this,function(){return function(t){var e={};function __webpack_require__(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:false};t[i].call(r.exports,r,r.exports,__webpack_require__);r.loaded=true;return r.exports}__webpack_require__.m=t;__webpack_require__.c=e;__webpack_require__.p="";return __webpack_require__(0)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(1);var n=i(3);var s=i(8);var a=i(15);function parse(t,e,i){var a=null;var u=function(t,e){if(i){i(t,e)}if(a){a.visit(t,e)}};var h=typeof i==="function"?u:null;var o=false;if(e){o=typeof e.comment==="boolean"&&e.comment;var l=typeof e.attachComment==="boolean"&&e.attachComment;if(o||l){a=new r.CommentHandler;a.attach=l;e.comment=true;h=u}}var c=false;if(e&&typeof e.sourceType==="string"){c=e.sourceType==="module"}var p;if(e&&typeof e.jsx==="boolean"&&e.jsx){p=new n.JSXParser(t,e,h)}else{p=new s.Parser(t,e,h)}var f=c?p.parseModule():p.parseScript();var D=f;if(o&&a){D.comments=a.comments}if(p.config.tokens){D.tokens=p.tokens}if(p.config.tolerant){D.errors=p.errorHandler.errors}return D}e.parse=parse;function parseModule(t,e,i){var r=e||{};r.sourceType="module";return parse(t,r,i)}e.parseModule=parseModule;function parseScript(t,e,i){var r=e||{};r.sourceType="script";return parse(t,r,i)}e.parseScript=parseScript;function tokenize(t,e,i){var r=new a.Tokenizer(t,e);var n;n=[];try{while(true){var s=r.getNextToken();if(!s){break}if(i){s=i(s)}n.push(s)}}catch(t){r.errorHandler.tolerate(t)}if(r.errorHandler.tolerant){n.errors=r.errors()}return n}e.tokenize=tokenize;var u=i(2);e.Syntax=u.Syntax;e.version="4.0.1"},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(2);var n=function(){function CommentHandler(){this.attach=false;this.comments=[];this.stack=[];this.leading=[];this.trailing=[]}CommentHandler.prototype.insertInnerComments=function(t,e){if(t.type===r.Syntax.BlockStatement&&t.body.length===0){var i=[];for(var n=this.leading.length-1;n>=0;--n){var s=this.leading[n];if(e.end.offset>=s.start){i.unshift(s.comment);this.leading.splice(n,1);this.trailing.splice(n,1)}}if(i.length){t.innerComments=i}}};CommentHandler.prototype.findTrailingComments=function(t){var e=[];if(this.trailing.length>0){for(var i=this.trailing.length-1;i>=0;--i){var r=this.trailing[i];if(r.start>=t.end.offset){e.unshift(r.comment)}}this.trailing.length=0;return e}var n=this.stack[this.stack.length-1];if(n&&n.node.trailingComments){var s=n.node.trailingComments[0];if(s&&s.range[0]>=t.end.offset){e=n.node.trailingComments;delete n.node.trailingComments}}return e};CommentHandler.prototype.findLeadingComments=function(t){var e=[];var i;while(this.stack.length>0){var r=this.stack[this.stack.length-1];if(r&&r.start>=t.start.offset){i=r.node;this.stack.pop()}else{break}}if(i){var n=i.leadingComments?i.leadingComments.length:0;for(var s=n-1;s>=0;--s){var a=i.leadingComments[s];if(a.range[1]<=t.start.offset){e.unshift(a);i.leadingComments.splice(s,1)}}if(i.leadingComments&&i.leadingComments.length===0){delete i.leadingComments}return e}for(var s=this.leading.length-1;s>=0;--s){var r=this.leading[s];if(r.start<=t.start.offset){e.unshift(r.comment);this.leading.splice(s,1)}}return e};CommentHandler.prototype.visitNode=function(t,e){if(t.type===r.Syntax.Program&&t.body.length>0){return}this.insertInnerComments(t,e);var i=this.findTrailingComments(e);var n=this.findLeadingComments(e);if(n.length>0){t.leadingComments=n}if(i.length>0){t.trailingComments=i}this.stack.push({node:t,start:e.start.offset})};CommentHandler.prototype.visitComment=function(t,e){var i=t.type[0]==="L"?"Line":"Block";var r={type:i,value:t.value};if(t.range){r.range=t.range}if(t.loc){r.loc=t.loc}this.comments.push(r);if(this.attach){var n={comment:{type:i,value:t.value,range:[e.start.offset,e.end.offset]},start:e.start.offset};if(t.loc){n.comment.loc=t.loc}t.type=i;this.leading.push(n);this.trailing.push(n)}};CommentHandler.prototype.visit=function(t,e){if(t.type==="LineComment"){this.visitComment(t,e)}else if(t.type==="BlockComment"){this.visitComment(t,e)}else if(this.attach){this.visitNode(t,e)}};return CommentHandler}();e.CommentHandler=n},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(t,e,i){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)if(e.hasOwnProperty(i))t[i]=e[i]};return function(e,i){t(e,i);function __(){this.constructor=e}e.prototype=i===null?Object.create(i):(__.prototype=i.prototype,new __)}}();Object.defineProperty(e,"__esModule",{value:true});var n=i(4);var s=i(5);var a=i(6);var u=i(7);var h=i(8);var o=i(13);var l=i(14);o.TokenName[100]="JSXIdentifier";o.TokenName[101]="JSXText";function getQualifiedElementName(t){var e;switch(t.type){case a.JSXSyntax.JSXIdentifier:var i=t;e=i.name;break;case a.JSXSyntax.JSXNamespacedName:var r=t;e=getQualifiedElementName(r.namespace)+":"+getQualifiedElementName(r.name);break;case a.JSXSyntax.JSXMemberExpression:var n=t;e=getQualifiedElementName(n.object)+"."+getQualifiedElementName(n.property);break;default:break}return e}var c=function(t){r(JSXParser,t);function JSXParser(e,i,r){return t.call(this,e,i,r)||this}JSXParser.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():t.prototype.parsePrimaryExpression.call(this)};JSXParser.prototype.startJSX=function(){this.scanner.index=this.startMarker.index;this.scanner.lineNumber=this.startMarker.line;this.scanner.lineStart=this.startMarker.index-this.startMarker.column};JSXParser.prototype.finishJSX=function(){this.nextToken()};JSXParser.prototype.reenterJSX=function(){this.startJSX();this.expectJSX("}");if(this.config.tokens){this.tokens.pop()}};JSXParser.prototype.createJSXNode=function(){this.collectComments();return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}};JSXParser.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}};JSXParser.prototype.scanXHTMLEntity=function(t){var e="&";var i=true;var r=false;var s=false;var a=false;while(!this.scanner.eof()&&i&&!r){var u=this.scanner.source[this.scanner.index];if(u===t){break}r=u===";";e+=u;++this.scanner.index;if(!r){switch(e.length){case 2:s=u==="#";break;case 3:if(s){a=u==="x";i=a||n.Character.isDecimalDigit(u.charCodeAt(0));s=s&&!a}break;default:i=i&&!(s&&!n.Character.isDecimalDigit(u.charCodeAt(0)));i=i&&!(a&&!n.Character.isHexDigit(u.charCodeAt(0)));break}}}if(i&&r&&e.length>2){var h=e.substr(1,e.length-2);if(s&&h.length>1){e=String.fromCharCode(parseInt(h.substr(1),10))}else if(a&&h.length>2){e=String.fromCharCode(parseInt("0"+h.substr(1),16))}else if(!s&&!a&&l.XHTMLEntities[h]){e=l.XHTMLEntities[h]}}return e};JSXParser.prototype.lexJSX=function(){var t=this.scanner.source.charCodeAt(this.scanner.index);if(t===60||t===62||t===47||t===58||t===61||t===123||t===125){var e=this.scanner.source[this.scanner.index++];return{type:7,value:e,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(t===34||t===39){var i=this.scanner.index;var r=this.scanner.source[this.scanner.index++];var s="";while(!this.scanner.eof()){var a=this.scanner.source[this.scanner.index++];if(a===r){break}else if(a==="&"){s+=this.scanXHTMLEntity(r)}else{s+=a}}return{type:8,value:s,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index}}if(t===46){var u=this.scanner.source.charCodeAt(this.scanner.index+1);var h=this.scanner.source.charCodeAt(this.scanner.index+2);var e=u===46&&h===46?"...":".";var i=this.scanner.index;this.scanner.index+=e.length;return{type:7,value:e,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index}}if(t===96){return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index}}if(n.Character.isIdentifierStart(t)&&t!==92){var i=this.scanner.index;++this.scanner.index;while(!this.scanner.eof()){var a=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(a)&&a!==92){++this.scanner.index}else if(a===45){++this.scanner.index}else{break}}var o=this.scanner.source.slice(i,this.scanner.index);return{type:100,value:o,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index}}return this.scanner.lex()};JSXParser.prototype.nextJSXToken=function(){this.collectComments();this.startMarker.index=this.scanner.index;this.startMarker.line=this.scanner.lineNumber;this.startMarker.column=this.scanner.index-this.scanner.lineStart;var t=this.lexJSX();this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;if(this.config.tokens){this.tokens.push(this.convertToken(t))}return t};JSXParser.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index;this.startMarker.line=this.scanner.lineNumber;this.startMarker.column=this.scanner.index-this.scanner.lineStart;var t=this.scanner.index;var e="";while(!this.scanner.eof()){var i=this.scanner.source[this.scanner.index];if(i==="{"||i==="<"){break}++this.scanner.index;e+=i;if(n.Character.isLineTerminator(i.charCodeAt(0))){++this.scanner.lineNumber;if(i==="\r"&&this.scanner.source[this.scanner.index]==="\n"){++this.scanner.index}this.scanner.lineStart=this.scanner.index}}this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var r={type:101,value:e,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index};if(e.length>0&&this.config.tokens){this.tokens.push(this.convertToken(r))}return r};JSXParser.prototype.peekJSXToken=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.lexJSX();this.scanner.restoreState(t);return e};JSXParser.prototype.expectJSX=function(t){var e=this.nextJSXToken();if(e.type!==7||e.value!==t){this.throwUnexpectedToken(e)}};JSXParser.prototype.matchJSX=function(t){var e=this.peekJSXToken();return e.type===7&&e.value===t};JSXParser.prototype.parseJSXIdentifier=function(){var t=this.createJSXNode();var e=this.nextJSXToken();if(e.type!==100){this.throwUnexpectedToken(e)}return this.finalize(t,new s.JSXIdentifier(e.value))};JSXParser.prototype.parseJSXElementName=function(){var t=this.createJSXNode();var e=this.parseJSXIdentifier();if(this.matchJSX(":")){var i=e;this.expectJSX(":");var r=this.parseJSXIdentifier();e=this.finalize(t,new s.JSXNamespacedName(i,r))}else if(this.matchJSX(".")){while(this.matchJSX(".")){var n=e;this.expectJSX(".");var a=this.parseJSXIdentifier();e=this.finalize(t,new s.JSXMemberExpression(n,a))}}return e};JSXParser.prototype.parseJSXAttributeName=function(){var t=this.createJSXNode();var e;var i=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=i;this.expectJSX(":");var n=this.parseJSXIdentifier();e=this.finalize(t,new s.JSXNamespacedName(r,n))}else{e=i}return e};JSXParser.prototype.parseJSXStringLiteralAttribute=function(){var t=this.createJSXNode();var e=this.nextJSXToken();if(e.type!==8){this.throwUnexpectedToken(e)}var i=this.getTokenRaw(e);return this.finalize(t,new u.Literal(e.value,i))};JSXParser.prototype.parseJSXExpressionAttribute=function(){var t=this.createJSXNode();this.expectJSX("{");this.finishJSX();if(this.match("}")){this.tolerateError("JSX attributes must only be assigned a non-empty expression")}var e=this.parseAssignmentExpression();this.reenterJSX();return this.finalize(t,new s.JSXExpressionContainer(e))};JSXParser.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()};JSXParser.prototype.parseJSXNameValueAttribute=function(){var t=this.createJSXNode();var e=this.parseJSXAttributeName();var i=null;if(this.matchJSX("=")){this.expectJSX("=");i=this.parseJSXAttributeValue()}return this.finalize(t,new s.JSXAttribute(e,i))};JSXParser.prototype.parseJSXSpreadAttribute=function(){var t=this.createJSXNode();this.expectJSX("{");this.expectJSX("...");this.finishJSX();var e=this.parseAssignmentExpression();this.reenterJSX();return this.finalize(t,new s.JSXSpreadAttribute(e))};JSXParser.prototype.parseJSXAttributes=function(){var t=[];while(!this.matchJSX("/")&&!this.matchJSX(">")){var e=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();t.push(e)}return t};JSXParser.prototype.parseJSXOpeningElement=function(){var t=this.createJSXNode();this.expectJSX("<");var e=this.parseJSXElementName();var i=this.parseJSXAttributes();var r=this.matchJSX("/");if(r){this.expectJSX("/")}this.expectJSX(">");return this.finalize(t,new s.JSXOpeningElement(e,r,i))};JSXParser.prototype.parseJSXBoundaryElement=function(){var t=this.createJSXNode();this.expectJSX("<");if(this.matchJSX("/")){this.expectJSX("/");var e=this.parseJSXElementName();this.expectJSX(">");return this.finalize(t,new s.JSXClosingElement(e))}var i=this.parseJSXElementName();var r=this.parseJSXAttributes();var n=this.matchJSX("/");if(n){this.expectJSX("/")}this.expectJSX(">");return this.finalize(t,new s.JSXOpeningElement(i,n,r))};JSXParser.prototype.parseJSXEmptyExpression=function(){var t=this.createJSXChildNode();this.collectComments();this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;return this.finalize(t,new s.JSXEmptyExpression)};JSXParser.prototype.parseJSXExpressionContainer=function(){var t=this.createJSXNode();this.expectJSX("{");var e;if(this.matchJSX("}")){e=this.parseJSXEmptyExpression();this.expectJSX("}")}else{this.finishJSX();e=this.parseAssignmentExpression();this.reenterJSX()}return this.finalize(t,new s.JSXExpressionContainer(e))};JSXParser.prototype.parseJSXChildren=function(){var t=[];while(!this.scanner.eof()){var e=this.createJSXChildNode();var i=this.nextJSXText();if(i.start0){var u=this.finalize(t.node,new s.JSXElement(t.opening,t.children,t.closing));t=e[e.length-1];t.children.push(u);e.pop()}else{break}}}return t};JSXParser.prototype.parseJSXElement=function(){var t=this.createJSXNode();var e=this.parseJSXOpeningElement();var i=[];var r=null;if(!e.selfClosing){var n=this.parseComplexJSXElement({node:t,opening:e,closing:r,children:i});i=n.children;r=n.closing}return this.finalize(t,new s.JSXElement(e,i,r))};JSXParser.prototype.parseJSXRoot=function(){if(this.config.tokens){this.tokens.pop()}this.startJSX();var t=this.parseJSXElement();this.finishJSX();return t};JSXParser.prototype.isStartOfExpression=function(){return t.prototype.isStartOfExpression.call(this)||this.match("<")};return JSXParser}(h.Parser);e.JSXParser=c},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});var i={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};e.Character={fromCodePoint:function(t){return t<65536?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10))+String.fromCharCode(56320+(t-65536&1023))},isWhiteSpace:function(t){return t===32||t===9||t===11||t===12||t===160||t>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(t)>=0},isLineTerminator:function(t){return t===10||t===13||t===8232||t===8233},isIdentifierStart:function(t){return t===36||t===95||t>=65&&t<=90||t>=97&&t<=122||t===92||t>=128&&i.NonAsciiIdentifierStart.test(e.Character.fromCodePoint(t))},isIdentifierPart:function(t){return t===36||t===95||t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===92||t>=128&&i.NonAsciiIdentifierPart.test(e.Character.fromCodePoint(t))},isDecimalDigit:function(t){return t>=48&&t<=57},isHexDigit:function(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102},isOctalDigit:function(t){return t>=48&&t<=55}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(6);var n=function(){function JSXClosingElement(t){this.type=r.JSXSyntax.JSXClosingElement;this.name=t}return JSXClosingElement}();e.JSXClosingElement=n;var s=function(){function JSXElement(t,e,i){this.type=r.JSXSyntax.JSXElement;this.openingElement=t;this.children=e;this.closingElement=i}return JSXElement}();e.JSXElement=s;var a=function(){function JSXEmptyExpression(){this.type=r.JSXSyntax.JSXEmptyExpression}return JSXEmptyExpression}();e.JSXEmptyExpression=a;var u=function(){function JSXExpressionContainer(t){this.type=r.JSXSyntax.JSXExpressionContainer;this.expression=t}return JSXExpressionContainer}();e.JSXExpressionContainer=u;var h=function(){function JSXIdentifier(t){this.type=r.JSXSyntax.JSXIdentifier;this.name=t}return JSXIdentifier}();e.JSXIdentifier=h;var o=function(){function JSXMemberExpression(t,e){this.type=r.JSXSyntax.JSXMemberExpression;this.object=t;this.property=e}return JSXMemberExpression}();e.JSXMemberExpression=o;var l=function(){function JSXAttribute(t,e){this.type=r.JSXSyntax.JSXAttribute;this.name=t;this.value=e}return JSXAttribute}();e.JSXAttribute=l;var c=function(){function JSXNamespacedName(t,e){this.type=r.JSXSyntax.JSXNamespacedName;this.namespace=t;this.name=e}return JSXNamespacedName}();e.JSXNamespacedName=c;var p=function(){function JSXOpeningElement(t,e,i){this.type=r.JSXSyntax.JSXOpeningElement;this.name=t;this.selfClosing=e;this.attributes=i}return JSXOpeningElement}();e.JSXOpeningElement=p;var f=function(){function JSXSpreadAttribute(t){this.type=r.JSXSyntax.JSXSpreadAttribute;this.argument=t}return JSXSpreadAttribute}();e.JSXSpreadAttribute=f;var D=function(){function JSXText(t,e){this.type=r.JSXSyntax.JSXText;this.value=t;this.raw=e}return JSXText}();e.JSXText=D},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(2);var n=function(){function ArrayExpression(t){this.type=r.Syntax.ArrayExpression;this.elements=t}return ArrayExpression}();e.ArrayExpression=n;var s=function(){function ArrayPattern(t){this.type=r.Syntax.ArrayPattern;this.elements=t}return ArrayPattern}();e.ArrayPattern=s;var a=function(){function ArrowFunctionExpression(t,e,i){this.type=r.Syntax.ArrowFunctionExpression;this.id=null;this.params=t;this.body=e;this.generator=false;this.expression=i;this.async=false}return ArrowFunctionExpression}();e.ArrowFunctionExpression=a;var u=function(){function AssignmentExpression(t,e,i){this.type=r.Syntax.AssignmentExpression;this.operator=t;this.left=e;this.right=i}return AssignmentExpression}();e.AssignmentExpression=u;var h=function(){function AssignmentPattern(t,e){this.type=r.Syntax.AssignmentPattern;this.left=t;this.right=e}return AssignmentPattern}();e.AssignmentPattern=h;var o=function(){function AsyncArrowFunctionExpression(t,e,i){this.type=r.Syntax.ArrowFunctionExpression;this.id=null;this.params=t;this.body=e;this.generator=false;this.expression=i;this.async=true}return AsyncArrowFunctionExpression}();e.AsyncArrowFunctionExpression=o;var l=function(){function AsyncFunctionDeclaration(t,e,i){this.type=r.Syntax.FunctionDeclaration;this.id=t;this.params=e;this.body=i;this.generator=false;this.expression=false;this.async=true}return AsyncFunctionDeclaration}();e.AsyncFunctionDeclaration=l;var c=function(){function AsyncFunctionExpression(t,e,i){this.type=r.Syntax.FunctionExpression;this.id=t;this.params=e;this.body=i;this.generator=false;this.expression=false;this.async=true}return AsyncFunctionExpression}();e.AsyncFunctionExpression=c;var p=function(){function AwaitExpression(t){this.type=r.Syntax.AwaitExpression;this.argument=t}return AwaitExpression}();e.AwaitExpression=p;var f=function(){function BinaryExpression(t,e,i){var n=t==="||"||t==="&&";this.type=n?r.Syntax.LogicalExpression:r.Syntax.BinaryExpression;this.operator=t;this.left=e;this.right=i}return BinaryExpression}();e.BinaryExpression=f;var D=function(){function BlockStatement(t){this.type=r.Syntax.BlockStatement;this.body=t}return BlockStatement}();e.BlockStatement=D;var x=function(){function BreakStatement(t){this.type=r.Syntax.BreakStatement;this.label=t}return BreakStatement}();e.BreakStatement=x;var E=function(){function CallExpression(t,e){this.type=r.Syntax.CallExpression;this.callee=t;this.arguments=e}return CallExpression}();e.CallExpression=E;var m=function(){function CatchClause(t,e){this.type=r.Syntax.CatchClause;this.param=t;this.body=e}return CatchClause}();e.CatchClause=m;var v=function(){function ClassBody(t){this.type=r.Syntax.ClassBody;this.body=t}return ClassBody}();e.ClassBody=v;var C=function(){function ClassDeclaration(t,e,i){this.type=r.Syntax.ClassDeclaration;this.id=t;this.superClass=e;this.body=i}return ClassDeclaration}();e.ClassDeclaration=C;var S=function(){function ClassExpression(t,e,i){this.type=r.Syntax.ClassExpression;this.id=t;this.superClass=e;this.body=i}return ClassExpression}();e.ClassExpression=S;var y=function(){function ComputedMemberExpression(t,e){this.type=r.Syntax.MemberExpression;this.computed=true;this.object=t;this.property=e}return ComputedMemberExpression}();e.ComputedMemberExpression=y;var d=function(){function ConditionalExpression(t,e,i){this.type=r.Syntax.ConditionalExpression;this.test=t;this.consequent=e;this.alternate=i}return ConditionalExpression}();e.ConditionalExpression=d;var A=function(){function ContinueStatement(t){this.type=r.Syntax.ContinueStatement;this.label=t}return ContinueStatement}();e.ContinueStatement=A;var F=function(){function DebuggerStatement(){this.type=r.Syntax.DebuggerStatement}return DebuggerStatement}();e.DebuggerStatement=F;var w=function(){function Directive(t,e){this.type=r.Syntax.ExpressionStatement;this.expression=t;this.directive=e}return Directive}();e.Directive=w;var b=function(){function DoWhileStatement(t,e){this.type=r.Syntax.DoWhileStatement;this.body=t;this.test=e}return DoWhileStatement}();e.DoWhileStatement=b;var B=function(){function EmptyStatement(){this.type=r.Syntax.EmptyStatement}return EmptyStatement}();e.EmptyStatement=B;var g=function(){function ExportAllDeclaration(t){this.type=r.Syntax.ExportAllDeclaration;this.source=t}return ExportAllDeclaration}();e.ExportAllDeclaration=g;var P=function(){function ExportDefaultDeclaration(t){this.type=r.Syntax.ExportDefaultDeclaration;this.declaration=t}return ExportDefaultDeclaration}();e.ExportDefaultDeclaration=P;var T=function(){function ExportNamedDeclaration(t,e,i){this.type=r.Syntax.ExportNamedDeclaration;this.declaration=t;this.specifiers=e;this.source=i}return ExportNamedDeclaration}();e.ExportNamedDeclaration=T;var I=function(){function ExportSpecifier(t,e){this.type=r.Syntax.ExportSpecifier;this.exported=e;this.local=t}return ExportSpecifier}();e.ExportSpecifier=I;var M=function(){function ExpressionStatement(t){this.type=r.Syntax.ExpressionStatement;this.expression=t}return ExpressionStatement}();e.ExpressionStatement=M;var X=function(){function ForInStatement(t,e,i){this.type=r.Syntax.ForInStatement;this.left=t;this.right=e;this.body=i;this.each=false}return ForInStatement}();e.ForInStatement=X;var J=function(){function ForOfStatement(t,e,i){this.type=r.Syntax.ForOfStatement;this.left=t;this.right=e;this.body=i}return ForOfStatement}();e.ForOfStatement=J;var k=function(){function ForStatement(t,e,i,n){this.type=r.Syntax.ForStatement;this.init=t;this.test=e;this.update=i;this.body=n}return ForStatement}();e.ForStatement=k;var N=function(){function FunctionDeclaration(t,e,i,n){this.type=r.Syntax.FunctionDeclaration;this.id=t;this.params=e;this.body=i;this.generator=n;this.expression=false;this.async=false}return FunctionDeclaration}();e.FunctionDeclaration=N;var L=function(){function FunctionExpression(t,e,i,n){this.type=r.Syntax.FunctionExpression;this.id=t;this.params=e;this.body=i;this.generator=n;this.expression=false;this.async=false}return FunctionExpression}();e.FunctionExpression=L;var O=function(){function Identifier(t){this.type=r.Syntax.Identifier;this.name=t}return Identifier}();e.Identifier=O;var U=function(){function IfStatement(t,e,i){this.type=r.Syntax.IfStatement;this.test=t;this.consequent=e;this.alternate=i}return IfStatement}();e.IfStatement=U;var R=function(){function ImportDeclaration(t,e){this.type=r.Syntax.ImportDeclaration;this.specifiers=t;this.source=e}return ImportDeclaration}();e.ImportDeclaration=R;var z=function(){function ImportDefaultSpecifier(t){this.type=r.Syntax.ImportDefaultSpecifier;this.local=t}return ImportDefaultSpecifier}();e.ImportDefaultSpecifier=z;var K=function(){function ImportNamespaceSpecifier(t){this.type=r.Syntax.ImportNamespaceSpecifier;this.local=t}return ImportNamespaceSpecifier}();e.ImportNamespaceSpecifier=K;var j=function(){function ImportSpecifier(t,e){this.type=r.Syntax.ImportSpecifier;this.local=t;this.imported=e}return ImportSpecifier}();e.ImportSpecifier=j;var H=function(){function LabeledStatement(t,e){this.type=r.Syntax.LabeledStatement;this.label=t;this.body=e}return LabeledStatement}();e.LabeledStatement=H;var W=function(){function Literal(t,e){this.type=r.Syntax.Literal;this.value=t;this.raw=e}return Literal}();e.Literal=W;var V=function(){function MetaProperty(t,e){this.type=r.Syntax.MetaProperty;this.meta=t;this.property=e}return MetaProperty}();e.MetaProperty=V;var G=function(){function MethodDefinition(t,e,i,n,s){this.type=r.Syntax.MethodDefinition;this.key=t;this.computed=e;this.value=i;this.kind=n;this.static=s}return MethodDefinition}();e.MethodDefinition=G;var Y=function(){function Module(t){this.type=r.Syntax.Program;this.body=t;this.sourceType="module"}return Module}();e.Module=Y;var q=function(){function NewExpression(t,e){this.type=r.Syntax.NewExpression;this.callee=t;this.arguments=e}return NewExpression}();e.NewExpression=q;var $=function(){function ObjectExpression(t){this.type=r.Syntax.ObjectExpression;this.properties=t}return ObjectExpression}();e.ObjectExpression=$;var Q=function(){function ObjectPattern(t){this.type=r.Syntax.ObjectPattern;this.properties=t}return ObjectPattern}();e.ObjectPattern=Q;var Z=function(){function Property(t,e,i,n,s,a){this.type=r.Syntax.Property;this.key=e;this.computed=i;this.value=n;this.kind=t;this.method=s;this.shorthand=a}return Property}();e.Property=Z;var _=function(){function RegexLiteral(t,e,i,n){this.type=r.Syntax.Literal;this.value=t;this.raw=e;this.regex={pattern:i,flags:n}}return RegexLiteral}();e.RegexLiteral=_;var tt=function(){function RestElement(t){this.type=r.Syntax.RestElement;this.argument=t}return RestElement}();e.RestElement=tt;var et=function(){function ReturnStatement(t){this.type=r.Syntax.ReturnStatement;this.argument=t}return ReturnStatement}();e.ReturnStatement=et;var it=function(){function Script(t){this.type=r.Syntax.Program;this.body=t;this.sourceType="script"}return Script}();e.Script=it;var rt=function(){function SequenceExpression(t){this.type=r.Syntax.SequenceExpression;this.expressions=t}return SequenceExpression}();e.SequenceExpression=rt;var nt=function(){function SpreadElement(t){this.type=r.Syntax.SpreadElement;this.argument=t}return SpreadElement}();e.SpreadElement=nt;var st=function(){function StaticMemberExpression(t,e){this.type=r.Syntax.MemberExpression;this.computed=false;this.object=t;this.property=e}return StaticMemberExpression}();e.StaticMemberExpression=st;var at=function(){function Super(){this.type=r.Syntax.Super}return Super}();e.Super=at;var ut=function(){function SwitchCase(t,e){this.type=r.Syntax.SwitchCase;this.test=t;this.consequent=e}return SwitchCase}();e.SwitchCase=ut;var ht=function(){function SwitchStatement(t,e){this.type=r.Syntax.SwitchStatement;this.discriminant=t;this.cases=e}return SwitchStatement}();e.SwitchStatement=ht;var ot=function(){function TaggedTemplateExpression(t,e){this.type=r.Syntax.TaggedTemplateExpression;this.tag=t;this.quasi=e}return TaggedTemplateExpression}();e.TaggedTemplateExpression=ot;var lt=function(){function TemplateElement(t,e){this.type=r.Syntax.TemplateElement;this.value=t;this.tail=e}return TemplateElement}();e.TemplateElement=lt;var ct=function(){function TemplateLiteral(t,e){this.type=r.Syntax.TemplateLiteral;this.quasis=t;this.expressions=e}return TemplateLiteral}();e.TemplateLiteral=ct;var pt=function(){function ThisExpression(){this.type=r.Syntax.ThisExpression}return ThisExpression}();e.ThisExpression=pt;var ft=function(){function ThrowStatement(t){this.type=r.Syntax.ThrowStatement;this.argument=t}return ThrowStatement}();e.ThrowStatement=ft;var Dt=function(){function TryStatement(t,e,i){this.type=r.Syntax.TryStatement;this.block=t;this.handler=e;this.finalizer=i}return TryStatement}();e.TryStatement=Dt;var xt=function(){function UnaryExpression(t,e){this.type=r.Syntax.UnaryExpression;this.operator=t;this.argument=e;this.prefix=true}return UnaryExpression}();e.UnaryExpression=xt;var Et=function(){function UpdateExpression(t,e,i){this.type=r.Syntax.UpdateExpression;this.operator=t;this.argument=e;this.prefix=i}return UpdateExpression}();e.UpdateExpression=Et;var mt=function(){function VariableDeclaration(t,e){this.type=r.Syntax.VariableDeclaration;this.declarations=t;this.kind=e}return VariableDeclaration}();e.VariableDeclaration=mt;var vt=function(){function VariableDeclarator(t,e){this.type=r.Syntax.VariableDeclarator;this.id=t;this.init=e}return VariableDeclarator}();e.VariableDeclarator=vt;var Ct=function(){function WhileStatement(t,e){this.type=r.Syntax.WhileStatement;this.test=t;this.body=e}return WhileStatement}();e.WhileStatement=Ct;var St=function(){function WithStatement(t,e){this.type=r.Syntax.WithStatement;this.object=t;this.body=e}return WithStatement}();e.WithStatement=St;var yt=function(){function YieldExpression(t,e){this.type=r.Syntax.YieldExpression;this.argument=t;this.delegate=e}return YieldExpression}();e.YieldExpression=yt},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(9);var n=i(10);var s=i(11);var a=i(7);var u=i(12);var h=i(2);var o=i(13);var l="ArrowParameterPlaceHolder";var c=function(){function Parser(t,e,i){if(e===void 0){e={}}this.config={range:typeof e.range==="boolean"&&e.range,loc:typeof e.loc==="boolean"&&e.loc,source:null,tokens:typeof e.tokens==="boolean"&&e.tokens,comment:typeof e.comment==="boolean"&&e.comment,tolerant:typeof e.tolerant==="boolean"&&e.tolerant};if(this.config.loc&&e.source&&e.source!==null){this.config.source=String(e.source)}this.delegate=i;this.errorHandler=new n.ErrorHandler;this.errorHandler.tolerant=this.config.tolerant;this.scanner=new u.Scanner(t,this.errorHandler);this.scanner.trackComment=this.config.comment;this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11};this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0};this.hasLineTerminator=false;this.context={isModule:false,await:false,allowIn:true,allowStrictDirective:true,allowYield:true,firstCoverInitializedNameError:null,isAssignmentTarget:false,isBindingElement:false,inFunctionBody:false,inIteration:false,inSwitch:false,labelSet:{},strict:false};this.tokens=[];this.startMarker={index:0,line:this.scanner.lineNumber,column:0};this.lastMarker={index:0,line:this.scanner.lineNumber,column:0};this.nextToken();this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}Parser.prototype.throwError=function(t){var e=[];for(var i=1;i0&&this.delegate){for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="};Parser.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement;var i=this.context.isAssignmentTarget;var r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=true;this.context.isAssignmentTarget=true;this.context.firstCoverInitializedNameError=null;var n=t.call(this);if(this.context.firstCoverInitializedNameError!==null){this.throwUnexpectedToken(this.context.firstCoverInitializedNameError)}this.context.isBindingElement=e;this.context.isAssignmentTarget=i;this.context.firstCoverInitializedNameError=r;return n};Parser.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement;var i=this.context.isAssignmentTarget;var r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=true;this.context.isAssignmentTarget=true;this.context.firstCoverInitializedNameError=null;var n=t.call(this);this.context.isBindingElement=this.context.isBindingElement&&e;this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i;this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError;return n};Parser.prototype.consumeSemicolon=function(){if(this.match(";")){this.nextToken()}else if(!this.hasLineTerminator){if(this.lookahead.type!==2&&!this.match("}")){this.throwUnexpectedToken(this.lookahead)}this.lastMarker.index=this.startMarker.index;this.lastMarker.line=this.startMarker.line;this.lastMarker.column=this.startMarker.column}};Parser.prototype.parsePrimaryExpression=function(){var t=this.createNode();var e;var i,r;switch(this.lookahead.type){case 3:if((this.context.isModule||this.context.await)&&this.lookahead.value==="await"){this.tolerateUnexpectedToken(this.lookahead)}e=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(t,new a.Identifier(this.nextToken().value));break;case 6:case 8:if(this.context.strict&&this.lookahead.octal){this.tolerateUnexpectedToken(this.lookahead,s.Messages.StrictOctalLiteral)}this.context.isAssignmentTarget=false;this.context.isBindingElement=false;i=this.nextToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.Literal(i.value,r));break;case 1:this.context.isAssignmentTarget=false;this.context.isBindingElement=false;i=this.nextToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.Literal(i.value==="true",r));break;case 5:this.context.isAssignmentTarget=false;this.context.isBindingElement=false;i=this.nextToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.Literal(null,r));break;case 10:e=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=false;e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=false;this.context.isBindingElement=false;this.scanner.index=this.startMarker.index;i=this.nextRegexToken();r=this.getTokenRaw(i);e=this.finalize(t,new a.RegexLiteral(i.regex,r,i.pattern,i.flags));break;default:e=this.throwUnexpectedToken(this.nextToken())}break;case 4:if(!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")){e=this.parseIdentifierName()}else if(!this.context.strict&&this.matchKeyword("let")){e=this.finalize(t,new a.Identifier(this.nextToken().value))}else{this.context.isAssignmentTarget=false;this.context.isBindingElement=false;if(this.matchKeyword("function")){e=this.parseFunctionExpression()}else if(this.matchKeyword("this")){this.nextToken();e=this.finalize(t,new a.ThisExpression)}else if(this.matchKeyword("class")){e=this.parseClassExpression()}else{e=this.throwUnexpectedToken(this.nextToken())}}break;default:e=this.throwUnexpectedToken(this.nextToken())}return e};Parser.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new a.SpreadElement(e))};Parser.prototype.parseArrayInitializer=function(){var t=this.createNode();var e=[];this.expect("[");while(!this.match("]")){if(this.match(",")){this.nextToken();e.push(null)}else if(this.match("...")){var i=this.parseSpreadElement();if(!this.match("]")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;this.expect(",")}e.push(i)}else{e.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(!this.match("]")){this.expect(",")}}}this.expect("]");return this.finalize(t,new a.ArrayExpression(e))};Parser.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var e=this.context.strict;var i=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var r=this.isolateCoverGrammar(this.parseFunctionSourceElements);if(this.context.strict&&t.firstRestricted){this.tolerateUnexpectedToken(t.firstRestricted,t.message)}if(this.context.strict&&t.stricted){this.tolerateUnexpectedToken(t.stricted,t.message)}this.context.strict=e;this.context.allowStrictDirective=i;return r};Parser.prototype.parsePropertyMethodFunction=function(){var t=false;var e=this.createNode();var i=this.context.allowYield;this.context.allowYield=true;var r=this.parseFormalParameters();var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(e,new a.FunctionExpression(null,r.params,n,t))};Parser.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode();var e=this.context.allowYield;var i=this.context.await;this.context.allowYield=false;this.context.await=true;var r=this.parseFormalParameters();var n=this.parsePropertyMethod(r);this.context.allowYield=e;this.context.await=i;return this.finalize(t,new a.AsyncFunctionExpression(null,r.params,n))};Parser.prototype.parseObjectPropertyKey=function(){var t=this.createNode();var e=this.nextToken();var i;switch(e.type){case 8:case 6:if(this.context.strict&&e.octal){this.tolerateUnexpectedToken(e,s.Messages.StrictOctalLiteral)}var r=this.getTokenRaw(e);i=this.finalize(t,new a.Literal(e.value,r));break;case 3:case 1:case 5:case 4:i=this.finalize(t,new a.Identifier(e.value));break;case 7:if(e.value==="["){i=this.isolateCoverGrammar(this.parseAssignmentExpression);this.expect("]")}else{i=this.throwUnexpectedToken(e)}break;default:i=this.throwUnexpectedToken(e)}return i};Parser.prototype.isPropertyKey=function(t,e){return t.type===h.Syntax.Identifier&&t.name===e||t.type===h.Syntax.Literal&&t.value===e};Parser.prototype.parseObjectProperty=function(t){var e=this.createNode();var i=this.lookahead;var r;var n=null;var u=null;var h=false;var o=false;var l=false;var c=false;if(i.type===3){var p=i.value;this.nextToken();h=this.match("[");c=!this.hasLineTerminator&&p==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(",");n=c?this.parseObjectPropertyKey():this.finalize(e,new a.Identifier(p))}else if(this.match("*")){this.nextToken()}else{h=this.match("[");n=this.parseObjectPropertyKey()}var f=this.qualifiedPropertyName(this.lookahead);if(i.type===3&&!c&&i.value==="get"&&f){r="get";h=this.match("[");n=this.parseObjectPropertyKey();this.context.allowYield=false;u=this.parseGetterMethod()}else if(i.type===3&&!c&&i.value==="set"&&f){r="set";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseSetterMethod()}else if(i.type===7&&i.value==="*"&&f){r="init";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseGeneratorMethod();o=true}else{if(!n){this.throwUnexpectedToken(this.lookahead)}r="init";if(this.match(":")&&!c){if(!h&&this.isPropertyKey(n,"__proto__")){if(t.value){this.tolerateError(s.Messages.DuplicateProtoProperty)}t.value=true}this.nextToken();u=this.inheritCoverGrammar(this.parseAssignmentExpression)}else if(this.match("(")){u=c?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction();o=true}else if(i.type===3){var p=this.finalize(e,new a.Identifier(i.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead;this.nextToken();l=true;var D=this.isolateCoverGrammar(this.parseAssignmentExpression);u=this.finalize(e,new a.AssignmentPattern(p,D))}else{l=true;u=p}}else{this.throwUnexpectedToken(this.nextToken())}}return this.finalize(e,new a.Property(r,n,h,u,o,l))};Parser.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");var e=[];var i={value:false};while(!this.match("}")){e.push(this.parseObjectProperty(i));if(!this.match("}")){this.expectCommaSeparator()}}this.expect("}");return this.finalize(t,new a.ObjectExpression(e))};Parser.prototype.parseTemplateHead=function(){r.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode();var e=this.nextToken();var i=e.value;var n=e.cooked;return this.finalize(t,new a.TemplateElement({raw:i,cooked:n},e.tail))};Parser.prototype.parseTemplateElement=function(){if(this.lookahead.type!==10){this.throwUnexpectedToken()}var t=this.createNode();var e=this.nextToken();var i=e.value;var r=e.cooked;return this.finalize(t,new a.TemplateElement({raw:i,cooked:r},e.tail))};Parser.prototype.parseTemplateLiteral=function(){var t=this.createNode();var e=[];var i=[];var r=this.parseTemplateHead();i.push(r);while(!r.tail){e.push(this.parseExpression());r=this.parseTemplateElement();i.push(r)}return this.finalize(t,new a.TemplateLiteral(i,e))};Parser.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case h.Syntax.Identifier:case h.Syntax.MemberExpression:case h.Syntax.RestElement:case h.Syntax.AssignmentPattern:break;case h.Syntax.SpreadElement:t.type=h.Syntax.RestElement;this.reinterpretExpressionAsPattern(t.argument);break;case h.Syntax.ArrayExpression:t.type=h.Syntax.ArrayPattern;for(var e=0;e")){this.expect("=>")}t={type:l,params:[],async:false}}else{var e=this.lookahead;var i=[];if(this.match("...")){t=this.parseRestElement(i);this.expect(")");if(!this.match("=>")){this.expect("=>")}t={type:l,params:[t],async:false}}else{var r=false;this.context.isBindingElement=true;t=this.inheritCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var n=[];this.context.isAssignmentTarget=false;n.push(t);while(this.lookahead.type!==2){if(!this.match(",")){break}this.nextToken();if(this.match(")")){this.nextToken();for(var s=0;s")){this.expect("=>")}this.context.isBindingElement=false;for(var s=0;s")){if(t.type===h.Syntax.Identifier&&t.name==="yield"){r=true;t={type:l,params:[t],async:false}}if(!r){if(!this.context.isBindingElement){this.throwUnexpectedToken(this.lookahead)}if(t.type===h.Syntax.SequenceExpression){for(var s=0;s")){for(var h=0;h0){this.nextToken();this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var n=[t,this.lookahead];var s=e;var u=this.isolateCoverGrammar(this.parseExponentiationExpression);var h=[s,i.value,u];var o=[r];while(true){r=this.binaryPrecedence(this.lookahead);if(r<=0){break}while(h.length>2&&r<=o[o.length-1]){u=h.pop();var l=h.pop();o.pop();s=h.pop();n.pop();var c=this.startNode(n[n.length-1]);h.push(this.finalize(c,new a.BinaryExpression(l,s,u)))}h.push(this.nextToken().value);o.push(r);n.push(this.lookahead);h.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var p=h.length-1;e=h[p];var f=n.pop();while(p>1){var D=n.pop();var x=f&&f.lineStart;var c=this.startNode(D,x);var l=h[p-1];e=this.finalize(c,new a.BinaryExpression(l,h[p-2],e));p-=2;f=D}}return e};Parser.prototype.parseConditionalExpression=function(){var t=this.lookahead;var e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=true;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i;this.expect(":");var n=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new a.ConditionalExpression(e,r,n));this.context.isAssignmentTarget=false;this.context.isBindingElement=false}return e};Parser.prototype.checkPatternParam=function(t,e){switch(e.type){case h.Syntax.Identifier:this.validateParam(t,e,e.name);break;case h.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case h.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case h.Syntax.ArrayPattern:for(var i=0;i")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var n=t.async;var u=this.reinterpretAsCoverFormalsList(t);if(u){if(this.hasLineTerminator){this.tolerateUnexpectedToken(this.lookahead)}this.context.firstCoverInitializedNameError=null;var o=this.context.strict;var c=this.context.allowStrictDirective;this.context.allowStrictDirective=u.simple;var p=this.context.allowYield;var f=this.context.await;this.context.allowYield=true;this.context.await=n;var D=this.startNode(e);this.expect("=>");var x=void 0;if(this.match("{")){var E=this.context.allowIn;this.context.allowIn=true;x=this.parseFunctionSourceElements();this.context.allowIn=E}else{x=this.isolateCoverGrammar(this.parseAssignmentExpression)}var m=x.type!==h.Syntax.BlockStatement;if(this.context.strict&&u.firstRestricted){this.throwUnexpectedToken(u.firstRestricted,u.message)}if(this.context.strict&&u.stricted){this.tolerateUnexpectedToken(u.stricted,u.message)}t=n?this.finalize(D,new a.AsyncArrowFunctionExpression(u.params,x,m)):this.finalize(D,new a.ArrowFunctionExpression(u.params,x,m));this.context.strict=o;this.context.allowStrictDirective=c;this.context.allowYield=p;this.context.await=f}}else{if(this.matchAssign()){if(!this.context.isAssignmentTarget){this.tolerateError(s.Messages.InvalidLHSInAssignment)}if(this.context.strict&&t.type===h.Syntax.Identifier){var v=t;if(this.scanner.isRestrictedWord(v.name)){this.tolerateUnexpectedToken(i,s.Messages.StrictLHSAssignment)}if(this.scanner.isStrictModeReservedWord(v.name)){this.tolerateUnexpectedToken(i,s.Messages.StrictReservedWord)}}if(!this.match("=")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false}else{this.reinterpretExpressionAsPattern(t)}i=this.nextToken();var C=i.value;var S=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new a.AssignmentExpression(C,t,S));this.context.firstCoverInitializedNameError=null}}}return t};Parser.prototype.parseExpression=function(){var t=this.lookahead;var e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];i.push(e);while(this.lookahead.type!==2){if(!this.match(",")){break}this.nextToken();i.push(this.isolateCoverGrammar(this.parseAssignmentExpression))}e=this.finalize(this.startNode(t),new a.SequenceExpression(i))}return e};Parser.prototype.parseStatementListItem=function(){var t;this.context.isAssignmentTarget=true;this.context.isBindingElement=true;if(this.lookahead.type===4){switch(this.lookahead.value){case"export":if(!this.context.isModule){this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalExportDeclaration)}t=this.parseExportDeclaration();break;case"import":if(!this.context.isModule){this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalImportDeclaration)}t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:false});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:false}):this.parseStatement();break;default:t=this.parseStatement();break}}else{t=this.parseStatement()}return t};Parser.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");var e=[];while(true){if(this.match("}")){break}e.push(this.parseStatementListItem())}this.expect("}");return this.finalize(t,new a.BlockStatement(e))};Parser.prototype.parseLexicalBinding=function(t,e){var i=this.createNode();var r=[];var n=this.parsePattern(r,t);if(this.context.strict&&n.type===h.Syntax.Identifier){if(this.scanner.isRestrictedWord(n.name)){this.tolerateError(s.Messages.StrictVarName)}}var u=null;if(t==="const"){if(!this.matchKeyword("in")&&!this.matchContextualKeyword("of")){if(this.match("=")){this.nextToken();u=this.isolateCoverGrammar(this.parseAssignmentExpression)}else{this.throwError(s.Messages.DeclarationMissingInitializer,"const")}}}else if(!e.inFor&&n.type!==h.Syntax.Identifier||this.match("=")){this.expect("=");u=this.isolateCoverGrammar(this.parseAssignmentExpression)}return this.finalize(i,new a.VariableDeclarator(n,u))};Parser.prototype.parseBindingList=function(t,e){var i=[this.parseLexicalBinding(t,e)];while(this.match(",")){this.nextToken();i.push(this.parseLexicalBinding(t,e))}return i};Parser.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();this.scanner.restoreState(t);return e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"};Parser.prototype.parseLexicalDeclaration=function(t){var e=this.createNode();var i=this.nextToken().value;r.assert(i==="let"||i==="const","Lexical declaration must be either let or const");var n=this.parseBindingList(i,t);this.consumeSemicolon();return this.finalize(e,new a.VariableDeclaration(n,i))};Parser.prototype.parseBindingRestElement=function(t,e){var i=this.createNode();this.expect("...");var r=this.parsePattern(t,e);return this.finalize(i,new a.RestElement(r))};Parser.prototype.parseArrayPattern=function(t,e){var i=this.createNode();this.expect("[");var r=[];while(!this.match("]")){if(this.match(",")){this.nextToken();r.push(null)}else{if(this.match("...")){r.push(this.parseBindingRestElement(t,e));break}else{r.push(this.parsePatternWithDefault(t,e))}if(!this.match("]")){this.expect(",")}}}this.expect("]");return this.finalize(i,new a.ArrayPattern(r))};Parser.prototype.parsePropertyPattern=function(t,e){var i=this.createNode();var r=false;var n=false;var s=false;var u;var h;if(this.lookahead.type===3){var o=this.lookahead;u=this.parseVariableIdentifier();var l=this.finalize(i,new a.Identifier(o.value));if(this.match("=")){t.push(o);n=true;this.nextToken();var c=this.parseAssignmentExpression();h=this.finalize(this.startNode(o),new a.AssignmentPattern(l,c))}else if(!this.match(":")){t.push(o);n=true;h=l}else{this.expect(":");h=this.parsePatternWithDefault(t,e)}}else{r=this.match("[");u=this.parseObjectPropertyKey();this.expect(":");h=this.parsePatternWithDefault(t,e)}return this.finalize(i,new a.Property("init",u,r,h,s,n))};Parser.prototype.parseObjectPattern=function(t,e){var i=this.createNode();var r=[];this.expect("{");while(!this.match("}")){r.push(this.parsePropertyPattern(t,e));if(!this.match("}")){this.expect(",")}}this.expect("}");return this.finalize(i,new a.ObjectPattern(r))};Parser.prototype.parsePattern=function(t,e){var i;if(this.match("[")){i=this.parseArrayPattern(t,e)}else if(this.match("{")){i=this.parseObjectPattern(t,e)}else{if(this.matchKeyword("let")&&(e==="const"||e==="let")){this.tolerateUnexpectedToken(this.lookahead,s.Messages.LetInLexicalBinding)}t.push(this.lookahead);i=this.parseVariableIdentifier(e)}return i};Parser.prototype.parsePatternWithDefault=function(t,e){var i=this.lookahead;var r=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var n=this.context.allowYield;this.context.allowYield=true;var s=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=n;r=this.finalize(this.startNode(i),new a.AssignmentPattern(r,s))}return r};Parser.prototype.parseVariableIdentifier=function(t){var e=this.createNode();var i=this.nextToken();if(i.type===4&&i.value==="yield"){if(this.context.strict){this.tolerateUnexpectedToken(i,s.Messages.StrictReservedWord)}else if(!this.context.allowYield){this.throwUnexpectedToken(i)}}else if(i.type!==3){if(this.context.strict&&i.type===4&&this.scanner.isStrictModeReservedWord(i.value)){this.tolerateUnexpectedToken(i,s.Messages.StrictReservedWord)}else{if(this.context.strict||i.value!=="let"||t!=="var"){this.throwUnexpectedToken(i)}}}else if((this.context.isModule||this.context.await)&&i.type===3&&i.value==="await"){this.tolerateUnexpectedToken(i)}return this.finalize(e,new a.Identifier(i.value))};Parser.prototype.parseVariableDeclaration=function(t){var e=this.createNode();var i=[];var r=this.parsePattern(i,"var");if(this.context.strict&&r.type===h.Syntax.Identifier){if(this.scanner.isRestrictedWord(r.name)){this.tolerateError(s.Messages.StrictVarName)}}var n=null;if(this.match("=")){this.nextToken();n=this.isolateCoverGrammar(this.parseAssignmentExpression)}else if(r.type!==h.Syntax.Identifier&&!t.inFor){this.expect("=")}return this.finalize(e,new a.VariableDeclarator(r,n))};Parser.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor};var i=[];i.push(this.parseVariableDeclaration(e));while(this.match(",")){this.nextToken();i.push(this.parseVariableDeclaration(e))}return i};Parser.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:false});this.consumeSemicolon();return this.finalize(t,new a.VariableDeclaration(e,"var"))};Parser.prototype.parseEmptyStatement=function(){var t=this.createNode();this.expect(";");return this.finalize(t,new a.EmptyStatement)};Parser.prototype.parseExpressionStatement=function(){var t=this.createNode();var e=this.parseExpression();this.consumeSemicolon();return this.finalize(t,new a.ExpressionStatement(e))};Parser.prototype.parseIfClause=function(){if(this.context.strict&&this.matchKeyword("function")){this.tolerateError(s.Messages.StrictFunction)}return this.parseStatement()};Parser.prototype.parseIfStatement=function(){var t=this.createNode();var e;var i=null;this.expectKeyword("if");this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());e=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");e=this.parseIfClause();if(this.matchKeyword("else")){this.nextToken();i=this.parseIfClause()}}return this.finalize(t,new a.IfStatement(r,e,i))};Parser.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=true;var i=this.parseStatement();this.context.inIteration=e;this.expectKeyword("while");this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken())}else{this.expect(")");if(this.match(";")){this.nextToken()}}return this.finalize(t,new a.DoWhileStatement(i,r))};Parser.prototype.parseWhileStatement=function(){var t=this.createNode();var e;this.expectKeyword("while");this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());e=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");var r=this.context.inIteration;this.context.inIteration=true;e=this.parseStatement();this.context.inIteration=r}return this.finalize(t,new a.WhileStatement(i,e))};Parser.prototype.parseForStatement=function(){var t=null;var e=null;var i=null;var r=true;var n,u;var o=this.createNode();this.expectKeyword("for");this.expect("(");if(this.match(";")){this.nextToken()}else{if(this.matchKeyword("var")){t=this.createNode();this.nextToken();var l=this.context.allowIn;this.context.allowIn=false;var c=this.parseVariableDeclarationList({inFor:true});this.context.allowIn=l;if(c.length===1&&this.matchKeyword("in")){var p=c[0];if(p.init&&(p.id.type===h.Syntax.ArrayPattern||p.id.type===h.Syntax.ObjectPattern||this.context.strict)){this.tolerateError(s.Messages.ForInOfLoopInitializer,"for-in")}t=this.finalize(t,new a.VariableDeclaration(c,"var"));this.nextToken();n=t;u=this.parseExpression();t=null}else if(c.length===1&&c[0].init===null&&this.matchContextualKeyword("of")){t=this.finalize(t,new a.VariableDeclaration(c,"var"));this.nextToken();n=t;u=this.parseAssignmentExpression();t=null;r=false}else{t=this.finalize(t,new a.VariableDeclaration(c,"var"));this.expect(";")}}else if(this.matchKeyword("const")||this.matchKeyword("let")){t=this.createNode();var f=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in"){t=this.finalize(t,new a.Identifier(f));this.nextToken();n=t;u=this.parseExpression();t=null}else{var l=this.context.allowIn;this.context.allowIn=false;var c=this.parseBindingList(f,{inFor:true});this.context.allowIn=l;if(c.length===1&&c[0].init===null&&this.matchKeyword("in")){t=this.finalize(t,new a.VariableDeclaration(c,f));this.nextToken();n=t;u=this.parseExpression();t=null}else if(c.length===1&&c[0].init===null&&this.matchContextualKeyword("of")){t=this.finalize(t,new a.VariableDeclaration(c,f));this.nextToken();n=t;u=this.parseAssignmentExpression();t=null;r=false}else{this.consumeSemicolon();t=this.finalize(t,new a.VariableDeclaration(c,f))}}}else{var D=this.lookahead;var l=this.context.allowIn;this.context.allowIn=false;t=this.inheritCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=l;if(this.matchKeyword("in")){if(!this.context.isAssignmentTarget||t.type===h.Syntax.AssignmentExpression){this.tolerateError(s.Messages.InvalidLHSInForIn)}this.nextToken();this.reinterpretExpressionAsPattern(t);n=t;u=this.parseExpression();t=null}else if(this.matchContextualKeyword("of")){if(!this.context.isAssignmentTarget||t.type===h.Syntax.AssignmentExpression){this.tolerateError(s.Messages.InvalidLHSInForLoop)}this.nextToken();this.reinterpretExpressionAsPattern(t);n=t;u=this.parseAssignmentExpression();t=null;r=false}else{if(this.match(",")){var x=[t];while(this.match(",")){this.nextToken();x.push(this.isolateCoverGrammar(this.parseAssignmentExpression))}t=this.finalize(this.startNode(D),new a.SequenceExpression(x))}this.expect(";")}}}if(typeof n==="undefined"){if(!this.match(";")){e=this.parseExpression()}this.expect(";");if(!this.match(")")){i=this.parseExpression()}}var E;if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());E=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");var m=this.context.inIteration;this.context.inIteration=true;E=this.isolateCoverGrammar(this.parseStatement);this.context.inIteration=m}return typeof n==="undefined"?this.finalize(o,new a.ForStatement(t,e,i,E)):r?this.finalize(o,new a.ForInStatement(n,u,E)):this.finalize(o,new a.ForOfStatement(n,u,E))};Parser.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();e=i;var r="$"+i.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,r)){this.throwError(s.Messages.UnknownLabel,i.name)}}this.consumeSemicolon();if(e===null&&!this.context.inIteration){this.throwError(s.Messages.IllegalContinue)}return this.finalize(t,new a.ContinueStatement(e))};Parser.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();var r="$"+i.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,r)){this.throwError(s.Messages.UnknownLabel,i.name)}e=i}this.consumeSemicolon();if(e===null&&!this.context.inIteration&&!this.context.inSwitch){this.throwError(s.Messages.IllegalBreak)}return this.finalize(t,new a.BreakStatement(e))};Parser.prototype.parseReturnStatement=function(){if(!this.context.inFunctionBody){this.tolerateError(s.Messages.IllegalReturn)}var t=this.createNode();this.expectKeyword("return");var e=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10;var i=e?this.parseExpression():null;this.consumeSemicolon();return this.finalize(t,new a.ReturnStatement(i))};Parser.prototype.parseWithStatement=function(){if(this.context.strict){this.tolerateError(s.Messages.StrictModeWith)}var t=this.createNode();var e;this.expectKeyword("with");this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());e=this.finalize(this.createNode(),new a.EmptyStatement)}else{this.expect(")");e=this.parseStatement()}return this.finalize(t,new a.WithStatement(i,e))};Parser.prototype.parseSwitchCase=function(){var t=this.createNode();var e;if(this.matchKeyword("default")){this.nextToken();e=null}else{this.expectKeyword("case");e=this.parseExpression()}this.expect(":");var i=[];while(true){if(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case")){break}i.push(this.parseStatementListItem())}return this.finalize(t,new a.SwitchCase(e,i))};Parser.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch");this.expect("(");var e=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=true;var r=[];var n=false;this.expect("{");while(true){if(this.match("}")){break}var u=this.parseSwitchCase();if(u.test===null){if(n){this.throwError(s.Messages.MultipleDefaultsInSwitch)}n=true}r.push(u)}this.expect("}");this.context.inSwitch=i;return this.finalize(t,new a.SwitchStatement(e,r))};Parser.prototype.parseLabelledStatement=function(){var t=this.createNode();var e=this.parseExpression();var i;if(e.type===h.Syntax.Identifier&&this.match(":")){this.nextToken();var r=e;var n="$"+r.name;if(Object.prototype.hasOwnProperty.call(this.context.labelSet,n)){this.throwError(s.Messages.Redeclaration,"Label",r.name)}this.context.labelSet[n]=true;var u=void 0;if(this.matchKeyword("class")){this.tolerateUnexpectedToken(this.lookahead);u=this.parseClassDeclaration()}else if(this.matchKeyword("function")){var o=this.lookahead;var l=this.parseFunctionDeclaration();if(this.context.strict){this.tolerateUnexpectedToken(o,s.Messages.StrictFunction)}else if(l.generator){this.tolerateUnexpectedToken(o,s.Messages.GeneratorInLegacyContext)}u=l}else{u=this.parseStatement()}delete this.context.labelSet[n];i=new a.LabeledStatement(r,u)}else{this.consumeSemicolon();i=new a.ExpressionStatement(e)}return this.finalize(t,i)};Parser.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw");if(this.hasLineTerminator){this.throwError(s.Messages.NewlineAfterThrow)}var e=this.parseExpression();this.consumeSemicolon();return this.finalize(t,new a.ThrowStatement(e))};Parser.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch");this.expect("(");if(this.match(")")){this.throwUnexpectedToken(this.lookahead)}var e=[];var i=this.parsePattern(e);var r={};for(var n=0;n0){this.tolerateError(s.Messages.BadGetterArity)}var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(t,new a.FunctionExpression(null,r.params,n,e))};Parser.prototype.parseSetterMethod=function(){var t=this.createNode();var e=false;var i=this.context.allowYield;this.context.allowYield=!e;var r=this.parseFormalParameters();if(r.params.length!==1){this.tolerateError(s.Messages.BadSetterArity)}else if(r.params[0]instanceof a.RestElement){this.tolerateError(s.Messages.BadSetterRestParameter)}var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(t,new a.FunctionExpression(null,r.params,n,e))};Parser.prototype.parseGeneratorMethod=function(){var t=this.createNode();var e=true;var i=this.context.allowYield;this.context.allowYield=true;var r=this.parseFormalParameters();this.context.allowYield=false;var n=this.parsePropertyMethod(r);this.context.allowYield=i;return this.finalize(t,new a.FunctionExpression(null,r.params,n,e))};Parser.prototype.isStartOfExpression=function(){var t=true;var e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield";break;default:break}return t};Parser.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null;var i=false;if(!this.hasLineTerminator){var r=this.context.allowYield;this.context.allowYield=false;i=this.match("*");if(i){this.nextToken();e=this.parseAssignmentExpression()}else if(this.isStartOfExpression()){e=this.parseAssignmentExpression()}this.context.allowYield=r}return this.finalize(t,new a.YieldExpression(e,i))};Parser.prototype.parseClassElement=function(t){var e=this.lookahead;var i=this.createNode();var r="";var n=null;var u=null;var h=false;var o=false;var l=false;var c=false;if(this.match("*")){this.nextToken()}else{h=this.match("[");n=this.parseObjectPropertyKey();var p=n;if(p.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))){e=this.lookahead;l=true;h=this.match("[");if(this.match("*")){this.nextToken()}else{n=this.parseObjectPropertyKey()}}if(e.type===3&&!this.hasLineTerminator&&e.value==="async"){var f=this.lookahead.value;if(f!==":"&&f!=="("&&f!=="*"){c=true;e=this.lookahead;n=this.parseObjectPropertyKey();if(e.type===3&&e.value==="constructor"){this.tolerateUnexpectedToken(e,s.Messages.ConstructorIsAsync)}}}}var D=this.qualifiedPropertyName(this.lookahead);if(e.type===3){if(e.value==="get"&&D){r="get";h=this.match("[");n=this.parseObjectPropertyKey();this.context.allowYield=false;u=this.parseGetterMethod()}else if(e.value==="set"&&D){r="set";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseSetterMethod()}}else if(e.type===7&&e.value==="*"&&D){r="init";h=this.match("[");n=this.parseObjectPropertyKey();u=this.parseGeneratorMethod();o=true}if(!r&&n&&this.match("(")){r="init";u=c?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction();o=true}if(!r){this.throwUnexpectedToken(this.lookahead)}if(r==="init"){r="method"}if(!h){if(l&&this.isPropertyKey(n,"prototype")){this.throwUnexpectedToken(e,s.Messages.StaticPrototype)}if(!l&&this.isPropertyKey(n,"constructor")){if(r!=="method"||!o||u&&u.generator){this.throwUnexpectedToken(e,s.Messages.ConstructorSpecialMethod)}if(t.value){this.throwUnexpectedToken(e,s.Messages.DuplicateConstructor)}else{t.value=true}r="constructor"}}return this.finalize(i,new a.MethodDefinition(n,h,u,r,l))};Parser.prototype.parseClassElementList=function(){var t=[];var e={value:false};this.expect("{");while(!this.match("}")){if(this.match(";")){this.nextToken()}else{t.push(this.parseClassElement(e))}}this.expect("}");return t};Parser.prototype.parseClassBody=function(){var t=this.createNode();var e=this.parseClassElementList();return this.finalize(t,new a.ClassBody(e))};Parser.prototype.parseClassDeclaration=function(t){var e=this.createNode();var i=this.context.strict;this.context.strict=true;this.expectKeyword("class");var r=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier();var n=null;if(this.matchKeyword("extends")){this.nextToken();n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)}var s=this.parseClassBody();this.context.strict=i;return this.finalize(e,new a.ClassDeclaration(r,n,s))};Parser.prototype.parseClassExpression=function(){var t=this.createNode();var e=this.context.strict;this.context.strict=true;this.expectKeyword("class");var i=this.lookahead.type===3?this.parseVariableIdentifier():null;var r=null;if(this.matchKeyword("extends")){this.nextToken();r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)}var n=this.parseClassBody();this.context.strict=e;return this.finalize(t,new a.ClassExpression(i,r,n))};Parser.prototype.parseModule=function(){this.context.strict=true;this.context.isModule=true;this.scanner.isModule=true;var t=this.createNode();var e=this.parseDirectivePrologues();while(this.lookahead.type!==2){e.push(this.parseStatementListItem())}return this.finalize(t,new a.Module(e))};Parser.prototype.parseScript=function(){var t=this.createNode();var e=this.parseDirectivePrologues();while(this.lookahead.type!==2){e.push(this.parseStatementListItem())}return this.finalize(t,new a.Script(e))};Parser.prototype.parseModuleSpecifier=function(){var t=this.createNode();if(this.lookahead.type!==8){this.throwError(s.Messages.InvalidModuleSpecifier)}var e=this.nextToken();var i=this.getTokenRaw(e);return this.finalize(t,new a.Literal(e.value,i))};Parser.prototype.parseImportSpecifier=function(){var t=this.createNode();var e;var i;if(this.lookahead.type===3){e=this.parseVariableIdentifier();i=e;if(this.matchContextualKeyword("as")){this.nextToken();i=this.parseVariableIdentifier()}}else{e=this.parseIdentifierName();i=e;if(this.matchContextualKeyword("as")){this.nextToken();i=this.parseVariableIdentifier()}else{this.throwUnexpectedToken(this.nextToken())}}return this.finalize(t,new a.ImportSpecifier(i,e))};Parser.prototype.parseNamedImports=function(){this.expect("{");var t=[];while(!this.match("}")){t.push(this.parseImportSpecifier());if(!this.match("}")){this.expect(",")}}this.expect("}");return t};Parser.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode();var e=this.parseIdentifierName();return this.finalize(t,new a.ImportDefaultSpecifier(e))};Parser.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*");if(!this.matchContextualKeyword("as")){this.throwError(s.Messages.NoAsAfterImportNamespace)}this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new a.ImportNamespaceSpecifier(e))};Parser.prototype.parseImportDeclaration=function(){if(this.context.inFunctionBody){this.throwError(s.Messages.IllegalImportDeclaration)}var t=this.createNode();this.expectKeyword("import");var e;var i=[];if(this.lookahead.type===8){e=this.parseModuleSpecifier()}else{if(this.match("{")){i=i.concat(this.parseNamedImports())}else if(this.match("*")){i.push(this.parseImportNamespaceSpecifier())}else if(this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")){i.push(this.parseImportDefaultSpecifier());if(this.match(",")){this.nextToken();if(this.match("*")){i.push(this.parseImportNamespaceSpecifier())}else if(this.match("{")){i=i.concat(this.parseNamedImports())}else{this.throwUnexpectedToken(this.lookahead)}}}else{this.throwUnexpectedToken(this.nextToken())}if(!this.matchContextualKeyword("from")){var r=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();e=this.parseModuleSpecifier()}this.consumeSemicolon();return this.finalize(t,new a.ImportDeclaration(i,e))};Parser.prototype.parseExportSpecifier=function(){var t=this.createNode();var e=this.parseIdentifierName();var i=e;if(this.matchContextualKeyword("as")){this.nextToken();i=this.parseIdentifierName()}return this.finalize(t,new a.ExportSpecifier(e,i))};Parser.prototype.parseExportDeclaration=function(){if(this.context.inFunctionBody){this.throwError(s.Messages.IllegalExportDeclaration)}var t=this.createNode();this.expectKeyword("export");var e;if(this.matchKeyword("default")){this.nextToken();if(this.matchKeyword("function")){var i=this.parseFunctionDeclaration(true);e=this.finalize(t,new a.ExportDefaultDeclaration(i))}else if(this.matchKeyword("class")){var i=this.parseClassDeclaration(true);e=this.finalize(t,new a.ExportDefaultDeclaration(i))}else if(this.matchContextualKeyword("async")){var i=this.matchAsyncFunction()?this.parseFunctionDeclaration(true):this.parseAssignmentExpression();e=this.finalize(t,new a.ExportDefaultDeclaration(i))}else{if(this.matchContextualKeyword("from")){this.throwError(s.Messages.UnexpectedToken,this.lookahead.value)}var i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon();e=this.finalize(t,new a.ExportDefaultDeclaration(i))}}else if(this.match("*")){this.nextToken();if(!this.matchContextualKeyword("from")){var r=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();var n=this.parseModuleSpecifier();this.consumeSemicolon();e=this.finalize(t,new a.ExportAllDeclaration(n))}else if(this.lookahead.type===4){var i=void 0;switch(this.lookahead.value){case"let":case"const":i=this.parseLexicalDeclaration({inFor:false});break;case"var":case"class":case"function":i=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}e=this.finalize(t,new a.ExportNamedDeclaration(i,[],null))}else if(this.matchAsyncFunction()){var i=this.parseFunctionDeclaration();e=this.finalize(t,new a.ExportNamedDeclaration(i,[],null))}else{var u=[];var h=null;var o=false;this.expect("{");while(!this.match("}")){o=o||this.matchKeyword("default");u.push(this.parseExportSpecifier());if(!this.match("}")){this.expect(",")}}this.expect("}");if(this.matchContextualKeyword("from")){this.nextToken();h=this.parseModuleSpecifier();this.consumeSemicolon()}else if(o){var r=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}else{this.consumeSemicolon()}e=this.finalize(t,new a.ExportNamedDeclaration(null,u,h))}return e};return Parser}();e.Parser=c},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});function assert(t,e){if(!t){throw new Error("ASSERT: "+e)}}e.assert=assert},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});var i=function(){function ErrorHandler(){this.errors=[];this.tolerant=false}ErrorHandler.prototype.recordError=function(t){this.errors.push(t)};ErrorHandler.prototype.tolerate=function(t){if(this.tolerant){this.recordError(t)}else{throw t}};ErrorHandler.prototype.constructError=function(t,e){var i=new Error(t);try{throw i}catch(t){if(Object.create&&Object.defineProperty){i=Object.create(t);Object.defineProperty(i,"column",{value:e})}}return i};ErrorHandler.prototype.createError=function(t,e,i,r){var n="Line "+e+": "+r;var s=this.constructError(n,i);s.index=t;s.lineNumber=e;s.description=r;return s};ErrorHandler.prototype.throwError=function(t,e,i,r){throw this.createError(t,e,i,r)};ErrorHandler.prototype.tolerateError=function(t,e,i,r){var n=this.createError(t,e,i,r);if(this.tolerant){this.recordError(n)}else{throw n}};return ErrorHandler}();e.ErrorHandler=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(9);var n=i(4);var s=i(11);function hexValue(t){return"0123456789abcdef".indexOf(t.toLowerCase())}function octalValue(t){return"01234567".indexOf(t)}var a=function(){function Scanner(t,e){this.source=t;this.errorHandler=e;this.trackComment=false;this.isModule=false;this.length=t.length;this.index=0;this.lineNumber=t.length>0?1:0;this.lineStart=0;this.curlyStack=[]}Scanner.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}};Scanner.prototype.restoreState=function(t){this.index=t.index;this.lineNumber=t.lineNumber;this.lineStart=t.lineStart};Scanner.prototype.eof=function(){return this.index>=this.length};Scanner.prototype.throwUnexpectedToken=function(t){if(t===void 0){t=s.Messages.UnexpectedTokenIllegal}return this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,t)};Scanner.prototype.tolerateUnexpectedToken=function(t){if(t===void 0){t=s.Messages.UnexpectedTokenIllegal}this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,t)};Scanner.prototype.skipSingleLineComment=function(t){var e=[];var i,r;if(this.trackComment){e=[];i=this.index-t;r={start:{line:this.lineNumber,column:this.index-this.lineStart-t},end:{}}}while(!this.eof()){var s=this.source.charCodeAt(this.index);++this.index;if(n.Character.isLineTerminator(s)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var a={multiLine:false,slice:[i+t,this.index-1],range:[i,this.index-1],loc:r};e.push(a)}if(s===13&&this.source.charCodeAt(this.index)===10){++this.index}++this.lineNumber;this.lineStart=this.index;return e}}if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};var a={multiLine:false,slice:[i+t,this.index],range:[i,this.index],loc:r};e.push(a)}return e};Scanner.prototype.skipMultiLineComment=function(){var t=[];var e,i;if(this.trackComment){t=[];e=this.index-2;i={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}}}while(!this.eof()){var r=this.source.charCodeAt(this.index);if(n.Character.isLineTerminator(r)){if(r===13&&this.source.charCodeAt(this.index+1)===10){++this.index}++this.lineNumber;++this.index;this.lineStart=this.index}else if(r===42){if(this.source.charCodeAt(this.index+1)===47){this.index+=2;if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart};var s={multiLine:true,slice:[e+2,this.index-2],range:[e,this.index],loc:i};t.push(s)}return t}++this.index}else{++this.index}}if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart};var s={multiLine:true,slice:[e+2,this.index],range:[e,this.index],loc:i};t.push(s)}this.tolerateUnexpectedToken();return t};Scanner.prototype.scanComments=function(){var t;if(this.trackComment){t=[]}var e=this.index===0;while(!this.eof()){var i=this.source.charCodeAt(this.index);if(n.Character.isWhiteSpace(i)){++this.index}else if(n.Character.isLineTerminator(i)){++this.index;if(i===13&&this.source.charCodeAt(this.index)===10){++this.index}++this.lineNumber;this.lineStart=this.index;e=true}else if(i===47){i=this.source.charCodeAt(this.index+1);if(i===47){this.index+=2;var r=this.skipSingleLineComment(2);if(this.trackComment){t=t.concat(r)}e=true}else if(i===42){this.index+=2;var r=this.skipMultiLineComment();if(this.trackComment){t=t.concat(r)}}else{break}}else if(e&&i===45){if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var r=this.skipSingleLineComment(3);if(this.trackComment){t=t.concat(r)}}else{break}}else if(i===60&&!this.isModule){if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var r=this.skipSingleLineComment(4);if(this.trackComment){t=t.concat(r)}}else{break}}else{break}}return t};Scanner.prototype.isFutureReservedWord=function(t){switch(t){case"enum":case"export":case"import":case"super":return true;default:return false}};Scanner.prototype.isStrictModeReservedWord=function(t){switch(t){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return true;default:return false}};Scanner.prototype.isRestrictedWord=function(t){return t==="eval"||t==="arguments"};Scanner.prototype.isKeyword=function(t){switch(t.length){case 2:return t==="if"||t==="in"||t==="do";case 3:return t==="var"||t==="for"||t==="new"||t==="try"||t==="let";case 4:return t==="this"||t==="else"||t==="case"||t==="void"||t==="with"||t==="enum";case 5:return t==="while"||t==="break"||t==="catch"||t==="throw"||t==="const"||t==="yield"||t==="class"||t==="super";case 6:return t==="return"||t==="typeof"||t==="delete"||t==="switch"||t==="export"||t==="import";case 7:return t==="default"||t==="finally"||t==="extends";case 8:return t==="function"||t==="continue"||t==="debugger";case 10:return t==="instanceof";default:return false}};Scanner.prototype.codePointAt=function(t){var e=this.source.charCodeAt(t);if(e>=55296&&e<=56319){var i=this.source.charCodeAt(t+1);if(i>=56320&&i<=57343){var r=e;e=(r-55296)*1024+i-56320+65536}}return e};Scanner.prototype.scanHexEscape=function(t){var e=t==="u"?4:2;var i=0;for(var r=0;r1114111||t!=="}"){this.throwUnexpectedToken()}return n.Character.fromCodePoint(e)};Scanner.prototype.getIdentifier=function(){var t=this.index++;while(!this.eof()){var e=this.source.charCodeAt(this.index);if(e===92){this.index=t;return this.getComplexIdentifier()}else if(e>=55296&&e<57343){this.index=t;return this.getComplexIdentifier()}if(n.Character.isIdentifierPart(e)){++this.index}else{break}}return this.source.slice(t,this.index)};Scanner.prototype.getComplexIdentifier=function(){var t=this.codePointAt(this.index);var e=n.Character.fromCodePoint(t);this.index+=e.length;var i;if(t===92){if(this.source.charCodeAt(this.index)!==117){this.throwUnexpectedToken()}++this.index;if(this.source[this.index]==="{"){++this.index;i=this.scanUnicodeCodePointEscape()}else{i=this.scanHexEscape("u");if(i===null||i==="\\"||!n.Character.isIdentifierStart(i.charCodeAt(0))){this.throwUnexpectedToken()}}e=i}while(!this.eof()){t=this.codePointAt(this.index);if(!n.Character.isIdentifierPart(t)){break}i=n.Character.fromCodePoint(t);e+=i;this.index+=i.length;if(t===92){e=e.substr(0,e.length-1);if(this.source.charCodeAt(this.index)!==117){this.throwUnexpectedToken()}++this.index;if(this.source[this.index]==="{"){++this.index;i=this.scanUnicodeCodePointEscape()}else{i=this.scanHexEscape("u");if(i===null||i==="\\"||!n.Character.isIdentifierPart(i.charCodeAt(0))){this.throwUnexpectedToken()}}e+=i}}return e};Scanner.prototype.octalToDecimal=function(t){var e=t!=="0";var i=octalValue(t);if(!this.eof()&&n.Character.isOctalDigit(this.source.charCodeAt(this.index))){e=true;i=i*8+octalValue(this.source[this.index++]);if("0123".indexOf(t)>=0&&!this.eof()&&n.Character.isOctalDigit(this.source.charCodeAt(this.index))){i=i*8+octalValue(this.source[this.index++])}}return{code:i,octal:e}};Scanner.prototype.scanIdentifier=function(){var t;var e=this.index;var i=this.source.charCodeAt(e)===92?this.getComplexIdentifier():this.getIdentifier();if(i.length===1){t=3}else if(this.isKeyword(i)){t=4}else if(i==="null"){t=5}else if(i==="true"||i==="false"){t=1}else{t=3}if(t!==3&&e+i.length!==this.index){var r=this.index;this.index=e;this.tolerateUnexpectedToken(s.Messages.InvalidEscapedReservedWord);this.index=r}return{type:t,value:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};Scanner.prototype.scanPunctuator=function(){var t=this.index;var e=this.source[this.index];switch(e){case"(":case"{":if(e==="{"){this.curlyStack.push("{")}++this.index;break;case".":++this.index;if(this.source[this.index]==="."&&this.source[this.index+1]==="."){this.index+=2;e="..."}break;case"}":++this.index;this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:e=this.source.substr(this.index,4);if(e===">>>="){this.index+=4}else{e=e.substr(0,3);if(e==="==="||e==="!=="||e===">>>"||e==="<<="||e===">>="||e==="**="){this.index+=3}else{e=e.substr(0,2);if(e==="&&"||e==="||"||e==="=="||e==="!="||e==="+="||e==="-="||e==="*="||e==="/="||e==="++"||e==="--"||e==="<<"||e===">>"||e==="&="||e==="|="||e==="^="||e==="%="||e==="<="||e===">="||e==="=>"||e==="**"){this.index+=2}else{e=this.source[this.index];if("<>=!+-*%&|^/".indexOf(e)>=0){++this.index}}}}}if(this.index===t){this.throwUnexpectedToken()}return{type:7,value:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};Scanner.prototype.scanHexLiteral=function(t){var e="";while(!this.eof()){if(!n.Character.isHexDigit(this.source.charCodeAt(this.index))){break}e+=this.source[this.index++]}if(e.length===0){this.throwUnexpectedToken()}if(n.Character.isIdentifierStart(this.source.charCodeAt(this.index))){this.throwUnexpectedToken()}return{type:6,value:parseInt("0x"+e,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};Scanner.prototype.scanBinaryLiteral=function(t){var e="";var i;while(!this.eof()){i=this.source[this.index];if(i!=="0"&&i!=="1"){break}e+=this.source[this.index++]}if(e.length===0){this.throwUnexpectedToken()}if(!this.eof()){i=this.source.charCodeAt(this.index);if(n.Character.isIdentifierStart(i)||n.Character.isDecimalDigit(i)){this.throwUnexpectedToken()}}return{type:6,value:parseInt(e,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};Scanner.prototype.scanOctalLiteral=function(t,e){var i="";var r=false;if(n.Character.isOctalDigit(t.charCodeAt(0))){r=true;i="0"+this.source[this.index++]}else{++this.index}while(!this.eof()){if(!n.Character.isOctalDigit(this.source.charCodeAt(this.index))){break}i+=this.source[this.index++]}if(!r&&i.length===0){this.throwUnexpectedToken()}if(n.Character.isIdentifierStart(this.source.charCodeAt(this.index))||n.Character.isDecimalDigit(this.source.charCodeAt(this.index))){this.throwUnexpectedToken()}return{type:6,value:parseInt(i,8),octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};Scanner.prototype.isImplicitOctalLiteral=function(){for(var t=this.index+1;t=0){r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(t,e,r){var a=parseInt(e||r,16);if(a>1114111){n.throwUnexpectedToken(s.Messages.InvalidRegExp)}if(a<=65535){return String.fromCharCode(a)}return i}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i)}try{RegExp(r)}catch(t){this.throwUnexpectedToken(s.Messages.InvalidRegExp)}try{return new RegExp(t,e)}catch(t){return null}};Scanner.prototype.scanRegExpBody=function(){var t=this.source[this.index];r.assert(t==="/","Regular expression literal must start with a slash");var e=this.source[this.index++];var i=false;var a=false;while(!this.eof()){t=this.source[this.index++];e+=t;if(t==="\\"){t=this.source[this.index++];if(n.Character.isLineTerminator(t.charCodeAt(0))){this.throwUnexpectedToken(s.Messages.UnterminatedRegExp)}e+=t}else if(n.Character.isLineTerminator(t.charCodeAt(0))){this.throwUnexpectedToken(s.Messages.UnterminatedRegExp)}else if(i){if(t==="]"){i=false}}else{if(t==="/"){a=true;break}else if(t==="["){i=true}}}if(!a){this.throwUnexpectedToken(s.Messages.UnterminatedRegExp)}return e.substr(1,e.length-2)};Scanner.prototype.scanRegExpFlags=function(){var t="";var e="";while(!this.eof()){var i=this.source[this.index];if(!n.Character.isIdentifierPart(i.charCodeAt(0))){break}++this.index;if(i==="\\"&&!this.eof()){i=this.source[this.index];if(i==="u"){++this.index;var r=this.index;var s=this.scanHexEscape("u");if(s!==null){e+=s;for(t+="\\u";r=55296&&t<57343){if(n.Character.isIdentifierStart(this.codePointAt(this.index))){return this.scanIdentifier()}}return this.scanPunctuator()};return Scanner}();e.Scanner=a},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.TokenName={};e.TokenName[1]="Boolean";e.TokenName[2]="";e.TokenName[3]="Identifier";e.TokenName[4]="Keyword";e.TokenName[5]="Null";e.TokenName[6]="Numeric";e.TokenName[7]="Punctuator";e.TokenName[8]="String";e.TokenName[9]="RegularExpression";e.TokenName[10]="Template"},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:true});e.XHTMLEntities={quot:'"',amp:"&",apos:"'",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:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=i(10);var n=i(12);var s=i(13);var a=function(){function Reader(){this.values=[];this.curly=this.paren=-1}Reader.prototype.beforeFunctionExpression=function(t){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(t)>=0};Reader.prototype.isRegexStart=function(){var t=this.values[this.values.length-1];var e=t!==null;switch(t){case"this":case"]":e=false;break;case")":var i=this.values[this.paren-1];e=i==="if"||i==="while"||i==="for"||i==="with";break;case"}":e=false;if(this.values[this.curly-3]==="function"){var r=this.values[this.curly-4];e=r?!this.beforeFunctionExpression(r):false}else if(this.values[this.curly-4]==="function"){var r=this.values[this.curly-5];e=r?!this.beforeFunctionExpression(r):true}break;default:break}return e};Reader.prototype.push=function(t){if(t.type===7||t.type===4){if(t.value==="{"){this.curly=this.values.length}else if(t.value==="("){this.paren=this.values.length}this.values.push(t.value)}else{this.values.push(null)}};return Reader}();var u=function(){function Tokenizer(t,e){this.errorHandler=new r.ErrorHandler;this.errorHandler.tolerant=e?typeof e.tolerant==="boolean"&&e.tolerant:false;this.scanner=new n.Scanner(t,this.errorHandler);this.scanner.trackComment=e?typeof e.comment==="boolean"&&e.comment:false;this.trackRange=e?typeof e.range==="boolean"&&e.range:false;this.trackLoc=e?typeof e.loc==="boolean"&&e.loc:false;this.buffer=[];this.reader=new a}Tokenizer.prototype.errors=function(){return this.errorHandler.errors};Tokenizer.prototype.getNextToken=function(){if(this.buffer.length===0){var t=this.scanner.scanComments();if(this.scanner.trackComment){for(var e=0;e`${l}:${t}`;const T=t=>`${c}:${t}`;const I=t=>`${p}:${t}`;const M=t=>`${f}:${t}`;const X=t=>`${D}:${t}`;const J={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};const k=t=>{w.lastIndex=0;if(!w.test(t)){return t}return t.replace(w,t=>{const e=J[t];return typeof e==="string"?e:t})};const N=t=>`"${k(t)}"`;const L=(t,e)=>e?`//${t}`:`/*${t}*/`;const O=(t,e,i,r)=>{const n=t[Symbol.for(e)];if(!n||!n.length){return A}let s=false;const a=n.reduce((t,{inline:e,type:r,value:n})=>{const a=e?b:B+i;s=r==="LineComment";return t+a+L(n,s)},A);return r||s?a+B+i:a};let U=null;let R=A;const z=()=>{U=null;R=A};const K=(t,e,i)=>t?e?t+e.trim()+B+i:t.trimRight()+B+i:e?e.trimRight()+B+i:A;const j=(t,e,i)=>{const r=O(e,l,i+R,true);return K(r,t,i)};const H=(t,e)=>{const i=e+R;const{length:r}=t;let n=A;let s=A;for(let e=0;e{if(!t){return"null"}const i=e+R;let n=A;let s=A;let a=true;const u=r(U)?U:Object.keys(t);const h=e=>{const r=stringify(e,t,i);if(r===F){return}if(!a){n+=d}a=false;const u=K(s,O(t,P(e),i),i);n+=u||B+i;n+=N(e)+O(t,T(e),i)+y+O(t,I(e),i)+b+r+O(t,M(e),i);s=O(t,X(e),i)};u.forEach(h);n+=K(s,O(t,x,i),i);return C+j(n,t,e)+S};function stringify(t,e,i){let a=e[t];if(n(a)&&s(a.toJSON)){a=a.toJSON(t)}if(s(U)){a=U.call(e,t,a)}switch(typeof a){case"string":return N(a);case"number":return Number.isFinite(a)?String(a):g;case"boolean":case"null":return String(a);case"object":return r(a)?H(a,i):W(a,i);default:}}const V=t=>u(t)?t:a(t)?h(b,t):A;const{toString:G}=Object.prototype;const Y=["[object Number]","[object String]","[object Boolean]"];const q=t=>{if(typeof t!=="object"){return false}const e=G.call(t);return Y.includes(e)};t.exports=((t,e,i)=>{const a=V(i);if(!a){return JSON.stringify(t,e)}if(!s(e)&&!r(e)){e=null}U=e;R=a;const u=q(t)?JSON.stringify(t):stringify("",{"":t},A);z();return n(t)?O(t,o,A).trimLeft()+u+O(t,E,A).trimRight():u})},702:function(t){"use strict";const e=Object.prototype.hasOwnProperty;t.exports=((t,i)=>e.call(t,i))},963:function(t,e,i){const{parse:r,tokenize:n}=i(349);const s=i(651);const{CommentArray:a,assign:u}=i(247);t.exports={parse:r,stringify:s,tokenize:n,CommentArray:a,assign:u}}}); \ No newline at end of file diff --git a/packages/next/compiled/cookie/index.js b/packages/next/compiled/cookie/index.js index bde3f9e97a04b..d2b47121cb032 100644 --- a/packages/next/compiled/cookie/index.js +++ b/packages/next/compiled/cookie/index.js @@ -1 +1 @@ -module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var i=t[r]={i:r,l:false,exports:{}};e[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(640)}return startup()}({640:function(e,r){"use strict";r.parse=parse;r.serialize=serialize;var t=decodeURIComponent;var i=encodeURIComponent;var a=/; */;var n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(e,r){if(typeof e!=="string"){throw new TypeError("argument str must be a string")}var i={};var n=r||{};var o=e.split(a);var s=n.decode||t;for(var p=0;p{if(typeof r!=="string"){throw new TypeError("Expected a string")}return r.replace(e,"\\$&")})}}); \ No newline at end of file +module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var _=t[e]={i:e,l:false,exports:{}};r[e].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(192)}return startup()}({192:function(r){"use strict";const e=/[|\\{}()[\]^$+*?.-]/g;r.exports=(r=>{if(typeof r!=="string"){throw new TypeError("Expected a string")}return r.replace(e,"\\$&")})}}); \ No newline at end of file diff --git a/packages/next/compiled/ora/index.js b/packages/next/compiled/ora/index.js index 3c24d4cf0255b..c7de1a25abb54 100644 --- a/packages/next/compiled/ora/index.js +++ b/packages/next/compiled/ora/index.js @@ -1 +1 @@ -module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var s=r[t]={i:t,l:false,exports:{}};e[t].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(827)}return startup()}({24:function(e,t,r){"use strict";const s=r(530);const i=r(145);e.exports=s(()=>{i(()=>{process.stderr.write("[?25h")},{alwaysLast:true})})},58:function(e){e.exports=require("readline")},145:function(e,t,r){var s=r(357);var i=r(573);var n=r(614);if(typeof n!=="function"){n=n.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new n;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(_===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var i=function(){o.removeListener(r,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(r,e);return i};e.exports.unload=unload;function unload(){if(!_){return}_=false;i.forEach(function(e){try{process.removeListener(e,a[e])}catch(e){}});process.emit=u;process.reallyExit=f;o.count-=1}function emit(e,t,r){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,r)}var a={};i.forEach(function(e){a[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return i};e.exports.load=load;var _=false;function load(){if(_){return}_=true;o.count+=1;i=i.filter(function(e){try{process.on(e,a[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var f=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);f.call(process,process.exitCode)}var u=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=u.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return u.apply(this,arguments)}}},148:function(e){e.exports=require("next/dist/compiled/strip-ansi")},153:function(e){var t=function(){"use strict";function clone(e,t,r,s){var i;if(typeof t==="object"){r=t.depth;s=t.prototype;i=t.filter;t=t.circular}var n=[];var o=[];var a=typeof Buffer!="undefined";if(typeof t=="undefined")t=true;if(typeof r=="undefined")r=Infinity;function _clone(e,r){if(e===null)return null;if(r==0)return e;var i;var _;if(typeof e!="object"){return e}if(clone.__isArray(e)){i=[]}else if(clone.__isRegExp(e)){i=new RegExp(e.source,__getRegExpFlags(e));if(e.lastIndex)i.lastIndex=e.lastIndex}else if(clone.__isDate(e)){i=new Date(e.getTime())}else if(a&&Buffer.isBuffer(e)){if(Buffer.allocUnsafe){i=Buffer.allocUnsafe(e.length)}else{i=new Buffer(e.length)}e.copy(i);return i}else{if(typeof s=="undefined"){_=Object.getPrototypeOf(e);i=Object.create(_)}else{i=Object.create(s);_=s}}if(t){var f=n.indexOf(e);if(f!=-1){return o[f]}n.push(e);o.push(i)}for(var u in e){var l;if(_){l=Object.getOwnPropertyDescriptor(_,u)}if(l&&l.set==null){continue}i[u]=_clone(e[u],r-1)}return i}return _clone(e,r)}clone.clonePrototype=function clonePrototype(e){if(e===null)return null;var t=function(){};t.prototype=e;return new t};function __objToStr(e){return Object.prototype.toString.call(e)}clone.__objToStr=__objToStr;function __isDate(e){return typeof e==="object"&&__objToStr(e)==="[object Date]"}clone.__isDate=__isDate;function __isArray(e){return typeof e==="object"&&__objToStr(e)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(e){return typeof e==="object"&&__objToStr(e)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(e){var t="";if(e.global)t+="g";if(e.ignoreCase)t+="i";if(e.multiline)t+="m";return t}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&e.exports){e.exports=t}},296:function(e){"use strict";const t=(e,t)=>{for(const r of Reflect.ownKeys(t)){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}return e};e.exports=t;e.exports.default=t},303:function(e,t,r){var s=r(153);e.exports=function(e,t){e=e||{};Object.keys(t).forEach(function(r){if(typeof e[r]==="undefined"){e[r]=s(t[r])}});return e}},357:function(e){e.exports=require("assert")},413:function(e){e.exports=require("stream")},435:function(e,t,r){"use strict";const s=r(24);let i=false;t.show=((e=process.stderr)=>{if(!e.isTTY){return}i=false;e.write("[?25h")});t.hide=((e=process.stderr)=>{if(!e.isTTY){return}s();i=true;e.write("[?25l")});t.toggle=((e,r)=>{if(e!==undefined){i=e}if(i){t.show(r)}else{t.hide(r)}})},443:function(e){"use strict";e.exports=(({stream:e=process.stdout}={})=>{return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))})},513:function(e,t,r){var s=r(413);e.exports=MuteStream;function MuteStream(e){s.apply(this);e=e||{};this.writable=this.readable=true;this.muted=false;this.on("pipe",this._onpipe);this.replace=e.replace;this._prompt=e.prompt||null;this._hadControl=false}MuteStream.prototype=Object.create(s.prototype);Object.defineProperty(MuteStream.prototype,"constructor",{value:MuteStream,enumerable:false});MuteStream.prototype.mute=function(){this.muted=true};MuteStream.prototype.unmute=function(){this.muted=false};Object.defineProperty(MuteStream.prototype,"_onpipe",{value:onPipe,enumerable:false,writable:true,configurable:true});function onPipe(e){this._src=e}Object.defineProperty(MuteStream.prototype,"isTTY",{get:getIsTTY,set:setIsTTY,enumerable:true,configurable:true});function getIsTTY(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:false}function setIsTTY(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:true,writable:true,configurable:true})}Object.defineProperty(MuteStream.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:undefined},enumerable:true,configurable:true});Object.defineProperty(MuteStream.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:undefined},enumerable:true,configurable:true});MuteStream.prototype.pipe=function(e,t){this._dest=e;return s.prototype.pipe.call(this,e,t)};MuteStream.prototype.pause=function(){if(this._src)return this._src.pause()};MuteStream.prototype.resume=function(){if(this._src)return this._src.resume()};MuteStream.prototype.write=function(e){if(this.muted){if(!this.replace)return true;if(e.match(/^\u001b/)){if(e.indexOf(this._prompt)===0){e=e.substr(this._prompt.length);e=e.replace(/./g,this.replace);e=this._prompt+e}this._hadControl=true;return this.emit("data",e)}else{if(this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0){this._hadControl=false;this.emit("data",this._prompt);e=e.substr(this._prompt.length)}e=e.toString().replace(/./g,this.replace)}}this.emit("data",e)};MuteStream.prototype.end=function(e){if(this.muted){if(e&&this.replace){e=e.toString().replace(/./g,this.replace)}else{e=null}}if(e)this.emit("data",e);this.emit("end")};function proxy(e){return function(){var t=this._dest;var r=this._src;if(t&&t[e])t[e].apply(t,arguments);if(r&&r[e])r[e].apply(r,arguments)}}MuteStream.prototype.destroy=proxy("destroy");MuteStream.prototype.destroySoon=proxy("destroySoon");MuteStream.prototype.close=proxy("close")},530:function(e,t,r){"use strict";const s=r(296);const i=new WeakMap;const n=(e,t={})=>{if(typeof e!=="function"){throw new TypeError("Expected a function")}let r;let n=false;let o=0;const a=e.displayName||e.name||"";const _=function(...s){i.set(_,++o);if(n){if(t.throw===true){throw new Error(`Function \`${a}\` can only be called once`)}return r}n=true;r=e.apply(this,s);e=null;return r};s(_,e);i.set(_,o);return _};e.exports=n;e.exports.default=n;e.exports.callCount=(e=>{if(!i.has(e)){throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`)}return i.get(e)})},573:function(e){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},590:function(e,t,r){"use strict";const s=Object.assign({},r(838));e.exports=s;e.exports.default=s},614:function(e){e.exports=require("events")},736:function(e){e.exports=require("next/dist/compiled/chalk")},775:function(e,t,r){"use strict";var s=r(303);var i=r(819);var n={nul:0,control:0};e.exports=function wcwidth(e){return wcswidth(e,n)};e.exports.config=function(e){e=s(e||{},n);return function wcwidth(t){return wcswidth(t,e)}};function wcswidth(e,t){if(typeof e!=="string")return wcwidth(e,t);var r=0;for(var s=0;s=127&&e<160)return t.control;if(bisearch(e))return 0;return 1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function bisearch(e){var t=0;var r=i.length-1;var s;if(ei[r][1])return false;while(r>=t){s=Math.floor((t+r)/2);if(e>i[s][1])t=s+1;else if(e0||i.emit===e.ourEmit){if(t==="keypress"){return}if(t==="data"&&r.includes(h)){process.emit("SIGINT")}Reflect.apply(e.oldEmit,this,[t,r,...s])}else{Reflect.apply(process.stdin.emit,this,[t,r,...s])}}}start(){this.requests++;if(this.requests===1){this.realStart()}}stop(){if(this.requests<=0){throw new Error("`stop` called more times than `start`")}this.requests--;if(this.requests===0){this.realStop()}}realStart(){if(process.platform==="win32"){return}this.rl=s.createInterface({input:process.stdin,output:this.mutedStream});this.rl.on("SIGINT",()=>{if(process.listenerCount("SIGINT")===0){process.emit("SIGINT")}else{this.rl.close();process.kill(process.pid,"SIGINT")}})}realStop(){if(process.platform==="win32"){return}this.rl.close();this.rl=undefined}}const m=new StdinDiscarder;class Ora{constructor(e){if(typeof e==="string"){e={text:e}}this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e};this.spinner=this.options.spinner;this.color=this.options.color;this.hideCursor=this.options.hideCursor!==false;this.interval=this.options.interval||this.spinner.interval||100;this.stream=this.options.stream;this.id=undefined;this.isEnabled=typeof this.options.isEnabled==="boolean"?this.options.isEnabled:u({stream:this.stream});this.text=this.options.text;this.prefixText=this.options.prefixText;this.linesToClear=0;this.indent=this.options.indent;this.discardStdin=this.options.discardStdin;this.isDiscardingStdin=false}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e))){throw new Error("The `indent` option must be an integer from 0 and up")}this._indent=e}_updateInterval(e){if(e!==undefined){this.interval=e}}get spinner(){return this._spinner}set spinner(e){this.frameIndex=0;if(typeof e==="object"){if(e.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this._spinner=e}else if(process.platform==="win32"){this._spinner=o.line}else if(e===undefined){this._spinner=o.dots}else if(o[e]){this._spinner=o[e]}else{throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`)}this._updateInterval(this._spinner.interval)}get text(){return this[c]}get prefixText(){return this[p]}get isSpinning(){return this.id!==undefined}updateLineCount(){const e=this.stream.columns||80;const t=typeof this[p]==="string"?this[p]+"-":"";this.lineCount=_(t+"--"+this[c]).split("\n").reduce((t,r)=>{return t+Math.max(1,Math.ceil(f(r)/e))},0)}set text(e){this[c]=e;this.updateLineCount()}set prefixText(e){this[p]=e;this.updateLineCount()}frame(){const{frames:e}=this.spinner;let t=e[this.frameIndex];if(this.color){t=i[this.color](t)}this.frameIndex=++this.frameIndex%e.length;const r=typeof this.prefixText==="string"&&this.prefixText!==""?this.prefixText+" ":"";const s=typeof this.text==="string"?" "+this.text:"";return r+t+s}clear(){if(!this.isEnabled||!this.stream.isTTY){return this}for(let e=0;e0){this.stream.moveCursor(0,-1)}this.stream.clearLine();this.stream.cursorTo(this.indent)}this.linesToClear=0;return this}render(){this.clear();this.stream.write(this.frame());this.linesToClear=this.lineCount;return this}start(e){if(e){this.text=e}if(!this.isEnabled){if(this.text){this.stream.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.hideCursor){n.hide(this.stream)}if(this.discardStdin&&process.stdin.isTTY){this.isDiscardingStdin=true;m.start()}this.render();this.id=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.isEnabled){return this}clearInterval(this.id);this.id=undefined;this.frameIndex=0;this.clear();if(this.hideCursor){n.show(this.stream)}if(this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin){m.stop();this.isDiscardingStdin=false}return this}succeed(e){return this.stopAndPersist({symbol:a.success,text:e})}fail(e){return this.stopAndPersist({symbol:a.error,text:e})}warn(e){return this.stopAndPersist({symbol:a.warning,text:e})}info(e){return this.stopAndPersist({symbol:a.info,text:e})}stopAndPersist(e={}){const t=e.prefixText||this.prefixText;const r=typeof t==="string"&&t!==""?t+" ":"";const s=e.text||this.text;const i=typeof s==="string"?" "+s:"";this.stop();this.stream.write(`${r}${e.symbol||" "}${i}\n`);return this}}const d=function(e){return new Ora(e)};e.exports=d;e.exports.promise=((e,t)=>{if(typeof e.then!=="function"){throw new TypeError("Parameter `action` must be a Promise")}const r=new Ora(t);r.start();(async()=>{try{await e;r.succeed()}catch(e){r.fail()}})();return r})},838:function(e){e.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]}}},876:function(e,t,r){"use strict";const s=r(736);const i=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color";const n={info:s.blue("ℹ"),success:s.green("✔"),warning:s.yellow("⚠"),error:s.red("✖")};const o={info:s.blue("i"),success:s.green("√"),warning:s.yellow("‼"),error:s.red("×")};e.exports=i?n:o}}); \ No newline at end of file +module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var s=r[t]={i:t,l:false,exports:{}};e[t].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(997)}return startup()}({21:function(e,t,r){"use strict";const s=r(274);let i=false;t.show=((e=process.stderr)=>{if(!e.isTTY){return}i=false;e.write("[?25h")});t.hide=((e=process.stderr)=>{if(!e.isTTY){return}s();i=true;e.write("[?25l")});t.toggle=((e,r)=>{if(e!==undefined){i=e}if(i){t.show(r)}else{t.hide(r)}})},58:function(e){e.exports=require("readline")},145:function(e,t,r){var s=r(357);var i=r(573);var n=r(614);if(typeof n!=="function"){n=n.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new n;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(_===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var i=function(){o.removeListener(r,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(r,e);return i};e.exports.unload=unload;function unload(){if(!_){return}_=false;i.forEach(function(e){try{process.removeListener(e,a[e])}catch(e){}});process.emit=u;process.reallyExit=f;o.count-=1}function emit(e,t,r){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,r)}var a={};i.forEach(function(e){a[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return i};e.exports.load=load;var _=false;function load(){if(_){return}_=true;o.count+=1;i=i.filter(function(e){try{process.on(e,a[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var f=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);f.call(process,process.exitCode)}var u=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=u.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return u.apply(this,arguments)}}},148:function(e){e.exports=require("next/dist/compiled/strip-ansi")},274:function(e,t,r){"use strict";const s=r(530);const i=r(145);e.exports=s(()=>{i(()=>{process.stderr.write("[?25h")},{alwaysLast:true})})},296:function(e){"use strict";const t=(e,t)=>{for(const r of Reflect.ownKeys(t)){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}return e};e.exports=t;e.exports.default=t},303:function(e,t,r){var s=r(932);e.exports=function(e,t){e=e||{};Object.keys(t).forEach(function(r){if(typeof e[r]==="undefined"){e[r]=s(t[r])}});return e}},357:function(e){e.exports=require("assert")},413:function(e){e.exports=require("stream")},443:function(e){"use strict";e.exports=(({stream:e=process.stdout}={})=>{return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))})},513:function(e,t,r){var s=r(413);e.exports=MuteStream;function MuteStream(e){s.apply(this);e=e||{};this.writable=this.readable=true;this.muted=false;this.on("pipe",this._onpipe);this.replace=e.replace;this._prompt=e.prompt||null;this._hadControl=false}MuteStream.prototype=Object.create(s.prototype);Object.defineProperty(MuteStream.prototype,"constructor",{value:MuteStream,enumerable:false});MuteStream.prototype.mute=function(){this.muted=true};MuteStream.prototype.unmute=function(){this.muted=false};Object.defineProperty(MuteStream.prototype,"_onpipe",{value:onPipe,enumerable:false,writable:true,configurable:true});function onPipe(e){this._src=e}Object.defineProperty(MuteStream.prototype,"isTTY",{get:getIsTTY,set:setIsTTY,enumerable:true,configurable:true});function getIsTTY(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:false}function setIsTTY(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:true,writable:true,configurable:true})}Object.defineProperty(MuteStream.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:undefined},enumerable:true,configurable:true});Object.defineProperty(MuteStream.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:undefined},enumerable:true,configurable:true});MuteStream.prototype.pipe=function(e,t){this._dest=e;return s.prototype.pipe.call(this,e,t)};MuteStream.prototype.pause=function(){if(this._src)return this._src.pause()};MuteStream.prototype.resume=function(){if(this._src)return this._src.resume()};MuteStream.prototype.write=function(e){if(this.muted){if(!this.replace)return true;if(e.match(/^\u001b/)){if(e.indexOf(this._prompt)===0){e=e.substr(this._prompt.length);e=e.replace(/./g,this.replace);e=this._prompt+e}this._hadControl=true;return this.emit("data",e)}else{if(this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0){this._hadControl=false;this.emit("data",this._prompt);e=e.substr(this._prompt.length)}e=e.toString().replace(/./g,this.replace)}}this.emit("data",e)};MuteStream.prototype.end=function(e){if(this.muted){if(e&&this.replace){e=e.toString().replace(/./g,this.replace)}else{e=null}}if(e)this.emit("data",e);this.emit("end")};function proxy(e){return function(){var t=this._dest;var r=this._src;if(t&&t[e])t[e].apply(t,arguments);if(r&&r[e])r[e].apply(r,arguments)}}MuteStream.prototype.destroy=proxy("destroy");MuteStream.prototype.destroySoon=proxy("destroySoon");MuteStream.prototype.close=proxy("close")},530:function(e,t,r){"use strict";const s=r(296);const i=new WeakMap;const n=(e,t={})=>{if(typeof e!=="function"){throw new TypeError("Expected a function")}let r;let n=false;let o=0;const a=e.displayName||e.name||"";const _=function(...s){i.set(_,++o);if(n){if(t.throw===true){throw new Error(`Function \`${a}\` can only be called once`)}return r}n=true;r=e.apply(this,s);e=null;return r};s(_,e);i.set(_,o);return _};e.exports=n;e.exports.default=n;e.exports.callCount=(e=>{if(!i.has(e)){throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`)}return i.get(e)})},573:function(e){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},614:function(e){e.exports=require("events")},688:function(e,t,r){"use strict";const s=Object.assign({},r(880));e.exports=s;e.exports.default=s},736:function(e){e.exports=require("next/dist/compiled/chalk")},775:function(e,t,r){"use strict";var s=r(303);var i=r(819);var n={nul:0,control:0};e.exports=function wcwidth(e){return wcswidth(e,n)};e.exports.config=function(e){e=s(e||{},n);return function wcwidth(t){return wcswidth(t,e)}};function wcswidth(e,t){if(typeof e!=="string")return wcwidth(e,t);var r=0;for(var s=0;s=127&&e<160)return t.control;if(bisearch(e))return 0;return 1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function bisearch(e){var t=0;var r=i.length-1;var s;if(ei[r][1])return false;while(r>=t){s=Math.floor((t+r)/2);if(e>i[s][1])t=s+1;else if(e0||i.emit===e.ourEmit){if(t==="keypress"){return}if(t==="data"&&r.includes(h)){process.emit("SIGINT")}Reflect.apply(e.oldEmit,this,[t,r,...s])}else{Reflect.apply(process.stdin.emit,this,[t,r,...s])}}}start(){this.requests++;if(this.requests===1){this.realStart()}}stop(){if(this.requests<=0){throw new Error("`stop` called more times than `start`")}this.requests--;if(this.requests===0){this.realStop()}}realStart(){if(process.platform==="win32"){return}this.rl=s.createInterface({input:process.stdin,output:this.mutedStream});this.rl.on("SIGINT",()=>{if(process.listenerCount("SIGINT")===0){process.emit("SIGINT")}else{this.rl.close();process.kill(process.pid,"SIGINT")}})}realStop(){if(process.platform==="win32"){return}this.rl.close();this.rl=undefined}}const m=new StdinDiscarder;class Ora{constructor(e){if(typeof e==="string"){e={text:e}}this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e};this.spinner=this.options.spinner;this.color=this.options.color;this.hideCursor=this.options.hideCursor!==false;this.interval=this.options.interval||this.spinner.interval||100;this.stream=this.options.stream;this.id=undefined;this.isEnabled=typeof this.options.isEnabled==="boolean"?this.options.isEnabled:u({stream:this.stream});this.text=this.options.text;this.prefixText=this.options.prefixText;this.linesToClear=0;this.indent=this.options.indent;this.discardStdin=this.options.discardStdin;this.isDiscardingStdin=false}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e))){throw new Error("The `indent` option must be an integer from 0 and up")}this._indent=e}_updateInterval(e){if(e!==undefined){this.interval=e}}get spinner(){return this._spinner}set spinner(e){this.frameIndex=0;if(typeof e==="object"){if(e.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this._spinner=e}else if(process.platform==="win32"){this._spinner=o.line}else if(e===undefined){this._spinner=o.dots}else if(o[e]){this._spinner=o[e]}else{throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`)}this._updateInterval(this._spinner.interval)}get text(){return this[c]}get prefixText(){return this[p]}get isSpinning(){return this.id!==undefined}updateLineCount(){const e=this.stream.columns||80;const t=typeof this[p]==="string"?this[p]+"-":"";this.lineCount=_(t+"--"+this[c]).split("\n").reduce((t,r)=>{return t+Math.max(1,Math.ceil(f(r)/e))},0)}set text(e){this[c]=e;this.updateLineCount()}set prefixText(e){this[p]=e;this.updateLineCount()}frame(){const{frames:e}=this.spinner;let t=e[this.frameIndex];if(this.color){t=i[this.color](t)}this.frameIndex=++this.frameIndex%e.length;const r=typeof this.prefixText==="string"&&this.prefixText!==""?this.prefixText+" ":"";const s=typeof this.text==="string"?" "+this.text:"";return r+t+s}clear(){if(!this.isEnabled||!this.stream.isTTY){return this}for(let e=0;e0){this.stream.moveCursor(0,-1)}this.stream.clearLine();this.stream.cursorTo(this.indent)}this.linesToClear=0;return this}render(){this.clear();this.stream.write(this.frame());this.linesToClear=this.lineCount;return this}start(e){if(e){this.text=e}if(!this.isEnabled){if(this.text){this.stream.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.hideCursor){n.hide(this.stream)}if(this.discardStdin&&process.stdin.isTTY){this.isDiscardingStdin=true;m.start()}this.render();this.id=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.isEnabled){return this}clearInterval(this.id);this.id=undefined;this.frameIndex=0;this.clear();if(this.hideCursor){n.show(this.stream)}if(this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin){m.stop();this.isDiscardingStdin=false}return this}succeed(e){return this.stopAndPersist({symbol:a.success,text:e})}fail(e){return this.stopAndPersist({symbol:a.error,text:e})}warn(e){return this.stopAndPersist({symbol:a.warning,text:e})}info(e){return this.stopAndPersist({symbol:a.info,text:e})}stopAndPersist(e={}){const t=e.prefixText||this.prefixText;const r=typeof t==="string"&&t!==""?t+" ":"";const s=e.text||this.text;const i=typeof s==="string"?" "+s:"";this.stop();this.stream.write(`${r}${e.symbol||" "}${i}\n`);return this}}const d=function(e){return new Ora(e)};e.exports=d;e.exports.promise=((e,t)=>{if(typeof e.then!=="function"){throw new TypeError("Parameter `action` must be a Promise")}const r=new Ora(t);r.start();(async()=>{try{await e;r.succeed()}catch(e){r.fail()}})();return r})}}); \ No newline at end of file From 686de7e2bb574be27638b2735f0c362b105d1267 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Mon, 31 Aug 2020 17:20:21 -0400 Subject: [PATCH 13/16] Update deps --- packages/next/compiled/async-retry/index.js | 2 +- packages/next/compiled/async-sema/index.js | 2 +- packages/next/compiled/cookie/index.js | 2 +- .../compiled/escape-string-regexp/index.js | 2 +- packages/next/compiled/ora/index.js | 2 +- yarn.lock | 27 ++----------------- 6 files changed, 7 insertions(+), 30 deletions(-) diff --git a/packages/next/compiled/async-retry/index.js b/packages/next/compiled/async-retry/index.js index 27e10933dd649..8f47c3ff0ade1 100644 --- a/packages/next/compiled/async-retry/index.js +++ b/packages/next/compiled/async-retry/index.js @@ -1 +1 @@ -module.exports=function(t,r){"use strict";var e={};function __webpack_require__(r){if(e[r]){return e[r].exports}var i=e[r]={i:r,l:false,exports:{}};t[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(159)}return startup()}({159:function(t,r,e){var i=e(623);function retry(t,r){function run(e,o){var n=r||{};var a=i.operation(n);function bail(t){o(t||new Error("Aborted"))}function onError(t,r){if(t.bail){bail(t);return}if(!a.retry(t)){o(a.mainError())}else if(n.onRetry){n.onRetry(t,r)}}function runAttempt(r){var i;try{i=t(bail,r)}catch(t){onError(t,r);return}Promise.resolve(i).then(e).catch(function catchIt(t){onError(t,r)})}a.attempt(runAttempt)}return new Promise(run)}t.exports=retry},194:function(t,r,e){var i=e(825);r.operation=function(t){var e=r.timeouts(t);return new i(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};r.timeouts=function(t){if(t instanceof Array){return[].concat(t)}var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var e in t){r[e]=t[e]}if(r.minTimeout>r.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;o=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i=e){r=o;e=a}}return r}}}); \ No newline at end of file +module.exports=function(t,r){"use strict";var e={};function __webpack_require__(r){if(e[r]){return e[r].exports}var i=e[r]={i:r,l:false,exports:{}};t[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(90)}return startup()}({90:function(t,r,e){var i=e(879);function retry(t,r){function run(e,o){var n=r||{};var a=i.operation(n);function bail(t){o(t||new Error("Aborted"))}function onError(t,r){if(t.bail){bail(t);return}if(!a.retry(t)){o(a.mainError())}else if(n.onRetry){n.onRetry(t,r)}}function runAttempt(r){var i;try{i=t(bail,r)}catch(t){onError(t,r);return}Promise.resolve(i).then(e).catch(function catchIt(t){onError(t,r)})}a.attempt(runAttempt)}return new Promise(run)}t.exports=retry},167:function(t){function RetryOperation(t,r){if(typeof r==="boolean"){r={forever:r}}this._originalTimeouts=JSON.parse(JSON.stringify(t));this._timeouts=t;this._options=r||{};this._maxRetryTime=r&&r.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}t.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(t){if(this._timeout){clearTimeout(this._timeout)}if(!t){return false}var r=(new Date).getTime();if(t&&r-this._operationStart>=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i=e){r=o;e=a}}return r}},367:function(t,r,e){var i=e(167);r.operation=function(t){var e=r.timeouts(t);return new i(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};r.timeouts=function(t){if(t instanceof Array){return[].concat(t)}var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var e in t){r[e]=t[e]}if(r.minTimeout>r.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;o>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacitye){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;es.release(),r)}}e.RateLimit=RateLimit},614:function(t){t.exports=require("events")}}); \ No newline at end of file +module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var s=i[e]={i:e,l:false,exports:{}};t[e].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(624)}return startup()}({614:function(t){t.exports=require("events")},624:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});const r=s(i(614));function arrayMove(t,e,i,s,r){for(let n=0;n>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacitye){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;es.release(),r)}}e.RateLimit=RateLimit}}); \ No newline at end of file diff --git a/packages/next/compiled/cookie/index.js b/packages/next/compiled/cookie/index.js index d2b47121cb032..bde3f9e97a04b 100644 --- a/packages/next/compiled/cookie/index.js +++ b/packages/next/compiled/cookie/index.js @@ -1 +1 @@ -module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var i=t[r]={i:r,l:false,exports:{}};e[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(49)}return startup()}({49:function(e,r){"use strict";r.parse=parse;r.serialize=serialize;var t=decodeURIComponent;var i=encodeURIComponent;var a=/; */;var n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(e,r){if(typeof e!=="string"){throw new TypeError("argument str must be a string")}var i={};var n=r||{};var o=e.split(a);var s=n.decode||t;for(var p=0;p{if(typeof r!=="string"){throw new TypeError("Expected a string")}return r.replace(e,"\\$&")})}}); \ No newline at end of file +module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var _=t[e]={i:e,l:false,exports:{}};r[e].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(766)}return startup()}({766:function(r){"use strict";const e=/[|\\{}()[\]^$+*?.-]/g;r.exports=(r=>{if(typeof r!=="string"){throw new TypeError("Expected a string")}return r.replace(e,"\\$&")})}}); \ No newline at end of file diff --git a/packages/next/compiled/ora/index.js b/packages/next/compiled/ora/index.js index c7de1a25abb54..3c24d4cf0255b 100644 --- a/packages/next/compiled/ora/index.js +++ b/packages/next/compiled/ora/index.js @@ -1 +1 @@ -module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var s=r[t]={i:t,l:false,exports:{}};e[t].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(997)}return startup()}({21:function(e,t,r){"use strict";const s=r(274);let i=false;t.show=((e=process.stderr)=>{if(!e.isTTY){return}i=false;e.write("[?25h")});t.hide=((e=process.stderr)=>{if(!e.isTTY){return}s();i=true;e.write("[?25l")});t.toggle=((e,r)=>{if(e!==undefined){i=e}if(i){t.show(r)}else{t.hide(r)}})},58:function(e){e.exports=require("readline")},145:function(e,t,r){var s=r(357);var i=r(573);var n=r(614);if(typeof n!=="function"){n=n.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new n;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(_===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var i=function(){o.removeListener(r,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(r,e);return i};e.exports.unload=unload;function unload(){if(!_){return}_=false;i.forEach(function(e){try{process.removeListener(e,a[e])}catch(e){}});process.emit=u;process.reallyExit=f;o.count-=1}function emit(e,t,r){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,r)}var a={};i.forEach(function(e){a[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return i};e.exports.load=load;var _=false;function load(){if(_){return}_=true;o.count+=1;i=i.filter(function(e){try{process.on(e,a[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var f=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);f.call(process,process.exitCode)}var u=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=u.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return u.apply(this,arguments)}}},148:function(e){e.exports=require("next/dist/compiled/strip-ansi")},274:function(e,t,r){"use strict";const s=r(530);const i=r(145);e.exports=s(()=>{i(()=>{process.stderr.write("[?25h")},{alwaysLast:true})})},296:function(e){"use strict";const t=(e,t)=>{for(const r of Reflect.ownKeys(t)){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}return e};e.exports=t;e.exports.default=t},303:function(e,t,r){var s=r(932);e.exports=function(e,t){e=e||{};Object.keys(t).forEach(function(r){if(typeof e[r]==="undefined"){e[r]=s(t[r])}});return e}},357:function(e){e.exports=require("assert")},413:function(e){e.exports=require("stream")},443:function(e){"use strict";e.exports=(({stream:e=process.stdout}={})=>{return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))})},513:function(e,t,r){var s=r(413);e.exports=MuteStream;function MuteStream(e){s.apply(this);e=e||{};this.writable=this.readable=true;this.muted=false;this.on("pipe",this._onpipe);this.replace=e.replace;this._prompt=e.prompt||null;this._hadControl=false}MuteStream.prototype=Object.create(s.prototype);Object.defineProperty(MuteStream.prototype,"constructor",{value:MuteStream,enumerable:false});MuteStream.prototype.mute=function(){this.muted=true};MuteStream.prototype.unmute=function(){this.muted=false};Object.defineProperty(MuteStream.prototype,"_onpipe",{value:onPipe,enumerable:false,writable:true,configurable:true});function onPipe(e){this._src=e}Object.defineProperty(MuteStream.prototype,"isTTY",{get:getIsTTY,set:setIsTTY,enumerable:true,configurable:true});function getIsTTY(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:false}function setIsTTY(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:true,writable:true,configurable:true})}Object.defineProperty(MuteStream.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:undefined},enumerable:true,configurable:true});Object.defineProperty(MuteStream.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:undefined},enumerable:true,configurable:true});MuteStream.prototype.pipe=function(e,t){this._dest=e;return s.prototype.pipe.call(this,e,t)};MuteStream.prototype.pause=function(){if(this._src)return this._src.pause()};MuteStream.prototype.resume=function(){if(this._src)return this._src.resume()};MuteStream.prototype.write=function(e){if(this.muted){if(!this.replace)return true;if(e.match(/^\u001b/)){if(e.indexOf(this._prompt)===0){e=e.substr(this._prompt.length);e=e.replace(/./g,this.replace);e=this._prompt+e}this._hadControl=true;return this.emit("data",e)}else{if(this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0){this._hadControl=false;this.emit("data",this._prompt);e=e.substr(this._prompt.length)}e=e.toString().replace(/./g,this.replace)}}this.emit("data",e)};MuteStream.prototype.end=function(e){if(this.muted){if(e&&this.replace){e=e.toString().replace(/./g,this.replace)}else{e=null}}if(e)this.emit("data",e);this.emit("end")};function proxy(e){return function(){var t=this._dest;var r=this._src;if(t&&t[e])t[e].apply(t,arguments);if(r&&r[e])r[e].apply(r,arguments)}}MuteStream.prototype.destroy=proxy("destroy");MuteStream.prototype.destroySoon=proxy("destroySoon");MuteStream.prototype.close=proxy("close")},530:function(e,t,r){"use strict";const s=r(296);const i=new WeakMap;const n=(e,t={})=>{if(typeof e!=="function"){throw new TypeError("Expected a function")}let r;let n=false;let o=0;const a=e.displayName||e.name||"";const _=function(...s){i.set(_,++o);if(n){if(t.throw===true){throw new Error(`Function \`${a}\` can only be called once`)}return r}n=true;r=e.apply(this,s);e=null;return r};s(_,e);i.set(_,o);return _};e.exports=n;e.exports.default=n;e.exports.callCount=(e=>{if(!i.has(e)){throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`)}return i.get(e)})},573:function(e){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},614:function(e){e.exports=require("events")},688:function(e,t,r){"use strict";const s=Object.assign({},r(880));e.exports=s;e.exports.default=s},736:function(e){e.exports=require("next/dist/compiled/chalk")},775:function(e,t,r){"use strict";var s=r(303);var i=r(819);var n={nul:0,control:0};e.exports=function wcwidth(e){return wcswidth(e,n)};e.exports.config=function(e){e=s(e||{},n);return function wcwidth(t){return wcswidth(t,e)}};function wcswidth(e,t){if(typeof e!=="string")return wcwidth(e,t);var r=0;for(var s=0;s=127&&e<160)return t.control;if(bisearch(e))return 0;return 1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function bisearch(e){var t=0;var r=i.length-1;var s;if(ei[r][1])return false;while(r>=t){s=Math.floor((t+r)/2);if(e>i[s][1])t=s+1;else if(e0||i.emit===e.ourEmit){if(t==="keypress"){return}if(t==="data"&&r.includes(h)){process.emit("SIGINT")}Reflect.apply(e.oldEmit,this,[t,r,...s])}else{Reflect.apply(process.stdin.emit,this,[t,r,...s])}}}start(){this.requests++;if(this.requests===1){this.realStart()}}stop(){if(this.requests<=0){throw new Error("`stop` called more times than `start`")}this.requests--;if(this.requests===0){this.realStop()}}realStart(){if(process.platform==="win32"){return}this.rl=s.createInterface({input:process.stdin,output:this.mutedStream});this.rl.on("SIGINT",()=>{if(process.listenerCount("SIGINT")===0){process.emit("SIGINT")}else{this.rl.close();process.kill(process.pid,"SIGINT")}})}realStop(){if(process.platform==="win32"){return}this.rl.close();this.rl=undefined}}const m=new StdinDiscarder;class Ora{constructor(e){if(typeof e==="string"){e={text:e}}this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e};this.spinner=this.options.spinner;this.color=this.options.color;this.hideCursor=this.options.hideCursor!==false;this.interval=this.options.interval||this.spinner.interval||100;this.stream=this.options.stream;this.id=undefined;this.isEnabled=typeof this.options.isEnabled==="boolean"?this.options.isEnabled:u({stream:this.stream});this.text=this.options.text;this.prefixText=this.options.prefixText;this.linesToClear=0;this.indent=this.options.indent;this.discardStdin=this.options.discardStdin;this.isDiscardingStdin=false}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e))){throw new Error("The `indent` option must be an integer from 0 and up")}this._indent=e}_updateInterval(e){if(e!==undefined){this.interval=e}}get spinner(){return this._spinner}set spinner(e){this.frameIndex=0;if(typeof e==="object"){if(e.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this._spinner=e}else if(process.platform==="win32"){this._spinner=o.line}else if(e===undefined){this._spinner=o.dots}else if(o[e]){this._spinner=o[e]}else{throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`)}this._updateInterval(this._spinner.interval)}get text(){return this[c]}get prefixText(){return this[p]}get isSpinning(){return this.id!==undefined}updateLineCount(){const e=this.stream.columns||80;const t=typeof this[p]==="string"?this[p]+"-":"";this.lineCount=_(t+"--"+this[c]).split("\n").reduce((t,r)=>{return t+Math.max(1,Math.ceil(f(r)/e))},0)}set text(e){this[c]=e;this.updateLineCount()}set prefixText(e){this[p]=e;this.updateLineCount()}frame(){const{frames:e}=this.spinner;let t=e[this.frameIndex];if(this.color){t=i[this.color](t)}this.frameIndex=++this.frameIndex%e.length;const r=typeof this.prefixText==="string"&&this.prefixText!==""?this.prefixText+" ":"";const s=typeof this.text==="string"?" "+this.text:"";return r+t+s}clear(){if(!this.isEnabled||!this.stream.isTTY){return this}for(let e=0;e0){this.stream.moveCursor(0,-1)}this.stream.clearLine();this.stream.cursorTo(this.indent)}this.linesToClear=0;return this}render(){this.clear();this.stream.write(this.frame());this.linesToClear=this.lineCount;return this}start(e){if(e){this.text=e}if(!this.isEnabled){if(this.text){this.stream.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.hideCursor){n.hide(this.stream)}if(this.discardStdin&&process.stdin.isTTY){this.isDiscardingStdin=true;m.start()}this.render();this.id=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.isEnabled){return this}clearInterval(this.id);this.id=undefined;this.frameIndex=0;this.clear();if(this.hideCursor){n.show(this.stream)}if(this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin){m.stop();this.isDiscardingStdin=false}return this}succeed(e){return this.stopAndPersist({symbol:a.success,text:e})}fail(e){return this.stopAndPersist({symbol:a.error,text:e})}warn(e){return this.stopAndPersist({symbol:a.warning,text:e})}info(e){return this.stopAndPersist({symbol:a.info,text:e})}stopAndPersist(e={}){const t=e.prefixText||this.prefixText;const r=typeof t==="string"&&t!==""?t+" ":"";const s=e.text||this.text;const i=typeof s==="string"?" "+s:"";this.stop();this.stream.write(`${r}${e.symbol||" "}${i}\n`);return this}}const d=function(e){return new Ora(e)};e.exports=d;e.exports.promise=((e,t)=>{if(typeof e.then!=="function"){throw new TypeError("Parameter `action` must be a Promise")}const r=new Ora(t);r.start();(async()=>{try{await e;r.succeed()}catch(e){r.fail()}})();return r})}}); \ No newline at end of file +module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var s=r[t]={i:t,l:false,exports:{}};e[t].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(827)}return startup()}({24:function(e,t,r){"use strict";const s=r(530);const i=r(145);e.exports=s(()=>{i(()=>{process.stderr.write("[?25h")},{alwaysLast:true})})},58:function(e){e.exports=require("readline")},145:function(e,t,r){var s=r(357);var i=r(573);var n=r(614);if(typeof n!=="function"){n=n.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new n;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(_===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var i=function(){o.removeListener(r,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(r,e);return i};e.exports.unload=unload;function unload(){if(!_){return}_=false;i.forEach(function(e){try{process.removeListener(e,a[e])}catch(e){}});process.emit=u;process.reallyExit=f;o.count-=1}function emit(e,t,r){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,r)}var a={};i.forEach(function(e){a[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return i};e.exports.load=load;var _=false;function load(){if(_){return}_=true;o.count+=1;i=i.filter(function(e){try{process.on(e,a[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var f=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);f.call(process,process.exitCode)}var u=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=u.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return u.apply(this,arguments)}}},148:function(e){e.exports=require("next/dist/compiled/strip-ansi")},153:function(e){var t=function(){"use strict";function clone(e,t,r,s){var i;if(typeof t==="object"){r=t.depth;s=t.prototype;i=t.filter;t=t.circular}var n=[];var o=[];var a=typeof Buffer!="undefined";if(typeof t=="undefined")t=true;if(typeof r=="undefined")r=Infinity;function _clone(e,r){if(e===null)return null;if(r==0)return e;var i;var _;if(typeof e!="object"){return e}if(clone.__isArray(e)){i=[]}else if(clone.__isRegExp(e)){i=new RegExp(e.source,__getRegExpFlags(e));if(e.lastIndex)i.lastIndex=e.lastIndex}else if(clone.__isDate(e)){i=new Date(e.getTime())}else if(a&&Buffer.isBuffer(e)){if(Buffer.allocUnsafe){i=Buffer.allocUnsafe(e.length)}else{i=new Buffer(e.length)}e.copy(i);return i}else{if(typeof s=="undefined"){_=Object.getPrototypeOf(e);i=Object.create(_)}else{i=Object.create(s);_=s}}if(t){var f=n.indexOf(e);if(f!=-1){return o[f]}n.push(e);o.push(i)}for(var u in e){var l;if(_){l=Object.getOwnPropertyDescriptor(_,u)}if(l&&l.set==null){continue}i[u]=_clone(e[u],r-1)}return i}return _clone(e,r)}clone.clonePrototype=function clonePrototype(e){if(e===null)return null;var t=function(){};t.prototype=e;return new t};function __objToStr(e){return Object.prototype.toString.call(e)}clone.__objToStr=__objToStr;function __isDate(e){return typeof e==="object"&&__objToStr(e)==="[object Date]"}clone.__isDate=__isDate;function __isArray(e){return typeof e==="object"&&__objToStr(e)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(e){return typeof e==="object"&&__objToStr(e)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(e){var t="";if(e.global)t+="g";if(e.ignoreCase)t+="i";if(e.multiline)t+="m";return t}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&e.exports){e.exports=t}},296:function(e){"use strict";const t=(e,t)=>{for(const r of Reflect.ownKeys(t)){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}return e};e.exports=t;e.exports.default=t},303:function(e,t,r){var s=r(153);e.exports=function(e,t){e=e||{};Object.keys(t).forEach(function(r){if(typeof e[r]==="undefined"){e[r]=s(t[r])}});return e}},357:function(e){e.exports=require("assert")},413:function(e){e.exports=require("stream")},435:function(e,t,r){"use strict";const s=r(24);let i=false;t.show=((e=process.stderr)=>{if(!e.isTTY){return}i=false;e.write("[?25h")});t.hide=((e=process.stderr)=>{if(!e.isTTY){return}s();i=true;e.write("[?25l")});t.toggle=((e,r)=>{if(e!==undefined){i=e}if(i){t.show(r)}else{t.hide(r)}})},443:function(e){"use strict";e.exports=(({stream:e=process.stdout}={})=>{return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))})},513:function(e,t,r){var s=r(413);e.exports=MuteStream;function MuteStream(e){s.apply(this);e=e||{};this.writable=this.readable=true;this.muted=false;this.on("pipe",this._onpipe);this.replace=e.replace;this._prompt=e.prompt||null;this._hadControl=false}MuteStream.prototype=Object.create(s.prototype);Object.defineProperty(MuteStream.prototype,"constructor",{value:MuteStream,enumerable:false});MuteStream.prototype.mute=function(){this.muted=true};MuteStream.prototype.unmute=function(){this.muted=false};Object.defineProperty(MuteStream.prototype,"_onpipe",{value:onPipe,enumerable:false,writable:true,configurable:true});function onPipe(e){this._src=e}Object.defineProperty(MuteStream.prototype,"isTTY",{get:getIsTTY,set:setIsTTY,enumerable:true,configurable:true});function getIsTTY(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:false}function setIsTTY(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:true,writable:true,configurable:true})}Object.defineProperty(MuteStream.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:undefined},enumerable:true,configurable:true});Object.defineProperty(MuteStream.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:undefined},enumerable:true,configurable:true});MuteStream.prototype.pipe=function(e,t){this._dest=e;return s.prototype.pipe.call(this,e,t)};MuteStream.prototype.pause=function(){if(this._src)return this._src.pause()};MuteStream.prototype.resume=function(){if(this._src)return this._src.resume()};MuteStream.prototype.write=function(e){if(this.muted){if(!this.replace)return true;if(e.match(/^\u001b/)){if(e.indexOf(this._prompt)===0){e=e.substr(this._prompt.length);e=e.replace(/./g,this.replace);e=this._prompt+e}this._hadControl=true;return this.emit("data",e)}else{if(this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0){this._hadControl=false;this.emit("data",this._prompt);e=e.substr(this._prompt.length)}e=e.toString().replace(/./g,this.replace)}}this.emit("data",e)};MuteStream.prototype.end=function(e){if(this.muted){if(e&&this.replace){e=e.toString().replace(/./g,this.replace)}else{e=null}}if(e)this.emit("data",e);this.emit("end")};function proxy(e){return function(){var t=this._dest;var r=this._src;if(t&&t[e])t[e].apply(t,arguments);if(r&&r[e])r[e].apply(r,arguments)}}MuteStream.prototype.destroy=proxy("destroy");MuteStream.prototype.destroySoon=proxy("destroySoon");MuteStream.prototype.close=proxy("close")},530:function(e,t,r){"use strict";const s=r(296);const i=new WeakMap;const n=(e,t={})=>{if(typeof e!=="function"){throw new TypeError("Expected a function")}let r;let n=false;let o=0;const a=e.displayName||e.name||"";const _=function(...s){i.set(_,++o);if(n){if(t.throw===true){throw new Error(`Function \`${a}\` can only be called once`)}return r}n=true;r=e.apply(this,s);e=null;return r};s(_,e);i.set(_,o);return _};e.exports=n;e.exports.default=n;e.exports.callCount=(e=>{if(!i.has(e)){throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`)}return i.get(e)})},573:function(e){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},590:function(e,t,r){"use strict";const s=Object.assign({},r(838));e.exports=s;e.exports.default=s},614:function(e){e.exports=require("events")},736:function(e){e.exports=require("next/dist/compiled/chalk")},775:function(e,t,r){"use strict";var s=r(303);var i=r(819);var n={nul:0,control:0};e.exports=function wcwidth(e){return wcswidth(e,n)};e.exports.config=function(e){e=s(e||{},n);return function wcwidth(t){return wcswidth(t,e)}};function wcswidth(e,t){if(typeof e!=="string")return wcwidth(e,t);var r=0;for(var s=0;s=127&&e<160)return t.control;if(bisearch(e))return 0;return 1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function bisearch(e){var t=0;var r=i.length-1;var s;if(ei[r][1])return false;while(r>=t){s=Math.floor((t+r)/2);if(e>i[s][1])t=s+1;else if(e0||i.emit===e.ourEmit){if(t==="keypress"){return}if(t==="data"&&r.includes(h)){process.emit("SIGINT")}Reflect.apply(e.oldEmit,this,[t,r,...s])}else{Reflect.apply(process.stdin.emit,this,[t,r,...s])}}}start(){this.requests++;if(this.requests===1){this.realStart()}}stop(){if(this.requests<=0){throw new Error("`stop` called more times than `start`")}this.requests--;if(this.requests===0){this.realStop()}}realStart(){if(process.platform==="win32"){return}this.rl=s.createInterface({input:process.stdin,output:this.mutedStream});this.rl.on("SIGINT",()=>{if(process.listenerCount("SIGINT")===0){process.emit("SIGINT")}else{this.rl.close();process.kill(process.pid,"SIGINT")}})}realStop(){if(process.platform==="win32"){return}this.rl.close();this.rl=undefined}}const m=new StdinDiscarder;class Ora{constructor(e){if(typeof e==="string"){e={text:e}}this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e};this.spinner=this.options.spinner;this.color=this.options.color;this.hideCursor=this.options.hideCursor!==false;this.interval=this.options.interval||this.spinner.interval||100;this.stream=this.options.stream;this.id=undefined;this.isEnabled=typeof this.options.isEnabled==="boolean"?this.options.isEnabled:u({stream:this.stream});this.text=this.options.text;this.prefixText=this.options.prefixText;this.linesToClear=0;this.indent=this.options.indent;this.discardStdin=this.options.discardStdin;this.isDiscardingStdin=false}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e))){throw new Error("The `indent` option must be an integer from 0 and up")}this._indent=e}_updateInterval(e){if(e!==undefined){this.interval=e}}get spinner(){return this._spinner}set spinner(e){this.frameIndex=0;if(typeof e==="object"){if(e.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this._spinner=e}else if(process.platform==="win32"){this._spinner=o.line}else if(e===undefined){this._spinner=o.dots}else if(o[e]){this._spinner=o[e]}else{throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`)}this._updateInterval(this._spinner.interval)}get text(){return this[c]}get prefixText(){return this[p]}get isSpinning(){return this.id!==undefined}updateLineCount(){const e=this.stream.columns||80;const t=typeof this[p]==="string"?this[p]+"-":"";this.lineCount=_(t+"--"+this[c]).split("\n").reduce((t,r)=>{return t+Math.max(1,Math.ceil(f(r)/e))},0)}set text(e){this[c]=e;this.updateLineCount()}set prefixText(e){this[p]=e;this.updateLineCount()}frame(){const{frames:e}=this.spinner;let t=e[this.frameIndex];if(this.color){t=i[this.color](t)}this.frameIndex=++this.frameIndex%e.length;const r=typeof this.prefixText==="string"&&this.prefixText!==""?this.prefixText+" ":"";const s=typeof this.text==="string"?" "+this.text:"";return r+t+s}clear(){if(!this.isEnabled||!this.stream.isTTY){return this}for(let e=0;e0){this.stream.moveCursor(0,-1)}this.stream.clearLine();this.stream.cursorTo(this.indent)}this.linesToClear=0;return this}render(){this.clear();this.stream.write(this.frame());this.linesToClear=this.lineCount;return this}start(e){if(e){this.text=e}if(!this.isEnabled){if(this.text){this.stream.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.hideCursor){n.hide(this.stream)}if(this.discardStdin&&process.stdin.isTTY){this.isDiscardingStdin=true;m.start()}this.render();this.id=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.isEnabled){return this}clearInterval(this.id);this.id=undefined;this.frameIndex=0;this.clear();if(this.hideCursor){n.show(this.stream)}if(this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin){m.stop();this.isDiscardingStdin=false}return this}succeed(e){return this.stopAndPersist({symbol:a.success,text:e})}fail(e){return this.stopAndPersist({symbol:a.error,text:e})}warn(e){return this.stopAndPersist({symbol:a.warning,text:e})}info(e){return this.stopAndPersist({symbol:a.info,text:e})}stopAndPersist(e={}){const t=e.prefixText||this.prefixText;const r=typeof t==="string"&&t!==""?t+" ":"";const s=e.text||this.text;const i=typeof s==="string"?" "+s:"";this.stop();this.stream.write(`${r}${e.symbol||" "}${i}\n`);return this}}const d=function(e){return new Ora(e)};e.exports=d;e.exports.promise=((e,t)=>{if(typeof e.then!=="function"){throw new TypeError("Parameter `action` must be a Promise")}const r=new Ora(t);r.start();(async()=>{try{await e;r.succeed()}catch(e){r.fail()}})();return r})},838:function(e){e.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]}}},876:function(e,t,r){"use strict";const s=r(736);const i=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color";const n={info:s.blue("ℹ"),success:s.green("✔"),warning:s.yellow("⚠"),error:s.red("✖")};const o={info:s.blue("i"),success:s.green("√"),warning:s.yellow("‼"),error:s.red("×")};e.exports=i?n:o}}); \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 237a08629cde4..1795f8a363a02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4588,7 +4588,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@4.13.0, browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.13.0, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3, browserslist@^4.8.5: +browserslist@4.13.0, browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6, browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.13.0, browserslist@^4.3.6, browserslist@^4.6.4, browserslist@^4.8.3, browserslist@^4.8.5: version "4.13.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.13.0.tgz#42556cba011e1b0a2775b611cba6a8eca18e940d" integrity sha512-MINatJ5ZNrLnQ6blGvePd/QOz9Xtu+Ne+x29iQSCHfkU5BugKVJwZKn/iiL8UbpIpa3JhviKjz+XxMo0m2caFQ== @@ -4598,14 +4598,6 @@ browserslist@4.13.0, browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4. escalade "^3.0.1" node-releases "^1.1.58" -browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: - version "1.7.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.7.tgz#0bd76704258be829b2398bb50e4b62d1a166b0b9" - integrity sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk= - dependencies: - caniuse-db "^1.0.30000639" - electron-to-chromium "^1.2.7" - browserstack-local@1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/browserstack-local/-/browserstack-local-1.4.0.tgz#d979cac056f57b9af159b3bcd7fdc09b4354537c" @@ -4944,21 +4936,11 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634: version "1.0.30001023" resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30001023.tgz#f856f71af16a5a44e81f1fcefc1673912a43da72" -caniuse-db@^1.0.30000639: - version "1.0.30001120" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30001120.tgz#8af61775681b5127e049a3b18d0f6b8e4a6037ad" - integrity sha512-DvFSRBZYuPj2976yroUk/vqu45nvbf70+qJLH7q+q3S9IOXY4Wl/q7nWOJX8mq6SjWQzCWbz0J0Q6UjsuYwd2A== - -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001019, caniuse-lite@^1.0.30001020: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001019, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001113: version "1.0.30001066" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001066.tgz#0a8a58a10108f2b9bf38e7b65c237b12fd9c5f04" integrity sha512-Gfj/WAastBtfxLws0RCh2sDbTK/8rJuSeZMecrSkNGYxPcv7EzblmDGfWQCFEQcSqYE2BRgQiJh8HOD07N5hIw== -caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001113: - version "1.0.30001120" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001120.tgz#cd21d35e537214e19f7b9f4f161f7b0f2710d46c" - integrity sha512-JBP68okZs1X8D7MQTY602jxMYBmXEKOFkzTBaNSkubooMPFOAv2TXWaKle7qgHpjLDhUzA/TMT0qsNleVyXGUQ== - capitalize@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/capitalize/-/capitalize-1.0.0.tgz#dc802c580aee101929020d2ca14b4ca8a0ae44be" @@ -6734,11 +6716,6 @@ ejs@^2.6.1: version "2.7.4" resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" -electron-to-chromium@^1.2.7: - version "1.3.555" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.555.tgz#a096716ff77cf8da9a608eb628fd6927869503d2" - integrity sha512-/55x3nF2feXFZ5tdGUOr00TxnUjUgdxhrn+eCJ1FAcoAt+cKQTjQkUC5XF4frMWE1R5sjHk+JueuBalimfe5Pg== - electron-to-chromium@^1.3.488: version "1.3.501" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.501.tgz#faa17a2cb0105ee30d5e1ca87eae7d8e85dd3175" From b4dc2cd958890aba8c239fb3e30eed9bb24cee27 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Mon, 31 Aug 2020 20:59:03 -0400 Subject: [PATCH 14/16] update test cases --- test/integration/basic/test/dynamic.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/basic/test/dynamic.js b/test/integration/basic/test/dynamic.js index ef2684b07b4d1..fcce8c706dfcc 100644 --- a/test/integration/basic/test/dynamic.js +++ b/test/integration/basic/test/dynamic.js @@ -13,8 +13,8 @@ export default (context, render) => { it('should render dynamic import components', async () => { const $ = await get$('/dynamic/ssr') // Make sure the client side knows it has to wait for the bundle - expect($('body').html()).toContain( - '"dynamicIds":["./components/hello1.js"]' + expect(JSON.parse($('#__NEXT_DATA__').html()).dynamicIds).toContain( + './components/hello1.js' ) expect($('body').text()).toMatch(/Hello World 1/) }) @@ -22,8 +22,8 @@ export default (context, render) => { it('should render dynamic import components using a function as first parameter', async () => { const $ = await get$('/dynamic/function') // Make sure the client side knows it has to wait for the bundle - expect($('body').html()).toContain( - '"dynamicIds":["./components/hello1.js"]' + expect(JSON.parse($('#__NEXT_DATA__').html()).dynamicIds).toContain( + './components/hello1.js' ) expect($('body').text()).toMatch(/Hello World 1/) }) From 8700bb7a5c0c6d9c74b1c7bb67fbcdfff9463cca Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Tue, 1 Sep 2020 10:43:29 -0400 Subject: [PATCH 15/16] Fix two test cases --- test/acceptance/ReactRefreshLogBox.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/acceptance/ReactRefreshLogBox.test.js b/test/acceptance/ReactRefreshLogBox.test.js index a57cb7e831e99..fed92c9cc0a06 100644 --- a/test/acceptance/ReactRefreshLogBox.test.js +++ b/test/acceptance/ReactRefreshLogBox.test.js @@ -238,6 +238,7 @@ test('render error not shown right after syntax error', async () => { await session.patch( 'index.js', ` + import * as React from 'react'; class ClassDefault extends React.Component { render() { return

Default Export

; @@ -576,6 +577,7 @@ test('boundaries', async () => { 'index.js', ` import FunctionDefault from './FunctionDefault.js' + import * as React from 'react' class ErrorBoundary extends React.Component { constructor() { super() From 548de59e8cb2d657d92b3f74290d23902836e479 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Tue, 1 Sep 2020 11:03:47 -0400 Subject: [PATCH 16/16] Bump minimum version --- packages/next/build/webpack-config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 07ff3eb89ff9c..1a5f072724c17 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -232,7 +232,10 @@ export default async function getBaseWebpackConfig( const reactVersion = await getPackageVersion({ cwd: dir, name: 'react' }) const hasReactRefresh: boolean = dev && !isServer const hasJsxRuntime: boolean = - Boolean(reactVersion) && semver.gte(reactVersion!, '17.0.0-rc.0') + Boolean(reactVersion) && + // 17.0.0-rc.0 had a breaking change not compatible with Next.js, but was + // fixed in rc.1. + semver.gte(reactVersion!, '17.0.0-rc.1') const distDir = path.join(dir, config.distDir) const defaultLoaders = {