diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 3d5dce3de6011..d23ce3641a1ed 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 = "^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/docs/basic-features/fast-refresh.md b/docs/basic-features/fast-refresh.md index 5df2d35968a98..450b19e6db4b3 100644 --- a/docs/basic-features/fast-refresh.md +++ b/docs/basic-features/fast-refresh.md @@ -6,6 +6,13 @@ description: # Fast Refresh +
+ Examples + +
+ Fast Refresh is a Next.js feature that gives you instantaneous feedback on edits made to your React components. Fast Refresh is enabled by default in all Next.js applications on **9.4 or newer**. With Next.js Fast Refresh enabled, diff --git a/examples/fast-refresh-demo/.gitignore b/examples/fast-refresh-demo/.gitignore new file mode 100644 index 0000000000000..1437c53f70bc2 --- /dev/null +++ b/examples/fast-refresh-demo/.gitignore @@ -0,0 +1,34 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local + +# vercel +.vercel diff --git a/examples/fast-refresh-demo/README.md b/examples/fast-refresh-demo/README.md new file mode 100644 index 0000000000000..bde2b03db474b --- /dev/null +++ b/examples/fast-refresh-demo/README.md @@ -0,0 +1,23 @@ +# Fast Refresh Demo + +Next.js ships with [Fast Refresh](https://nextjs.org/docs/basic-features/fast-refresh) which gives you instantaneous feedback on edits made to your React components. + +This demos shows how the state of an auto incrementing value and a classic counter is preserved after edits or if there are errors. + +## Deploy your own + +Deploy the example using [Vercel](https://vercel.com): + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/fast-refresh-demo) + +## How to use + +Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: + +```bash +npx create-next-app --example fast-refresh-demo fast-refresh-demo +# or +yarn create next-app --example fast-refresh-demo fast-refresh-demo +``` + +Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/fast-refresh-demo/components/Button.js b/examples/fast-refresh-demo/components/Button.js new file mode 100644 index 0000000000000..fdb433551f560 --- /dev/null +++ b/examples/fast-refresh-demo/components/Button.js @@ -0,0 +1,5 @@ +import styles from './Button.module.css' + +export default function Button(props) { + return +} diff --git a/examples/fast-refresh-demo/global.css b/examples/fast-refresh-demo/global.css new file mode 100644 index 0000000000000..e203447ed2412 --- /dev/null +++ b/examples/fast-refresh-demo/global.css @@ -0,0 +1,14 @@ +body { + font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', + 'Arial', sans-serif; + margin: 0 auto; + font-size: 16px; + line-height: 1.65; + word-break: break-word; + font-kerning: auto; + font-variant: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-rendering: optimizeLegibility; + hyphens: auto; +} diff --git a/examples/fast-refresh-demo/package.json b/examples/fast-refresh-demo/package.json new file mode 100644 index 0000000000000..50fb57f61e5d6 --- /dev/null +++ b/examples/fast-refresh-demo/package.json @@ -0,0 +1,15 @@ +{ + "name": "fast-refresh-demo", + "version": "1.0.0", + "scripts": { + "dev": "next", + "build": "next build", + "start": "next start" + }, + "dependencies": { + "next": "latest", + "react": "^16.13.1", + "react-dom": "^16.13.1" + }, + "license": "MIT" +} diff --git a/examples/fast-refresh-demo/pages/_app.js b/examples/fast-refresh-demo/pages/_app.js new file mode 100644 index 0000000000000..d305f97bab7f1 --- /dev/null +++ b/examples/fast-refresh-demo/pages/_app.js @@ -0,0 +1,5 @@ +import '../global.css' + +export default function MyApp({ Component, pageProps }) { + return +} diff --git a/examples/fast-refresh-demo/pages/index.js b/examples/fast-refresh-demo/pages/index.js new file mode 100644 index 0000000000000..588c89a8e612c --- /dev/null +++ b/examples/fast-refresh-demo/pages/index.js @@ -0,0 +1,71 @@ +import { useCallback, useEffect, useState } from 'react' +import Button from '../components/Button' +import ClickCount from '../components/ClickCount' +import styles from '../styles/home.module.css' + +function throwError() { + console.log( + // The function body() is not defined + document.body() + ) +} + +function Home() { + const [count, setCount] = useState(0) + const increment = useCallback(() => { + setCount((v) => v + 1) + }, [setCount]) + + useEffect(() => { + const r = setInterval(() => { + increment() + }, 1000) + + return () => { + clearInterval(r) + } + }, [increment]) + + return ( +
+

Fast Refresh Demo

+

+ Fast Refresh is a Next.js feature that gives you instantaneous feedback + on edits made to your React components, without ever losing component + state. +

+
+
+

+ Auto incrementing value. The counter won't reset after edits or if + there are errors. +

+

Current value: {count}

+
+
+
+

Component with state.

+ +
+
+
+

+ The button below will throw 2 errors. You'll see the error overlay to + let you know about the errors but it won't break the page or reset + your state. +

+ +
+
+
+ ) +} + +export default Home diff --git a/examples/fast-refresh-demo/styles/home.module.css b/examples/fast-refresh-demo/styles/home.module.css new file mode 100644 index 0000000000000..693115201a064 --- /dev/null +++ b/examples/fast-refresh-demo/styles/home.module.css @@ -0,0 +1,11 @@ +.main { + padding: 20px 20px 60px; + max-width: 680px; + margin: 0 auto; +} + +.hr { + border: none; + border-bottom: 1px solid #efefef; + margin: 3em auto; +} diff --git a/examples/with-framer-motion/components/Gallery.js b/examples/with-framer-motion/components/Gallery.js index b0e2e770d5463..bf7d8c0901518 100644 --- a/examples/with-framer-motion/components/Gallery.js +++ b/examples/with-framer-motion/components/Gallery.js @@ -35,7 +35,7 @@ const Thumbnail = ({ id, i }) => ( > ( const Gallery = () => ( <> -

Barbican

+

Motion

( bottom: -130px; } } - + @media screen and (min-width: 800px) { h1 { font-size: 180px; bottom: -170px; } } - + @media screen and (min-width: 1000px) { h1 { font-size: 220px; diff --git a/examples/with-framer-motion/components/SingleImage.js b/examples/with-framer-motion/components/SingleImage.js index b14569934c8f2..e1e23d53a94f5 100644 --- a/examples/with-framer-motion/components/SingleImage.js +++ b/examples/with-framer-motion/components/SingleImage.js @@ -28,7 +28,7 @@ const SingleImage = ({ index }) => ( diff --git a/examples/with-framer-motion/constants.js b/examples/with-framer-motion/constants.js index 6ef78bfd1998b..7e48c3ec64b81 100644 --- a/examples/with-framer-motion/constants.js +++ b/examples/with-framer-motion/constants.js @@ -1,8 +1,8 @@ export const images = [ - '5b5a3938562fa764113169a6/1532639559620/DSCF3338', - '5b5a3628f950b7390fbfc5f8/1532639027872/DSCF3246', - '5b5a3741575d1fccb5ac6b3f/1532639066455/DSCF3268', - '5b5a376b0e2e728eeeaca8e4/1532683586969/DSCF3274', - '5b5c228403ce64f3c80d4d8e/1532764845121/DSCF3348', - '5b5a3b800e2e728eeead9575/1532640158813/DSCF3375', + 'photo-1520517601640-32ec514e4a15', + 'photo-1518780535463-bc357fa46e64', + 'photo-1555068178-89125fb6356d', + 'photo-1553503359-d4ff2537a6ea', + 'photo-1585211751845-37663b4ab614', + 'photo-1496467115032-c504ef76521b', ] diff --git a/examples/with-framer-motion/pages/image/[index].js b/examples/with-framer-motion/pages/image/[index].js index d997d5f94f40f..e4e64af882922 100644 --- a/examples/with-framer-motion/pages/image/[index].js +++ b/examples/with-framer-motion/pages/image/[index].js @@ -17,7 +17,6 @@ export async function getStaticProps({ params }) { export async function getStaticPaths() { return { paths: images.map((_id, index) => { - console.log(index) return { params: { index: `${index}`, diff --git a/examples/with-react-intl/lang/en.json b/examples/with-react-intl/lang/en.json index e6cd30bb2f93a..64e7e19221b36 100644 --- a/examples/with-react-intl/lang/en.json +++ b/examples/with-react-intl/lang/en.json @@ -1,7 +1,7 @@ { - "11754": "An example app integrating React Intl with Next.js", - "65a8e": "Hello, World!", - "8cf04": "Home", - "8f7f4": "About", - "9c817": "React Intl Next.js Example" + "AvQcw8": "React Intl Next.js Example", + "N015Sp": "Hello, World!", + "ejEGdx": "Home", + "fnfXnF": "An example app integrating React Intl with Next.js", + "g5pX+a": "About" } diff --git a/examples/with-react-intl/lang/fr.json b/examples/with-react-intl/lang/fr.json index 10c7641a614e7..27abeef6365de 100644 --- a/examples/with-react-intl/lang/fr.json +++ b/examples/with-react-intl/lang/fr.json @@ -1,7 +1,7 @@ { - "11754": "Un exemple d'application intégrant React Intl avec Next.js", - "65a8e": "Bonjour le monde!", - "8cf04": "Accueil", - "8f7f4": "À propos de nous", - "9c817": "React Intl Next.js Exemple" + "AvQcw8": "Un exemple d'application intégrant React Intl avec Next.js", + "N015Sp": "Bonjour le monde!", + "ejEGdx": "Accueil", + "fnfXnF": "À propos de nous", + "g5pX+a": "React Intl Next.js Exemple" } diff --git a/examples/with-react-intl/package.json b/examples/with-react-intl/package.json index 4aa47f941d7f0..2e41e4fcaa292 100644 --- a/examples/with-react-intl/package.json +++ b/examples/with-react-intl/package.json @@ -4,7 +4,7 @@ "scripts": { "dev": "cross-env NODE_ICU_DATA=node_modules/full-icu ts-node --project tsconfig.server.json server.ts", "build": "npm run extract:i18n && npm run compile:i18n && next build && tsc -p tsconfig.server.json", - "extract:i18n": "formatjs extract '{pages,components}/*.{js,ts,tsx}' --format simple --out-file lang/en.json", + "extract:i18n": "formatjs extract '{pages,components}/*.{js,ts,tsx}' --format simple --id-interpolation-pattern '[sha512:contenthash:base64:6]' --out-file lang/en.json", "compile:i18n": "formatjs compile-folder --ast --format simple lang/ compiled-lang/", "start": "cross-env NODE_ENV=production NODE_ICU_DATA=node_modules/full-icu node dist/server" }, diff --git a/examples/with-react-intl/pages/_app.tsx b/examples/with-react-intl/pages/_app.tsx index fcdd1a8ec1aab..4f184ca0ee468 100644 --- a/examples/with-react-intl/pages/_app.tsx +++ b/examples/with-react-intl/pages/_app.tsx @@ -27,7 +27,7 @@ const getInitialProps: typeof App.getInitialProps = async appContext => { const { ctx: {req}, } = appContext; - const locale = (req as any)?.locale ?? 'en'; + const locale = (req as any)?.locale || (window as any).LOCALE || 'en'; const [appProps, messages] = await Promise.all([ polyfill(locale), diff --git a/examples/with-react-intl/pages/_document.tsx b/examples/with-react-intl/pages/_document.tsx new file mode 100644 index 0000000000000..0eda159f21413 --- /dev/null +++ b/examples/with-react-intl/pages/_document.tsx @@ -0,0 +1,46 @@ +import Document, { + Html, + Head, + Main, + NextScript, + DocumentContext, +} from 'next/document'; + +interface Props { + locale: string; + lang: string; + nonce: string; +} + +class MyDocument extends Document { + static async getInitialProps(ctx: DocumentContext) { + const {req} = ctx; + const initialProps = await Document.getInitialProps(ctx); + return { + ...initialProps, + locale: (req as any).locale || 'en', + lang: ((req as any).locale || 'en').split('-')[0], + nonce: (req as any).nonce, + }; + } + + render() { + return ( + + + + +
+ + + + ); + } +} + +export default MyDocument; diff --git a/examples/with-react-intl/server.ts b/examples/with-react-intl/server.ts index ece3cacc2532a..bef578861f6c8 100644 --- a/examples/with-react-intl/server.ts +++ b/examples/with-react-intl/server.ts @@ -4,6 +4,7 @@ import {createServer} from 'http'; import accepts from 'accepts'; import next from 'next'; import {polyfill} from './polyfills'; +import crypto from 'crypto'; // Get the supported languages by looking for translations in the `lang/` dir. const supportedLanguages = globSync('./compiled-lang/*.json').map(f => basename(f, '.json') @@ -21,7 +22,10 @@ Promise.all([app.prepare(), ...SUPPORTED_LOCALES.map(polyfill)]).then(() => { const accept = accepts(req); const locale = accept.language(supportedLanguages) || 'en'; (req as any).locale = locale; - + const nonce = crypto.randomBytes(20).toString('hex'); + (req as any).nonce = nonce; + // TODO: This will blow up other next inline JS but next.js should prob fix this + // res.setHeader('Content-Security-Policy', `script-src 'nonce-${nonce}'`); handle(req, res); }).listen(port, () => { console.log(`> Ready on http://localhost:${port}`); diff --git a/examples/with-redux-persist/pages/_app.js b/examples/with-redux-persist/pages/_app.js index a48f78ae7bd35..99bea7d750cf8 100644 --- a/examples/with-redux-persist/pages/_app.js +++ b/examples/with-redux-persist/pages/_app.js @@ -5,11 +5,13 @@ import { PersistGate } from 'redux-persist/integration/react' export default function App({ Component, pageProps }) { const store = useStore(pageProps.initialReduxState) - const persistor = persistStore(store) + const persistor = persistStore(store, {}, function () { + persistor.persist() + }) return ( - } persistor={persistor}> + loading
} persistor={persistor}> diff --git a/lerna.json b/lerna.json index fb34cfdc0eadf..ffddc3945ea8d 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "9.5.3-canary.25" + "version": "9.5.3" } 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/create-next-app/package.json b/packages/create-next-app/package.json index c73dda21aa1f2..63fd686b48c05 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "9.5.3-canary.25", + "version": "9.5.3", "keywords": [ "react", "next", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 7d3934bfbf78b..48ac721d7ba59 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "9.5.3-canary.25", + "version": "9.5.3", "description": "ESLint plugin for NextJS.", "main": "lib/index.js", "license": "MIT", diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 6748c9cce5466..a1e18076b5e7d 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "9.5.3-canary.25", + "version": "9.5.3", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 8acee3ddf9c5f..a3b67156eb1dc 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "9.5.3-canary.25", + "version": "9.5.3", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index 9cfa7ef71e66f..71768b185213b 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "9.5.3-canary.25", + "version": "9.5.3", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-google-analytics/package.json b/packages/next-plugin-google-analytics/package.json index ca169d77d49fc..cef3e0d0eae72 100644 --- a/packages/next-plugin-google-analytics/package.json +++ b/packages/next-plugin-google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-google-analytics", - "version": "9.5.3-canary.25", + "version": "9.5.3", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-google-analytics" diff --git a/packages/next-plugin-sentry/package.json b/packages/next-plugin-sentry/package.json index 2c1bd01009017..0c0b1c5d7ec0e 100644 --- a/packages/next-plugin-sentry/package.json +++ b/packages/next-plugin-sentry/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-sentry", - "version": "9.5.3-canary.25", + "version": "9.5.3", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-sentry" diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index d44152a4a8aa9..8f0f366aafe6e 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "9.5.3-canary.25", + "version": "9.5.3", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index b0f0c2f174846..3db115869447f 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "9.5.3-canary.25", + "version": "9.5.3", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next/build/babel/preset.ts b/packages/next/build/babel/preset.ts index 8296591b1ee5d..8c6ecc097fa1e 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: @@ -181,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/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 31ee7da60ec97..1a5f072724c17 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,13 @@ 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) && + // 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 = { @@ -243,6 +252,7 @@ export default async function getBaseWebpackConfig( hasModern: !!config.experimental.modern, development: dev, hasReactRefresh, + hasJsxRuntime, }, }, // Backwards compat 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', { diff --git a/packages/next/client/index.tsx b/packages/next/client/index.tsx index f1a0fd20127e5..3bf5a3b3f62c2 100644 --- a/packages/next/client/index.tsx +++ b/packages/next/client/index.tsx @@ -21,8 +21,6 @@ import PageLoader, { looseToArray, StyleSheetTuple } from './page-loader' import measureWebVitals from './performance-relayer' import { createRouter, makePublicRouterInstance } from './router' -require('next/dist/build/polyfills/finally-polyfill.min') - /// declare let __webpack_public_path__: string @@ -43,6 +41,10 @@ declare global { type RenderRouteInfo = PrivateRouteInfo & { App: AppComponent } type RenderErrorProps = Omit +if (!('finally' in Promise.prototype)) { + ;(Promise.prototype as PromiseConstructor['prototype']).finally = require('next/dist/build/polyfills/finally-polyfill.min') +} + const data: typeof window['__NEXT_DATA__'] = JSON.parse( document.getElementById('__NEXT_DATA__')!.textContent! ) @@ -149,14 +151,6 @@ class Container extends React.Component<{ } ) } - - if (process.env.__NEXT_TEST_MODE) { - window.__NEXT_HYDRATED = true - - if (window.__NEXT_HYDRATED_CB) { - window.__NEXT_HYDRATED_CB() - } - } } componentDidUpdate() { @@ -717,5 +711,15 @@ function Root({ // We use `useLayoutEffect` to guarantee the callback is executed // as soon as React flushes the update. React.useLayoutEffect(() => callback(), [callback]) + if (process.env.__NEXT_TEST_MODE) { + // eslint-disable-next-line react-hooks/rules-of-hooks + React.useEffect(() => { + window.__NEXT_HYDRATED = true + + if (window.__NEXT_HYDRATED_CB) { + window.__NEXT_HYDRATED_CB() + } + }, []) + } return children as React.ReactElement } diff --git a/packages/next/client/page-loader.ts b/packages/next/client/page-loader.ts index fc4f7b073448c..a95267189fea1 100644 --- a/packages/next/client/page-loader.ts +++ b/packages/next/client/page-loader.ts @@ -56,12 +56,6 @@ const relPreloadStyle = 'fetch' const hasNoModule = 'noModule' in document.createElement('script') -const requestIdleCallback: (fn: () => void) => void = - (window as any).requestIdleCallback || - function (cb: () => void) { - return setTimeout(cb, 1) - } - function normalizeRoute(route: string) { if (route[0] !== '/') { throw new Error(`Route name should start with a "/", got "${route}"`) @@ -281,20 +275,19 @@ export default class PageLoader { const { pathname: hrefPathname } = parseRelativeUrl(href) const route = normalizeRoute(hrefPathname) return this.promisedSsgManifest!.then( - (s: ClientSsgManifest, _dataHref?: string) => { - requestIdleCallback(() => { - // Check if the route requires a data file - s.has(route) && - // Try to generate data href, noop when falsy - (_dataHref = this.getDataHref(href, asPath, true)) && - // noop when data has already been prefetched (dedupe) - !document.querySelector( - `link[rel="${relPrefetch}"][href^="${_dataHref}"]` - ) && - // Inject the `` tag for above computed `href`. - appendLink(_dataHref, relPrefetch, 'fetch') + (s: ClientSsgManifest, _dataHref?: string) => + // Check if the route requires a data file + s.has(route) && + // Try to generate data href, noop when falsy + (_dataHref = this.getDataHref(href, asPath, true)) && + // noop when data has already been prefetched (dedupe) + !document.querySelector( + `link[rel="${relPrefetch}"][href^="${_dataHref}"]` + ) && + // Inject the `` tag for above computed `href`. + appendLink(_dataHref, relPrefetch, 'fetch').catch(() => { + /* ignore prefetch error */ }) - } ) } 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;eSymbol.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/package.json b/packages/next/package.json index 97f7702d05fd1..d354d92e4de54 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "9.5.3-canary.25", + "version": "9.5.3", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -59,26 +59,26 @@ }, "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/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", - "@next/react-dev-overlay": "9.5.3-canary.25", - "@next/react-refresh-utils": "9.5.3-canary.25", + "@babel/plugin-transform-modules-commonjs": "7.10.4", + "@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.5", + "@next/react-dev-overlay": "9.5.3", + "@next/react-refresh-utils": "9.5.3", "ast-types": "0.13.2", "babel-plugin-syntax-jsx": "6.18.0", "babel-plugin-transform-define": "2.0.0", @@ -123,7 +123,7 @@ "react-dom": "^16.6.0" }, "devDependencies": { - "@next/polyfill-nomodule": "9.5.3-canary.25", + "@next/polyfill-nomodule": "9.5.3", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", @@ -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", @@ -181,7 +181,7 @@ "escape-string-regexp": "2.0.0", "etag": "1.8.1", "file-loader": "6.0.0", - "finally-polyfill": "0.2.0", + "finally-polyfill": "0.1.0", "find-up": "4.1.0", "fresh": "0.5.2", "gzip-size": "5.1.1", diff --git a/packages/next/types/index.d.ts b/packages/next/types/index.d.ts index 7e1a0bab3799d..e749b4e8872ec 100644 --- a/packages/next/types/index.d.ts +++ b/packages/next/types/index.d.ts @@ -96,12 +96,14 @@ export type InferGetStaticPropsType = T extends GetStaticProps ? P : never -export type GetStaticPaths< - P extends ParsedUrlQuery = ParsedUrlQuery -> = () => Promise<{ +export type GetStaticPathsResult

= { paths: Array fallback: boolean | 'unstable_blocking' -}> +} + +export type GetStaticPaths< + P extends ParsedUrlQuery = ParsedUrlQuery +> = () => Promise> export type GetServerSidePropsContext< Q extends ParsedUrlQuery = ParsedUrlQuery diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index cccf34bf452b6..213c13e07472f 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "9.5.3-canary.25", + "version": "9.5.3", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", @@ -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/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index 9b4115383a3f4..3c7a75806069a 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "9.5.3-canary.25", + "version": "9.5.3", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", 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() diff --git a/test/acceptance/helpers.js b/test/acceptance/helpers.js index 76f96c22617e1..dd30e780f1b0b 100644 --- a/test/acceptance/helpers.js +++ b/test/acceptance/helpers.js @@ -37,7 +37,6 @@ export async function sandbox( env: { __NEXT_TEST_WITH_DEVTOOL: 1 }, }) const browser = await webdriver(appPort, '/') - return [ { sandboxDirectory, 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/) }) 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() 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') - }) -}) diff --git a/yarn.lock b/yarn.lock index 2267aa0f15a34..1795f8a363a02 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.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" @@ -201,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: @@ -222,27 +214,22 @@ "@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", "@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-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" - -"@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/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-module-imports" "^7.10.4" + "@babel/types" "^7.11.5" -"@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" +"@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.8.3" - "@babel/types" "^7.9.0" + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/types" "^7.10.4" "@babel/helper-compilation-targets@^7.10.4": version "7.10.4" @@ -255,16 +242,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 +265,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 +281,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 +290,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 +298,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 +343,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" @@ -476,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== @@ -498,12 +435,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 +446,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 +528,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 +596,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 +611,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 +619,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 +635,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 +643,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 +651,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 +659,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== @@ -822,21 +683,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 +715,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" @@ -920,30 +760,25 @@ 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" 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" 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" @@ -970,7 +805,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 +842,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 +855,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 +862,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 +871,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 +878,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 +885,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 +899,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 +906,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 +913,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 +928,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 +935,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 +943,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" @@ -1200,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" @@ -1214,12 +958,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 +966,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 +973,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 +980,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 +989,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 +1009,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 +1017,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 +1024,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 +1031,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 +1039,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" @@ -1380,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" @@ -1394,48 +1054,55 @@ 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" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.8.3.tgz#70ded987c91609f78353dd76d2fb2a0bb991e8e5" +"@babel/plugin-transform-react-jsx-development@^7.10.4": + 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-plugin-utils" "^7.8.3" + "@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" +"@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-builder-react-jsx-experimental" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-jsx" "^7.8.3" + "@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" +"@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.8.3" - "@babel/plugin-syntax-jsx" "^7.8.3" + "@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" +"@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-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-jsx" "^7.8.3" + "@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" +"@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-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/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" @@ -1444,12 +1111,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 +1118,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.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.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 +1135,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 +1143,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 +1151,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 +1159,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 +1166,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 +1183,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 +1198,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,66 +1205,75 @@ 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" +"@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.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/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.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.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/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.9.6" - browserslist "^4.11.1" + "@babel/types" "^7.11.5" + browserslist "^4.12.0" core-js-compat "^3.6.2" invariant "^2.2.2" levenary "^1.1.1" @@ -1735,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== @@ -1750,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: @@ -1760,23 +1382,26 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@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" +"@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.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.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.9.0.tgz#87705a72b1f0d59df21c179f7c3d2ef4b16ce192" + "@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-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 +1410,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 +1421,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 +1516,15 @@ globals "^11.1.0" lodash "^4.17.13" +"@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" + 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,15 +1533,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": - version "7.9.6" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.6.tgz#2c5502b427251e9de1bd2dff95add646d95cc9f7" - dependencies: - "@babel/helper-validator-identifier" "^7.9.5" - 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": +"@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== @@ -1923,6 +1542,14 @@ 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" + dependencies: + "@babel/helper-validator-identifier" "^7.9.5" + lodash "^4.17.13" + 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" @@ -4202,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" @@ -4969,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.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== @@ -5734,6 +5353,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" @@ -5817,10 +5437,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" @@ -7959,9 +7579,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" @@ -8682,6 +8303,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" @@ -11051,9 +10673,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" @@ -16562,6 +16184,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"