@openedx/frontend-build 12.10.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +5 -0
- package/.eslintrc.js +10 -0
- package/.github/workflows/add-depr-ticket-to-depr-board.yml +19 -0
- package/.github/workflows/add-remove-label-on-comment.yml +20 -0
- package/.github/workflows/ci.yml +30 -0
- package/.github/workflows/commitlint.yml +20 -0
- package/.github/workflows/lockfileversion-check.yml +13 -0
- package/.github/workflows/release.yml +34 -0
- package/.github/workflows/self-assign-issue.yml +12 -0
- package/.github/workflows/sync-master-alpha.yml +35 -0
- package/.nvmrc +1 -0
- package/LICENSE +661 -0
- package/README.md +314 -0
- package/bin/fedx-scripts.js +88 -0
- package/config/.eslintrc.js +46 -0
- package/config/babel-preserve-modules.config.js +30 -0
- package/config/babel-typescript.config.js +5 -0
- package/config/babel.config.js +41 -0
- package/config/getLocalAliases.js +67 -0
- package/config/jest/fallback.env.config.js +12 -0
- package/config/jest/fileMock.js +1 -0
- package/config/jest/setupTest.js +10 -0
- package/config/jest/svgrMock.js +4 -0
- package/config/jest.config.js +45 -0
- package/config/webpack.common.config.js +40 -0
- package/config/webpack.dev-stage.config.js +191 -0
- package/config/webpack.dev.config.js +193 -0
- package/config/webpack.prod.config.js +219 -0
- package/coverage/clover.xml +6 -0
- package/coverage/coverage-final.json +1 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +0 -0
- package/docs/0001-non-usage-of-gatsby.rst +37 -0
- package/docs/0002-js-environment-config.md +47 -0
- package/docs/0003-fedx-scripts-serve.md +37 -0
- package/example/.env +0 -0
- package/example/.env.development +3 -0
- package/example/.env.test +2 -0
- package/example/.eslintignore +5 -0
- package/example/.eslintrc.js +3 -0
- package/example/dist/1382e1cbf8d733d7301cdd212192bfea.jpg +0 -0
- package/example/dist/6.4a131009e103f9d0c995.js +3 -0
- package/example/dist/6.4a131009e103f9d0c995.js.LICENSE.txt +41 -0
- package/example/dist/6.4a131009e103f9d0c995.js.map +1 -0
- package/example/dist/app.04e87df21a6686d7d2a5.css +3 -0
- package/example/dist/app.04e87df21a6686d7d2a5.css.map +1 -0
- package/example/dist/app.04e87df21a6686d7d2a5.js +2 -0
- package/example/dist/app.04e87df21a6686d7d2a5.js.map +1 -0
- package/example/dist/babel/App.js +94 -0
- package/example/dist/babel/App.js.map +1 -0
- package/example/dist/babel/App.test.jsx +11 -0
- package/example/dist/babel/Image.tsx +16 -0
- package/example/dist/babel/__snapshots__/App.test.jsx.snap +120 -0
- package/example/dist/babel/apple.jpg +0 -0
- package/example/dist/babel/apple.svg +1 -0
- package/example/dist/babel/index.js +13 -0
- package/example/dist/babel/index.js.map +1 -0
- package/example/dist/babel/style.scss +9 -0
- package/example/dist/cb28cdb1468c915e27e5cec9af64f22f.svg +1 -0
- package/example/dist/index.html +4 -0
- package/example/dist/report.html +39 -0
- package/example/dist/runtime.a27e316c40c13d63555d.js +2 -0
- package/example/dist/runtime.a27e316c40c13d63555d.js.map +1 -0
- package/example/env.config.js +6 -0
- package/example/node_modules/.package-lock.json +98 -0
- package/example/node_modules/js-tokens/CHANGELOG.md +151 -0
- package/example/node_modules/js-tokens/LICENSE +21 -0
- package/example/node_modules/js-tokens/README.md +240 -0
- package/example/node_modules/js-tokens/index.js +23 -0
- package/example/node_modules/js-tokens/package.json +30 -0
- package/example/node_modules/loose-envify/LICENSE +21 -0
- package/example/node_modules/loose-envify/README.md +45 -0
- package/example/node_modules/loose-envify/cli.js +16 -0
- package/example/node_modules/loose-envify/custom.js +4 -0
- package/example/node_modules/loose-envify/index.js +3 -0
- package/example/node_modules/loose-envify/loose-envify.js +36 -0
- package/example/node_modules/loose-envify/package.json +36 -0
- package/example/node_modules/loose-envify/replace.js +65 -0
- package/example/node_modules/object-assign/index.js +90 -0
- package/example/node_modules/object-assign/license +21 -0
- package/example/node_modules/object-assign/package.json +42 -0
- package/example/node_modules/object-assign/readme.md +61 -0
- package/example/node_modules/prop-types/LICENSE +21 -0
- package/example/node_modules/prop-types/README.md +302 -0
- package/example/node_modules/prop-types/checkPropTypes.js +103 -0
- package/example/node_modules/prop-types/factory.js +19 -0
- package/example/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
- package/example/node_modules/prop-types/factoryWithTypeCheckers.js +610 -0
- package/example/node_modules/prop-types/index.js +19 -0
- package/example/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
- package/example/node_modules/prop-types/lib/has.js +1 -0
- package/example/node_modules/prop-types/package.json +60 -0
- package/example/node_modules/prop-types/prop-types.js +1315 -0
- package/example/node_modules/prop-types/prop-types.min.js +1 -0
- package/example/node_modules/react/LICENSE +21 -0
- package/example/node_modules/react/README.md +13 -0
- package/example/node_modules/react/build-info.json +8 -0
- package/example/node_modules/react/cjs/react-jsx-dev-runtime.development.js +889 -0
- package/example/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +9 -0
- package/example/node_modules/react/cjs/react-jsx-runtime.development.js +911 -0
- package/example/node_modules/react/cjs/react-jsx-runtime.production.min.js +10 -0
- package/example/node_modules/react/cjs/react.development.js +1912 -0
- package/example/node_modules/react/cjs/react.production.min.js +25 -0
- package/example/node_modules/react/index.js +7 -0
- package/example/node_modules/react/jsx-dev-runtime.js +7 -0
- package/example/node_modules/react/jsx-runtime.js +7 -0
- package/example/node_modules/react/package.json +44 -0
- package/example/node_modules/react/umd/react.development.js +3318 -0
- package/example/node_modules/react/umd/react.production.min.js +32 -0
- package/example/node_modules/react/umd/react.profiling.min.js +39 -0
- package/example/node_modules/react-dom/LICENSE +21 -0
- package/example/node_modules/react-dom/README.md +54 -0
- package/example/node_modules/react-dom/build-info.json +8 -0
- package/example/node_modules/react-dom/cjs/react-dom-server.browser.development.js +4043 -0
- package/example/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +54 -0
- package/example/node_modules/react-dom/cjs/react-dom-server.node.development.js +4085 -0
- package/example/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +55 -0
- package/example/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1480 -0
- package/example/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +35 -0
- package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.browser.development.js +141 -0
- package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js +11 -0
- package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.node.development.js +162 -0
- package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js +12 -0
- package/example/node_modules/react-dom/cjs/react-dom-unstable-native-dependencies.development.js +1629 -0
- package/example/node_modules/react-dom/cjs/react-dom-unstable-native-dependencies.production.min.js +31 -0
- package/example/node_modules/react-dom/cjs/react-dom.development.js +25012 -0
- package/example/node_modules/react-dom/cjs/react-dom.production.min.js +292 -0
- package/example/node_modules/react-dom/cjs/react-dom.profiling.min.js +299 -0
- package/example/node_modules/react-dom/index.js +38 -0
- package/example/node_modules/react-dom/package.json +60 -0
- package/example/node_modules/react-dom/profiling.js +38 -0
- package/example/node_modules/react-dom/server.browser.js +7 -0
- package/example/node_modules/react-dom/server.js +3 -0
- package/example/node_modules/react-dom/server.node.js +7 -0
- package/example/node_modules/react-dom/test-utils.js +7 -0
- package/example/node_modules/react-dom/umd/react-dom-server.browser.development.js +4147 -0
- package/example/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +45 -0
- package/example/node_modules/react-dom/umd/react-dom-test-utils.development.js +1499 -0
- package/example/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +30 -0
- package/example/node_modules/react-dom/umd/react-dom-unstable-fizz.browser.development.js +141 -0
- package/example/node_modules/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js +10 -0
- package/example/node_modules/react-dom/umd/react-dom-unstable-native-dependencies.development.js +1628 -0
- package/example/node_modules/react-dom/umd/react-dom-unstable-native-dependencies.production.min.js +28 -0
- package/example/node_modules/react-dom/umd/react-dom.development.js +25147 -0
- package/example/node_modules/react-dom/umd/react-dom.production.min.js +239 -0
- package/example/node_modules/react-dom/umd/react-dom.profiling.min.js +247 -0
- package/example/node_modules/react-dom/unstable-fizz.browser.js +7 -0
- package/example/node_modules/react-dom/unstable-fizz.js +3 -0
- package/example/node_modules/react-dom/unstable-fizz.node.js +7 -0
- package/example/node_modules/react-dom/unstable-native-dependencies.js +7 -0
- package/example/node_modules/react-is/LICENSE +21 -0
- package/example/node_modules/react-is/README.md +104 -0
- package/example/node_modules/react-is/build-info.json +8 -0
- package/example/node_modules/react-is/cjs/react-is.development.js +181 -0
- package/example/node_modules/react-is/cjs/react-is.production.min.js +15 -0
- package/example/node_modules/react-is/index.js +7 -0
- package/example/node_modules/react-is/package.json +27 -0
- package/example/node_modules/react-is/umd/react-is.development.js +181 -0
- package/example/node_modules/react-is/umd/react-is.production.min.js +13 -0
- package/example/node_modules/react-test-renderer/LICENSE +21 -0
- package/example/node_modules/react-test-renderer/README.md +26 -0
- package/example/node_modules/react-test-renderer/build-info.json +8 -0
- package/example/node_modules/react-test-renderer/cjs/react-test-renderer-shallow.development.js +1019 -0
- package/example/node_modules/react-test-renderer/cjs/react-test-renderer-shallow.production.min.js +35 -0
- package/example/node_modules/react-test-renderer/cjs/react-test-renderer.development.js +15596 -0
- package/example/node_modules/react-test-renderer/cjs/react-test-renderer.production.min.js +181 -0
- package/example/node_modules/react-test-renderer/index.js +7 -0
- package/example/node_modules/react-test-renderer/package.json +41 -0
- package/example/node_modules/react-test-renderer/shallow.js +7 -0
- package/example/node_modules/react-test-renderer/umd/react-test-renderer-shallow.development.js +1176 -0
- package/example/node_modules/react-test-renderer/umd/react-test-renderer-shallow.production.min.js +31 -0
- package/example/node_modules/react-test-renderer/umd/react-test-renderer.development.js +15709 -0
- package/example/node_modules/react-test-renderer/umd/react-test-renderer.production.min.js +151 -0
- package/example/node_modules/scheduler/LICENSE +21 -0
- package/example/node_modules/scheduler/README.md +9 -0
- package/example/node_modules/scheduler/build-info.json +8 -0
- package/example/node_modules/scheduler/cjs/scheduler-tracing.development.js +349 -0
- package/example/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +10 -0
- package/example/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +17 -0
- package/example/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +857 -0
- package/example/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +20 -0
- package/example/node_modules/scheduler/cjs/scheduler.development.js +858 -0
- package/example/node_modules/scheduler/cjs/scheduler.production.min.js +21 -0
- package/example/node_modules/scheduler/index.js +7 -0
- package/example/node_modules/scheduler/package.json +39 -0
- package/example/node_modules/scheduler/tracing-profiling.js +7 -0
- package/example/node_modules/scheduler/tracing.js +7 -0
- package/example/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
- package/example/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
- package/example/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
- package/example/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +857 -0
- package/example/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +17 -0
- package/example/node_modules/scheduler/umd/scheduler.development.js +152 -0
- package/example/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- package/example/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- package/example/node_modules/scheduler/unstable_mock.js +7 -0
- package/example/package-lock.json +110 -0
- package/example/package.json +24 -0
- package/example/public/index.html +13 -0
- package/example/src/App.jsx +43 -0
- package/example/src/App.test.jsx +11 -0
- package/example/src/Image.tsx +16 -0
- package/example/src/__snapshots__/App.test.jsx.snap +120 -0
- package/example/src/apple.jpg +0 -0
- package/example/src/apple.svg +1 -0
- package/example/src/index.jsx +13 -0
- package/example/src/style.scss +9 -0
- package/example/tsconfig.json +16 -0
- package/index.js +7 -0
- package/lib/ConfigPreset.js +28 -0
- package/lib/createConfig.js +7 -0
- package/lib/formatter.js +10 -0
- package/lib/getBaseConfig.js +9 -0
- package/lib/plugins/html-webpack-new-relic-plugin/HtmlWebpackNewRelicPlugin.js +86 -0
- package/lib/plugins/html-webpack-new-relic-plugin/LICENSE +21 -0
- package/lib/plugins/html-webpack-new-relic-plugin/README.md +7 -0
- package/lib/plugins/html-webpack-new-relic-plugin/index.js +3 -0
- package/lib/plugins/html-webpack-new-relic-plugin/test/HtmlWebpackNewRelicPlugin.test.js +80 -0
- package/lib/plugins/html-webpack-new-relic-plugin/test/fixtures/entry.js +1 -0
- package/lib/presets.js +75 -0
- package/lib/resolveFilepaths.js +14 -0
- package/lib/resolvePrivateEnvConfig.js +15 -0
- package/lib/scripts/serve.js +78 -0
- package/openedx.yaml +10 -0
- package/package.json +101 -0
- package/renovate.json +22 -0
- package/smoke-test.sh +11 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
1. Non-Usage of Gatsby
|
|
2
|
+
----------------------
|
|
3
|
+
|
|
4
|
+
Status
|
|
5
|
+
------
|
|
6
|
+
|
|
7
|
+
Accepted
|
|
8
|
+
|
|
9
|
+
Context
|
|
10
|
+
-------
|
|
11
|
+
|
|
12
|
+
This package is responsible for containing common code concerning the transpilation,
|
|
13
|
+
building, linting, and testing of React-based microfrontends. Gatsby was considered as a
|
|
14
|
+
potential tool for this job.
|
|
15
|
+
|
|
16
|
+
Decision
|
|
17
|
+
--------
|
|
18
|
+
|
|
19
|
+
We will not use Gatsby in these frontend build tools for two reasons:
|
|
20
|
+
|
|
21
|
+
- Gatsby is itself a javascript framework. It concerns itself with more than
|
|
22
|
+
frontend build tooling, including patterns and tools for the runtime of the frontend app itself.
|
|
23
|
+
- Gatsby relies heavily on convention, expecting to find files in particular places.
|
|
24
|
+
This makes it difficult/impossible to pull a common configuration of Gatsby into a
|
|
25
|
+
package like this one.
|
|
26
|
+
|
|
27
|
+
Consequences
|
|
28
|
+
------------
|
|
29
|
+
|
|
30
|
+
Gatsby is a great tool for us leverage when appropriate, but it is not the right tool
|
|
31
|
+
for the concern of this package.
|
|
32
|
+
|
|
33
|
+
References
|
|
34
|
+
----------
|
|
35
|
+
|
|
36
|
+
* https://www.gatsbyjs.org/docs/
|
|
37
|
+
* https://www.gatsbyjs.org/docs/gatsby-project-structure/
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# JavaScript-based environment configuration
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
We've decided to move forward with JavaScript-based environment configuration instead of `process.env`-based environment configuration because of significant limitations in the latter.
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
Today, the only way to configure micro-frontends for particular environments is via the `dotenv` library and its associated webpack plugin.
|
|
10
|
+
|
|
11
|
+
This mechanism makes use of `.env` files which are YAML-like files which dotenv reads in at build time. It passes the values in the file into the app via `process.env` and the webpack DefinePlugin.
|
|
12
|
+
|
|
13
|
+
More details here: https://github.com/mrsteele/dotenv-webpack
|
|
14
|
+
|
|
15
|
+
This mechanism has a few important drawbacks:
|
|
16
|
+
|
|
17
|
+
1. It can only accept string values. All values in the .env file are cast to strings as part of how DefinePlugin works. This means that `false` and `null` becomes `"false"` and `"null"` respectively, which are _truthy_ values. This behavior causes no end of developer confusion, not to mention significant regression risk if not used carefully. It also means we need to have specialized code in the MFE to interpret the string `"false"` as a `false` value, which is also a fraught and brittle process.
|
|
18
|
+
|
|
19
|
+
2. We also don't make use of our .env files very well. We use the values in `.env.development` for our development environments, but for production we use the `.env` file as a _fallback_ in case environment variables weren't defined on the command line when running `npm run build`. There's no reason the fallback file should ever be used - it's an error to do so. This is confusing and not consistent with how our development environments run.
|
|
20
|
+
|
|
21
|
+
3. A particularly limiting facet of #1 above is that because we can only accept string values, we have no reasonable way of configuring more complex data types that aren't easily cast from strings. Booleans and Numbers are annoying, but if we want to configure an Array, Object, function, or class of some kind, we would have to encode that data type as a _string_ in a YAML file and then evaluate it in the app at runtime, which is completely unreasonable.
|
|
22
|
+
|
|
23
|
+
# Decision
|
|
24
|
+
|
|
25
|
+
We'd like to replace our `process.env` configuration with JavaScript-based configuration. There is precedent for this in the frontend ecosystem - most libraries allow themselves to be configured by both JSON and JS files. Eslint, Babel, Webpack, Commitlint, and many others all support this. Using JS in particular is a powerful choice, as it allows the configuration file to import/require other resources, and lets us configure all the complex data types mentioned above.
|
|
26
|
+
|
|
27
|
+
We will still support `process.env`-based configuration for the time being. Today, [frontend-platform](https://github.com/openedx/frontend-platform) is responsible for ingesting the `process.env` variables defined here in frontend-build, and we expect that we'll create a new configuration service in that library to handle this new type of configuration seamlessly and in a backwards compatible way.
|
|
28
|
+
|
|
29
|
+
# Implementation
|
|
30
|
+
|
|
31
|
+
This new mechanism is done via webpack's `resolve` rules, specifically `alias` and `fallback`. We use the first rule to set up an alias for `"env.config"` and point it at a `env.config.js` file we expect to be in the root of the application being built with frontend-build. If that file is not present, `fallback` is responsible for resolving it with an empty `env.config.js` file here in frontend-build, which provides an empty object of configuration values.
|
|
32
|
+
|
|
33
|
+
In this way, if an application doesn't know about or doesn't use `env.config.js`, it will seamlessly fallback to be a no-op.
|
|
34
|
+
|
|
35
|
+
Once in place, an application can do:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
import config from 'env.config';
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
And it'll import the code from `env.config.js` if it's present, or the frontend-build version (which is an empty object `{}`) if it is not.
|
|
42
|
+
|
|
43
|
+
# Follow-on work
|
|
44
|
+
|
|
45
|
+
After getting this code committed to frontend-build, we'll want to consume it in frontend-platform. This will probably take the form of a new "configuration service" interface with two implementations: the existing `process.env`-based implementation packaged into a class, and a new `env.config`-based implementation. Cutting over from one to the other over time will have to be done in a backwards compatible way so that we can continue to support existing MFE builds.
|
|
46
|
+
|
|
47
|
+
We expect that we'll also want to update https://github.com/openedx/tubular to support this new mechanism. Operators who want to take advantage of it may need to update any repositories that contain their environment-specific configurations as well.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Serving production Webpack builds locally with `fedx-scripts`
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
The build-and-deploy process for micro-frontends (MFEs) throughout Open edX include running the MFE through a production Webpack build process, relying on configuration specified in a `webpack.prod.config.js` file. The resulting file assets are what ultimately get released to production and served to users. However, it is currently non-obvious how to preview the production file assets generated by `npm run build` locally should the need arise (e.g., to have more confidence in the resulting Webpack output and/or behavior before relying on the build-and-deploy process to release to a staging/production environment).
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
Most micro-frontends (MFEs) throughout the Open edX platform rely on a `npm run build` script that runs a production Webpack build based on the configuration specified in a `webpack.prod.config.js` file. The `webpack-prod.config.js` may be provided either by consumers in the root of their MFE's repository (i.e., typically using `createConfig` to extend/override parts of the default production Webpack configuration), or simply rely on the default `webpack.prod.config.js` configuration file provided by `@edx/frontend-build`.
|
|
10
|
+
|
|
11
|
+
The output from `npm run build` is generated in a Git-ignored `dist` directory, and contains the actual files that should be deployed to production.
|
|
12
|
+
|
|
13
|
+
Included in the `dist` directory's files is the MFE's `index.html` file that needs to be served for all routes the user may try loading. By simply loading `index.html` in the browser, it will inevitably run into some issues (e.g., not supporting React routing, etc.).
|
|
14
|
+
|
|
15
|
+
To mitigate this, this ADR describes a new mechanism to provide a standard, documented way to serve the generated assets from the production Webpack build when running `npm run build`.
|
|
16
|
+
|
|
17
|
+
# Decision
|
|
18
|
+
|
|
19
|
+
We will create a new `serve` command for `fedx-scripts` that creates an Express.js server to run the generated `dist` file assets (e.g., `index.html`) on the `PORT` specified in the MFE's `env.config.js` and/or `.env.development|private` file(s) on `localhost`.
|
|
20
|
+
|
|
21
|
+
If no `env.config.js` and/or `.env.development|private` file(s) exist and/or no `PORT` setting is specified those files, the `serve` command will fallback to a default port 8080, which is similar to the default ports our typical example MFE applications use.
|
|
22
|
+
|
|
23
|
+
# Implementation
|
|
24
|
+
|
|
25
|
+
The new `serve` command will live as under a new `scripts` directory under `lib`.
|
|
26
|
+
|
|
27
|
+
Once in place, a MFE application may add a `serve` script to its NPM scripts in the `package.json` file:
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"scripts": {
|
|
32
|
+
"serve": "fedx-scripts serve"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Then, running `npm run serve` in the root of that MFE application will run the new `serve` command in `@edx/frontend-build`, serving the assets in the MFE's `dist` directory on the `PORT` specified in the `env.config.js` file or `.env.development|private` file(s).
|
package/example/.env
ADDED
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see 6.4a131009e103f9d0c995.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkexample=self.webpackChunkexample||[]).push([[6],{315:e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,l){for(var i,a,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in i=Object(arguments[u]))n.call(i,c)&&(o[c]=i[c]);if(t){a=t(i);for(var s=0;s<a.length;s++)r.call(i,a[s])&&(o[a[s]]=i[a[s]])}}return o}},91:(e,t,n)=>{var r=n(357),l=n(315),i=n(687);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function o(e,t,n,r,l,i,a,o,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var u=!1,c=null,s=!1,f=null,d={onError:function(e){u=!0,c=e}};function p(e,t,n,r,l,i,a,s,f){u=!1,c=null,o.apply(d,arguments)}var m=null,h=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,l,i,o,d,m){if(p.apply(this,arguments),u){if(!u)throw Error(a(198));var h=c;u=!1,c=null,s||(s=!0,f=h)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function w(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var l=void 0,i=n[r],o=t,u=r;if(E.hasOwnProperty(u))throw Error(a(99,u));E[u]=i;var c=i.phasedRegistrationNames;if(c){for(l in c)c.hasOwnProperty(l)&&k(c[l],o,u);l=!0}else i.registrationName?(k(i.registrationName,o,u),l=!0):l=!1;if(!l)throw Error(a(98,r,e))}}}}function k(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,S[e]=t.eventTypes[n].dependencies}var x=[],E={},T={},S={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&w()}var _=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),P=null,N=null,z=null;function O(e){if(e=h(e)){if("function"!=typeof P)throw Error(a(280));var t=e.stateNode;t&&(t=m(t),P(e.stateNode,e.type,t))}}function R(e){N?z?z.push(e):z=[e]:N=e}function M(){if(N){var e=N,t=z;if(z=N=null,O(e),t)for(e=0;e<t.length;e++)O(t[e])}}function I(e,t){return e(t)}function F(e,t,n,r,l){return e(t,n,r,l)}function D(){}var L=I,A=!1,U=!1;function j(){null===N&&null===z||(D(),M())}function V(e,t,n){if(U)return e(t,n);U=!0;try{return L(e,t,n)}finally{U=!1,j()}}var W=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Q=Object.prototype.hasOwnProperty,B={},H={};function $(e,t,n,r,l,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var K={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){K[e]=new $(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];K[t]=new $(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){K[e]=new $(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){K[e]=new $(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){K[e]=new $(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){K[e]=new $(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){K[e]=new $(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){K[e]=new $(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){K[e]=new $(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function Y(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,Y);K[t]=new $(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,Y);K[t]=new $(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,Y);K[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){K[e]=new $(e,1,!1,e.toLowerCase(),null,!1)})),K.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){K[e]=new $(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function G(e,t,n,r){var l=K.hasOwnProperty(t)?K[t]:null;(null!==l?0===l.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,l,r)&&(n=null),r||null===l?function(e){return!!Q.call(H,e)||!Q.call(B,e)&&(W.test(e)?H[e]=!0:(B[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=null===n?3!==l.type&&"":n:(t=l.attributeName,r=l.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(l=l.type)||4===l&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,le=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,oe=J?Symbol.for("react.concurrent_mode"):60111,ue=J?Symbol.for("react.forward_ref"):60112,ce=J?Symbol.for("react.suspense"):60113,se=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,de=J?Symbol.for("react.lazy"):60116,pe=J?Symbol.for("react.block"):60121,me="function"==typeof Symbol&&Symbol.iterator;function he(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case le:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case pe:return ve(e.render);case de:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,l=e._debugSource,i=ve(e.type);n=null,r&&(n=ve(r.type)),r=i,i="",l?i=" (at "+l.fileName.replace(Z,"")+":"+l.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return l({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&G(e,"checked",t,!1)}function Se(e,t){Te(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?_e(e,t.type,n):t.hasOwnProperty("defaultValue")&&_e(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function _e(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Pe(e,t){return e=l({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ne(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,l=0;l<e.length;l++){if(e[l].value===n)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==t||e[l].disabled||(t=e[l])}null!==t&&(t.selected=!0)}}function ze(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return l({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Re(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var De,Le,Ae=(Le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((De=De||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=De.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Le(e,t)}))}:Le);function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function je(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ve={animationend:je("Animation","AnimationEnd"),animationiteration:je("Animation","AnimationIteration"),animationstart:je("Animation","AnimationStart"),transitionend:je("Transition","TransitionEnd")},We={},Qe={};function Be(e){if(We[e])return We[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in Qe)return We[e]=n[t];return e}_&&(Qe=document.createElement("div").style,"AnimationEvent"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),"TransitionEvent"in window||delete Ve.transitionend.transition);var He=Be("animationend"),$e=Be("animationiteration"),Ke=Be("animationstart"),qe=Be("transitionend"),Ye="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Ge(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function et(e){if(Ze(e)!==e)throw Error(a(188))}function tt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(null===l)break;var i=l.alternate;if(null===i){if(null!==(r=l.return)){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return et(l),e;if(i===r)return et(l),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===n){o=!0,n=l,r=i;break}if(u===r){o=!0,r=l,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=l;break}if(u===r){o=!0,r=i,n=l;break}u=u.sibling}if(!o)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function nt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function rt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var lt=null;function it(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function at(e){if(null!==e&&(lt=nt(lt,e)),e=lt,lt=null,e){if(rt(e,it),lt)throw Error(a(95));if(s)throw e=f,s=!1,f=null,e}}function ot(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ut(e){if(!_)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ct=[];function st(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function ft(e,t,n,r){if(ct.length){var l=ct.pop();return l.topLevelType=e,l.eventSystemFlags=r,l.nativeEvent=t,l.targetInst=n,l}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=On(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var l=ot(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var o=null,u=0;u<x.length;u++){var c=x[u];c&&(c=c.extractEvents(r,t,i,l,a))&&(o=nt(o,c))}at(o)}}function pt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ut(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ye.indexOf(e)&&$t(e,t)}n.set(e,null)}}var mt,ht,vt,gt=!1,yt=[],bt=null,wt=null,kt=null,xt=new Map,Et=new Map,Tt=[],St="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ct="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function _t(e,t,n,r,l){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:l,container:r}}function Pt(e,t){switch(e){case"focus":case"blur":bt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":kt=null;break;case"pointerover":case"pointerout":xt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function Nt(e,t,n,r,l,i){return null===e||e.nativeEvent!==i?(e=_t(t,n,r,l,i),null!==t&&null!==(t=Rn(t))&&ht(t),e):(e.eventSystemFlags|=r,e)}function zt(e){var t=On(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){vt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ot(e){if(null!==e.blockedOn)return!1;var t=Gt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Rn(t);return null!==n&&ht(n),e.blockedOn=t,!1}return!0}function Rt(e,t,n){Ot(e)&&n.delete(t)}function Mt(){for(gt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=Rn(e.blockedOn))&&mt(e);break}var t=Gt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==bt&&Ot(bt)&&(bt=null),null!==wt&&Ot(wt)&&(wt=null),null!==kt&&Ot(kt)&&(kt=null),xt.forEach(Rt),Et.forEach(Rt)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Mt)))}function Ft(e){function t(t){return It(t,e)}if(0<yt.length){It(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bt&&It(bt,e),null!==wt&&It(wt,e),null!==kt&&It(kt,e),xt.forEach(t),Et.forEach(t),n=0;n<Tt.length;n++)(r=Tt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)zt(n),null===n.blockedOn&&Tt.shift()}var Dt={},Lt=new Map,At=new Map,Ut=["abort","abort",He,"animationEnd",$e,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",qe,"transitionEnd","waiting","waiting"];function jt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],l=e[n+1],i="on"+(l[0].toUpperCase()+l.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},At.set(r,t),Lt.set(r,i),Dt[l]=i}}jt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),jt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),jt(Ut,2);for(var Vt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<Vt.length;Wt++)At.set(Vt[Wt],0);var Qt=i.unstable_UserBlockingPriority,Bt=i.unstable_runWithPriority,Ht=!0;function $t(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=At.get(t);switch(void 0===r?2:r){case 0:r=qt.bind(null,t,1,e);break;case 1:r=Yt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function qt(e,t,n,r){A||D();var l=Xt,i=A;A=!0;try{F(l,e,t,n,r)}finally{(A=i)||j()}}function Yt(e,t,n,r){Bt(Qt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Ht)if(0<yt.length&&-1<St.indexOf(e))e=_t(null,e,t,n,r),yt.push(e);else{var l=Gt(e,t,n,r);if(null===l)Pt(e,r);else if(-1<St.indexOf(e))e=_t(l,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,l){switch(t){case"focus":return bt=Nt(bt,e,t,n,r,l),!0;case"dragenter":return wt=Nt(wt,e,t,n,r,l),!0;case"mouseover":return kt=Nt(kt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return xt.set(i,Nt(xt.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Et.set(i,Nt(Et.get(i)||null,e,t,n,r,l)),!0}return!1}(l,e,t,n,r)){Pt(e,r),e=ft(e,r,null,t);try{V(dt,e)}finally{st(e)}}}}function Gt(e,t,n,r){if(null!==(n=On(n=ot(r)))){var l=Ze(n);if(null===l)n=null;else{var i=l.tag;if(13===i){if(null!==(n=Je(l)))return n;n=null}else if(3===i){if(l.stateNode.hydrate)return 3===l.tag?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}e=ft(e,r,n,t);try{V(dt,e)}finally{st(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Jt=["Webkit","ms","Moz","O"];function en(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function tn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),l=en(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}Object.keys(Zt).forEach((function(e){Jt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var nn=l({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rn(e,t){if(t){if(nn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function ln(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var an="http://www.w3.org/1999/xhtml";function on(e,t){var n=Ge(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)pt(t[r],e,n)}function un(){}function cn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function sn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var n,r=sn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sn(r)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function mn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var hn="$",vn="/$",gn="$?",yn="$!",bn=null,wn=null;function kn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var En="function"==typeof setTimeout?setTimeout:void 0,Tn="function"==typeof clearTimeout?clearTimeout:void 0;function Sn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Cn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===hn||n===yn||n===gn){if(0===t)return e;t--}else n===vn&&t++}e=e.previousSibling}return null}var _n=Math.random().toString(36).slice(2),Pn="__reactInternalInstance$"+_n,Nn="__reactEventHandlers$"+_n,zn="__reactContainere$"+_n;function On(e){var t=e[Pn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zn]||n[Pn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Cn(e);null!==e;){if(n=e[Pn])return n;e=Cn(e)}return t}n=(e=n).parentNode}return null}function Rn(e){return!(e=e[Pn]||e[zn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function In(e){return e[Nn]||null}function Fn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Dn(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Ln(e,t,n){(t=Dn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function An(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Fn(t);for(t=n.length;0<t--;)Ln(n[t],"captured",e);for(t=0;t<n.length;t++)Ln(n[t],"bubbled",e)}}function Un(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Dn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function jn(e){e&&e.dispatchConfig.registrationName&&Un(e._targetInst,null,e)}function Vn(e){rt(e,An)}var Wn=null,Qn=null,Bn=null;function Hn(){if(Bn)return Bn;var e,t,n=Qn,r=n.length,l="value"in Wn?Wn.value:Wn.textContent,i=l.length;for(e=0;e<r&&n[e]===l[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===l[i-t];t++);return Bn=l.slice(e,1<t?1-t:void 0)}function $n(){return!0}function Kn(){return!1}function qn(e,t,n,r){for(var l in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(l)&&((t=e[l])?this[l]=t(n):"target"===l?this.target=r:this[l]=n[l]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?$n:Kn,this.isPropagationStopped=Kn,this}function Yn(e,t,n,r){if(this.eventPool.length){var l=this.eventPool.pop();return this.call(l,e,t,n,r),l}return new this(e,t,n,r)}function Xn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Gn(e){e.eventPool=[],e.getPooled=Yn,e.release=Xn}l(qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=$n)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=$n)},persist:function(){this.isPersistent=$n},isPersistent:Kn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Kn,this._dispatchInstances=this._dispatchListeners=null}}),qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return l(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=l({},r.Interface,e),n.extend=r.extend,Gn(n),n},Gn(qn);var Zn=qn.extend({data:null}),Jn=qn.extend({data:null}),er=[9,13,27,32],tr=_&&"CompositionEvent"in window,nr=null;_&&"documentMode"in document&&(nr=document.documentMode);var rr=_&&"TextEvent"in window&&!nr,lr=_&&(!tr||nr&&8<nr&&11>=nr),ir=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},or=!1;function ur(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function cr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var sr=!1,fr={eventTypes:ar,extractEvents:function(e,t,n,r){var l;if(tr)e:{switch(e){case"compositionstart":var i=ar.compositionStart;break e;case"compositionend":i=ar.compositionEnd;break e;case"compositionupdate":i=ar.compositionUpdate;break e}i=void 0}else sr?ur(e,n)&&(i=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=ar.compositionStart);return i?(lr&&"ko"!==n.locale&&(sr||i!==ar.compositionStart?i===ar.compositionEnd&&sr&&(l=Hn()):(Qn="value"in(Wn=r)?Wn.value:Wn.textContent,sr=!0)),i=Zn.getPooled(i,t,n,r),(l||null!==(l=cr(n)))&&(i.data=l),Vn(i),l=i):l=null,(e=rr?function(e,t){switch(e){case"compositionend":return cr(t);case"keypress":return 32!==t.which?null:(or=!0,ir);case"textInput":return(e=t.data)===ir&&or?null:e;default:return null}}(e,n):function(e,t){if(sr)return"compositionend"===e||!tr&&ur(e,t)?(e=Hn(),Bn=Qn=Wn=null,sr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return lr&&"ko"!==t.locale?null:t.data}}(e,n))?((t=Jn.getPooled(ar.beforeInput,t,n,r)).data=e,Vn(t)):t=null,null===l?t:null===t?l:[l,t]}},dr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!dr[e.type]:"textarea"===t}var mr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function hr(e,t,n){return(e=qn.getPooled(mr.change,e,t,n)).type="change",R(n),Vn(e),e}var vr=null,gr=null;function yr(e){at(e)}function br(e){if(ke(Mn(e)))return e}function wr(e,t){if("change"===e)return t}var kr=!1;function xr(){vr&&(vr.detachEvent("onpropertychange",Er),gr=vr=null)}function Er(e){if("value"===e.propertyName&&br(gr))if(e=hr(gr,e,ot(e)),A)at(e);else{A=!0;try{I(yr,e)}finally{A=!1,j()}}}function Tr(e,t,n){"focus"===e?(xr(),gr=n,(vr=t).attachEvent("onpropertychange",Er)):"blur"===e&&xr()}function Sr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(gr)}function Cr(e,t){if("click"===e)return br(t)}function _r(e,t){if("input"===e||"change"===e)return br(t)}_&&(kr=ut("input")&&(!document.documentMode||9<document.documentMode));var Pr={eventTypes:mr,_isInputEventSupported:kr,extractEvents:function(e,t,n,r){var l=t?Mn(t):window,i=l.nodeName&&l.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===l.type)var a=wr;else if(pr(l))if(kr)a=_r;else{a=Sr;var o=Tr}else(i=l.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(a=Cr);if(a&&(a=a(e,t)))return hr(a,n,r);o&&o(e,l,t),"blur"===e&&(e=l._wrapperState)&&e.controlled&&"number"===l.type&&_e(l,"number",l.value)}},Nr=qn.extend({view:null,detail:null}),zr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Or(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=zr[e])&&!!t[e]}function Rr(){return Or}var Mr=0,Ir=0,Fr=!1,Dr=!1,Lr=Nr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Rr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Mr;return Mr=e.screenX,Fr?"mousemove"===e.type?e.screenX-t:0:(Fr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Ir;return Ir=e.screenY,Dr?"mousemove"===e.type?e.screenY-t:0:(Dr=!0,0)}}),Ar=Lr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ur={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},jr={eventTypes:Ur,extractEvents:function(e,t,n,r,l){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&!(32&l)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?On(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null,a===t)return null;if("mouseout"===e||"mouseover"===e)var o=Lr,u=Ur.mouseLeave,c=Ur.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(o=Ar,u=Ur.pointerLeave,c=Ur.pointerEnter,s="pointer");if(e=null==a?i:Mn(a),i=null==t?i:Mn(t),(u=o.getPooled(u,a,n,r)).type=s+"leave",u.target=e,u.relatedTarget=i,(n=o.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=a)&&s)e:{for(c=s,a=0,e=o=r;e;e=Fn(e))a++;for(e=0,t=c;t;t=Fn(t))e++;for(;0<a-e;)o=Fn(o),a--;for(;0<e-a;)c=Fn(c),e--;for(;a--;){if(o===c||o===c.alternate)break e;o=Fn(o),c=Fn(c)}o=null}else o=null;for(c=o,o=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)o.push(r),r=Fn(r);for(r=[];s&&s!==c&&(null===(a=s.alternate)||a!==c);)r.push(s),s=Fn(s);for(s=0;s<o.length;s++)Un(o[s],"bubbled",u);for(s=r.length;0<s--;)Un(r[s],"captured",n);return 64&l?[u,n]:[u]}},Vr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Wr=Object.prototype.hasOwnProperty;function Qr(e,t){if(Vr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Wr.call(t,n[r])||!Vr(e[n[r]],t[n[r]]))return!1;return!0}var Br=_&&"documentMode"in document&&11>=document.documentMode,Hr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},$r=null,Kr=null,qr=null,Yr=!1;function Xr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Yr||null==$r||$r!==cn(n)?null:(n="selectionStart"in(n=$r)&&mn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qr&&Qr(qr,n)?null:(qr=n,(e=qn.getPooled(Hr.select,Kr,e,t)).type="select",e.target=$r,Vn(e),e))}var Gr={eventTypes:Hr,extractEvents:function(e,t,n,r,l,i){if(!(i=!(l=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{l=Ge(l),i=S.onSelect;for(var a=0;a<i.length;a++)if(!l.has(i[a])){l=!1;break e}l=!0}i=!l}if(i)return null;switch(l=t?Mn(t):window,e){case"focus":(pr(l)||"true"===l.contentEditable)&&($r=l,Kr=t,qr=null);break;case"blur":qr=Kr=$r=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yr=!1,Xr(n,r);case"selectionchange":if(Br)break;case"keydown":case"keyup":return Xr(n,r)}return null}},Zr=qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),el=Nr.extend({relatedTarget:null});function tl(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var nl={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rl={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ll=Nr.extend({key:function(e){if(e.key){var t=nl[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tl(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?rl[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Rr,charCode:function(e){return"keypress"===e.type?tl(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tl(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),il=Lr.extend({dataTransfer:null}),al=Nr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Rr}),ol=qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ul=Lr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),cl={eventTypes:Dt,extractEvents:function(e,t,n,r){var l=Lt.get(e);if(!l)return null;switch(e){case"keypress":if(0===tl(n))return null;case"keydown":case"keyup":e=ll;break;case"blur":case"focus":e=el;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=il;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=al;break;case He:case $e:case Ke:e=Zr;break;case qe:e=ol;break;case"scroll":e=Nr;break;case"wheel":e=ul;break;case"copy":case"cut":case"paste":e=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Ar;break;default:e=qn}return Vn(t=e.getPooled(l,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),m=In,h=Rn,v=Mn,C({SimpleEventPlugin:cl,EnterLeaveEventPlugin:jr,ChangeEventPlugin:Pr,SelectEventPlugin:Gr,BeforeInputEventPlugin:fr});var sl=[],fl=-1;function dl(e){0>fl||(e.current=sl[fl],sl[fl]=null,fl--)}function pl(e,t){fl++,sl[fl]=e.current,e.current=t}var ml={},hl={current:ml},vl={current:!1},gl=ml;function yl(e,t){var n=e.type.contextTypes;if(!n)return ml;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l,i={};for(l in n)i[l]=t[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function bl(e){return null!=e.childContextTypes}function wl(){dl(vl),dl(hl)}function kl(e,t,n){if(hl.current!==ml)throw Error(a(168));pl(hl,t),pl(vl,n)}function xl(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ve(t)||"Unknown",i));return l({},n,{},r)}function El(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ml,gl=hl.current,pl(hl,e),pl(vl,vl.current),!0}function Tl(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=xl(e,t,gl),r.__reactInternalMemoizedMergedChildContext=e,dl(vl),dl(hl),pl(hl,e)):dl(vl),pl(vl,n)}var Sl=i.unstable_runWithPriority,Cl=i.unstable_scheduleCallback,_l=i.unstable_cancelCallback,Pl=i.unstable_requestPaint,Nl=i.unstable_now,zl=i.unstable_getCurrentPriorityLevel,Ol=i.unstable_ImmediatePriority,Rl=i.unstable_UserBlockingPriority,Ml=i.unstable_NormalPriority,Il=i.unstable_LowPriority,Fl=i.unstable_IdlePriority,Dl={},Ll=i.unstable_shouldYield,Al=void 0!==Pl?Pl:function(){},Ul=null,jl=null,Vl=!1,Wl=Nl(),Ql=1e4>Wl?Nl:function(){return Nl()-Wl};function Bl(){switch(zl()){case Ol:return 99;case Rl:return 98;case Ml:return 97;case Il:return 96;case Fl:return 95;default:throw Error(a(332))}}function Hl(e){switch(e){case 99:return Ol;case 98:return Rl;case 97:return Ml;case 96:return Il;case 95:return Fl;default:throw Error(a(332))}}function $l(e,t){return e=Hl(e),Sl(e,t)}function Kl(e,t,n){return e=Hl(e),Cl(e,t,n)}function ql(e){return null===Ul?(Ul=[e],jl=Cl(Ol,Xl)):Ul.push(e),Dl}function Yl(){if(null!==jl){var e=jl;jl=null,_l(e)}Xl()}function Xl(){if(!Vl&&null!==Ul){Vl=!0;var e=0;try{var t=Ul;$l(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ul=null}catch(t){throw null!==Ul&&(Ul=Ul.slice(e+1)),Cl(Ol,Yl),t}finally{Vl=!1}}}function Gl(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Zl(e,t){if(e&&e.defaultProps)for(var n in t=l({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Jl={current:null},ei=null,ti=null,ni=null;function ri(){ni=ti=ei=null}function li(e){var t=Jl.current;dl(Jl),e.type._context._currentValue=t}function ii(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ai(e,t){ei=e,ni=ti=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ma=!0),e.firstContext=null)}function oi(e,t){if(ni!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ni=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ti){if(null===ei)throw Error(a(308));ti=t,ei.dependencies={expirationTime:0,firstContext:t,responders:null}}else ti=ti.next=t;return e._currentValue}var ui=!1;function ci(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function fi(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pi(e,t){var n=e.alternate;null!==n&&si(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function mi(e,t,n,r){var i=e.updateQueue;ui=!1;var a=i.baseQueue,o=i.shared.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}a=o,i.shared.pending=null,null!==(u=e.alternate)&&null!==(u=u.updateQueue)&&(u.baseQueue=o)}if(null!==a){u=a.next;var c=i.baseState,s=0,f=null,d=null,p=null;if(null!==u)for(var m=u;;){if((o=m.expirationTime)<r){var h={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===p?(d=p=h,f=c):p=p.next=h,o>s&&(s=o)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),wu(o,m.suspenseConfig);e:{var v=e,g=m;switch(o=t,h=n,g.tag){case 1:if("function"==typeof(v=g.payload)){c=v.call(h,c,o);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(o="function"==typeof(v=g.payload)?v.call(h,c,o):v))break e;c=l({},c,o);break e;case 2:ui=!0}}null!==m.callback&&(e.effectTag|=32,null===(o=i.effects)?i.effects=[m]:o.push(m))}if(null===(m=m.next)||m===u){if(null===(o=i.shared.pending))break;m=a.next=o.next,o.next=u,i.baseQueue=a=o,i.shared.pending=null}}null===p?f=c:p.next=d,i.baseState=f,i.baseQueue=p,ku(s),e.expirationTime=s,e.memoizedState=c}}function hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(null!==l){if(r.callback=null,r=l,l=n,"function"!=typeof r)throw Error(a(191,r));r.call(l)}}}var vi=X.ReactCurrentBatchConfig,gi=(new r.Component).refs;function yi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:l({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var bi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ou(),l=vi.suspense;(l=fi(r=uu(r,e,l),l)).payload=t,null!=n&&(l.callback=n),di(e,l),cu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ou(),l=vi.suspense;(l=fi(r=uu(r,e,l),l)).tag=1,l.payload=t,null!=n&&(l.callback=n),di(e,l),cu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ou(),r=vi.suspense;(r=fi(n=uu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),di(e,r),cu(e,n)}};function wi(e,t,n,r,l,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&Qr(n,r)&&Qr(l,i))}function ki(e,t,n){var r=!1,l=ml,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(l=bl(t)?gl:hl.current,i=(r=null!=(r=t.contextTypes))?yl(e,l):ml),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=bi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function xi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&bi.enqueueReplaceState(t,t.state,null)}function Ei(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs=gi,ci(e);var i=t.contextType;"object"==typeof i&&null!==i?l.context=oi(i):(i=bl(t)?gl:hl.current,l.context=yl(e,i)),mi(e,n,l,r),l.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(yi(e,t,i,n),l.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(t=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),t!==l.state&&bi.enqueueReplaceState(l,l.state,null),mi(e,n,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.effectTag|=4)}var Ti=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var l=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===l?t.ref:(t=function(e){var t=r.refs;t===gi&&(t=r.refs={}),null===e?delete t[l]:t[l]=e},t._stringRef=l,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ci(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function _i(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function l(e,t){return(e=Vu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function o(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Bu(n,e.mode,r)).return=e,t):((t=l(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=l(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=Wu(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Hu(n,e.mode,r)).return=e,t):((t=l(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Qu(n,e.mode,r,i)).return=e,t):((t=l(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Bu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Wu(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case te:return(t=Hu(t,e.mode,n)).return=e,t}if(Ti(t)||he(t))return(t=Qu(t,e.mode,n,null)).return=e,t;Ci(e,t)}return null}function p(e,t,n,r){var l=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==l?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===l?n.type===ne?f(e,t,n.props.children,r,l):c(e,t,n,r):null;case te:return n.key===l?s(e,t,n,r):null}if(Ti(n)||he(n))return null!==l?null:f(e,t,n,r,null);Ci(e,n)}return null}function m(e,t,n,r,l){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,l,r.key):c(t,e,r,l);case te:return s(t,e=e.get(null===r.key?n:r.key)||null,r,l)}if(Ti(r)||he(r))return f(t,e=e.get(n)||null,r,l,null);Ci(t,r)}return null}function h(l,a,o,u){for(var c=null,s=null,f=a,h=a=0,v=null;null!==f&&h<o.length;h++){f.index>h?(v=f,f=null):v=f.sibling;var g=p(l,f,o[h],u);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(l,f),a=i(g,a,h),null===s?c=g:s.sibling=g,s=g,f=v}if(h===o.length)return n(l,f),c;if(null===f){for(;h<o.length;h++)null!==(f=d(l,o[h],u))&&(a=i(f,a,h),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(l,f);h<o.length;h++)null!==(v=m(f,l,h,o[h],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?h:v.key),a=i(v,a,h),null===s?c=v:s.sibling=v,s=v);return e&&f.forEach((function(e){return t(l,e)})),c}function v(l,o,u,c){var s=he(u);if("function"!=typeof s)throw Error(a(150));if(null==(u=s.call(u)))throw Error(a(151));for(var f=s=null,h=o,v=o=0,g=null,y=u.next();null!==h&&!y.done;v++,y=u.next()){h.index>v?(g=h,h=null):g=h.sibling;var b=p(l,h,y.value,c);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(l,h),o=i(b,o,v),null===f?s=b:f.sibling=b,f=b,h=g}if(y.done)return n(l,h),s;if(null===h){for(;!y.done;v++,y=u.next())null!==(y=d(l,y.value,c))&&(o=i(y,o,v),null===f?s=y:f.sibling=y,f=y);return s}for(h=r(l,h);!y.done;v++,y=u.next())null!==(y=m(h,l,v,y.value,c))&&(e&&null!==y.alternate&&h.delete(null===y.key?v:y.key),o=i(y,o,v),null===f?s=y:f.sibling=y,f=y);return e&&h.forEach((function(e){return t(l,e)})),s}return function(e,r,i,u){var c="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;c&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ee:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){if(7===c.tag){if(i.type===ne){n(e,c.sibling),(r=l(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=l(c,i.props)).ref=Si(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===ne?((r=Qu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Wu(i.type,i.key,i.props,null,e.mode,u)).ref=Si(e,r,i),u.return=e,e=u)}return o(e);case te:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=l(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Hu(i,e.mode,u)).return=e,e=r}return o(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=l(r,i)).return=e,e=r):(n(e,r),(r=Bu(i,e.mode,u)).return=e,e=r),o(e);if(Ti(i))return h(e,r,i,u);if(he(i))return v(e,r,i,u);if(s&&Ci(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Pi=_i(!0),Ni=_i(!1),zi={},Oi={current:zi},Ri={current:zi},Mi={current:zi};function Ii(e){if(e===zi)throw Error(a(174));return e}function Fi(e,t){switch(pl(Mi,t),pl(Ri,e),pl(Oi,zi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fe(null,"");break;default:t=Fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}dl(Oi),pl(Oi,t)}function Di(){dl(Oi),dl(Ri),dl(Mi)}function Li(e){Ii(Mi.current);var t=Ii(Oi.current),n=Fe(t,e.type);t!==n&&(pl(Ri,e),pl(Oi,n))}function Ai(e){Ri.current===e&&(dl(Oi),dl(Ri))}var Ui={current:0};function ji(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===gn||n.data===yn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.effectTag)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Vi(e,t){return{responder:e,props:t}}var Wi=X.ReactCurrentDispatcher,Qi=X.ReactCurrentBatchConfig,Bi=0,Hi=null,$i=null,Ki=null,qi=!1;function Yi(){throw Error(a(321))}function Xi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vr(e[n],t[n]))return!1;return!0}function Gi(e,t,n,r,l,i){if(Bi=i,Hi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Wi.current=null===e||null===e.memoizedState?wa:ka,e=n(r,l),t.expirationTime===Bi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Ki=$i=null,t.updateQueue=null,Wi.current=xa,e=n(r,l)}while(t.expirationTime===Bi)}if(Wi.current=ba,t=null!==$i&&null!==$i.next,Bi=0,Ki=$i=Hi=null,qi=!1,t)throw Error(a(300));return e}function Zi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ki?Hi.memoizedState=Ki=e:Ki=Ki.next=e,Ki}function Ji(){if(null===$i){var e=Hi.alternate;e=null!==e?e.memoizedState:null}else e=$i.next;var t=null===Ki?Hi.memoizedState:Ki.next;if(null!==t)Ki=t,$i=e;else{if(null===e)throw Error(a(310));e={memoizedState:($i=e).memoizedState,baseState:$i.baseState,baseQueue:$i.baseQueue,queue:$i.queue,next:null},null===Ki?Hi.memoizedState=Ki=e:Ki=Ki.next=e}return Ki}function ea(e,t){return"function"==typeof t?t(e):t}function ta(e){var t=Ji(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=$i,l=r.baseQueue,i=n.pending;if(null!==i){if(null!==l){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(null!==l){l=l.next,r=r.baseState;var u=o=i=null,c=l;do{var s=c.expirationTime;if(s<Bi){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(o=u=f,i=r):u=u.next=f,s>Hi.expirationTime&&(Hi.expirationTime=s,ku(s))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),wu(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==l);null===u?i=r:u.next=o,Vr(r,t.memoizedState)||(Ma=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function na(e){var t=Ji(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(null!==l){n.pending=null;var o=l=l.next;do{i=e(i,o.action),o=o.next}while(o!==l);Vr(i,t.memoizedState)||(Ma=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ra(e){var t=Zi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ea,lastRenderedState:e}).dispatch=ya.bind(null,Hi,e),[t.memoizedState,e]}function la(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Hi.updateQueue)?(t={lastEffect:null},Hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ia(){return Ji().memoizedState}function aa(e,t,n,r){var l=Zi();Hi.effectTag|=e,l.memoizedState=la(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var l=Ji();r=void 0===r?null:r;var i=void 0;if(null!==$i){var a=$i.memoizedState;if(i=a.destroy,null!==r&&Xi(r,a.deps))return void la(t,n,i,r)}Hi.effectTag|=e,l.memoizedState=la(1|t,n,i,r)}function ua(e,t){return aa(516,4,e,t)}function ca(e,t){return oa(516,4,e,t)}function sa(e,t){return oa(4,2,e,t)}function fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function da(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,fa.bind(null,t,e),n)}function pa(){}function ma(e,t){return Zi().memoizedState=[e,void 0===t?null:t],e}function ha(e,t){var n=Ji();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function va(e,t){var n=Ji();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ga(e,t,n){var r=Bl();$l(98>r?98:r,(function(){e(!0)})),$l(97<r?97:r,(function(){var r=Qi.suspense;Qi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Qi.suspense=r}}))}function ya(e,t,n){var r=ou(),l=vi.suspense;l={expirationTime:r=uu(r,e,l),suspenseConfig:l,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?l.next=l:(l.next=i.next,i.next=l),t.pending=l,i=e.alternate,e===Hi||null!==i&&i===Hi)qi=!0,l.expirationTime=Bi,Hi.expirationTime=Bi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,o=i(a,n);if(l.eagerReducer=i,l.eagerState=o,Vr(o,a))return}catch(e){}cu(e,r)}}var ba={readContext:oi,useCallback:Yi,useContext:Yi,useEffect:Yi,useImperativeHandle:Yi,useLayoutEffect:Yi,useMemo:Yi,useReducer:Yi,useRef:Yi,useState:Yi,useDebugValue:Yi,useResponder:Yi,useDeferredValue:Yi,useTransition:Yi},wa={readContext:oi,useCallback:ma,useContext:oi,useEffect:ua,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,aa(4,2,fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return aa(4,2,e,t)},useMemo:function(e,t){var n=Zi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Zi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ya.bind(null,Hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Zi().memoizedState=e},useState:ra,useDebugValue:pa,useResponder:Vi,useDeferredValue:function(e,t){var n=ra(e),r=n[0],l=n[1];return ua((function(){var n=Qi.suspense;Qi.suspense=void 0===t?null:t;try{l(e)}finally{Qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ra(!1),n=t[0];return t=t[1],[ma(ga.bind(null,t,e),[t,e]),n]}},ka={readContext:oi,useCallback:ha,useContext:oi,useEffect:ca,useImperativeHandle:da,useLayoutEffect:sa,useMemo:va,useReducer:ta,useRef:ia,useState:function(){return ta(ea)},useDebugValue:pa,useResponder:Vi,useDeferredValue:function(e,t){var n=ta(ea),r=n[0],l=n[1];return ca((function(){var n=Qi.suspense;Qi.suspense=void 0===t?null:t;try{l(e)}finally{Qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ta(ea),n=t[0];return t=t[1],[ha(ga.bind(null,t,e),[t,e]),n]}},xa={readContext:oi,useCallback:ha,useContext:oi,useEffect:ca,useImperativeHandle:da,useLayoutEffect:sa,useMemo:va,useReducer:na,useRef:ia,useState:function(){return na(ea)},useDebugValue:pa,useResponder:Vi,useDeferredValue:function(e,t){var n=na(ea),r=n[0],l=n[1];return ca((function(){var n=Qi.suspense;Qi.suspense=void 0===t?null:t;try{l(e)}finally{Qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=na(ea),n=t[0];return t=t[1],[ha(ga.bind(null,t,e),[t,e]),n]}},Ea=null,Ta=null,Sa=!1;function Ca(e,t){var n=Uu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function _a(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Pa(e){if(Sa){var t=Ta;if(t){var n=t;if(!_a(e,t)){if(!(t=Sn(n.nextSibling))||!_a(e,t))return e.effectTag=-1025&e.effectTag|2,Sa=!1,void(Ea=e);Ca(Ea,n)}Ea=e,Ta=Sn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Sa=!1,Ea=e}}function Na(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ea=e}function za(e){if(e!==Ea)return!1;if(!Sa)return Na(e),Sa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!xn(t,e.memoizedProps))for(t=Ta;t;)Ca(e,t),t=Sn(t.nextSibling);if(Na(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===vn){if(0===t){Ta=Sn(e.nextSibling);break e}t--}else n!==hn&&n!==yn&&n!==gn||t++}e=e.nextSibling}Ta=null}}else Ta=Ea?Sn(e.stateNode.nextSibling):null;return!0}function Oa(){Ta=Ea=null,Sa=!1}var Ra=X.ReactCurrentOwner,Ma=!1;function Ia(e,t,n,r){t.child=null===e?Ni(t,null,n,r):Pi(t,e.child,n,r)}function Fa(e,t,n,r,l){n=n.render;var i=t.ref;return ai(t,l),r=Gi(e,t,n,r,i,l),null===e||Ma?(t.effectTag|=1,Ia(e,t,r,l),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=l&&(e.expirationTime=0),Za(e,t,l))}function Da(e,t,n,r,l,i){if(null===e){var a=n.type;return"function"!=typeof a||ju(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Wu(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,La(e,t,a,r,l,i))}return a=e.child,l<i&&(l=a.memoizedProps,(n=null!==(n=n.compare)?n:Qr)(l,r)&&e.ref===t.ref)?Za(e,t,i):(t.effectTag|=1,(e=Vu(a,r)).ref=t.ref,e.return=t,t.child=e)}function La(e,t,n,r,l,i){return null!==e&&Qr(e.memoizedProps,r)&&e.ref===t.ref&&(Ma=!1,l<i)?(t.expirationTime=e.expirationTime,Za(e,t,i)):Ua(e,t,n,r,i)}function Aa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ua(e,t,n,r,l){var i=bl(n)?gl:hl.current;return i=yl(t,i),ai(t,l),n=Gi(e,t,n,r,i,l),null===e||Ma?(t.effectTag|=1,Ia(e,t,n,l),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=l&&(e.expirationTime=0),Za(e,t,l))}function ja(e,t,n,r,l){if(bl(n)){var i=!0;El(t)}else i=!1;if(ai(t,l),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ki(t,n,r),Ei(t,n,r,l),r=!0;else if(null===e){var a=t.stateNode,o=t.memoizedProps;a.props=o;var u=a.context,c=n.contextType;c="object"==typeof c&&null!==c?oi(c):yl(t,c=bl(n)?gl:hl.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(o!==r||u!==c)&&xi(t,a,r,c),ui=!1;var d=t.memoizedState;a.state=d,mi(t,r,a,l),u=t.memoizedState,o!==r||d!==u||vl.current||ui?("function"==typeof s&&(yi(t,n,s,r),u=t.memoizedState),(o=ui||wi(t,n,o,r,d,u,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=o):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,si(e,t),o=t.memoizedProps,a.props=t.type===t.elementType?o:Zl(t.type,o),u=a.context,c="object"==typeof(c=n.contextType)&&null!==c?oi(c):yl(t,c=bl(n)?gl:hl.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(o!==r||u!==c)&&xi(t,a,r,c),ui=!1,u=t.memoizedState,a.state=u,mi(t,r,a,l),d=t.memoizedState,o!==r||u!==d||vl.current||ui?("function"==typeof s&&(yi(t,n,s,r),d=t.memoizedState),(s=ui||wi(t,n,o,r,u,d,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=c,r=s):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Va(e,t,n,r,i,l)}function Va(e,t,n,r,l,i){Aa(e,t);var a=!!(64&t.effectTag);if(!r&&!a)return l&&Tl(t,n,!1),Za(e,t,i);r=t.stateNode,Ra.current=t;var o=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Pi(t,e.child,null,i),t.child=Pi(t,null,o,i)):Ia(e,t,o,i),t.memoizedState=r.state,l&&Tl(t,n,!0),t.child}function Wa(e){var t=e.stateNode;t.pendingContext?kl(0,t.pendingContext,t.pendingContext!==t.context):t.context&&kl(0,t.context,!1),Fi(e,t.containerInfo)}var Qa,Ba,Ha,$a,Ka={dehydrated:null,retryTime:0};function qa(e,t,n){var r,l=t.mode,i=t.pendingProps,a=Ui.current,o=!1;if((r=!!(64&t.effectTag))||(r=!!(2&a)&&(null===e||null!==e.memoizedState)),r?(o=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),pl(Ui,1&a),null===e){if(void 0!==i.fallback&&Pa(t),o){if(o=i.fallback,(i=Qu(null,l,0,null)).return=t,!(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Qu(o,l,n,null)).return=t,i.sibling=n,t.memoizedState=Ka,t.child=i,n}return l=i.children,t.memoizedState=null,t.child=Ni(t,null,l,n)}if(null!==e.memoizedState){if(l=(e=e.child).sibling,o){if(i=i.fallback,(n=Vu(e,e.pendingProps)).return=t,!(2&t.mode)&&(o=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=o;null!==o;)o.return=n,o=o.sibling;return(l=Vu(l,i)).return=t,n.sibling=l,n.childExpirationTime=0,t.memoizedState=Ka,t.child=n,l}return n=Pi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,o){if(o=i.fallback,(i=Qu(null,l,0,null)).return=t,i.child=e,null!==e&&(e.return=i),!(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Qu(o,l,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ka,t.child=i,n}return t.memoizedState=null,t.child=Pi(t,e,i.children,n)}function Ya(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ii(e.return,t)}function Xa(e,t,n,r,l,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:l,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=l,a.lastEffect=i)}function Ga(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(Ia(e,t,r.children,n),2&(r=Ui.current))r=1&r|2,t.effectTag|=64;else{if(null!==e&&64&e.effectTag)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ya(e,n);else if(19===e.tag)Ya(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pl(Ui,r),2&t.mode)switch(l){case"forwards":for(n=t.child,l=null;null!==n;)null!==(e=n.alternate)&&null===ji(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Xa(t,!1,l,n,i,t.lastEffect);break;case"backwards":for(n=null,l=t.child,t.child=null;null!==l;){if(null!==(e=l.alternate)&&null===ji(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Xa(t,!0,n,null,i,t.lastEffect);break;case"together":Xa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Za(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&ku(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Vu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ja(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function eo(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return bl(t.type)&&wl(),null;case 3:return Di(),dl(vl),dl(hl),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!za(t)||(t.effectTag|=4),Ba(t),null;case 5:Ai(t),n=Ii(Mi.current);var i=t.type;if(null!==e&&null!=t.stateNode)Ha(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ii(Oi.current),za(t)){r=t.stateNode,i=t.type;var o=t.memoizedProps;switch(r[Pn]=t,r[Nn]=o,i){case"iframe":case"object":case"embed":$t("load",r);break;case"video":case"audio":for(e=0;e<Ye.length;e++)$t(Ye[e],r);break;case"source":$t("error",r);break;case"img":case"image":case"link":$t("error",r),$t("load",r);break;case"form":$t("reset",r),$t("submit",r);break;case"details":$t("toggle",r);break;case"input":Ee(r,o),$t("invalid",r),on(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!o.multiple},$t("invalid",r),on(n,"onChange");break;case"textarea":Oe(r,o),$t("invalid",r),on(n,"onChange")}for(var u in rn(i,o),e=null,o)if(o.hasOwnProperty(u)){var c=o[u];"children"===u?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):T.hasOwnProperty(u)&&null!=c&&on(n,u)}switch(i){case"input":we(r),Ce(r,o,!0);break;case"textarea":we(r),Me(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=un)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===an&&(e=Ie(i)),e===an?"script"===i?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),"select"===i&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[Pn]=t,e[Nn]=r,Qa(e,t,!1,!1),t.stateNode=e,u=ln(i,r),i){case"iframe":case"object":case"embed":$t("load",e),c=r;break;case"video":case"audio":for(c=0;c<Ye.length;c++)$t(Ye[c],e);c=r;break;case"source":$t("error",e),c=r;break;case"img":case"image":case"link":$t("error",e),$t("load",e),c=r;break;case"form":$t("reset",e),$t("submit",e),c=r;break;case"details":$t("toggle",e),c=r;break;case"input":Ee(e,r),c=xe(e,r),$t("invalid",e),on(n,"onChange");break;case"option":c=Pe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=l({},r,{value:void 0}),$t("invalid",e),on(n,"onChange");break;case"textarea":Oe(e,r),c=ze(e,r),$t("invalid",e),on(n,"onChange");break;default:c=r}rn(i,c);var s=c;for(o in s)if(s.hasOwnProperty(o)){var f=s[o];"style"===o?tn(e,f):"dangerouslySetInnerHTML"===o?null!=(f=f?f.__html:void 0)&&Ae(e,f):"children"===o?"string"==typeof f?("textarea"!==i||""!==f)&&Ue(e,f):"number"==typeof f&&Ue(e,""+f):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(T.hasOwnProperty(o)?null!=f&&on(n,o):null!=f&&G(e,o,f,u))}switch(i){case"input":we(e),Ce(e,r,!1);break;case"textarea":we(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Ne(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=un)}kn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)$a(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Ii(Mi.current),Ii(Oi.current),za(t)?(n=t.stateNode,r=t.memoizedProps,n[Pn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Pn]=t,t.stateNode=n)}return null;case 13:return dl(Ui),r=t.memoizedState,64&t.effectTag?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&za(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(o=t.firstEffect)?(t.firstEffect=i,i.nextEffect=o):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Ui.current?Vo===Oo&&(Vo=Io):(Vo!==Oo&&Vo!==Io||(Vo=Fo),0!==$o&&null!==Ao&&(qu(Ao,jo),Yu(Ao,$o)))),(n||r)&&(t.effectTag|=4),null);case 4:return Di(),Ba(t),null;case 10:return li(t),null;case 19:if(dl(Ui),null===(r=t.memoizedState))return null;if(i=!!(64&t.effectTag),null===(o=r.rendering)){if(i)Ja(r,!1);else if(Vo!==Oo||null!==e&&64&e.effectTag)for(o=t.child;null!==o;){if(null!==(e=ji(o))){for(t.effectTag|=64,Ja(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)o=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=o,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,o=e.dependencies,i.dependencies=null===o?null:{expirationTime:o.expirationTime,firstContext:o.firstContext,responders:o.responders}),r=r.sibling;return pl(Ui,1&Ui.current|2),t.child}o=o.sibling}}else{if(!i)if(null!==(e=ji(o))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ja(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ql()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Ja(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=r.last)?n.sibling=o:t.child=o,r.last=o)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ql()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ql(),n.sibling=null,t=Ui.current,pl(Ui,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function to(e){switch(e.tag){case 1:bl(e.type)&&wl();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Di(),dl(vl),dl(hl),64&(t=e.effectTag))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ai(e),null;case 13:return dl(Ui),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return dl(Ui),null;case 4:return Di(),null;case 10:return li(e),null;default:return null}}function no(e,t){return{value:e,source:t,stack:ge(t)}}Qa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ba=function(){},Ha=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var o,u,c=t.stateNode;switch(Ii(Oi.current),e=null,n){case"input":a=xe(c,a),r=xe(c,r),e=[];break;case"option":a=Pe(c,a),r=Pe(c,r),e=[];break;case"select":a=l({},a,{value:void 0}),r=l({},r,{value:void 0}),e=[];break;case"textarea":a=ze(c,a),r=ze(c,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=un)}for(o in rn(n,r),n=null,a)if(!r.hasOwnProperty(o)&&a.hasOwnProperty(o)&&null!=a[o])if("style"===o)for(u in c=a[o])c.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==o&&"children"!==o&&"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(T.hasOwnProperty(o)?e||(e=[]):(e=e||[]).push(o,null));for(o in r){var s=r[o];if(c=null!=a?a[o]:void 0,r.hasOwnProperty(o)&&s!==c&&(null!=s||null!=c))if("style"===o)if(c){for(u in c)!c.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in s)s.hasOwnProperty(u)&&c[u]!==s[u]&&(n||(n={}),n[u]=s[u])}else n||(e||(e=[]),e.push(o,n)),n=s;else"dangerouslySetInnerHTML"===o?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(o,s)):"children"===o?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(o,""+s):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&(T.hasOwnProperty(o)?(null!=s&&on(i,o),e||c===s||(e=[])):(e=e||[]).push(o,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},$a=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var ro="function"==typeof WeakSet?WeakSet:Set;function lo(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function io(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Mu(e,t)}else t.current=null}function ao(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Zl(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(a(163))}function oo(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function uo(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function co(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void uo(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Zl(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&hi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}hi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&kn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Ft(n)))))}throw Error(a(163))}function so(e,t,n){switch("function"==typeof Lu&&Lu(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;$l(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var l=t;try{n()}catch(e){Mu(l,e)}}e=e.next}while(e!==r)}))}break;case 1:io(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Mu(e,t)}}(t,n);break;case 5:io(t);break;case 4:go(e,t,n)}}function fo(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&fo(t)}function po(e){return 5===e.tag||3===e.tag||4===e.tag}function mo(e){e:{for(var t=e.return;null!==t;){if(po(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||po(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?ho(e,n,t):vo(e,n,t)}function ho(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=un));else if(4!==r&&null!==(e=e.child))for(ho(e,t,n),e=e.sibling;null!==e;)ho(e,t,n),e=e.sibling}function vo(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(vo(e,t,n),e=e.sibling;null!==e;)vo(e,t,n),e=e.sibling}function go(e,t,n){for(var r,l,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(r=o.stateNode,o.tag){case 5:l=!1;break e;case 3:case 4:r=r.containerInfo,l=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var u=e,c=i,s=n,f=c;;)if(so(u,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}l?(u=r,c=i.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,l=!0,i.child.return=i,i=i.child;continue}}else if(so(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function yo(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void oo(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,l=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Nn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Te(n,r),ln(e,l),t=ln(e,r),l=0;l<i.length;l+=2){var o=i[l],u=i[l+1];"style"===o?tn(n,u):"dangerouslySetInnerHTML"===o?Ae(n,u):"children"===o?Ue(n,u):G(n,o,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Re(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ne(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ne(n,!!r.multiple,r.defaultValue,!0):Ne(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Ft(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,qo=Ql()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,l=null!=(l=e.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,i.style.display=en("display",l));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void bo(t);case 19:return void bo(t)}throw Error(a(163))}function bo(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ro),t.forEach((function(t){var r=Fu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var wo="function"==typeof WeakMap?WeakMap:Map;function ko(e,t,n){(n=fi(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Go||(Go=!0,Zo=r),lo(e,t)},n}function xo(e,t,n){(n=fi(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=t.value;n.payload=function(){return lo(e,t),r(l)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Jo?Jo=new Set([this]):Jo.add(this),lo(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Eo,To=Math.ceil,So=X.ReactCurrentDispatcher,Co=X.ReactCurrentOwner,_o=0,Po=8,No=16,zo=32,Oo=0,Ro=1,Mo=2,Io=3,Fo=4,Do=5,Lo=_o,Ao=null,Uo=null,jo=0,Vo=Oo,Wo=null,Qo=1073741823,Bo=1073741823,Ho=null,$o=0,Ko=!1,qo=0,Yo=500,Xo=null,Go=!1,Zo=null,Jo=null,eu=!1,tu=null,nu=90,ru=null,lu=0,iu=null,au=0;function ou(){return(Lo&(No|zo))!==_o?1073741821-(Ql()/10|0):0!==au?au:au=1073741821-(Ql()/10|0)}function uu(e,t,n){if(!(2&(t=t.mode)))return 1073741823;var r=Bl();if(!(4&t))return 99===r?1073741823:1073741822;if((Lo&No)!==_o)return jo;if(null!==n)e=Gl(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Gl(e,150,100);break;case 97:case 96:e=Gl(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ao&&e===jo&&--e,e}function cu(e,t){if(50<lu)throw lu=0,iu=null,Error(a(185));if(null!==(e=su(e,t))){var n=Bl();1073741823===t?(Lo&Po)!==_o&&(Lo&(No|zo))===_o?mu(e):(du(e),Lo===_o&&Yl()):du(e),(4&Lo)===_o||98!==n&&99!==n||(null===ru?ru=new Map([[e,t]]):(void 0===(n=ru.get(e))||n>t)&&ru.set(e,t))}}function su(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,l=null;if(null===r&&3===e.tag)l=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){l=r.stateNode;break}r=r.return}return null!==l&&(Ao===l&&(ku(t),Vo===Fo&&qu(l,jo)),Yu(l,t)),l}function fu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ku(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function du(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=ql(mu.bind(null,e));else{var t=fu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=ou();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var l=e.callbackPriority;if(e.callbackExpirationTime===t&&l>=r)return;n!==Dl&&_l(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?ql(mu.bind(null,e)):Kl(r,pu.bind(null,e),{timeout:10*(1073741821-t)-Ql()}),e.callbackNode=t}}}function pu(e,t){if(au=0,t)return Xu(e,t=ou()),du(e),null;var n=fu(e);if(0!==n){if(t=e.callbackNode,(Lo&(No|zo))!==_o)throw Error(a(327));if(zu(),e===Ao&&n===jo||gu(e,n),null!==Uo){var r=Lo;Lo|=No;for(var l=bu();;)try{Eu();break}catch(t){yu(e,t)}if(ri(),Lo=r,So.current=l,Vo===Ro)throw t=Wo,gu(e,n),qu(e,n),du(e),t;if(null===Uo)switch(l=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Vo,Ao=null,r){case Oo:case Ro:throw Error(a(345));case Mo:Xu(e,2<n?2:n);break;case Io:if(qu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Cu(l)),1073741823===Qo&&10<(l=qo+Yo-Ql())){if(Ko){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,gu(e,n);break}}if(0!==(i=fu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=En(_u.bind(null,e),l);break}_u(e);break;case Fo:if(qu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Cu(l)),Ko&&(0===(l=e.lastPingedTime)||l>=n)){e.lastPingedTime=n,gu(e,n);break}if(0!==(l=fu(e))&&l!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Bo?r=10*(1073741821-Bo)-Ql():1073741823===Qo?r=0:(r=10*(1073741821-Qo)-5e3,0>(r=(l=Ql())-r)&&(r=0),(n=10*(1073741821-n)-l)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*To(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=En(_u.bind(null,e),r);break}_u(e);break;case Do:if(1073741823!==Qo&&null!==Ho){i=Qo;var o=Ho;if(0>=(r=0|o.busyMinDurationMs)?r=0:(l=0|o.busyDelayMs,r=(i=Ql()-(10*(1073741821-i)-(0|o.timeoutMs||5e3)))<=l?0:l+r-i),10<r){qu(e,n),e.timeoutHandle=En(_u.bind(null,e),r);break}}_u(e);break;default:throw Error(a(329))}if(du(e),e.callbackNode===t)return pu.bind(null,e)}}return null}function mu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(Lo&(No|zo))!==_o)throw Error(a(327));if(zu(),e===Ao&&t===jo||gu(e,t),null!==Uo){var n=Lo;Lo|=No;for(var r=bu();;)try{xu();break}catch(t){yu(e,t)}if(ri(),Lo=n,So.current=r,Vo===Ro)throw n=Wo,gu(e,t),qu(e,t),du(e),n;if(null!==Uo)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ao=null,_u(e),du(e)}return null}function hu(e,t){var n=Lo;Lo|=1;try{return e(t)}finally{(Lo=n)===_o&&Yl()}}function vu(e,t){var n=Lo;Lo&=-2,Lo|=Po;try{return e(t)}finally{(Lo=n)===_o&&Yl()}}function gu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Tn(n)),null!==Uo)for(n=Uo.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&wl();break;case 3:Di(),dl(vl),dl(hl);break;case 5:Ai(r);break;case 4:Di();break;case 13:case 19:dl(Ui);break;case 10:li(r)}n=n.return}Ao=e,Uo=Vu(e.current,null),jo=t,Vo=Oo,Wo=null,Bo=Qo=1073741823,Ho=null,$o=0,Ko=!1}function yu(e,t){for(;;){try{if(ri(),Wi.current=ba,qi)for(var n=Hi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Bi=0,Ki=$i=Hi=null,qi=!1,null===Uo||null===Uo.return)return Vo=Ro,Wo=t,Uo=null;e:{var l=e,i=Uo.return,a=Uo,o=t;if(t=jo,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==o&&"object"==typeof o&&"function"==typeof o.then){var u=o;if(!(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var s=!!(1&Ui.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var m=f.memoizedProps;d=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!s)}}if(d){var h=f.updateQueue;if(null===h){var v=new Set;v.add(u),f.updateQueue=v}else h.add(u);if(!(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=fi(1073741823,null);g.tag=2,di(a,g)}a.expirationTime=1073741823;break e}o=void 0,a=t;var y=l.pingCache;if(null===y?(y=l.pingCache=new wo,o=new Set,y.set(u,o)):void 0===(o=y.get(u))&&(o=new Set,y.set(u,o)),!o.has(a)){o.add(a);var b=Iu.bind(null,l,u,a);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);o=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}Vo!==Do&&(Vo=Mo),o=no(o,a),f=i;do{switch(f.tag){case 3:u=o,f.effectTag|=4096,f.expirationTime=t,pi(f,ko(f,u,t));break e;case 1:u=o;var w=f.type,k=f.stateNode;if(!(64&f.effectTag||"function"!=typeof w.getDerivedStateFromError&&(null===k||"function"!=typeof k.componentDidCatch||null!==Jo&&Jo.has(k)))){f.effectTag|=4096,f.expirationTime=t,pi(f,xo(f,u,t));break e}}f=f.return}while(null!==f)}Uo=Su(Uo)}catch(e){t=e;continue}break}}function bu(){var e=So.current;return So.current=ba,null===e?ba:e}function wu(e,t){e<Qo&&2<e&&(Qo=e),null!==t&&e<Bo&&2<e&&(Bo=e,Ho=t)}function ku(e){e>$o&&($o=e)}function xu(){for(;null!==Uo;)Uo=Tu(Uo)}function Eu(){for(;null!==Uo&&!Ll();)Uo=Tu(Uo)}function Tu(e){var t=Eo(e.alternate,e,jo);return e.memoizedProps=e.pendingProps,null===t&&(t=Su(e)),Co.current=null,t}function Su(e){Uo=e;do{var t=Uo.alternate;if(e=Uo.return,2048&Uo.effectTag){if(null!==(t=to(Uo)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}else{if(t=eo(t,Uo,jo),1===jo||1!==Uo.childExpirationTime){for(var n=0,r=Uo.child;null!==r;){var l=r.expirationTime,i=r.childExpirationTime;l>n&&(n=l),i>n&&(n=i),r=r.sibling}Uo.childExpirationTime=n}if(null!==t)return t;null!==e&&!(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Uo.firstEffect),null!==Uo.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Uo.firstEffect),e.lastEffect=Uo.lastEffect),1<Uo.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Uo:e.firstEffect=Uo,e.lastEffect=Uo))}if(null!==(t=Uo.sibling))return t;Uo=e}while(null!==Uo);return Vo===Oo&&(Vo=Do),null}function Cu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function _u(e){var t=Bl();return $l(99,Pu.bind(null,e,t)),null}function Pu(e,t){do{zu()}while(null!==tu);if((Lo&(No|zo))!==_o)throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var l=Cu(n);if(e.firstPendingTime=l,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ao&&(Uo=Ao=null,jo=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,l=n.firstEffect):l=n:l=n.firstEffect,null!==l){var i=Lo;Lo|=zo,Co.current=null,bn=Ht;var o=pn();if(mn(o)){if("selectionStart"in o)var u={start:o.selectionStart,end:o.selectionEnd};else e:{var c=(u=(u=o.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var d=0,p=-1,m=-1,h=0,v=0,g=o,y=null;t:for(;;){for(var b;g!==u||0!==s&&3!==g.nodeType||(p=d+s),g!==f||0!==c&&3!==g.nodeType||(m=d+c),3===g.nodeType&&(d+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===o)break t;if(y===u&&++h===s&&(p=d),y===f&&++v===c&&(m=d),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}u=-1===p||-1===m?null:{start:p,end:m}}else u=null}u=u||{start:0,end:0}}else u=null;wn={activeElementDetached:null,focusedElem:o,selectionRange:u},Ht=!1,Xo=l;do{try{Nu()}catch(e){if(null===Xo)throw Error(a(330));Mu(Xo,e),Xo=Xo.nextEffect}}while(null!==Xo);Xo=l;do{try{for(o=e,u=t;null!==Xo;){var w=Xo.effectTag;if(16&w&&Ue(Xo.stateNode,""),128&w){var k=Xo.alternate;if(null!==k){var x=k.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&w){case 2:mo(Xo),Xo.effectTag&=-3;break;case 6:mo(Xo),Xo.effectTag&=-3,yo(Xo.alternate,Xo);break;case 1024:Xo.effectTag&=-1025;break;case 1028:Xo.effectTag&=-1025,yo(Xo.alternate,Xo);break;case 4:yo(Xo.alternate,Xo);break;case 8:go(o,s=Xo,u),fo(s)}Xo=Xo.nextEffect}}catch(e){if(null===Xo)throw Error(a(330));Mu(Xo,e),Xo=Xo.nextEffect}}while(null!==Xo);if(x=wn,k=pn(),w=x.focusedElem,u=x.selectionRange,k!==w&&w&&w.ownerDocument&&dn(w.ownerDocument.documentElement,w)){null!==u&&mn(w)&&(k=u.start,void 0===(x=u.end)&&(x=k),"selectionStart"in w?(w.selectionStart=k,w.selectionEnd=Math.min(x,w.value.length)):(x=(k=w.ownerDocument||document)&&k.defaultView||window).getSelection&&(x=x.getSelection(),s=w.textContent.length,o=Math.min(u.start,s),u=void 0===u.end?o:Math.min(u.end,s),!x.extend&&o>u&&(s=u,u=o,o=s),s=fn(w,o),f=fn(w,u),s&&f&&(1!==x.rangeCount||x.anchorNode!==s.node||x.anchorOffset!==s.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((k=k.createRange()).setStart(s.node,s.offset),x.removeAllRanges(),o>u?(x.addRange(k),x.extend(f.node,f.offset)):(k.setEnd(f.node,f.offset),x.addRange(k))))),k=[];for(x=w;x=x.parentNode;)1===x.nodeType&&k.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<k.length;w++)(x=k[w]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Ht=!!bn,wn=bn=null,e.current=n,Xo=l;do{try{for(w=e;null!==Xo;){var E=Xo.effectTag;if(36&E&&co(w,Xo.alternate,Xo),128&E){k=void 0;var T=Xo.ref;if(null!==T){var S=Xo.stateNode;Xo.tag,k=S,"function"==typeof T?T(k):T.current=k}}Xo=Xo.nextEffect}}catch(e){if(null===Xo)throw Error(a(330));Mu(Xo,e),Xo=Xo.nextEffect}}while(null!==Xo);Xo=null,Al(),Lo=i}else e.current=n;if(eu)eu=!1,tu=e,nu=t;else for(Xo=l;null!==Xo;)t=Xo.nextEffect,Xo.nextEffect=null,Xo=t;if(0===(t=e.firstPendingTime)&&(Jo=null),1073741823===t?e===iu?lu++:(lu=0,iu=e):lu=0,"function"==typeof Du&&Du(n.stateNode,r),du(e),Go)throw Go=!1,e=Zo,Zo=null,e;return(Lo&Po)!==_o||Yl(),null}function Nu(){for(;null!==Xo;){var e=Xo.effectTag;256&e&&ao(Xo.alternate,Xo),!(512&e)||eu||(eu=!0,Kl(97,(function(){return zu(),null}))),Xo=Xo.nextEffect}}function zu(){if(90!==nu){var e=97<nu?97:nu;return nu=90,$l(e,Ou)}}function Ou(){if(null===tu)return!1;var e=tu;if(tu=null,(Lo&(No|zo))!==_o)throw Error(a(331));var t=Lo;for(Lo|=zo,e=e.current.firstEffect;null!==e;){try{var n=e;if(512&n.effectTag)switch(n.tag){case 0:case 11:case 15:case 22:oo(5,n),uo(5,n)}}catch(t){if(null===e)throw Error(a(330));Mu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Lo=t,Yl(),!0}function Ru(e,t,n){di(e,t=ko(e,t=no(n,t),1073741823)),null!==(e=su(e,1073741823))&&du(e)}function Mu(e,t){if(3===e.tag)Ru(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ru(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Jo||!Jo.has(r))){di(n,e=xo(n,e=no(t,e),1073741823)),null!==(n=su(n,1073741823))&&du(n);break}}n=n.return}}function Iu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ao===e&&jo===n?Vo===Fo||Vo===Io&&1073741823===Qo&&Ql()-qo<Yo?gu(e,jo):Ko=!0:Ku(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,du(e)))}function Fu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=uu(t=ou(),e,null)),null!==(e=su(e,t))&&du(e)}Eo=function(e,t,n){var r=t.expirationTime;if(null!==e){var l=t.pendingProps;if(e.memoizedProps!==l||vl.current)Ma=!0;else{if(r<n){switch(Ma=!1,t.tag){case 3:Wa(t),Oa();break;case 5:if(Li(t),4&t.mode&&1!==n&&l.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:bl(t.type)&&El(t);break;case 4:Fi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,l=t.type._context,pl(Jl,l._currentValue),l._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?qa(e,t,n):(pl(Ui,1&Ui.current),null!==(t=Za(e,t,n))?t.sibling:null);pl(Ui,1&Ui.current);break;case 19:if(r=t.childExpirationTime>=n,64&e.effectTag){if(r)return Ga(e,t,n);t.effectTag|=64}if(null!==(l=t.memoizedState)&&(l.rendering=null,l.tail=null),pl(Ui,Ui.current),!r)return null}return Za(e,t,n)}Ma=!1}}else Ma=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,l=yl(t,hl.current),ai(t,n),l=Gi(null,t,r,e,l,n),t.effectTag|=1,"object"==typeof l&&null!==l&&"function"==typeof l.render&&void 0===l.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,bl(r)){var i=!0;El(t)}else i=!1;t.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,ci(t);var o=r.getDerivedStateFromProps;"function"==typeof o&&yi(t,r,o,e),l.updater=bi,t.stateNode=l,l._reactInternalFiber=t,Ei(t,r,e,n),t=Va(null,t,r,!0,i,n)}else t.tag=0,Ia(null,t,l,n),t=t.child;return t;case 16:e:{if(l=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(l),1!==l._status)throw l._result;switch(l=l._result,t.type=l,i=t.tag=function(e){if("function"==typeof e)return ju(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===fe)return 14}return 2}(l),e=Zl(l,e),i){case 0:t=Ua(null,t,l,e,n);break e;case 1:t=ja(null,t,l,e,n);break e;case 11:t=Fa(null,t,l,e,n);break e;case 14:t=Da(null,t,l,Zl(l.type,e),r,n);break e}throw Error(a(306,l,""))}return t;case 0:return r=t.type,l=t.pendingProps,Ua(e,t,r,l=t.elementType===r?l:Zl(r,l),n);case 1:return r=t.type,l=t.pendingProps,ja(e,t,r,l=t.elementType===r?l:Zl(r,l),n);case 3:if(Wa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,l=null!==(l=t.memoizedState)?l.element:null,si(e,t),mi(t,r,null,n),(r=t.memoizedState.element)===l)Oa(),t=Za(e,t,n);else{if((l=t.stateNode.hydrate)&&(Ta=Sn(t.stateNode.containerInfo.firstChild),Ea=t,l=Sa=!0),l)for(n=Ni(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ia(e,t,r,n),Oa();t=t.child}return t;case 5:return Li(t),null===e&&Pa(t),r=t.type,l=t.pendingProps,i=null!==e?e.memoizedProps:null,o=l.children,xn(r,l)?o=null:null!==i&&xn(r,i)&&(t.effectTag|=16),Aa(e,t),4&t.mode&&1!==n&&l.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ia(e,t,o,n),t=t.child),t;case 6:return null===e&&Pa(t),null;case 13:return qa(e,t,n);case 4:return Fi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Pi(t,null,r,n):Ia(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,Fa(e,t,r,l=t.elementType===r?l:Zl(r,l),n);case 7:return Ia(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ia(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value;var u=t.type._context;if(pl(Jl,u._currentValue),u._currentValue=i,null!==o)if(u=o.value,0==(i=Vr(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(o.children===l.children&&!vl.current){t=Za(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){o=u.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&s.observedBits&i){1===u.tag&&((s=fi(n,null)).tag=2,di(u,s)),u.expirationTime<n&&(u.expirationTime=n),null!==(s=u.alternate)&&s.expirationTime<n&&(s.expirationTime=n),ii(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else o=10===u.tag&&u.type===t.type?null:u.child;if(null!==o)o.return=u;else for(o=u;null!==o;){if(o===t){o=null;break}if(null!==(u=o.sibling)){u.return=o.return,o=u;break}o=o.return}u=o}Ia(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=(i=t.pendingProps).children,ai(t,n),r=r(l=oi(l,i.unstable_observedBits)),t.effectTag|=1,Ia(e,t,r,n),t.child;case 14:return i=Zl(l=t.type,t.pendingProps),Da(e,t,l,i=Zl(l.type,i),r,n);case 15:return La(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Zl(r,l),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,bl(r)?(e=!0,El(t)):e=!1,ai(t,n),ki(t,r,l),Ei(t,r,l,n),Va(null,t,r,!0,e,n);case 19:return Ga(e,t,n)}throw Error(a(156,t.tag))};var Du=null,Lu=null;function Au(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Uu(e,t,n,r){return new Au(e,t,n,r)}function ju(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vu(e,t){var n=e.alternate;return null===n?((n=Uu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wu(e,t,n,r,l,i){var o=2;if(r=e,"function"==typeof e)ju(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case ne:return Qu(n.children,l,i,t);case oe:o=8,l|=7;break;case re:o=8,l|=1;break;case le:return(e=Uu(12,n,t,8|l)).elementType=le,e.type=le,e.expirationTime=i,e;case ce:return(e=Uu(13,n,t,l)).type=ce,e.elementType=ce,e.expirationTime=i,e;case se:return(e=Uu(19,n,t,l)).elementType=se,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:o=10;break e;case ae:o=9;break e;case ue:o=11;break e;case fe:o=14;break e;case de:o=16,r=null;break e;case pe:o=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Uu(o,n,t,l)).elementType=e,t.type=r,t.expirationTime=i,t}function Qu(e,t,n,r){return(e=Uu(7,e,r,t)).expirationTime=n,e}function Bu(e,t,n){return(e=Uu(6,e,null,t)).expirationTime=n,e}function Hu(e,t,n){return(t=Uu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $u(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ku(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function qu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Yu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Xu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Gu(e,t,n,r){var l=t.current,i=ou(),o=vi.suspense;i=uu(i,l,o);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(bl(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var c=n.type;if(bl(c)){n=xl(n,c,u);break e}}n=u}else n=ml;return null===t.context?t.context=n:t.pendingContext=n,(t=fi(i,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(l,t),cu(l,i),i}function Zu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ju(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function ec(e,t){Ju(e,t),(e=e.alternate)&&Ju(e,t)}function tc(e,t,n){var r=new $u(e,t,n=null!=n&&!0===n.hydrate),l=Uu(3,null,null,2===t?7:1===t?3:0);r.current=l,l.stateNode=r,ci(l),e[zn]=r.current,n&&0!==t&&function(e,t){var n=Ge(t);St.forEach((function(e){pt(e,t,n)})),Ct.forEach((function(e){pt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rc(e,t,n,r,l){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof l){var o=l;l=function(){var e=Zu(a);o.call(e)}}Gu(t,a,e,l)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof l){var u=l;l=function(){var e=Zu(a);u.call(e)}}vu((function(){Gu(t,a,e,l)}))}return Zu(a)}function lc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}tc.prototype.render=function(e){Gu(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Gu(null,e,null,(function(){t[zn]=null}))},mt=function(e){if(13===e.tag){var t=Gl(ou(),150,100);cu(e,t),ec(e,t)}},ht=function(e){13===e.tag&&(cu(e,3),ec(e,3))},vt=function(e){if(13===e.tag){var t=ou();cu(e,t=uu(t,e,null)),ec(e,t)}},P=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=In(r);if(!l)throw Error(a(90));ke(r),Se(r,l)}}}break;case"textarea":Re(e,n);break;case"select":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},I=hu,F=function(e,t,n,r,l){var i=Lo;Lo|=4;try{return $l(98,e.bind(null,t,n,r,l))}finally{(Lo=i)===_o&&Yl()}},D=function(){(Lo&(1|No|zo))===_o&&(function(){if(null!==ru){var e=ru;ru=null,e.forEach((function(e,t){Xu(t,e),du(t)})),Yl()}}(),zu())},L=function(e,t){var n=Lo;Lo|=2;try{return e(t)}finally{(Lo=n)===_o&&Yl()}};var ic={Events:[Rn,Mn,In,C,E,Vn,function(e){rt(e,jn)},R,M,Xt,at,zu,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Du=function(e){try{t.onCommitFiberRoot(n,e,void 0,!(64&~e.current.effectTag))}catch(e){}},Lu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(l({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=tt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:On,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ic,t.createPortal=lc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=tt(t))?null:e.stateNode},t.flushSync=function(e,t){if((Lo&(No|zo))!==_o)throw Error(a(187));var n=Lo;Lo|=1;try{return $l(99,e.bind(null,t))}finally{Lo=n,Yl()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(a(200));return rc(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(a(200));return rc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(a(40));return!!e._reactRootContainer&&(vu((function(){rc(null,null,e,!1,(function(){e._reactRootContainer=null,e[zn]=null}))})),!0)},t.unstable_batchedUpdates=hu,t.unstable_createPortal=function(e,t){return lc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nc(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return rc(e,t,n,!1,r)},t.version="16.14.0"},905:(e,t,n)=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(91)},268:(e,t,n)=>{var r=n(357),l=60103;if("function"==typeof Symbol&&Symbol.for){var i=Symbol.for;l=i("react.element"),i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,s=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)o.call(t,r)&&!u.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:l,type:e,key:c,ref:s,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},341:(e,t,n)=>{var r=n(315),l="function"==typeof Symbol&&Symbol.for,i=l?Symbol.for("react.element"):60103,a=l?Symbol.for("react.portal"):60106,o=l?Symbol.for("react.fragment"):60107,u=l?Symbol.for("react.strict_mode"):60108,c=l?Symbol.for("react.profiler"):60114,s=l?Symbol.for("react.provider"):60109,f=l?Symbol.for("react.context"):60110,d=l?Symbol.for("react.forward_ref"):60112,p=l?Symbol.for("react.suspense"):60113,m=l?Symbol.for("react.memo"):60115,h=l?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function k(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var E=x.prototype=new k;E.constructor=x,r(E,w.prototype),E.isPureReactComponent=!0;var T={current:null},S=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var r,l={},a=null,o=null;if(null!=t)for(r in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!C.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(1===u)l.children=n;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];l.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===l[r]&&(l[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:o,props:l,_owner:T.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var N=/\/+/g,z=[];function O(e,t,n,r){if(z.length){var l=z.pop();return l.result=e,l.keyPrefix=t,l.func=n,l.context=r,l.count=0,l}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>z.length&&z.push(e)}function M(e,t,n,r){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var o=!1;if(null===e)o=!0;else switch(l){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case i:case a:o=!0}}if(o)return n(r,e,""===t?"."+F(e,0):t),1;if(o=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=t+F(l=e[u],u);o+=M(l,c,n,r)}else if("function"==typeof(c=null===e||"object"!=typeof e?null:"function"==typeof(c=v&&e[v]||e["@@iterator"])?c:null))for(e=c.call(e),u=0;!(l=e.next()).done;)o+=M(l=l.value,c=t+F(l,u++),n,r);else if("object"===l)throw n=""+e,Error(g(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return o}function I(e,t,n){return null==e?0:M(e,"",t,n)}function F(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,l=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?A(e,r,n,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,l+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function A(e,t,n,r,l){var i="";null!=n&&(i=(""+n).replace(N,"$&/")+"/"),I(e,L,t=O(t,i,r,l)),R(t)}var U={current:null};function j(){var e=U.current;if(null===e)throw Error(g(321));return e}var V={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return A(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;I(e,D,t=O(null,null,t,n)),R(t)},count:function(e){return I(e,(function(){return null}),null)},toArray:function(e){var t=[];return A(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(g(143));return e}},t.Component=w,t.Fragment=o,t.Profiler=c,t.PureComponent=x,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var l=r({},e.props),a=e.key,o=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,u=T.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)S.call(t,s)&&!C.hasOwnProperty(s)&&(l[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)l.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];l.children=c}return{$$typeof:i,type:e.type,key:a,ref:o,props:l,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return j().useCallback(e,t)},t.useContext=function(e,t){return j().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return j().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return j().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return j().useLayoutEffect(e,t)},t.useMemo=function(e,t){return j().useMemo(e,t)},t.useReducer=function(e,t,n){return j().useReducer(e,t,n)},t.useRef=function(e){return j().useRef(e)},t.useState=function(e){return j().useState(e)},t.version="16.14.0"},357:(e,t,n)=>{e.exports=n(341)},233:(e,t,n)=>{e.exports=n(268)},390:(e,t)=>{var n,r,l,i,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var o=null,u=null,c=function(){if(null!==o)try{var e=t.unstable_now();o(!0,e),o=null}catch(e){throw setTimeout(c,0),e}},s=Date.now();t.unstable_now=function(){return Date.now()-s},n=function(e){null!==o?setTimeout(n,0,e):(o=e,setTimeout(c,0))},r=function(e,t){u=setTimeout(e,t)},l=function(){clearTimeout(u)},i=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var v=d.now();t.unstable_now=function(){return d.now()-v}}var g=!1,y=null,b=-1,w=5,k=0;i=function(){return t.unstable_now()>=k},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,E=x.port2;x.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();k=e+w;try{y(!0,e)?E.postMessage(null):(g=!1,y=null)}catch(e){throw E.postMessage(null),e}}else g=!1},n=function(e){y=e,g||(g=!0,E.postMessage(null))},r=function(e,n){b=p((function(){e(t.unstable_now())}),n)},l=function(){m(b),b=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,l=e[r];if(!(void 0!==l&&0<_(l,t)))break e;e[r]=t,e[n]=l,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,l=e.length;r<l;){var i=2*(r+1)-1,a=e[i],o=i+1,u=e[o];if(void 0!==a&&0>_(a,n))void 0!==u&&0>_(u,a)?(e[r]=u,e[o]=n,r=o):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>_(u,n)))break e;e[r]=u,e[o]=n,r=o}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],N=[],z=1,O=null,R=3,M=!1,I=!1,F=!1;function D(e){for(var t=S(N);null!==t;){if(null===t.callback)C(N);else{if(!(t.startTime<=e))break;C(N),t.sortIndex=t.expirationTime,T(P,t)}t=S(N)}}function L(e){if(F=!1,D(e),!I)if(null!==S(P))I=!0,n(A);else{var t=S(N);null!==t&&r(L,t.startTime-e)}}function A(e,n){I=!1,F&&(F=!1,l()),M=!0;var a=R;try{for(D(n),O=S(P);null!==O&&(!(O.expirationTime>n)||e&&!i());){var o=O.callback;if(null!==o){O.callback=null,R=O.priorityLevel;var u=o(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?O.callback=u:O===S(P)&&C(P),D(n)}else C(P);O=S(P)}if(null!==O)var c=!0;else{var s=S(N);null!==s&&r(L,s.startTime-n),c=!1}return c}finally{O=null,R=a,M=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var j=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||M||(I=!0,n(A))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return S(P)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?o+u:o,a="number"==typeof a.timeout?a.timeout:U(e)}else a=U(e),u=o;return e={id:z++,callback:i,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>o?(e.sortIndex=u,T(N,e),null===S(P)&&e===S(N)&&(F?l():F=!0,r(L,u-o))):(e.sortIndex=a,T(P,e),I||M||(I=!0,n(A))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(P);return n!==O&&null!==O&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<O.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},687:(e,t,n)=>{e.exports=n(390)}}]);
|
|
3
|
+
//# sourceMappingURL=6.4a131009e103f9d0c995.js.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/** @license React v0.19.1
|
|
8
|
+
* scheduler.production.min.js
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/** @license React v16.14.0
|
|
17
|
+
* react-dom.production.min.js
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the MIT license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/** @license React v16.14.0
|
|
26
|
+
* react-jsx-runtime.production.min.js
|
|
27
|
+
*
|
|
28
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/** @license React v16.14.0
|
|
35
|
+
* react.production.min.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/
|