From a6ee05043535a863fe6a681db06330e9e745c2a0 Mon Sep 17 00:00:00 2001 From: Boris Date: Wed, 11 May 2022 15:06:39 +0300 Subject: [PATCH 1/8] [WIP] feat: support react 18 --- Gulpfile.js | 70 +- README.md | 2 +- package.json | 11 +- src/index.js.mustache | 33 +- src/react-16-17/get-root-els.js | 24 - src/react-16-18/get-root-els.js | 39 + src/{react-16-17 => react-16-18}/index.js | 17 +- .../react-utils.js | 4 +- src/wait-for-react.js | 14 +- test/data/app/index-react-16.html | 15 + test/data/app/index-react-17.html | 15 + test/data/app/index-react-18.html | 15 + test/data/app/index.html | 17 + test/data/{ => app}/page-without-react.html | 0 test/data/app/root-pure-component.html | 10 + test/data/app/src/app-old-versions.jsx | 311 + test/data/app/src/app.jsx | 230 + test/data/app/src/main-react-16.jsx | 8 + test/data/app/src/main-react-17.jsx | 8 + test/data/app/src/main-react-18.jsx | 16 + .../{ => app}/src/root-pure-component.jsx | 9 +- test/data/{ => app}/src/stateless-root.jsx | 8 +- test/data/app/stateless-root.html | 10 + test/data/index.html | 13 - test/data/root-pure-component.html | 11 - test/data/src/.babelrc | 11 - test/data/src/app.jsx | 311 - test/data/stateless-root.html | 11 - test/data/vendor/react-15/react-dom.js | 12 - test/data/vendor/react-15/react.js | 16 - test/data/vendor/react-16/react-dom.js | 205 - test/data/vendor/react-16/react.js | 31 - test/data/vendor/react-17/react-dom.js | 246 - test/data/vendor/react-17/react.js | 31 - test/fixtures/common-tests.js | 93 +- test/fixtures/typescript.ts | 8 +- test/server.js | 2 - yarn.lock | 6978 +++++++++++++++++ 38 files changed, 7822 insertions(+), 1043 deletions(-) delete mode 100644 src/react-16-17/get-root-els.js create mode 100644 src/react-16-18/get-root-els.js rename src/{react-16-17 => react-16-18}/index.js (91%) rename src/{react-16-17 => react-16-18}/react-utils.js (97%) create mode 100644 test/data/app/index-react-16.html create mode 100644 test/data/app/index-react-17.html create mode 100644 test/data/app/index-react-18.html create mode 100644 test/data/app/index.html rename test/data/{ => app}/page-without-react.html (100%) create mode 100644 test/data/app/root-pure-component.html create mode 100644 test/data/app/src/app-old-versions.jsx create mode 100644 test/data/app/src/app.jsx create mode 100644 test/data/app/src/main-react-16.jsx create mode 100644 test/data/app/src/main-react-17.jsx create mode 100644 test/data/app/src/main-react-18.jsx rename test/data/{ => app}/src/root-pure-component.jsx (73%) rename test/data/{ => app}/src/stateless-root.jsx (67%) create mode 100644 test/data/app/stateless-root.html delete mode 100644 test/data/index.html delete mode 100644 test/data/root-pure-component.html delete mode 100644 test/data/src/.babelrc delete mode 100644 test/data/src/app.jsx delete mode 100644 test/data/stateless-root.html delete mode 100644 test/data/vendor/react-15/react-dom.js delete mode 100644 test/data/vendor/react-15/react.js delete mode 100644 test/data/vendor/react-16/react-dom.js delete mode 100644 test/data/vendor/react-16/react.js delete mode 100644 test/data/vendor/react-17/react-dom.js delete mode 100644 test/data/vendor/react-17/react.js create mode 100644 yarn.lock diff --git a/Gulpfile.js b/Gulpfile.js index 45194b4..aaaa3fc 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -1,20 +1,23 @@ -const babel = require('gulp-babel'); -const createTestCafe = require('testcafe'); -const del = require('del'); -const eslint = require('gulp-eslint-new'); -const fs = require('fs'); -const glob = require('glob'); -const gulp = require('gulp'); -const mustache = require('gulp-mustache'); -const pathJoin = require('path').join; -const rename = require('gulp-rename'); -const startTestServer = require('./test/server'); -const { promisify } = require('util'); -const nextBuild = require('next/dist/build').default; +const babel = require('gulp-babel'); +const createTestCafe = require('testcafe'); +const del = require('del'); +const eslint = require('gulp-eslint-new'); +const fs = require('fs'); +const glob = require('glob'); +const gulp = require('gulp'); +const mustache = require('gulp-mustache'); +const pathJoin = require('path').join; +const rename = require('gulp-rename'); +const startTestServer = require('./test/server'); +const { promisify } = require('util'); +const nextBuild = require('next/dist/build').default; +const { createServer } = require('vite'); const listFiles = promisify(glob); const deleteFiles = promisify(del); +let devServer = null; + gulp.task('clean', () => { return deleteFiles([ 'lib', @@ -35,13 +38,6 @@ gulp.task('lint', () => { .pipe(eslint.failAfterError()); }); -gulp.task('build-test-app', () => { - return gulp - .src('test/data/src/**/*.{jsx,js}') - .pipe(babel()) - .pipe(gulp.dest('test/data/lib')); -}); - gulp.task('build-selectors-script', () => { function loadModule (modulePath) { return fs.readFileSync(modulePath).toString(); @@ -50,18 +46,18 @@ gulp.task('build-selectors-script', () => { return gulp.src('./src/index.js.mustache') .pipe(mustache({ getRootElsReact15: loadModule('./src/react-15/get-root-els.js'), - getRootElsReact16or17: loadModule('./src/react-16-17/get-root-els.js'), + getRootElsReact16to18: loadModule('./src/react-16-18/get-root-els.js'), selectorReact15: loadModule('./src/react-15/index.js'), - selectorReact16or17: loadModule('./src/react-16-17/index.js'), + selectorReact16to18: loadModule('./src/react-16-18/index.js'), react15Utils: loadModule('./src/react-15/react-utils.js'), - react16or17Utils: loadModule('./src/react-16-17/react-utils.js'), + react16to18Utils: loadModule('./src/react-16-18/react-utils.js'), waitForReact: loadModule('./src/wait-for-react.js') })) .pipe(rename('index.js')) - .pipe(gulp.dest('lib/tmp')); + .pipe(gulp.dest('lib')); }); gulp.task('transpile', () => { @@ -81,7 +77,23 @@ gulp.task('build-nextjs-app', () => { return nextBuild(appPath, require('./next.config.js')); }); -gulp.task('build', gulp.series('clean', 'lint', 'build-selectors-script', 'transpile', 'clean-build-tmp-resources')); +gulp.task('build', gulp.series('clean', 'lint', 'build-selectors-script', /* 'transpile',*/ 'clean-build-tmp-resources')); + +gulp.task('start-dev-server', async () => { + const src = 'test/data/app'; + + devServer = await createServer({ + configFile: false, + root: src, + + server: { + port: 3000 + } + }); + + await devServer.listen(); +}); + gulp.task('run-tests', async cb => { const files = await listFiles('test/fixtures/**/*.{js,ts}'); @@ -92,13 +104,15 @@ gulp.task('run-tests', async cb => { await testCafe.createRunner() .src(files) - .browsers(['chrome', 'firefox', 'ie']) + .browsers(['chrome'/*, 'firefox', 'ie'*/]) .reporter('list') - .run({ quarantineMode: true }) + .run({ quarantineMode: false, debugOnFail: true }) .then(failed => { + devServer.close(); + cb(); process.exit(failed); }); }); -gulp.task('test', gulp.series('build', 'build-test-app', 'build-nextjs-app', 'run-tests')); +gulp.task('test', gulp.series('build', 'start-dev-server', 'build-nextjs-app', 'run-tests')); diff --git a/README.md b/README.md index 9a60185..28b68c0 100644 --- a/README.md +++ b/README.md @@ -451,7 +451,7 @@ export type OptionReactComponent = ReactComponent; ### Limitations -* `testcafe-react-selectors` support ReactJS starting with version 15. To check if a component can be found, use the [react-dev-tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi) extension. +* `testcafe-react-selectors` support ReactJS starting with version 16. To check if a component can be found, use the [react-dev-tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi) extension. * Search for a component starts from the root React component, so selectors like `ReactSelector('body MyComponent')` will return `null`. * ReactSelectors need class names to select components on the page. Code minification usually does not keep the original class names. So you should either use non-minified code or configure the minificator to keep class names. diff --git a/package.json b/package.json index d5a90e5..72505b0 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,14 @@ "gulp-rename": "^1.2.2", "next": "^12.1.0", "publish-please": "^5.5.2", - "react": "^17.0.1", - "react-dom": "^17.0.1", - "testcafe": "^1.15.2" + "react": "npm:react@^18.0.0", + "react-dom": "npm:react-dom@^18.0.0", + "react-dom16": "npm:react-dom@^16.0.0", + "react-dom17": "npm:react-dom@^17.0.0", + "react16": "npm:react@^16.0.0", + "react17": "npm:react@^17.0.0", + "testcafe": "^1.18.6", + "vite": "^2.9.6" }, "scripts": { "test": "set NEXT_TELEMETRY_DISABLED=1 && gulp test", diff --git a/src/index.js.mustache b/src/index.js.mustache index 280ea8e..84490b6 100644 --- a/src/index.js.mustache +++ b/src/index.js.mustache @@ -3,9 +3,9 @@ import { Selector, ClientFunction } from 'testcafe'; export const ReactSelector = Selector(selector => { const getRootElsReact15 = {{{getRootElsReact15}}} - const getRootElsReact16or17 = {{{getRootElsReact16or17}}} + const getRootElsReact16to18 = {{{getRootElsReact16to18}}} const selectorReact15 = {{{selectorReact15}}} - const selectorReact16or17 = {{{selectorReact16or17}}} + const selectorReact16to18 = {{{selectorReact16to18}}} let visitedRootEls = []; let rootEls = null; @@ -26,12 +26,12 @@ export const ReactSelector = Selector(selector => { } const react15Utils = {{{react15Utils}}} - const react16or17Utils = {{{react16or17Utils}}} + const react16to18Utils = {{{react16to18Utils}}} if(!window['%testCafeReactSelectorUtils%']) { window['%testCafeReactSelectorUtils%'] = { '15' : react15Utils, - '16|17': react16or17Utils + '16|17|18': react16to18Utils }; } @@ -46,18 +46,19 @@ export const ReactSelector = Selector(selector => { foundDOMNodes = selectorReact15(selector); } - rootEls = getRootElsReact16or17(); + rootEls = getRootElsReact16to18(); if(rootEls.length) { - const rootContainers = rootEls.map(root => root.return); + //NOTE: root.return for 16 and 17 version + const rootContainers = rootEls.map(root => root.return || root); - window['%testCafeReactVersion%'] = '16|17'; - window['$testCafeReactSelector'] = selectorReact16or17; - window['$testCafeReact16or17Roots'] = rootEls; - window['$testCafeReact16or17RootContainers'] = rootContainers; + window['%testCafeReactVersion%'] = '16|17|18'; + window['$testCafeReactSelector'] = selectorReact16to18; + window['$testCafeReact16to18Roots'] = rootEls; + window['$testCafeReact16to18RootContainers'] = rootContainers; - foundDOMNodes = selectorReact16or17(selector, false); + foundDOMNodes = selectorReact16to18(selector, false); } visitedRootEls = []; @@ -65,14 +66,14 @@ export const ReactSelector = Selector(selector => { if(foundDOMNodes) return foundDOMNodes; - throw new Error("React component tree is not loaded yet or the current React version is not supported. This module supports React version 15.x and newer. To wait until the React's component tree is loaded, add the `waitForReact` method to fixture's `beforeEach` hook."); + throw new Error("React component tree is not loaded yet or the current React version is not supported. This module supports React version 16.x and newer. To wait until the React's component tree is loaded, add the `waitForReact` method to fixture's `beforeEach` hook."); }).addCustomMethods({ getReact: (node, fn) => { const reactVersion = window['%testCafeReactVersion%']; const reactUtils = window['%testCafeReactSelectorUtils%'][reactVersion]; delete window['%testCafeReactVersion%']; - + return reactUtils.getReact(node, fn); } }).addCustomMethods({ @@ -127,9 +128,9 @@ export const ReactSelector = Selector(selector => { } return true; - } + } - const reactVersion = window['%testCafeReactVersion%']; + const reactVersion = window['%testCafeReactVersion%']; let filterProps = {}; let options = null; @@ -209,7 +210,7 @@ export const ReactSelector = Selector(selector => { findReact: (nodes, selector) => { const reactVersion = window['%testCafeReactVersion%']; - const reactUtils = window['%testCafeReactSelectorUtils%'][reactVersion]; + const reactUtils = window['%testCafeReactSelectorUtils%'][reactVersion]; let componentInstances = null; let scanDOMNodeForReactComponent = reactUtils.scanDOMNodeForReactComponent; diff --git a/src/react-16-17/get-root-els.js b/src/react-16-17/get-root-els.js deleted file mode 100644 index 6b50918..0000000 --- a/src/react-16-17/get-root-els.js +++ /dev/null @@ -1,24 +0,0 @@ -/*global document*/ - -/*eslint-disable no-unused-vars*/ -function getRootElsReact16or17 (el) { - el = el || document.body; - - let rootEls = []; - - if (el._reactRootContainer) { - const rootContainer = el._reactRootContainer._internalRoot || el._reactRootContainer; - - rootEls.push(rootContainer.current.child); - } - - const children = el.children; - - for (let index = 0; index < children.length; ++index) { - const child = children[index]; - - rootEls = rootEls.concat(getRootElsReact16or17(child)); - } - - return rootEls; -} diff --git a/src/react-16-18/get-root-els.js b/src/react-16-18/get-root-els.js new file mode 100644 index 0000000..e2ac4b7 --- /dev/null +++ b/src/react-16-18/get-root-els.js @@ -0,0 +1,39 @@ +/*global document*/ + +/*eslint-disable no-unused-vars*/ +function getRootElsReact16to18 (el) { + el = el || document.body; + + let rootEls = []; + + if (el._reactRootContainer) { + const rootContainer = el._reactRootContainer._internalRoot || el._reactRootContainer; + + rootEls.push(rootContainer.current.child); + } + + else { + //NOTE: approach for React 18 createRoot API + for (var prop of Object.keys(el)) { + if (!/^__reactContainer/.test(prop)) continue; + + //NOTE: component and its alternate version has the same stateNode, but stateNode has the link to rendered version in the 'current' field + const component = el[prop].stateNode.current; + + rootEls.push(component); + + break; + } + } + + const children = el.children; + + for (let index = 0; index < children.length; ++index) { + const child = children[index]; + + rootEls = rootEls.concat(getRootElsReact16to18(child)); + + } + + return rootEls; +} diff --git a/src/react-16-17/index.js b/src/react-16-18/index.js similarity index 91% rename from src/react-16-17/index.js rename to src/react-16-18/index.js index b2e695e..2b81ace 100644 --- a/src/react-16-17/index.js +++ b/src/react-16-18/index.js @@ -1,10 +1,10 @@ /*global window document Node rootEls defineSelectorProperty visitedRootEls checkRootNodeVisited*/ /*eslint-disable no-unused-vars*/ -function react16or17Selector (selector, renderedRootIsUnknown, parents = rootEls) { +function react16to18Selector (selector, renderedRootIsUnknown, parents = rootEls) { window['%testCafeReactFoundComponents%'] = []; - const { getRenderedComponentVersion } = window['%testCafeReactSelectorUtils%']['16|17']; + const { getRenderedComponentVersion } = window['%testCafeReactSelectorUtils%']['16|17|18']; /*eslint-enable no-unused-vars*/ function createAnnotationForEmptyComponent (component) { @@ -23,16 +23,21 @@ function react16or17Selector (selector, renderedRootIsUnknown, parents = rootEls //react memo // it will find the displayName on the elementType if you set it if (component.elementType && component.elementType.displayName) return component.elementType.displayName; - - + + if (!component.type && !component.memoizedState) return null; const currentElement = component.type ? component : component.memoizedState.element; + //NOTE: React.StrictMode + // if (currentElement && typeof currentElement.type === 'symbol') return 'React_Service_Component'; + //NOTE: tag - if (typeof component.type === 'string') return component.type; - if (component.type.displayName || component.type.name) return component.type.displayName || component.type.name; + if (component.type) { + if (typeof component.type === 'string') return component.type; + if (component.type.displayName || component.type.name) return component.type.displayName || component.type.name; + } const matches = currentElement.type.toString().match(/^function\s*([^\s(]+)/); diff --git a/src/react-16-17/react-utils.js b/src/react-16-18/react-utils.js similarity index 97% rename from src/react-16-17/react-utils.js rename to src/react-16-18/react-utils.js index 6768cc1..24176ee 100644 --- a/src/react-16-17/react-utils.js +++ b/src/react-16-18/react-utils.js @@ -93,7 +93,7 @@ } function getRenderedComponentVersion (component) { - const rootContainers = window['$testCafeReact16or17RootContainers']; + const rootContainers = window['$testCafeReact16to18RootContainers']; if (!component.alternate) return component; @@ -109,7 +109,7 @@ } function scanDOMNodeForReactComponent (domNode) { - const rootInstances = window['$testCafeReact16or17Roots'].map(rootEl => rootEl.return || rootEl); + const rootInstances = window['$testCafeReact16to18Roots'].map(rootEl => rootEl.return || rootEl); const reactInstance = scanDOMNodeForReactInstance(domNode); return getRenderedComponentVersion(reactInstance); diff --git a/src/wait-for-react.js b/src/wait-for-react.js index 32c1692..65b28b0 100644 --- a/src/wait-for-react.js +++ b/src/wait-for-react.js @@ -10,12 +10,18 @@ function waitForReact (timeout, testController) { const CHECK_INTERVAL = 200; let stopChecking = false; - function findReact16or17Root () { + function findReact16to18Root () { const treeWalker = document.createTreeWalker(document, NodeFilter.SHOW_ELEMENT, null, false); - while (treeWalker.nextNode()) + while (treeWalker.nextNode()) { + //NOTE: fast check for 16 and 17 react if (treeWalker.currentNode.hasOwnProperty('_reactRootContainer')) return true; + //NOTE: react 18 + for (const prop of Object.keys(treeWalker.currentNode)) + if (/^__reactContainer/.test(prop)) return true; + } + return false; } @@ -28,9 +34,9 @@ function waitForReact (timeout, testController) { function findReactApp () { const isReact15OrStaticRender = findReact15OrStaticRenderedRoot(); - const isReact16or17WithHandlers = !!Object.keys(document).filter(prop => /^_reactListenersID|^_reactEvents/.test(prop)).length; + const isReact16to18WithHandlers = !!Object.keys(document).filter(prop => /^_reactListenersID|^_reactEvents/.test(prop)).length; - return isReact15OrStaticRender || isReact16or17WithHandlers || findReact16or17Root(); + return isReact15OrStaticRender || isReact16to18WithHandlers || findReact16to18Root(); } return new Promise((resolve, reject) => { diff --git a/test/data/app/index-react-16.html b/test/data/app/index-react-16.html new file mode 100644 index 0000000..fc5731c --- /dev/null +++ b/test/data/app/index-react-16.html @@ -0,0 +1,15 @@ + + + + + + Test App + + +
+ +
+ + + + diff --git a/test/data/app/index-react-17.html b/test/data/app/index-react-17.html new file mode 100644 index 0000000..bb28957 --- /dev/null +++ b/test/data/app/index-react-17.html @@ -0,0 +1,15 @@ + + + + + + Test App + + +
+ +
+ + + + diff --git a/test/data/app/index-react-18.html b/test/data/app/index-react-18.html new file mode 100644 index 0000000..4227de5 --- /dev/null +++ b/test/data/app/index-react-18.html @@ -0,0 +1,15 @@ + + + + + + Test App + + +
+ +
+ + + + diff --git a/test/data/app/index.html b/test/data/app/index.html new file mode 100644 index 0000000..eb2a282 --- /dev/null +++ b/test/data/app/index.html @@ -0,0 +1,17 @@ + + + + + + Test App + + + + + diff --git a/test/data/page-without-react.html b/test/data/app/page-without-react.html similarity index 100% rename from test/data/page-without-react.html rename to test/data/app/page-without-react.html diff --git a/test/data/app/root-pure-component.html b/test/data/app/root-pure-component.html new file mode 100644 index 0000000..0e58f2d --- /dev/null +++ b/test/data/app/root-pure-component.html @@ -0,0 +1,10 @@ + + + + Test App + + +
+ + + diff --git a/test/data/app/src/app-old-versions.jsx b/test/data/app/src/app-old-versions.jsx new file mode 100644 index 0000000..9864d07 --- /dev/null +++ b/test/data/app/src/app-old-versions.jsx @@ -0,0 +1,311 @@ + +export default function AppFactory(React, ReactDOM) { + class ListItem extends React.Component { + constructor (props) { + super(); + + this.state = { + itemId: props.id + } + } + + render () { + return
  • {this.props.id} text

  • ; + } + } + + class List extends React.Component { + constructor () { + super(); + + this.state = { isActive: false }; + + this._onClick = this._onClick.bind(this); + } + + _onClick () { + this.setState({ isActive: true }); + } + + render () { + return ( +
    + List: {this.props.id} +
      + + + +
    +
    + ); + } + } + + class TextLabel extends React.Component { + constructor () { + super(); + + this.state = { + text: 'Component inside of wrapper component' + } + } + + render () { + return
    {this.state.text}
    ; + } + } + + class WrapperComponent extends React.Component { + constructor () { + super(); + + this.state = { width: 100 }; + } + + render () { + return ; + } + } + + class EmptyComponent extends React.Component { + constructor () { + super(); + + this.state = { + id: 1, + text: null + }; + } + + render () { + return this.state.text; + } + } + + class Portal extends React.Component { + constructor () { + super(); + + this.container = document.createElement('div'); + this.state = { width: 100 }; + + document.body.appendChild(this.container); + } + + _renderPortal () { + ReactDOM.unstable_renderSubtreeIntoContainer( + this, + , + this.container + ); + } + + componentDidMount () { + this._renderPortal(); + } + + render () { + return null; + } + } + + class PortalReact16 extends React.Component { + constructor () { + super(); + + this.container = document.createElement('div'); + this.state = { width: 100 }; + } + + componentDidMount () { + document.body.appendChild(this.container); + } + + render () { + if (!ReactDOM.createPortal) return null; + + return ReactDOM.createPortal( + , + this.container + ); + } + } + + class PureComponent extends React.PureComponent { + constructor () { + super(); + } + + render () { + return PureComponent; + } + } + + class PortalWithPureComponent extends React.Component { + constructor () { + super(); + + this.container = document.createElement('div'); + + document.body.appendChild(this.container); + } + + _renderPortal () { + ReactDOM.unstable_renderSubtreeIntoContainer( + this, + , + this.container + ); + } + + componentDidMount () { + this._renderPortal(); + } + + render () { + return null; + } + } + + const Stateless_1 = function Stateless1 (props) { + return
    {props.text}
    ; + }; + + const Stateless_2 = function Stateless2 () { + return
    test
    ; + }; + + const Stateless3 = function (props) { + return
    {props.text}
    ; + }; + + const Stateless_4 = function Stateless4 () { + return null; + }; + + class SmartComponent extends React.Component { + constructor () { + super(); + + this.state = { + text: 'Disabled' + }; + + this._onClick = this._onClick.bind(this); + } + + _onClick () { + const newText = this.state.text === 'Enabled' ? 'Disabled' : 'Enabled'; + + this.setState({ text: newText }); + } + + render () { + return
    ; + } + } + + const SetItemLabel = ({ text }) => {text} ; + const SetItem = ({ text }) => text ? : null; + + class UnfilteredSet extends React.Component { + render () { + return (
    + + + + + +
    ); + } + } + + class UnfilteredSet_PartialMatching extends React.Component { + render () { + const prop1_1 = { + obj: { + field1: 1, + field2: 2, + field3: { + subField1: 1, + subField2: 2 + } + } + }; + + const prop1_2 = { + obj: { + field1: 1, + field2: 0, + field3: { + subField1: 1, + subField2: 0 + } + } + }; + + return (
    + + + +
    ); + } + } + + function NestedApp () { + return ; + }; + + const ToMemoize = ({ text }) =>
    {text}
    ; + const Memoized = React.memo ? React.memo(ToMemoize) : ToMemoize; + + Memoized.displayName = 'Memoized'; + + class App extends React.Component { + constructor () { + super(); + + this.state = { + isRootComponent: true + }; + } + + render () { + return ( +
    +
    +
    + +
    +
    +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    +
    + ); + } + } + + return { App, NestedApp }; +}; diff --git a/test/data/app/src/app.jsx b/test/data/app/src/app.jsx new file mode 100644 index 0000000..22c07cd --- /dev/null +++ b/test/data/app/src/app.jsx @@ -0,0 +1,230 @@ +import React from 'react'; + +/*global React ReactDOM*/ + +class ListItem extends React.Component { + constructor (props) { + super(); + + this.state = { + itemId: props.id + } + } + + render () { + return
  • {this.props.id} text

  • ; + } +} + +class List extends React.Component { + constructor () { + super(); + + this.state = { isActive: false }; + + this._onClick = this._onClick.bind(this); + } + + _onClick () { + this.setState({ isActive: true }); + } + + render () { + return ( +
    + List: {this.props.id} +
      + + + +
    +
    + ); + } +} + +class TextLabel extends React.Component { + constructor () { + super(); + + this.state = { + text: 'Component inside of wrapper component' + } + } + + render () { + return
    {this.state.text}
    ; + } +} + +class WrapperComponent extends React.Component { + constructor () { + super(); + + this.state = { width: 100 }; + } + + render () { + return ; + } +} + +class EmptyComponent extends React.Component { + constructor () { + super(); + + this.state = { + id: 1, + text: null + }; + } + + render () { + return this.state.text; + } +} + +class PureComponent extends React.PureComponent { + constructor () { + super(); + } + + render () { + return PureComponent; + } +} + +const Stateless_1 = function Stateless1 (props) { + return
    {props.text}
    ; +}; + +const Stateless_2 = function Stateless2 () { + return
    test
    ; +}; + +const Stateless3 = function (props) { + return
    {props.text}
    ; +}; + +const Stateless_4 = function Stateless4 () { + return null; +}; + +class SmartComponent extends React.Component { + constructor () { + super(); + + this.state = { + text: 'Disabled' + }; + + this._onClick = this._onClick.bind(this); + } + + _onClick () { + const newText = this.state.text === 'Enabled' ? 'Disabled' : 'Enabled'; + + this.setState({ text: newText }); + } + + render () { + return
    ; + } +} + +const SetItemLabel = ({ text }) => {text} ; +const SetItem = ({ text }) => text ? : null; + +class UnfilteredSet extends React.Component { + render () { + return (
    + + + + + +
    ); + } +} + +class UnfilteredSet_PartialMatching extends React.Component { + render () { + const prop1_1 = { + obj: { + field1: 1, + field2: 2, + field3: { + subField1: 1, + subField2: 2 + } + } + }; + + const prop1_2 = { + obj: { + field1: 1, + field2: 0, + field3: { + subField1: 1, + subField2: 0 + } + } + }; + + return (
    + + + +
    ); + } +} + +export function NestedApp () { + return ; +}; + +const ToMemoize = ({ text }) =>
    {text}
    ; +const Memoized = React.memo ? React.memo(ToMemoize) : ToMemoize; + +Memoized.displayName = 'Memoized'; + +export class App extends React.Component { + constructor () { + super(); + + this.state = { + isRootComponent: true + }; + } + + render () { + return ( +
    +
    +
    + +
    +
    +
    +
    + +
    +
    + + + + + + + + + + + + + +
    +
    + ); + } +} diff --git a/test/data/app/src/main-react-16.jsx b/test/data/app/src/main-react-16.jsx new file mode 100644 index 0000000..4e9ec4c --- /dev/null +++ b/test/data/app/src/main-react-16.jsx @@ -0,0 +1,8 @@ +import React from 'react16'; +import ReactDOM from 'react-dom16'; +import AppFactory from './app-old-versions'; + +const { App, NestedApp } = AppFactory(React, ReactDOM); + +ReactDOM.render(React.createElement(App, { label: 'AppLabel' }), document.getElementById('app-container')); +ReactDOM.render(React.createElement(NestedApp, { label: 'NestedAppLabel' }), document.getElementById('nestedapp-container')); \ No newline at end of file diff --git a/test/data/app/src/main-react-17.jsx b/test/data/app/src/main-react-17.jsx new file mode 100644 index 0000000..8e63975 --- /dev/null +++ b/test/data/app/src/main-react-17.jsx @@ -0,0 +1,8 @@ +import React from 'react17'; +import ReactDOM from 'react-dom17'; +import AppFactory from './app-old-versions'; + +const { App, NestedApp } = AppFactory(React, ReactDOM); + +ReactDOM.render(React.createElement(App, { label: 'AppLabel' }), document.getElementById('app-container')); +ReactDOM.render(React.createElement(NestedApp, { label: 'NestedAppLabel' }), document.getElementById('nestedapp-container')); \ No newline at end of file diff --git a/test/data/app/src/main-react-18.jsx b/test/data/app/src/main-react-18.jsx new file mode 100644 index 0000000..299f977 --- /dev/null +++ b/test/data/app/src/main-react-18.jsx @@ -0,0 +1,16 @@ +import React from 'react'; +import ReactDOM from 'react-dom/client'; +import { App, NestedApp } from './app'; + +ReactDOM.createRoot(document.getElementById('app-container')).render( + + + +); + +//NOTE: react 18 does not have a render callback +setTimeout(() => { + ReactDOM.createRoot(document.getElementById('nestedapp-container')).render( + + ); +}, 0); diff --git a/test/data/src/root-pure-component.jsx b/test/data/app/src/root-pure-component.jsx similarity index 73% rename from test/data/src/root-pure-component.jsx rename to test/data/app/src/root-pure-component.jsx index 45c6c4b..bcc29a8 100644 --- a/test/data/src/root-pure-component.jsx +++ b/test/data/app/src/root-pure-component.jsx @@ -1,4 +1,6 @@ -/*global React ReactDOM*/ +import React from 'react'; +import ReactDOM from 'react-dom/client'; + class PureComponent extends React.PureComponent { constructor () { super(); @@ -27,5 +29,6 @@ class App extends React.PureComponent { } } - -ReactDOM.render(, document.getElementById('app-container')); \ No newline at end of file +ReactDOM.createRoot(document.getElementById('app-container')).render( + +); \ No newline at end of file diff --git a/test/data/src/stateless-root.jsx b/test/data/app/src/stateless-root.jsx similarity index 67% rename from test/data/src/stateless-root.jsx rename to test/data/app/src/stateless-root.jsx index 0e00eae..6c000ec 100644 --- a/test/data/src/stateless-root.jsx +++ b/test/data/app/src/stateless-root.jsx @@ -1,4 +1,6 @@ -/*global React ReactDOM*/ +import React from 'react'; +import ReactDOM from 'react-dom/client'; + class PureComponent extends React.PureComponent { constructor () { super(); @@ -21,4 +23,6 @@ const App = () => { ); }; -ReactDOM.render(, document.getElementById('app-container')); \ No newline at end of file +ReactDOM.createRoot(document.getElementById('app-container')).render( + +); \ No newline at end of file diff --git a/test/data/app/stateless-root.html b/test/data/app/stateless-root.html new file mode 100644 index 0000000..1137e7b --- /dev/null +++ b/test/data/app/stateless-root.html @@ -0,0 +1,10 @@ + + + + Test App + + +
    + + + diff --git a/test/data/index.html b/test/data/index.html deleted file mode 100644 index 118dd28..0000000 --- a/test/data/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - -
    - -
    - - diff --git a/test/data/root-pure-component.html b/test/data/root-pure-component.html deleted file mode 100644 index 495d53d..0000000 --- a/test/data/root-pure-component.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - -
    - - diff --git a/test/data/src/.babelrc b/test/data/src/.babelrc deleted file mode 100644 index 0d4ed99..0000000 --- a/test/data/src/.babelrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "compact": false, - "presets": [ - "@babel/preset-react", - ["@babel/preset-env", { - "targets": { - "browsers": ["last 2 versions","IE>=11"] - } - }] - ] -} \ No newline at end of file diff --git a/test/data/src/app.jsx b/test/data/src/app.jsx deleted file mode 100644 index 8dbc2e3..0000000 --- a/test/data/src/app.jsx +++ /dev/null @@ -1,311 +0,0 @@ -/*global React ReactDOM*/ -class ListItem extends React.Component { - constructor (props) { - super(); - - this.state = { - itemId: props.id - } - } - - render () { - return
  • {this.props.id} text

  • ; - } -} - -class List extends React.Component { - constructor () { - super(); - - this.state = { isActive: false }; - - this._onClick = this._onClick.bind(this); - } - - _onClick () { - this.setState({ isActive: true }); - } - - render () { - return ( -
    - List: {this.props.id} -
      - - - -
    -
    - ); - } -} - -class TextLabel extends React.Component { - constructor () { - super(); - - this.state = { - text: 'Component inside of wrapper component' - } - } - - render () { - return
    {this.state.text}
    ; - } -} - -class WrapperComponent extends React.Component { - constructor () { - super(); - - this.state = { width: 100 }; - } - - render () { - return ; - } -} - -class EmptyComponent extends React.Component { - constructor () { - super(); - - this.state = { - id: 1, - text: null - }; - } - - render () { - return this.state.text; - } -} - -class Portal extends React.Component { - constructor () { - super(); - - this.container = document.createElement('div'); - this.state = { width: 100 }; - - document.body.appendChild(this.container); - } - - _renderPortal () { - ReactDOM.unstable_renderSubtreeIntoContainer( - this, - , - this.container - ); - } - - componentDidMount () { - this._renderPortal(); - } - - render () { - return null; - } -} - -class PortalReact16 extends React.Component { - constructor () { - super(); - - this.container = document.createElement('div'); - this.state = { width: 100 }; - } - - componentDidMount () { - document.body.appendChild(this.container); - } - - render () { - if (!ReactDOM.createPortal) return null; - - return ReactDOM.createPortal( - , - this.container - ); - } -} - -class PureComponent extends React.PureComponent { - constructor () { - super(); - } - - render () { - return PureComponent; - } -} - -class PortalWithPureComponent extends React.Component { - constructor () { - super(); - - this.container = document.createElement('div'); - - document.body.appendChild(this.container); - } - - _renderPortal () { - ReactDOM.unstable_renderSubtreeIntoContainer( - this, - , - this.container - ); - } - - componentDidMount () { - this._renderPortal(); - } - - render () { - return null; - } -} - -const Stateless1 = function Stateless1 (props) { - return
    {props.text}
    ; -}; - -const Stateless2 = function Stateless2 () { - return
    test
    ; -}; - -const Stateless3 = function (props) { - return
    {props.text}
    ; -}; - -const Stateless4 = function Stateless4 () { - return null; -}; - -class SmartComponent extends React.Component { - constructor () { - super(); - - this.state = { - text: 'Disabled' - }; - - this._onClick = this._onClick.bind(this); - } - - _onClick () { - const newText = this.state.text === 'Enabled' ? 'Disabled' : 'Enabled'; - - this.setState({ text: newText }); - } - - render () { - return
    ; - } -} - -const SetItemLabel = ({ text }) => {text} ; -const SetItem = ({ text }) => text ? : null; - -class UnfilteredSet extends React.Component { - render () { - return (
    - - - - - -
    ); - } -} - -class UnfilteredSet_PartialMatching extends React.Component { - render () { - const prop1_1 = { - obj: { - field1: 1, - field2: 2, - field3: { - subField1: 1, - subField2: 2 - } - } - }; - - const prop1_2 = { - obj: { - field1: 1, - field2: 0, - field3: { - subField1: 1, - subField2: 0 - } - } - }; - - return (
    - - - -
    ); - } -} - -const NestedApp = function NestedApp () { - return ; -}; - -const ToMemoize = ({ text }) =>
    {text}
    ; -const Memoized = React.memo ? React.memo(ToMemoize) : ToMemoize; - -Memoized.displayName = 'Memoized'; - -class App extends React.Component { - constructor () { - super(); - - this.state = { - isRootComponent: true - }; - } - - render () { - return ( -
    -
    -
    - -
    -
    -
    -
    - -
    -
    - - - - - - - - - - - - - - - - - - -
    -
    - ); - } -} - -ReactDOM.render(React.createElement(App, { label: 'AppLabel' }), document.getElementById('app-container')); -ReactDOM.render(React.createElement(NestedApp, { label: 'NestedAppLabel' }), document.getElementById('nestedapp-container')); - diff --git a/test/data/stateless-root.html b/test/data/stateless-root.html deleted file mode 100644 index e51cc04..0000000 --- a/test/data/stateless-root.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - -
    - - diff --git a/test/data/vendor/react-15/react-dom.js b/test/data/vendor/react-15/react-dom.js deleted file mode 100644 index 0fa75cf..0000000 --- a/test/data/vendor/react-15/react-dom.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * ReactDOM v15.2.1 - * - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e(require("react"));else if("function"==typeof define&&define.amd)define(["react"],e);else{var f;f="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,f.ReactDOM=e(f.React)}}(function(e){return e.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED}); \ No newline at end of file diff --git a/test/data/vendor/react-15/react.js b/test/data/vendor/react-15/react.js deleted file mode 100644 index 157643b..0000000 --- a/test/data/vendor/react-15/react.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * React (with addons) v15.3.0 - * - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.React=e()}}(function(){return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a8&&T<=11),N=32,w=String.fromCharCode(N),S=f.topLevelTypes,k={beforeInput:{phasedRegistrationNames:{bubbled:C({onBeforeInput:null}),captured:C({onBeforeInputCapture:null})},dependencies:[S.topCompositionEnd,S.topKeyPress,S.topTextInput,S.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:C({onCompositionEnd:null}),captured:C({onCompositionEndCapture:null})},dependencies:[S.topBlur,S.topCompositionEnd,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:C({onCompositionStart:null}),captured:C({onCompositionStartCapture:null})},dependencies:[S.topBlur,S.topCompositionStart,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:C({onCompositionUpdate:null}),captured:C({onCompositionUpdateCapture:null})},dependencies:[S.topBlur,S.topCompositionUpdate,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]}},M=!1,R=null,A={eventTypes:k,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};t.exports=A},{107:107,111:111,155:155,16:16,173:173,20:20,21:21}],3:[function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!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},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){i.forEach(function(t){o[r(t,e)]=o[e]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:a};t.exports=s},{}],4:[function(e,t,n){"use strict";var r=e(3),o=e(155),i=(e(72),e(157),e(125)),a=e(168),s=e(175),u=(e(177),s(function(e){return a(e)})),l=!1,c="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(e){l=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var d={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=u(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),s)o[a]=s;else{var u=l&&r.shorthandPropertyExpansions[a];if(u)for(var p in u)o[p]="";else o[a]=""}}}};t.exports=d},{125:125,155:155,157:157,168:168,175:175,177:177,3:3,72:72}],5:[function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=e(144),i=e(178),a=e(26);e(169);i(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n8));var L=!1;_.canUseDOM&&(L=N("input")&&(!("documentMode"in document)||document.documentMode>11));var U={get:function(){return D.get.call(this)},set:function(e){O=""+e,D.set.call(this,e)}},F={eventTypes:M,extractEvents:function(e,t,n,o){var i,a,s=t?E.getNodeFromInstance(t):window;if(r(s)?I?i=u:a=l:w(s)?L?i=f:(i=m,a=h):v(s)&&(i=g),i){var c=i(e,t);if(c){var p=x.getPooled(M.change,c,n,o);return p.type="change",b.accumulateTwoPhaseDispatches(p),p}}a&&a(e,s,t)}};t.exports=F},{109:109,133:133,140:140,141:141,155:155,16:16,17:17,173:173,20:20,44:44,98:98}],7:[function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){c.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):v(e,t,n)}function a(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],u(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var i=o.nextSibling;if(v(e,o,r),o===n)break;o=i}}function u(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function l(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&v(r,document.createTextNode(n),o):n?(m(o,n),u(r,o,t)):u(r,e,t)}var c=e(8),p=e(12),d=e(77),f=(e(44),e(72),e(124)),h=e(146),m=e(147),v=f(function(e,t,n){e.insertBefore(t,n)}),g=p.dangerouslyReplaceNodeWithMarkup,y={dangerouslyReplaceNodeWithMarkup:g,replaceDelimitedText:l,processUpdates:function(e,t){for(var n=0;n-1?void 0:a("96",e),!l.plugins[n]){t.extractEvents?void 0:a("97",e),l.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){l.registrationNameModules[e]?a("100",e):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=e(144),s=(e(169),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=l},{144:144,169:169}],19:[function(e,t,n){"use strict";function r(e){return e===y.topMouseUp||e===y.topTouchEnd||e===y.topTouchCancel}function o(e){return e===y.topMouseMove||e===y.topTouchMove}function i(e){return e===y.topMouseDown||e===y.topTouchStart}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=C.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(o,n,e):v.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},{137:137,178:178,26:26}],22:[function(e,t,n){"use strict";var r=e(10),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,l={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};t.exports=l},{10:10}],23:[function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var i={escape:r,unescape:o};t.exports=i},{}],24:[function(e,t,n){"use strict";var r=e(73),o=e(93),i={linkState:function(e){return new r(this.state[e],o.createStateKeySetter(this,e))}};t.exports=i},{73:73,93:93}],25:[function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function o(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function i(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=e(144),u=e(83),l=e(82),c=e(84),p=(e(169),e(177),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||p[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:u.func},f={},h={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var o=d[r](t,r,e,l.prop,null,c);o instanceof Error&&!(o.message in f)&&(f[o.message]=!0,a(n))}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=h},{144:144,169:169,177:177,82:82,83:83,84:84}],26:[function(e,t,n){"use strict";var r=e(144),o=(e(169),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},u=function(e,t,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,r,o),a}return new i(e,t,n,r,o)},l=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=null,this._domID=null,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=e(144),v=e(178),g=e(1),y=e(4),C=e(8),b=e(9),_=e(10),E=e(11),T=e(16),x=e(17),P=e(18),N=e(28),w=e(35),S=e(41),k=e(43),M=e(44),R=e(50),A=e(52),O=e(53),D=e(57),I=(e(72),e(76)),L=e(91),U=(e(161),e(126)),F=(e(169),e(140),e(173)),j=(e(176),e(152),e(177),k),V=x.deleteListener,B=M.getNodeFromInstance,W=N.listenTo,H=P.registrationNameModules,q={string:!0,number:!0},K=F({style:null}),Y=F({__html:null}),z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},G=11,Q={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},X={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},$={listing:!0,pre:!0,textarea:!0},Z=v({menuitem:!0},X),J=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ee={},te={}.hasOwnProperty,ne=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=ne++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"button":i=S.getHostProps(this,i,t);break;case"input":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":A.mountWrapper(this,i,t),i=A.getHostProps(this,i);break;case"select":O.mountWrapper(this,i,t),i=O.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":D.mountWrapper(this,i,t),i=D.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,p;null!=t?(a=t._namespaceURI,p=t._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===b.svg&&"foreignobject"===p)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var d;if(e.useCreateElement){var f,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+">",f=m.removeChild(m.firstChild)}else f=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else f=h.createElementNS(a,this._currentElement.type);M.precacheNode(this,f),this._flags|=j.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=C(f);this._createInitialChildren(e,i,r,y),d=y}else{var _=this._createOpenTagMarkupAndPutListeners(e,i),T=this._createContentMarkup(e,i,r);d=!T&&X[this._tag]?_+"/>":_+">"+T+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(l,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(H.hasOwnProperty(r))o&&i(this,r,o,e);else{r===K&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&f(this._tag,t)?z.hasOwnProperty(r)||(a=E.createMarkupForCustomAttribute(r,o)):a=E.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=q[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=U(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return $[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&C.queueHTML(r,o.__html);else{var i=q[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)C.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),u=0;u"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),t.exports=a},{178:178,44:44,8:8}],47:[function(e,t,n){"use strict";function r(e){return o.createFactory(e)}var o=e(61),i=e(174),a=i({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul",var:"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);t.exports=a},{174:174,61:61}],48:[function(e,t,n){"use strict";var r={useCreateElement:!0};t.exports=r},{}],49:[function(e,t,n){"use strict";var r=e(7),o=e(44),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};t.exports=i},{44:44,7:7}],50:[function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);p.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=c.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;dt.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=l(e,o),u=l(e,i);if(s&&u){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(u.node,u.offset)):(p.setEnd(u.node,u.offset),n.addRange(p))}}}var u=e(155),l=e(136),c=e(137),p=u.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?o:i,setOffsets:p?a:s};t.exports=d},{136:136,137:137,155:155}],55:[function(e,t,n){"use strict";var r=e(60),o=e(90),i=e(99);r.inject();var a={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:i};t.exports=a},{60:60,90:90,99:99}],56:[function(e,t,n){"use strict";var r=e(144),o=e(178),i=e(7),a=e(8),s=e(44),u=(e(72),e(126)),l=(e(169),e(152),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=null,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(l.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",l=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,p=c.createComment(i),d=c.createComment(l),f=a(c.createDocumentFragment());return a.queueChild(f,a(p)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(d)),s.precacheNode(this,p),this._closingComment=d,f}var h=u(this._stringText);return e.renderToStaticMarkup?h:""+h+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=l},{126:126,144:144,152:152,169:169,178:178,44:44,7:7,72:72,8:8}],57:[function(e,t,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);return c.asap(r,this),n}var i=e(144),a=e(178),s=e(14),u=e(25),l=e(44),c=e(98),p=(e(169),e(177),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},s.getHostProps(e,t),{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=u.getValue(t),r=n;if(null==n){var a=t.defaultValue,s=t.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e),r=u.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=l.getNodeFromInstance(e);t.value=t.textContent}});t.exports=p},{14:14,144:144,169:169,177:177,178:178,25:25,44:44,98:98}],58:[function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:u("33"),"_hostNode"in t?void 0:u("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:u("35"),"_hostNode"in t?void 0:u("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:u("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],!1,n);for(o=0;o0;)n(u[l],!1,i)}var u=e(144);e(169);t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},{144:144,169:169}],59:[function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=e(178),i=e(98),a=e(118),s=e(161),u={initialize:s,close:function(){d.isBatchingUpdates=!1}},l={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[l,u];o(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=d.isBatchingUpdates;d.isBatchingUpdates=!0,a?e(t,n,r,o,i):p.perform(e,null,t,n,r,o,i)}};t.exports=d},{118:118,161:161,178:178,98:98}],60:[function(e,t,n){"use strict";function r(){E||(E=!0,g.EventEmitter.injectReactEventListener(v),g.EventPluginHub.injectEventPluginOrder(a),g.EventPluginUtils.injectComponentTree(p),g.EventPluginUtils.injectTreeTraversal(f),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:_,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:b,BeforeInputEventPlugin:o}),g.HostComponent.injectGenericComponentClass(c),g.HostComponent.injectTextComponentClass(h),g.DOMProperty.injectDOMPropertyConfig(u),g.DOMProperty.injectDOMPropertyConfig(C),g.EmptyComponent.injectEmptyComponentFactory(function(e){return new d(e)}),g.Updates.injectReconcileTransaction(y),g.Updates.injectBatchingStrategy(m),g.Component.injectEnvironment(l))}var o=e(2),i=e(6),a=e(13),s=e(15),u=e(22),l=e(35),c=e(42),p=e(44),d=e(46),f=e(58),h=e(56),m=e(59),v=e(65),g=e(69),y=e(86),C=e(102),b=e(103),_=e(104),E=!1;t.exports={inject:r}},{102:102,103:103,104:104,13:13,15:15,2:2,22:22,35:35,42:42,44:44,46:46,56:56,58:58,59:59,6:6,65:65,69:69,86:86}],61:[function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=e(178),a=e(39),s=(e(177),e(122),Object.prototype.hasOwnProperty),u="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,l={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};c.createElement=function(e,t,n){var i,u={},p=null,d=null,f=null,h=null;if(null!=t){r(t)&&(d=t.ref),o(t)&&(p=""+t.key),f=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!l.hasOwnProperty(i)&&(u[i]=t[i])}var m=arguments.length-2;if(1===m)u.children=n;else if(m>1){for(var v=Array(m),g=0;g1){for(var C=Array(y),b=0;b/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};t.exports=a},{121:121}],75:[function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=C(U,null,null,null,null,null,t);if(e){var u=_.get(e);a=u._processChildContext(u._context)}else a=N;var c=p(n);if(c){var f=c._currentElement,h=f.props;if(k(h,t)){var m=c._renderedComponent.getPublicInstance(),v=r&&function(){r.call(m)};return F._updateRootComponent(c,s,a,n,v),m}F.unmountComponentAtNode(n)}var g=o(n),y=g&&!!i(g),b=l(n),E=y&&!c&&!b,T=F._renderNewRootComponent(s,n,E,a)._renderedComponent.getPublicInstance();return r&&r.call(T),T},render:function(e,t,n){return F._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){!e||e.nodeType!==A&&e.nodeType!==O&&e.nodeType!==D?d("40"):void 0;var t=p(e);return t?(delete I[t._instance.rootID],P.batchedUpdates(u,t,e,!1),!0):(l(e),1===e.nodeType&&e.hasAttribute(R),!1)},_mountImageIntoNode:function(e,t,n,i,a){if(!t||t.nodeType!==A&&t.nodeType!==O&&t.nodeType!==D?d("41"):void 0,i){var s=o(t);if(E.canReuseMarkup(e,s))return void v.precacheNode(n,s);var u=s.getAttribute(E.CHECKSUM_ATTR_NAME);s.removeAttribute(E.CHECKSUM_ATTR_NAME);var l=s.outerHTML;s.setAttribute(E.CHECKSUM_ATTR_NAME,u);var c=e,p=r(c,l),h=" (client) "+c.substring(p-20,p+20)+"\n (server) "+l.substring(p-20,p+20);t.nodeType===O?d("42",h):void 0}if(t.nodeType===O?d("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);f.insertTreeBefore(t,e,null)}else S(t,e),v.precacheNode(n,t.firstChild)}};t.exports=F},{10:10,139:139,144:144,146:146,149:149,162:162,169:169,177:177,28:28,39:39,44:44,45:45,48:48,61:61,66:66,71:71,72:72,74:74,8:8,87:87,97:97,98:98}],76:[function(e,t,n){"use strict";function r(e,t,n){return{type:d.INSERT_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:d.MOVE_EXISTING,content:null,fromIndex:e._mountIndex,fromNode:f.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:d.REMOVE_NODE,content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:d.SET_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:d.TEXT_CONTENT,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e,t){return t&&(e=e||[],e.push(t)),e}function l(e,t){p.processChildrenUpdates(e,t)}var c=e(144),p=e(36),d=(e(71),e(72),e(77)),f=(e(39),e(87)),h=e(31),m=(e(161),e(128)),v=(e(169),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return h.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a;return a=m(t),h.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=f.mountComponent(s,t,this,this._hostContainerInfo,n);s._mountIndex=i++,o.push(u)}return o},updateTextContent:function(e){var t=this._renderedChildren;h.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];l(this,r)},updateMarkup:function(e){var t=this._renderedChildren;h.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[a(e)];l(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,c=null,p=0,d=0,h=0,m=null;for(s in a)if(a.hasOwnProperty(s)){var v=r&&r[s],g=a[s];v===g?(c=u(c,this.moveChild(v,m,p,d)),d=Math.max(v._mountIndex,d),v._mountIndex=p):(v&&(d=Math.max(v._mountIndex,d)),c=u(c,this._mountChildAtIndex(g,i[h],m,p,t,n)),h++),p++,m=f.getHostNode(g)}for(s in o)o.hasOwnProperty(s)&&(c=u(c,this._unmountChild(r[s],o[s])));c&&l(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;h.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex>"),N={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:a(),arrayOf:s,element:u(),instanceOf:l,node:f(),objectOf:p,oneOf:c,oneOfType:d,shape:h};t.exports=N},{135:135,161:161,177:177,61:61,81:81,84:84}],84:[function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=r},{}],85:[function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(){}var i=e(178),a=e(34),s=e(79),u=e(162);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},{162:162,178:178,34:34,79:79}],86:[function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=e(178),i=e(5),a=e(26),s=e(28),u=e(70),l=(e(72),e(118)),c=e(97),p={initialize:u.getSelectionInformation,close:u.restoreSelection},d={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},f={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[p,d,f],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,l.Mixin,m),a.addPoolingTo(r),t.exports=r},{118:118,178:178,26:26,28:28,5:5,70:70,72:72,97:97}],87:[function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=e(88),i=(e(72),e(177),{mountComponent:function(e,t,n,o,i){var a=e.mountComponent(t,n,o,i);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),a},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,i){var a=e._currentElement;if(t!==a||i!==e._context){var s=o.shouldUpdateRefs(a,t);s&&o.detachRefs(e,a),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});t.exports=i},{177:177,72:72,88:88}],88:[function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=e(80),a={};a.attachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null===e||e===!1,r=null===t||t===!1;return n||r||t.ref!==e.ref||"string"==typeof t.ref&&t._owner!==e._owner},a.detachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&o(n,e,t._owner)}},t.exports=a},{80:80}],89:[function(e,t,n){"use strict";var r={isBatchingUpdates:!1,batchedUpdates:function(e){}};t.exports=r},{}],90:[function(e,t,n){"use strict";function r(e,t){var n;try{return h.injection.injectBatchingStrategy(d),n=f.getPooled(t),g++,n.perform(function(){var r=v(e,!0),o=p.mountComponent(r,n,null,s(),m);return t||(o=c.addChecksumToMarkup(o)),o},null)}finally{g--,f.release(n),g||h.injection.injectBatchingStrategy(u)}}function o(e){return l.isValidElement(e)?void 0:a("46"),r(e,!1)}function i(e){return l.isValidElement(e)?void 0:a("47"),r(e,!0)}var a=e(144),s=e(45),u=e(59),l=e(61),c=(e(72),e(74)),p=e(87),d=e(89),f=e(91),h=e(98),m=e(162),v=e(139),g=(e(169),0);t.exports={renderToString:o,renderToStaticMarkup:i}},{139:139,144:144,162:162,169:169,45:45,59:59,61:61,72:72,74:74,87:87,89:89,91:91,98:98}],91:[function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=e(178),i=e(26),a=e(118),s=(e(72),e(92)),u=[],l={enqueue:function(){}},c={getTransactionWrappers:function(){return u},getReactMountReady:function(){return l},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a.Mixin,c),i.addPoolingTo(r),t.exports=r},{118:118,178:178,26:26,72:72,92:92}],92:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var i=e(97),a=(e(118),e(177),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());t.exports=a},{118:118,177:177,97:97}],93:[function(e,t,n){"use strict";function r(e,t){var n={};return function(r){n[t]=r,e.setState(n)}}var o={createStateSetter:function(e,t){return function(n,r,o,i,a,s){var u=t.call(e,n,r,o,i,a,s);u&&e.setState(u)}},createStateKeySetter:function(e,t){var n=e.__keySetters||(e.__keySetters={});return n[t]||(n[t]=r(e,t))}};o.Mixin={createStateSetter:function(e){return o.createStateSetter(this,e)},createStateKeySetter:function(e){return o.createStateKeySetter(this,e)}},t.exports=o},{}],94:[function(e,t,n){"use strict";var r=e(128),o={getChildMapping:function(e,t){return e?r(e):e},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a,s={};for(var u in t){if(r.hasOwnProperty(u))for(a=0;a0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);return n?n:null}var a=e(144),s=(e(39),e(71)),u=(e(72),e(98)),l=(e(169),e(177),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){l.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});t.exports=l},{144:144,169:169,177:177,39:39,71:71,72:72,98:98}],98:[function(e,t,n){"use strict";function r(){w.ReactReconcileTransaction&&_?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=w.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){r(),_.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==g.length?c("124",t,g.length):void 0,g.sort(a),y++;for(var n=0;n]/;t.exports=o},{}],127:[function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);return t?(t=s(t),t?i.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=e(144),i=(e(39),e(44)),a=e(71),s=e(134);e(169),e(177);t.exports=r},{134:134,144:144,169:169,177:177,39:39,44:44,71:71}],128:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(e(23),e(150));e(177);"undefined"!=typeof n&&n.env,t.exports=o}).call(this,void 0)},{150:150,177:177,23:23}],129:[function(e,t,n){"use strict";function r(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}t.exports=r},{}],130:[function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}t.exports=r},{}],131:[function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=e(130),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={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"};t.exports=r},{130:130}],132:[function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return!!r&&!!n[r]}function o(e){return r}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=o},{}],133:[function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}t.exports=r},{}],134:[function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=e(78);t.exports=r},{78:78}],135:[function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";t.exports=r},{}],136:[function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}t.exports=i},{}],137:[function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=e(155),i=null;t.exports=r},{155:155}],138:[function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in u)return s[e]=t[n];return""}var i=e(155),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};i.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=o},{155:155}],139:[function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=l.create(i);else if("object"==typeof e){var s=e;!s||"function"!=typeof s.type&&"string"!=typeof s.type?a("130",null==s.type?s.type:typeof s.type,r(s._owner)):void 0,"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=e(144),s=e(178),u=e(38),l=e(62),c=e(68),p=(e(72),e(169),e(177),function(e){this.construct(e)});s(p.prototype,u.Mixin,{_instantiateReactComponent:i});t.exports=i},{144:144,169:169,177:177,178:178,38:38,62:62,68:68,72:72}],140:[function(e,t,n){"use strict";function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=e(155);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},{155:155}],141:[function(e,t,n){"use strict";function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!o[e.type]:"textarea"===t}var o={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};t.exports=r},{}],142:[function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("23"),e}var o=e(144),i=e(61);e(169);t.exports=r},{144:144,169:169,61:61}],143:[function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=e(126);t.exports=r},{126:126}],144:[function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r]/,u=e(124),l=u(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild.childNodes,o=0;o-1},matchesSelector:function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||function(t){return r(e,t)};return n.call(e,t)}};t.exports=i},{169:169}],154:[function(e,t,n){"use strict";var r=e(161),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},{161:161}],155:[function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},{}],156:[function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;t.exports=r},{}],157:[function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=e(156),i=/^-ms-/;t.exports=r},{156:156}],158:[function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=e(171);t.exports=r},{171:171}],159:[function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":a.innerHTML="<"+e+">",s[e]=!a.firstChild),s[e]?d[e]:null}var o=e(155),i=e(169),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'"],l=[1,"","
    "],c=[3,"","
    "],p=[1,'',""],d={"*":[1,"?
    ","
    "],area:[1,"",""],col:[2,"","
    "],legend:[1,"
    ","
    "],param:[1,"",""],tr:[2,"","
    "],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(e){d[e]=p,s[e]=!0}),t.exports=r},{155:155,169:169}],166:[function(e,t,n){"use strict";function r(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=r},{}],167:[function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=r},{}],168:[function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=e(167),i=/^ms-/;t.exports=r},{167:167}],169:[function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}t.exports=r},{}],170:[function(e,t,n){"use strict";function r(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=r},{}],171:[function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=e(170);t.exports=r},{170:170}],172:[function(e,t,n){"use strict";var r=e(169),o=function(e){var t,n={};e instanceof Object&&!Array.isArray(e)?void 0:r(!1);for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};t.exports=o},{169:169}],173:[function(e,t,n){"use strict";var r=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=r},{}],174:[function(e,t,n){"use strict";function r(e,t,n){if(!e)return null;var r={};for(var i in e)o.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r}var o=Object.prototype.hasOwnProperty;t.exports=r},{}],175:[function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}t.exports=r},{}],176:[function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var a=0;athis.eventPool.length&&this.eventPool.push(a)}function ie(a){a.eventPool=[];a.getPooled=Lg;a.release=Mg}function je(a,b){switch(a){case "keyup":return-1!==Ng.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function ke(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}function Og(a,b){switch(a){case "compositionend":return ke(b); - case "keypress":if(32!==b.which)return null;le=!0;return me;case "textInput":return a=b.data,a===me&&le?null:a;default:return null}}function Pg(a,b){if(Ua)return"compositionend"===a||!Oc&&je(a,b)?(a=he(),Rb=Nc=ia=null,Ua=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1b}return!1}function G(a,b,c,d,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b}function Xc(a,b,c,d){var e=x.hasOwnProperty(b)? - x[b]:null;var f=null!==e?0===e.type:d?!1:!(2ac.length&&ac.push(a)}}}function We(a){Object.prototype.hasOwnProperty.call(a,bc)||(a[bc]=hh++,Xe[a[bc]]={});return Xe[a[bc]]}function cd(a){a= - a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function Ye(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Ze(a,b){var c=Ye(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Ye(c)}}function $e(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType? - $e(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function af(){for(var a=window,b=cd();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=cd(a.document)}return b}function dd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}function bf(a,b){var c= - b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(ed||null==ya||ya!==cd(c))return null;c=ya;"selectionStart"in c&&dd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return lb&&jb(lb,c)?null:(lb=c,a=D.getPooled(cf.select,fd,a,b),a.type="select",a.target=ya,La(a),a)}function ih(a){var b="";fa.Children.forEach(a,function(a){null!= - a&&(b+=a)});return b}function gd(a,b){a=E({children:void 0},b);if(b=ih(b.children))a.children=b;return a}function za(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e=b.length?void 0:n("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:S(c)}}function ef(a,b){var c=S(b.value),d=S(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue= - c));null!=d&&(a.defaultValue=""+d)}function ff(a){switch(a){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 id(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?ff(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function gf(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--");var e=c;var f=b[c];e=null==f||"boolean"=== - typeof f||""===f?"":d||"number"!==typeof f||0===f||mb.hasOwnProperty(e)&&mb[e]?(""+f).trim():f+"px";"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}function jd(a,b){b&&(jh[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?n("137",a,""):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?n("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:n("61")),null!=b.style&&"object"!==typeof b.style?n("62",""):void 0)}function kd(a,b){if(-1=== - a.indexOf("-"))return"string"===typeof b.is;switch(a){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}}function T(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=We(a);b=Hc[b];for(var d=0;dNa||(a.current=nd[Na],nd[Na]=null,Na--)}function L(a,b,c){Na++;nd[Na]=a.current;a.current=b}function Wa(a,b){var c=a.type.contextTypes;if(!c)return X;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext; - var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function M(a){a=a.childContextTypes;return null!==a&&void 0!==a}function dc(a){F(N,a);F(O,a)}function od(a){F(N,a);F(O,a)}function kf(a,b,c){O.current!==X?n("168"):void 0;L(O,b,a);L(N,c,a)}function lf(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)e in a?void 0: - n("108",sa(b)||"Unknown",e);return E({},c,d)}function ec(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||X;la=O.current;L(O,b,a);L(N,N.current,a);return!0}function mf(a,b,c){var d=a.stateNode;d?void 0:n("169");c?(b=lf(a,b,la),d.__reactInternalMemoizedMergedChildContext=b,F(N,a),F(O,a),L(O,b,a)):F(N,a);L(N,c,a)}function nf(a){return function(b){try{return a(b)}catch(c){}}}function kh(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__; - if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);pd=nf(function(a){return b.onCommitFiberRoot(c,a)});qd=nf(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function lh(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect= - this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function rd(a){a=a.prototype;return!(!a||!a.isReactComponent)}function mh(a){if("function"===typeof a)return rd(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Vc)return 11;if(a===Wc)return 14}return 2}function Aa(a,b,c){c=a.alternate;null===c?(c=ma(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect= - null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.firstContextDependency=a.firstContextDependency;c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function fc(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)rd(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ta:return Ba(c.children,e,f,b);case Sc:return of(c, - e|3,f,b);case Tc:return of(c,e|2,f,b);case Vb:return a=ma(12,c,b,e|4),a.elementType=Vb,a.type=Vb,a.expirationTime=f,a;case Uc:return a=ma(13,c,b,e),b=Uc,a.elementType=b,a.type=b,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Be:g=10;break a;case Ae:g=9;break a;case Vc:g=11;break a;case Wc:g=14;break a;case Ce:g=16;d=null;break a}n("130",null==a?a:typeof a,"")}b=ma(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Ba(a,b,c,d){a=ma(7,a,d,b); - a.expirationTime=c;return a}function of(a,b,c,d){a=ma(8,a,d,b);b=0===(b&1)?Tc:Sc;a.elementType=b;a.type=b;a.expirationTime=c;return a}function sd(a,b,c){a=ma(6,a,null,b);a.expirationTime=c;return a}function td(a,b,c){b=ma(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function ob(a,b){a.didError=!1;var c=a.earliestPendingTime;0===c?a.earliestPendingTime=a.latestPendingTime=b:c> - b?a.earliestPendingTime=b:a.latestPendingTimeb?a.earliestSuspendedTime=b:da)&&(e=d);a=e;0!==a&&0!==c&&ce){if(null===g&&(g=k,f=l),0===h||h>m)h=m}else l=tf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastEffect?b.firstEffect=b.lastEffect=k:(b.lastEffect.nextEffect=k,b.lastEffect=k));k=k.next}m=null;for(k=b.firstCapturedUpdate;null!==k;){var n=k.expirationTime;if(n>e){if(null===m&&(m=k,null===g&&(f=l)),0===h||h>n)h=n}else l=tf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null=== - b.lastCapturedEffect?b.firstCapturedEffect=b.lastCapturedEffect=k:(b.lastCapturedEffect.nextEffect=k,b.lastCapturedEffect=k));k=k.next}null===g&&(b.lastUpdate=null);null===m?b.lastCapturedUpdate=null:a.effectTag|=32;null===g&&null===m&&(f=l);b.baseState=f;b.firstUpdate=g;b.firstCapturedUpdate=m;a.expirationTime=h;a.memoizedState=l}function uf(a,b,c,d){null!==b.firstCapturedUpdate&&(null!==b.lastUpdate&&(b.lastUpdate.next=b.firstCapturedUpdate,b.lastUpdate=b.lastCapturedUpdate),b.firstCapturedUpdate= - b.lastCapturedUpdate=null);vf(b.firstEffect,c);b.firstEffect=b.lastEffect=null;vf(b.firstCapturedEffect,c);b.firstCapturedEffect=b.lastCapturedEffect=null}function vf(a,b){for(;null!==a;){var c=a.callback;if(null!==c){a.callback=null;var d=b;"function"!==typeof c?n("191",c):void 0;c.call(d)}a=a.nextEffect}}function kc(a,b){return{value:a,source:b,stack:De(b)}}function wf(a,b){var c=a.type._context;L(vd,c._currentValue,a);c._currentValue=b}function wd(a){var b=vd.current;F(vd,a);a.type._context._currentValue= - b}function qb(a,b){lc=a;mc=Xa=null;a.firstContextDependency=null}function xf(a,b){if(mc!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)mc=a,b=1073741823;b={context:a,observedBits:b,next:null};null===Xa?(null===lc?n("293"):void 0,lc.firstContextDependency=Xa=b):Xa=Xa.next=b}return a._currentValue}function Ca(a){a===rb?n("174"):void 0;return a}function xd(a,b){L(sb,b,a);L(tb,a,a);L(U,rb,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:id(null,"");break; - default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=id(b,c)}F(U,a);L(U,b,a)}function ua(a){F(U,a);F(tb,a);F(sb,a)}function yf(a){Ca(sb.current);var b=Ca(U.current);var c=id(b,a.type);b!==c&&(L(tb,a,a),L(U,c,a))}function yd(a){tb.current===a&&(F(U,a),F(tb,a))}function nc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:E({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}function zf(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate? - a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!jb(c,d)||!jb(e,f):!0}function Af(a,b,c,d){var e=!1;d=X;var f=b.contextType;"object"===typeof f&&null!==f?f=oc.currentDispatcher.readContext(f):(d=M(b)?la:O.current,e=b.contextTypes,f=(e=null!==e&&void 0!==e)?Wa(a,d):X);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=pc;a.stateNode=b;b._reactInternalFiber=a;e&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=d,a.__reactInternalMemoizedMaskedChildContext= - f);return b}function Bf(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&pc.enqueueReplaceState(b,b.state,null)}function zd(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Cf;var f=b.contextType;"object"===typeof f&&null!==f?e.context=oc.currentDispatcher.readContext(f):(f=M(b)?la:O.current,e.context=Wa(a,f));f=a.updateQueue; - null!==f&&(pb(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(nc(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&pc.enqueueReplaceState(e, - e.state,null),f=a.updateQueue,null!==f&&(pb(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}function ub(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;var d=void 0;c&&(1!==c.tag?n("289"):void 0,d=c.stateNode);d?void 0:n("147",a);var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Cf&&(b=d.refs={});null===a?delete b[e]:b[e]=a}; - b._stringRef=e;return b}"string"!==typeof a?n("284"):void 0;c._owner?void 0:n("290",a)}return a}function qc(a,b){"textarea"!==a.type&&n("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}function Df(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a, - b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=Aa(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,dq?(v=n,n=null):v=n.sibling;var t=cb(e,n,h[q],k);if(null===t){null===n&&(n=v);break}a&&n&&null===t.alternate&&b(e,n);g=f(t,g,q);null===m?l=t:m.sibling=t;m=t;n=v}if(q===h.length)return c(e,n),l;if(null===n){for(;qv?(jc=q,q=null):jc=q.sibling;var u=cb(e,q,t.value,k);if(null===u){q||(q=jc);break}a&&q&&null===u.alternate&&b(e,q);g=f(u,g,v);null===m?l=u:m.sibling=u;m=u;q=jc}if(t.done)return c(e, - q),l;if(null===q){for(;!t.done;v++,t=h.next())t=p(e,t.value,k),null!==t&&(g=f(t,g,v),null===m?l=t:m.sibling=t,m=t);return l}for(q=d(e,q);!t.done;v++,t=h.next())t=r(q,e,v,t.value,k),null!==t&&(a&&null!==t.alternate&&q.delete(null===t.key?v:t.key),g=f(t,g,v),null===m?l=t:m.sibling=t,m=t);a&&q.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ta&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case rc:a:{l= - f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===ta:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===ta?f.props.children:f.props,h);d.ref=ub(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k=k.sibling}f.type===ta?(d=Ba(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=fc(f.type,f.key,f.props,null,a.mode,h),h.ref=ub(a,d,f),h.return=a,a=h)}return g(a);case Va:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation=== - f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=td(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=sd(f,a.mode,h),d.return=a,a=d),g(a);if(sc(f))return u(a,d,f,h);if(gb(f))return H(a,d,f,h);l&&qc(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,n("152",h.displayName||h.name||"Component")}return c(a, - d)}}function Ef(a,b){var c=ma(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function Ff(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;default:return!1}}function Gf(a){if(Oa){var b= - Ya;if(b){var c=b;if(!Ff(a,b)){b=md(c);if(!b||!Ff(a,b)){a.effectTag|=2;Oa=!1;va=a;return}Ef(va,c)}va=a;Ya=jf(b)}else a.effectTag|=2,Oa=!1,va=a}}function Hf(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag;)a=a.return;va=a}function Ad(a){if(a!==va)return!1;if(!Oa)return Hf(a),Oa=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!ld(b,a.memoizedProps))for(b=Ya;b;)Ef(a,b),b=md(b);Hf(a);Ya=va?md(a.stateNode):null;return!0}function Bd(){Ya=va=null;Oa=!1}function nh(a){var b=a._result;switch(a._status){case 1:return b; - case 2:throw b;case 0:throw b;default:throw a._status=0,b=a._ctor,b=b(),b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)}),a._result=b,b;}}function Q(a,b,c,d){b.child=null===a?Cd(b,null,c,d):Da(b,a.child,c,d)}function If(a,b,c,d,e){c=c.render;var f=b.ref;if(!N.current&&b.memoizedProps===d&&f===(null!==a?a.ref:null))return ca(a,b,e);d=c(d,f);Q(a,b,d,e);return b.child}function Jf(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"=== - typeof g&&!rd(g)&&void 0===g.defaultProps&&null===c.compare)return b.tag=15,b.type=g,Kf(a,b,g,d,e,f);a=fc(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(0===e||e>f)if(e=g.memoizedProps,c=c.compare,c=null!==c?c:jb,c(e,d)&&a.ref===b.ref)return ca(a,b,f);a=Aa(g,d,f);a.ref=b.ref;a.return=b;return b.child=a}function Kf(a,b,c,d,e,f){return null!==a&&(0===e||e>f)&&jb(a.memoizedProps,d)&&a.ref===b.ref?ca(a,b,f):Dd(a,b,c,d,f)}function Lf(a,b){var c=b.ref;if(null===a&&null!== - c||null!==a&&a.ref!==c)b.effectTag|=128}function Dd(a,b,c,d,e){var f=M(c)?la:O.current;f=Wa(b,f);qb(b,e);c=c(d,f);b.effectTag|=1;Q(a,b,c,e);return b.child}function Mf(a,b,c,d,e){if(M(c)){var f=!0;ec(b)}else f=!1;qb(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Af(b,c,d,e),zd(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=oc.currentDispatcher.readContext(l):(l=M(c)? - la:O.current,l=Wa(b,l));var m=c.getDerivedStateFromProps,n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;n||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bf(b,g,d,l);P=!1;var p=b.memoizedState;k=g.state=p;var r=b.updateQueue;null!==r&&(pb(b,r,d,g,e),k=b.memoizedState);h!==d||p!==k||N.current||P?("function"===typeof m&&(nc(b,c,m,d),k=b.memoizedState),(h=P||zf(b,c,h,d,p,k,l))?(n||"function"!==typeof g.UNSAFE_componentWillMount&& - "function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=h,k=g.context, - l=c.contextType,"object"===typeof l&&null!==l?l=oc.currentDispatcher.readContext(l):(l=M(c)?la:O.current,l=Wa(b,l)),m=c.getDerivedStateFromProps,(n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bf(b,g,d,l),P=!1,k=b.memoizedState,p=g.state=k,r=b.updateQueue,null!==r&&(pb(b,r,d,g,e),p=b.memoizedState),h!==d||k!==p||N.current||P?("function"===typeof m&&(nc(b, - c,m,d),p=b.memoizedState),(m=P||zf(b,c,h,d,k,p,l))?(n||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k=== - a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=p),g.props=d,g.state=p,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return Ed(a,b,c,d,f,e)}function Ed(a,b,c,d,e,f){Lf(a,b);var g=0!==(b.effectTag& - 64);if(!d&&!g)return e&&mf(b,c,!1),ca(a,b,f);d=b.stateNode;oh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Da(b,a.child,null,f),b.child=Da(b,null,h,f)):Q(a,b,h,f);b.memoizedState=d.state;e&&mf(b,c,!0);return b.child}function Nf(a){var b=a.stateNode;b.pendingContext?kf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&kf(a,b.context,!1);xd(a,b.containerInfo)}function oa(a,b){if(a&&a.defaultProps){b=E({},b);a=a.defaultProps; - for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function Of(a,b,c){var d=b.mode,e=b.pendingProps,f=b.memoizedState;null!==f&&(f.alreadyCaptured?null!==a&&f===a.memoizedState?f={alreadyCaptured:!0,didTimeout:!0,timedOutAt:f.timedOutAt}:(f.alreadyCaptured=!0,f.didTimeout=!0):f=null);var g=null!==f&&f.didTimeout;if(null===a)g?(g=e.fallback,e=Ba(null,d,0,null),d=Ba(g,d,c,null),e.sibling=d,c=e,c.return=d.return=b):c=d=Cd(b,null,e.children,c);else{var h=a.memoizedState;null!==h&&h.didTimeout?(d=a.child, - a=d.sibling,g?(c=e.fallback,d=Aa(d,d.pendingProps,0),d.effectTag|=2,e=d.sibling=Aa(a,c,a.expirationTime),e.effectTag|=2,c=d,d.childExpirationTime=0,d=e,c.return=d.return=b):(g=a.child,d=Da(b,d.child,e.children,c),Da(b,g,null,c),c=d)):(a=a.child,g?(g=e.fallback,e=Ba(null,d,0,null),e.effectTag|=2,e.child=a,a.return=e,d=e.sibling=Ba(g,d,c,null),d.effectTag|=2,c=e,e.childExpirationTime=0,c.return=d.return=b):d=c=Da(b,a,e.children,c))}b.memoizedState=f;b.child=c;return d}function ca(a,b,c){null!==a&&(b.firstContextDependency= - a.firstContextDependency);var d=b.childExpirationTime;if(0===d||d>c)return null;null!==a&&b.child!==a.child?n("153"):void 0;if(null!==b.child){a=b.child;c=Aa(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Aa(a,a.pendingProps,a.expirationTime),c.return=b;c.sibling=null}return b.child}function ph(a,b,c){var d=b.expirationTime;if(null!==a&&a.memoizedProps===b.pendingProps&&!N.current&&(0===d||d>c)){switch(b.tag){case 3:Nf(b);Bd();break;case 5:yf(b); - break;case 1:M(b.type)&&ec(b);break;case 4:xd(b,b.stateNode.containerInfo);break;case 10:wf(b,b.memoizedProps.value);break;case 13:if(d=b.memoizedState,null!==d&&d.didTimeout){d=b.child.childExpirationTime;if(0!==d&&d<=c)return Of(a,b,c);b=ca(a,b,c);return null!==b?b.sibling:null}}return ca(a,b,c)}b.expirationTime=0;switch(b.tag){case 2:d=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;var e=Wa(b,O.current);qb(b,c);e=d(a,e);b.effectTag|=1;if("object"=== - typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;if(M(d)){var f=!0;ec(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&nc(b,d,g,a);e.updater=pc;b.stateNode=e;e._reactInternalFiber=b;zd(b,d,a,c);b=Ed(null,b,d,!0,f,c)}else b.tag=0,Q(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=nh(e);b.type=a;e=b.tag= - mh(a);f=oa(a,f);g=void 0;switch(e){case 0:g=Dd(null,b,a,f,c);break;case 1:g=Mf(null,b,a,f,c);break;case 11:g=If(null,b,a,f,c);break;case 14:g=Jf(null,b,a,oa(a.type,f),d,c);break;default:n("283",a)}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),Dd(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),Mf(a,b,d,e,c);case 3:Nf(b);d=b.updateQueue;null===d?n("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;pb(b,d,b.pendingProps,null,c); - d=b.memoizedState.element;if(d===e)Bd(),b=ca(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)Ya=jf(b.stateNode.containerInfo),va=b,e=Oa=!0;e?(b.effectTag|=2,b.child=Cd(b,null,d,c)):(Q(a,b,d,c),Bd());b=b.child}return b;case 5:return yf(b),null===a&&Gf(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,ld(d,e)?g=null:null!==f&&ld(d,f)&&(b.effectTag|=16),Lf(a,b),1073741823!==c&&b.mode&1&&e.hidden?(b.expirationTime=1073741823,b=null):(Q(a,b,g,c),b=b.child), - b;case 6:return null===a&&Gf(b),null;case 13:return Of(a,b,c);case 4:return xd(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Da(b,null,d,c):Q(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),If(a,b,d,e,c);case 7:return Q(a,b,b.pendingProps,c),b.child;case 8:return Q(a,b,b.pendingProps.children,c),b.child;case 12:return Q(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;wf(b,f);if(null!== - g){var h=g.value;f=h===f&&(0!==h||1/h===1/f)||h!==h&&f!==f?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!N.current){b=ca(a,b,c);break a}}else for(g=b.child,null!==g&&(g.return=b);null!==g;){h=g.firstContextDependency;if(null!==h){do{if(h.context===d&&0!==(h.observedBits&f)){if(1===g.tag){var k=Y(c);k.tag=2;na(g,k)}if(0===g.expirationTime||g.expirationTime>c)g.expirationTime=c;k=g.alternate;null!==k&&(0===k.expirationTime|| - k.expirationTime>c)&&(k.expirationTime=c);for(var l=g.return;null!==l;){k=l.alternate;if(0===l.childExpirationTime||l.childExpirationTime>c)l.childExpirationTime=c,null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c)&&(k.childExpirationTime=c);else if(null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c))k.childExpirationTime=c;else break;l=l.return}}k=g.child;h=h.next}while(null!==h)}else k=10===g.tag?g.type===b.type?null:g.child:g.child;if(null!==k)k.return=g;else for(k=g;null!== - k;){if(k===b){k=null;break}g=k.sibling;if(null!==g){g.return=k.return;k=g;break}k=k.return}g=k}}Q(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,qb(b,c),e=xf(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,Q(a,b,d,c),b.child;case 14:return e=b.type,f=oa(e.type,b.pendingProps),Jf(a,b,e,f,d,c);case 15:return Kf(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),null!==a&&(a.alternate=null,b.alternate=null, - b.effectTag|=2),b.tag=1,M(d)?(a=!0,ec(b)):a=!1,qb(b,c),Af(b,d,e,c),zd(b,d,e,c),Ed(null,b,d,!0,a,c);default:n("156")}}function vb(a){a.effectTag|=4}function Pf(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=De(c));null!==c&&sa(c.type);b=b.value;null!==a&&1===a.tag&&sa(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Qf(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){wb(a,c)}else b.current=null}function Rf(a){"function"===typeof qd&&qd(a); - switch(a.tag){case 1:Qf(a);var b=a.stateNode;if("function"===typeof b.componentWillUnmount)try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){wb(a,c)}break;case 5:Qf(a);break;case 4:Sf(a)}}function Tf(a){return 5===a.tag||3===a.tag||4===a.tag}function Uf(a){a:{for(var b=a.return;null!==b;){if(Tf(b)){var c=b;break a}b=b.return}n("160");c=void 0}var d=b=void 0;switch(c.tag){case 5:b=c.stateNode;d=!1;break;case 3:b=c.stateNode.containerInfo;d=!0;break;case 4:b=c.stateNode.containerInfo; - d=!0;break;default:n("161")}c.effectTag&16&&(xb(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Tf(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)if(c)if(d){var f=b,g=e.stateNode,h=c;8===f.nodeType?f.parentNode.insertBefore(g,h): - f.insertBefore(g,h)}else b.insertBefore(e.stateNode,c);else d?(g=b,h=e.stateNode,8===g.nodeType?(f=g.parentNode,f.insertBefore(h,g)):(f=g,f.appendChild(h)),g=g._reactRootContainer,null!==g&&void 0!==g||null!==f.onclick||(f.onclick=cc)):b.appendChild(e.stateNode);else if(4!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e.return||e.return===a)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}function Sf(a){for(var b=a,c=!1,d=void 0, - e=void 0;;){if(!c){c=b.return;a:for(;;){null===c?n("160"):void 0;switch(c.tag){case 5:d=c.stateNode;e=!1;break a;case 3:d=c.stateNode.containerInfo;e=!0;break a;case 4:d=c.stateNode.containerInfo;e=!0;break a}c=c.return}c=!0}if(5===b.tag||6===b.tag){a:for(var f=b,g=f;;)if(Rf(g),null!==g.child&&4!==g.tag)g.child.return=g,g=g.child;else{if(g===f)break;for(;null===g.sibling;){if(null===g.return||g.return===f)break a;g=g.return}g.sibling.return=g.return;g=g.sibling}e?(f=d,g=b.stateNode,8===f.nodeType? - f.parentNode.removeChild(g):f.removeChild(g)):d.removeChild(b.stateNode)}else if(4===b.tag?(d=b.stateNode.containerInfo,e=!0):Rf(b),null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return;b=b.return;4===b.tag&&(c=!1)}b.sibling.return=b.return;b=b.sibling}}function Vf(a,b){switch(b.tag){case 1:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue= - null;if(null!==f){c[Ob]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Ie(c,d);kd(a,e);b=kd(a,d);for(e=0;e\x3c/script>",l=e.removeChild(e.firstChild)):"string"===typeof p.is?l=l.createElement(e,{is:p.is}):(l=l.createElement(e), - "select"===e&&p.multiple&&(l.multiple=!0)):l=l.createElementNS(k,e);e=l;e[V]=m;e[Ob]=f;ag(e,b,!1,!1);m=e;l=h;p=f;var cb=g,x=kd(l,p);switch(l){case "iframe":case "object":r("load",m);g=p;break;case "video":case "audio":for(g=0;g=u)r=0;else if(-1===r||ud||0!==f&&f>d||0!==g&&g>d){pf(a,d);Kd(a,b,d,a.expirationTime,-1);return}if(!a.didError&&!c){a.didError=!0;d=a.nextExpirationTimeToWorkOn=d;c=a.expirationTime=1;Kd(a,b,d,c,-1);return}}c||-1===Z?(a.pendingCommitExpirationTime=d,a.finishedWork=b):(pf(a,d),c=10*(qf(a,d)-2),cc?0:c))}}function wb(a,b){var c;a:{Pa&&!yb?n("263"):void 0;for(c=a.return;null!==c;){switch(c.tag){case 1:var d=c.stateNode; - if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Za||!Za.has(d))){a=kc(b,a);a=Xf(c,a,1);na(c,a);ab(c,1);c=void 0;break a}break;case 3:a=kc(b,a);a=Fd(c,a,1);na(c,a);ab(c,1);c=void 0;break a}c=c.return}3===a.tag&&(c=kc(b,a),c=Fd(a,c,1),na(a,c),ab(a,1));c=void 0}return c}function zb(a,b){0!==Ab?a=Ab:Pa?a=yb?1:J:b.mode&1?(a=wa?2+10*(((a-2+15)/10|0)+1):2+25*(((a-2+500)/25|0)+1),null!==pa&&a===J&&(a+=1)):a=1;wa&&a>qa&&(qa=a);return a}function sh(a, - b,c,d){var e=a.earliestSuspendedTime;var f=a.latestSuspendedTime;if(0!==e&&d>=e&&d<=f){f=e=d;a.didError=!1;var g=a.latestPingedTime;if(0===g||gb)a.expirationTime=b;var c=a.alternate;null!==c&&(0===c.expirationTime|| - c.expirationTime>b)&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;if(0===d.childExpirationTime||d.childExpirationTime>b)d.childExpirationTime=b;null!==c&&(0===c.childExpirationTime||c.childExpirationTime>b)&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}return null===e?null:e}function ab(a,b){a=Ld(a,b);null!==a&&(!Pa&&0!==J&&bth&& - (Bb=0,n("185")))}function fg(a,b,c,d,e){var f=Ab;Ab=1;try{return a(b,c,d,e)}finally{Ab=f}}function Cb(){da=((Md()-Nd)/10|0)+2}function gg(a,b){if(0!==uc){if(b>uc)return;null!==vc&&uh(vc)}uc=b;a=Md()-Nd;vc=vh(wh,{timeout:10*(b-2)-a})}function Kd(a,b,c,d,e){a.expirationTime=d;0!==e||Jd()?0=c&&(b.nextExpirationTimeToWorkOn=da);b=b.nextScheduledRoot}while(b!== - ea)}R(0,a)}function R(a,b){Ea=b;wc();if(null!==Ea)for(Cb(),Qa=da;null!==aa&&0!==A&&(0===a||a>=A)&&(!zc||da>=A);)yc(aa,A,da>=A),wc(),Cb(),Qa=da;else for(;null!==aa&&0!==A&&(0===a||a>=A);)yc(aa,A,!0),wc();null!==Ea&&(uc=0,vc=null);0!==A&&gg(aa,A);Ea=null;zc=!1;Bb=0;Od=null;if(null!==db)for(a=db,db=null,b=0;ba.latestSuspendedTime?(a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0,ob(a,h)):hX){var Ba=X;X=S;S=Ba}var Y=Ze(K,S),P=Ze(K,X);if(Y&&P&&(1!==Ga.rangeCount||Ga.anchorNode!==Y.node||Ga.anchorOffset!==Y.offset||Ga.focusNode!==P.node||Ga.focusOffset!==P.offset)){var ca=ka.createRange();ca.setStart(Y.node,Y.offset);Ga.removeAllRanges();S>X?(Ga.addRange(ca),Ga.extend(P.node,P.offset)):(ca.setEnd(P.node, - P.offset),Ga.addRange(ca))}}}for(var qa=[],W=K;W=W.parentNode;)1===W.nodeType&&qa.push({element:W,left:W.scrollLeft,top:W.scrollTop});"function"===typeof K.focus&&K.focus();for(var sa=0;sazh?!1:zc=!0}function Gd(a){null===aa?n("246"):void 0;aa.expirationTime=0;Fa||(Fa=!0,Ac=a)}function jg(a,b){var c=C;C=!0;try{return a(b)}finally{(C=c)||I||R(1,null)}}function kg(a,b){if(C&&!xc){xc=!0;try{return a(b)}finally{xc=!1}}return a(b)}function lg(a,b,c){if(wa)return a(b,c);C||I||0===qa||(R(qa,null),qa=0);var d=wa,e=C;C=wa=!0;try{return a(b,c)}finally{wa=d,(C=e)||I||R(1,null)}}function mg(a,b,c,d,e){var f=b.current;a:if(c){c=c._reactInternalFiber;b:{2===kb(c)&&1===c.tag? - void 0:n("170");var g=c;do{switch(g.tag){case 3:g=g.stateNode.context;break b;case 1:if(M(g.type)){g=g.stateNode.__reactInternalMemoizedMergedChildContext;break b}}g=g.return}while(null!==g);n("171");g=void 0}if(1===c.tag){var h=c.type;if(M(h)){c=lf(c,h,g);break a}}c=g}else c=X;null===b.context?b.context=c:b.pendingContext=c;b=e;e=Y(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b);na(f,e);ab(f,d);return d}function Rd(a,b,c,d){var e=b.current,f=$a();e=zb(f,e);return mg(a,b,c,e, - d)}function Sd(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Ah(a,b,c){var d=3=Eb),me=String.fromCharCode(32),ra={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(" ")}},le=!1,Ua=!1,Fh={eventTypes:ra,extractEvents:function(a, - b,c,d){var e=void 0;var f=void 0;if(Oc)b:{switch(a){case "compositionstart":e=ra.compositionStart;break b;case "compositionend":e=ra.compositionEnd;break b;case "compositionupdate":e=ra.compositionUpdate;break b}e=void 0}else Ua?je(a,c)&&(e=ra.compositionEnd):"keydown"===a&&229===c.keyCode&&(e=ra.compositionStart);e?(ne&&"ko"!==c.locale&&(Ua||e!==ra.compositionStart?e===ra.compositionEnd&&Ua&&(f=he()):(ia=d,Nc="value"in ia?ia.value:ia.textContent,Ua=!0)),e=Ch.getPooled(e,b,c,d),f?e.data=f:(f=ke(c), - null!==f&&(e.data=f)),La(e),f=e):f=null;(a=Eh?Og(a,c):Pg(a,c))?(b=Dh.getPooled(ra.beforeInput,b,c,d),b.data=a,La(b)):b=null;return null===f?b:null===b?f:[f,b]}},Pc=null,Ma=null,ja=null,te=function(a,b){return a(b)},Ve=function(a,b,c){return a(b,c)},ue=function(){},Qc=!1,Qg={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},Vd=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sg=/^(.*)[\\\/]/,ba="function"=== - typeof Symbol&&Symbol.for,rc=ba?Symbol.for("react.element"):60103,Va=ba?Symbol.for("react.portal"):60106,ta=ba?Symbol.for("react.fragment"):60107,Tc=ba?Symbol.for("react.strict_mode"):60108,Vb=ba?Symbol.for("react.profiler"):60114,Be=ba?Symbol.for("react.provider"):60109,Ae=ba?Symbol.for("react.context"):60110,Sc=ba?Symbol.for("react.concurrent_mode"):60111,Vc=ba?Symbol.for("react.forward_ref"):60112,Uc=ba?Symbol.for("react.suspense"):60113,Wc=ba?Symbol.for("react.memo"):60115,Ce=ba?Symbol.for("react.lazy"): - 60116,ze="function"===typeof Symbol&&Symbol.iterator,Ug=/^[: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]*$/,Ee=Object.prototype.hasOwnProperty,Ge={},Fe={},x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){x[a]= - new G(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];x[b]=new G(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){x[a]=new G(a,2,!1,a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){x[a]=new G(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){x[a]= - new G(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){x[a]=new G(a,3,!0,a,null)});["capture","download"].forEach(function(a){x[a]=new G(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){x[a]=new G(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){x[a]=new G(a,5,!1,a.toLowerCase(),null)});var Wd=/[\-:]([a-z])/g,Xd=function(a){return a[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(a){var b= - a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});x.tabIndex=new G("tabIndex",1,!1,"tabindex",null);var Le={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"}, - dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},hb=null,ib=null,Yd=!1;ka&&(Yd=we("input")&&(!document.documentMode||9=document.documentMode,cf={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}}, - ya=null,fd=null,lb=null,ed=!1,Uh={eventTypes:cf,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=We(e);f=Hc.onSelect;for(var g=0;g"+b+"";for(b=Ec.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),xb=function(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent= - b},mb={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},Vh=["Webkit","ms","Moz","O"];Object.keys(mb).forEach(function(a){Vh.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);mb[b]=mb[a]})});var jh=E({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}),Zd=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,uh=Zd.unstable_cancelCallback, - Md=Zd.unstable_now,vh=Zd.unstable_scheduleCallback,Pd=null,Qd=null,xh=setTimeout,ig=clearTimeout;new Set;var nd=[],Na=-1,X={},O={current:X},N={current:!1},la=X,pd=null,qd=null,ma=function(a,b,c,d){return new lh(a,b,c,d)},P=!1,vd={current:null},lc=null,Xa=null,mc=null,rb={},U={current:rb},tb={current:rb},sb={current:rb},oc=Vd.ReactCurrentOwner,Cf=(new fa.Component).refs,pc={isMounted:function(a){return(a=a._reactInternalFiber)?2===kb(a):!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d= - $a();d=zb(d,a);var e=Y(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);na(a,e);ab(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=$a();d=zb(d,a);var e=Y(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);na(a,e);ab(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=$a();c=zb(c,a);var d=Y(c);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);na(a,d);ab(a,c)}},sc=Array.isArray,Da=Df(!0),Cd=Df(!1),va=null,Ya=null,Oa=!1,oh=Vd.ReactCurrentOwner,ag=void 0, - Id=void 0,$f=void 0,bg=void 0;ag=function(a,b,c,d){for(c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Id=function(a){};$f=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;Ca(U.current);a=null;switch(c){case "input":f=Yc(g,f);d=Yc(g,d);a=[];break;case "option":f= - gd(g,f);d=gd(g,d);a=[];break;case "select":f=E({},f,{value:void 0});d=E({},d,{value:void 0});a=[];break;case "textarea":f=hd(g,f);d=hd(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=cc)}jd(c,d);g=c=void 0;var h=null;for(c in f)if(!d.hasOwnProperty(c)&&f.hasOwnProperty(c)&&null!=f[c])if("style"===c){var k=f[c];for(g in k)k.hasOwnProperty(g)&&(h||(h={}),h[g]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&& - "suppressHydrationWarning"!==c&&"autoFocus"!==c&&(Ta.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in d){var l=d[c];k=null!=f?f[c]:void 0;if(d.hasOwnProperty(c)&&l!==k&&(null!=l||null!=k))if("style"===c)if(k){for(g in k)!k.hasOwnProperty(g)||l&&l.hasOwnProperty(g)||(h||(h={}),h[g]="");for(g in l)l.hasOwnProperty(g)&&k[g]!==l[g]&&(h||(h={}),h[g]=l[g])}else h||(a||(a=[]),a.push(c,h)),h=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,k=k?k.__html:void 0,null!=l&&k!==l&&(a=a||[]).push(c, - ""+l)):"children"===c?k===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(Ta.hasOwnProperty(c)?(null!=l&&T(e,c),a||k===l||(a=[])):(a=a||[]).push(c,l))}h&&(a=a||[]).push("style",h);e=a;(b.updateQueue=e)&&vb(b)}};bg=function(a,b,c,d){c!==d&&vb(b)};var rh={readContext:xf},tc=Vd.ReactCurrentOwner,Td=0,Ab=0,Pa=!1,B=null,pa=null,J=0,Z=-1,Hd=!1,p=null,yb=!1,Za=null,ea=null,w=null,uc=0,vc=void 0,I=!1,aa=null,A=0,qa= - 0,zc=!1,Fa=!1,Ac=null,Ea=null,C=!1,xc=!1,wa=!1,db=null,Nd=Md(),da=(Nd/10|0)+2,Qa=da,th=50,Bb=0,Od=null,zh=1;Pc=function(a,b,c){switch(b){case "input":Zc(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b=b){c=a;break}a=a.next}while(a!==d);null===c?c= - d:c===d&&(d=g,u());b=c.previous;b.next=c.previous=g;g.next=c;g.previous=b}}function Q(){if(-1===m&&null!==d&&1===d.priorityLevel){v=!0;P.didTimeout=!0;try{do O();while(null!==d&&1===d.priorityLevel)}finally{v=!1,null!==d?u():E=!1}}}function ua(a){v=!0;P.didTimeout=a;try{if(a)for(;null!==d;){var b=l();if(d.expirationTime<=b){do O();while(null!==d&&d.expirationTime<=b)}else break}else if(null!==d){do O();while(null!==d&&0G.length&&G.push(a)}function T(a,b,c,f){var d=typeof a;if("undefined"===d||"boolean"=== - d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case y:case xa:g=!0}}if(g)return c(f,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var e=0;ea;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!== - Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e=J-c)if(-1!==b&&b<=c)d=!0;else{C||(C=!0,Y(ba));t=a;B=b;return}if(null!== - a){Z=!0;try{a(d)}finally{Z=!1}}}},!1);var ba=function(a){if(null!==t){Y(ba);var b=a-J+D;bb&&(b=8),D=bb?window.postMessage(aa,"*"):C||(C=!0,Y(ba))};N=function(){t=null;I=!1;B=-1}}var Oa=0,R={current:null,currentDispatcher:null};e={ReactCurrentOwner:R,assign:H};H(e,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)d=null;else{a===d&&(d=b);var c=a.previous;c.next= - b;b.previous=c}a.next=a.previous=null}},unstable_now:l,unstable_scheduleCallback:function(a,b){var c=-1!==m?m:l();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(k){case 1:b=c+-1;break;case 2:b=c+250;break;case 4:b=c+1073741823;break;default:b=c+5E3}a={callback:a,priorityLevel:k,expirationTime:b,next:null,previous:null};if(null===d)d=a.next=a.previous=a,u();else{c=null;var f=d;do{if(f.expirationTime>b){c=f;break}f=f.next}while(f!==d);null===c?c=d:c===d&&(d= - a,u());b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:break;default:a=3}var c=k,d=m;k=a;m=l();try{return b()}finally{k=c,m=d,Q()}},unstable_wrapCallback:function(a){var b=k;return function(){var c=k,d=m;k=b;m=l();try{return a.apply(this,arguments)}finally{k=c,m=d,Q()}}},unstable_getCurrentPriorityLevel:function(){return k}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()}, - unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,b,c){return c()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\/+/g,G=[];q={Children:{map:function(a,b,c){if(null==a)return a;var d=[];W(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ja(null,null,b,c);V(a,ya,b);ka(b)}, - count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){S(a)?void 0:p("143");return a}},createRef:function(){return{current:null}},Component:r,PureComponent:M,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea, - render:a}},lazy:function(a){return{$$typeof:Ha,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ga,type:a,compare:void 0===b?null:b}},Fragment:q,StrictMode:X,unstable_ConcurrentMode:Da,Suspense:Fa,unstable_Profiler:Aa,createElement:fa,cloneElement:function(a,b,d){null===a||void 0===a?p("267",a):void 0;var c=void 0,e=H({},a.props),g=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=R.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l= - a.type.defaultProps);for(c in b)ha.call(b,c)&&!ia.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1b}return!1}function Q(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}function Ed(a,b,c,d){var e=I.hasOwnProperty(b)?I[b]:null;var f=null!==e?0===e.type:d?!1:!(2h||e[g]!==f[h])return"\n"+e[g].replace(" at new "," at ");while(1<=g&&0<=h)}break}}}finally{Gd=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?Kb(a):""}function pi(a){switch(a.tag){case 5:return Kb(a.type);case 16:return Kb("Lazy");case 13:return Kb("Suspense"); - case 19:return Kb("SuspenseList");case 0:case 2:case 15:return a=Bc(a.type,!1),a;case 11:return a=Bc(a.type.render,!1),a;case 22:return a=Bc(a.type._render,!1),a;case 1:return a=Bc(a.type,!0),a;default:return""}}function hb(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case wa:return"Fragment";case Ua:return"Portal";case Lb:return"Profiler";case Hd:return"StrictMode";case Mb:return"Suspense";case Cc:return"SuspenseList"}if("object"=== - typeof a)switch(a.$$typeof){case Id:return(a.displayName||"Context")+".Consumer";case Jd:return(a._context.displayName||"Context")+".Provider";case Dc:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Ec:return hb(a.type);case Kd:return hb(a._render);case Ld:b=a._payload;a=a._init;try{return hb(a(b))}catch(c){}}return null}function xa(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a; - default:return""}}function Ef(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function qi(a){var b=Ef(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a, - b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function Fc(a){a._valueTracker||(a._valueTracker=qi(a))}function Ff(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=Ef(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Gc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement|| - a.body}catch(b){return a.body}}function Md(a,b){var c=b.checked;return B({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Gf(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=xa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function Hf(a,b){b=b.checked;null!=b&&Ed(a,"checked", - b,!1)}function Nd(a,b){Hf(a,b);var c=xa(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Od(a,b.type,c):b.hasOwnProperty("defaultValue")&&Od(a,b.type,xa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function If(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d= - b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function Od(a,b,c){if("number"!==b||Gc(a.ownerDocument)!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function ri(a){var b="";ha.Children.forEach(a,function(a){null!=a&&(b+=a)});return b} - function Pd(a,b){a=B({children:void 0},b);if(b=ri(b.children))a.children=b;return a}function ib(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e=c.length))throw Error(m(93));c=c[0]}b=c}null==b&&(b="");c=b}a._wrapperState={initialValue:xa(c)}}function Kf(a,b){var c=xa(b.value),d=xa(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!== - c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Lf(a,b){b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b)}function Mf(a){switch(a){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 Rd(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Mf(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function Nf(a,b,c){return null== - b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||Nb.hasOwnProperty(a)&&Nb[a]?(""+b).trim():b+"px"}function Of(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=Nf(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}function Sd(a,b){if(b){if(si[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(m(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(m(60));if(!("object"===typeof b.dangerouslySetInnerHTML&& - "__html"in b.dangerouslySetInnerHTML))throw Error(m(61));}if(null!=b.style&&"object"!==typeof b.style)throw Error(m(62));}}function Td(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){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}}function Ud(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement); - return 3===a.nodeType?a.parentNode:a}function Pf(a){if(a=Ob(a)){if("function"!==typeof Vd)throw Error(m(280));var b=a.stateNode;b&&(b=Hc(b),Vd(a.stateNode,a.type,b))}}function Qf(a){jb?kb?kb.push(a):kb=[a]:jb=a}function Rf(){if(jb){var a=jb,b=kb;kb=jb=null;Pf(a);if(b)for(a=0;ad?0:1<c;c++)b.push(a);return b}function Oc(a,b,c){a.pendingLanes|=b;var d=b-1;a.suspendedLanes&=d;a.pingedLanes&=d;a=a.eventTimes;b=31-Ba(b);a[b]=c}function Hi(a){return 0===a?32:31-(Ii(a)/Ji|0)|0}function Ki(a,b,c,d){Xa||Xd();var e=he,f=Xa;Xa=!0;try{fg(e,a,b,c,d)}finally{(Xa=f)||Wd()}}function Li(a,b,c,d){Mi(Ni,he.bind(null,a,b,c,d))}function he(a, - b,c,d){if(Pc){var e;if((e=0===(b&4))&&0=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ug(c)}}function wg(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wg(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xg(){for(var a=window,b=Gc();b instanceof a.HTMLIFrameElement;){try{var c= - "string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Gc(a.document)}return b}function ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}function yg(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;oe||null==qb||qb!==Gc(d)||(d=qb,"selectionStart"in d&&ne(d)?d={start:d.selectionStart, - end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),$b&&Zb($b,d)||($b=d,d=Tc(pe,"onSelect"),0ub||(a.current=ve[ub],ve[ub]=null,ub--)}function A(a,b,c){ub++;ve[ub]=a.current;a.current=b}function vb(a,b){var c=a.type.contextTypes;if(!c)return Ha;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext= - b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function S(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Sg(a,b,c){if(D.current!==Ha)throw Error(m(168));A(D,b);A(J,c)}function Tg(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(m(108,hb(b)||"Unknown",e));return B({},c,d)}function Xc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Ha;Ya=D.current; - A(D,a);A(J,J.current);return!0}function Ug(a,b,c){var d=a.stateNode;if(!d)throw Error(m(169));c?(a=Tg(a,b,Ya),d.__reactInternalMemoizedMergedChildContext=a,t(J),t(D),A(D,a)):t(J);A(J,c)}function wb(){switch(oj()){case Yc:return 99;case Vg:return 98;case Wg:return 97;case Xg:return 96;case Yg:return 95;default:throw Error(m(332));}}function Zg(a){switch(a){case 99:return Yc;case 98:return Vg;case 97:return Wg;case 96:return Xg;case 95:return Yg;default:throw Error(m(332));}}function Za(a,b){a=Zg(a); - return pj(a,b)}function bc(a,b,c){a=Zg(a);return we(a,b,c)}function ja(){if(null!==Zc){var a=Zc;Zc=null;xe(a)}$g()}function $g(){if(!ye&&null!==pa){ye=!0;var a=0;try{var b=pa;Za(99,function(){for(;ap?(x=l,l=null):x=l.sibling;var C=r(e,l,h[p],k);if(null===C){null===l&&(l=x);break}a&&l&&null=== - C.alternate&&b(e,l);g=f(C,g,p);null===v?m=C:v.sibling=C;v=C;l=x}if(p===h.length)return c(e,l),m;if(null===l){for(;px?(C=p,p=null):C=p.sibling;var Da=r(e,p,q.value,k);if(null===Da){null===p&&(p=C);break}a&&p&&null===Da.alternate&&b(e,p);g=f(Da,g,x);null===v?l=Da:v.sibling=Da;v=Da;p=C}if(q.done)return c(e,p),l;if(null===p){for(;!q.done;x++,q=h.next())q=n(e,q.value,k),null!==q&&(g=f(q,g,x),null===v?l=q:v.sibling=q,v=q);return l}for(p=d(e,p);!q.done;x++,q=h.next())q=t(p,e,x,q.value,k),null!==q&&(a&&null!== - q.alternate&&p.delete(null===q.key?x:q.key),g=f(q,g,x),null===v?l=q:v.sibling=q,v=q);a&&p.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===wa&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case ec:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===wa){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a, - k.sibling);d=e(k,f.props);d.ref=dc(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===wa?(d=zb(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=fd(f.type,f.key,f.props,null,a.mode,h),h.ref=dc(a,d,f),h.return=a,a=h)}return g(a);case Ua:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d= - d.sibling}d=Ee(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=De(f,a.mode,h),d.return=a,a=d),g(a);if(gd(f))return w(a,d,f,h);if(Jb(f))return z(a,d,f,h);l&&ed(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 22:case 0:case 11:case 15:throw Error(m(152,hb(a.type)||"Component"));}return c(a,d)}}function $a(a){if(a===fc)throw Error(m(174));return a}function Fe(a,b){A(gc, - b);A(hc,a);A(ka,fc);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Rd(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Rd(b,a)}t(ka);A(ka,b)}function Ab(a){t(ka);t(hc);t(gc)}function jh(a){$a(gc.current);var b=$a(ka.current);var c=Rd(b,a.type);b!==c&&(A(hc,a),A(ka,c))}function Ge(a){hc.current===a&&(t(ka),t(hc))}function hd(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data|| - "$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function kh(a,b){var c=Z(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.flags=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect= - a.lastEffect=c}function lh(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}function He(a){if(la){var b=Na;if(b){var c=b;if(!lh(a,b)){b=tb(c.nextSibling);if(!b||!lh(a,b)){a.flags=a.flags&-1025|2;la=!1;ra=a;return}kh(ra,c)}ra=a;Na=tb(b.firstChild)}else a.flags=a.flags&-1025|2,la=!1, - ra=a}}function mh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;ra=a}function id(a){if(a!==ra)return!1;if(!la)return mh(a),la=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!se(b,a.memoizedProps))for(b=Na;b;)kh(a,b),b=tb(b.nextSibling);mh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(m(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if("/$"===c){if(0===b){Na=tb(a.nextSibling);break a}b--}else"$"!==c&&"$!"!== - c&&"$?"!==c||b++}a=a.nextSibling}Na=null}}else Na=ra?tb(a.stateNode.nextSibling):null;return!0}function Ie(){Na=ra=null;la=!1}function Je(){for(var a=0;af))throw Error(m(301));f+=1;K=N=null;b.updateQueue=null;jc.current=sj;a=c(d,e)}while(kc)}jc.current=jd;b=null!==N&&null!==N.next;ic=0;K=N=y=null;kd=!1;if(b)throw Error(m(300));return a}function ab(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===K?y.memoizedState=K=a:K=K.next=a;return K}function bb(){if(null===N){var a=y.alternate;a=null!==a?a.memoizedState:null}else a=N.next;var b=null===K?y.memoizedState:K.next;if(null!== - b)K=b,N=a;else{if(null===a)throw Error(m(310));N=a;a={memoizedState:N.memoizedState,baseState:N.baseState,baseQueue:N.baseQueue,queue:N.queue,next:null};null===K?y.memoizedState=K=a:K=K.next=a}return K}function ma(a,b){return"function"===typeof b?b(a):b}function lc(a,b,c){b=bb();c=b.queue;if(null===c)throw Error(m(311));c.lastRenderedReducer=a;var d=N,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState; - var h=g=f=null,k=e;do{var l=k.lane;if((ic&l)===l)null!==h&&(h=h.next={lane:0,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),d=k.eagerReducer===a?k.eagerState:a(d,k.action);else{var n={lane:l,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null};null===h?(g=h=n,f=d):h=h.next=n;y.lanes|=l;La|=l}k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;X(d,b.memoizedState)||(fa=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState= - d}return[b.memoizedState,c.dispatch]}function mc(a,b,c){b=bb();c=b.queue;if(null===c)throw Error(m(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);X(f,b.memoizedState)||(fa=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function nh(a,b,c){var d=b._getVersion;d=d(b._source);var e=b._workInProgressVersionPrimary;if(null!==e)a=e===d;else if(a=a.mutableReadLanes, - a=(ic&a)===a)b._workInProgressVersionPrimary=d,Bb.push(b);if(a)return c(b._source);Bb.push(b);throw Error(m(350));}function oh(a,b,c,d){var e=R;if(null===e)throw Error(m(349));var f=b._getVersion,g=f(b._source),h=jc.current,k=h.useState(function(){return nh(e,b,c)}),l=k[1],n=k[0];k=K;var t=a.memoizedState,r=t.refs,w=r.getSnapshot,z=t.source;t=t.subscribe;var B=y;a.memoizedState={refs:r,source:b,subscribe:d};h.useEffect(function(){r.getSnapshot=c;r.setSnapshot=l;var a=f(b._source);if(!X(g,a)){a=c(b._source); - X(n,a)||(l(a),a=Oa(B),e.mutableReadLanes|=a&e.pendingLanes);a=e.mutableReadLanes;e.entangledLanes|=a;for(var d=e.entanglements,h=a;0c?98:c,function(){a(!0)});Za(97\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),"select"===c&&(g=a,d.multiple? - g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Fa]=b;a[Wc]=d;xj(a,b,!1,!1);b.stateNode=a;g=Td(c,d);switch(c){case "dialog":z("cancel",a);z("close",a);e=d;break;case "iframe":case "object":case "embed":z("load",a);e=d;break;case "video":case "audio":for(e=0;eWe&&(b.flags|=64,f=!0,oc(d,!1),b.lanes=33554432)}else{if(!f)if(a=hd(g),null!==a){if(b.flags|=64,f=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),oc(d,!0),null===d.tail&&"hidden"===d.tailMode&& - !g.alternate&&!la)return b=b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*P()-d.renderingStartTime>We&&1073741824!==c&&(b.flags|=64,f=!0,oc(d,!1),b.lanes=33554432);d.isBackwards?(g.sibling=b.child,b.child=g):(c=d.last,null!==c?c.sibling=g:b.child=g,d.last=g)}return null!==d.tail?(c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=P(),c.sibling=null,b=E.current,A(E,f?b&1|2:b&1),c):null;case 23:case 24:return ta=cb.current,t(cb),null!==a&&null!== - a.memoizedState!==(null!==b.memoizedState)&&"unstable-defer-without-hiding"!==d.mode&&(b.flags|=4),null}throw Error(m(156,b.tag));}function zj(a,b){switch(a.tag){case 1:return S(a.type)&&(t(J),t(D)),b=a.flags,b&4096?(a.flags=b&-4097|64,a):null;case 3:Ab();t(J);t(D);Je();b=a.flags;if(0!==(b&64))throw Error(m(285));a.flags=b&-4097|64;return a;case 5:return Ge(a),null;case 13:return t(E),b=a.flags,b&4096?(a.flags=b&-4097|64,a):null;case 19:return t(E),null;case 4:return Ab(),null;case 10:return Ae(a), - null;case 23:case 24:return ta=cb.current,t(cb),null;default:return null}}function Xe(a,b){try{var c="",d=b;do c+=pi(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e}}function Ye(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Mh(a,b,c){c=Ia(-1,c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){rd||(rd=!0,Ze=d);Ye(a,b)};return c}function Nh(a,b,c){c=Ia(-1,c);c.tag= - 3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){Ye(a,b);return d(e)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===na?na=new Set([this]):na.add(this),Ye(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""})});return c}function Oh(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){Qa(a,c)}else b.current=null}function Aj(a, - b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.flags&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:ea(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:b.flags&256&&te(b.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(m(163));}function Bj(a,b,c,d){switch(c.tag){case 0:case 11:case 15:case 22:b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next; - do 3===(a.tag&3)&&(d=a.create,a.destroy=d()),a=a.next;while(a!==b)}b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next;do{var e=a;d=e.next;e=e.tag;0!==(e&4)&&0!==(e&1)&&(Ph(c,a),Cj(c,a));a=d}while(a!==b)}return;case 1:a=c.stateNode;c.flags&4&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:ea(c.type,b.memoizedProps),a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)));b=c.updateQueue;null!==b&&dh(c,b,a);return;case 3:b=c.updateQueue; - if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}dh(c,b,a)}return;case 5:a=c.stateNode;null===b&&c.flags&4&&Pg(c.type,c.memoizedProps)&&a.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&bg(c))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(m(163));}function Qh(a,b){for(var c=a;;){if(5=== - c.tag){var d=c.stateNode;if(b)d=d.style,"function"===typeof d.setProperty?d.setProperty("display","none","important"):d.display="none";else{d=c.stateNode;var e=c.memoizedProps.style;e=void 0!==e&&null!==e&&e.hasOwnProperty("display")?e.display:null;d.style.display=Nf("display",e)}}else if(6===c.tag)c.stateNode.nodeValue=b?"":c.memoizedProps;else if((23!==c.tag&&24!==c.tag||null===c.memoizedState||c===a)&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===a)break;for(;null===c.sibling;){if(null=== - c.return||c.return===a)return;c=c.return}c.sibling.return=c.return;c=c.sibling}}function Rh(a,b,c){if(db&&"function"===typeof db.onCommitFiberUnmount)try{db.onCommitFiberUnmount($e,b)}catch(f){}switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){c=a=a.next;do{var d=c,e=d.destroy;d=d.tag;if(void 0!==e)if(0!==(d&4))Ph(b,c);else{d=b;try{e()}catch(f){Qa(d,f)}}c=c.next}while(c!==a)}break;case 1:Oh(b);a=b.stateNode;if("function"===typeof a.componentWillUnmount)try{a.props= - b.memoizedProps,a.state=b.memoizedState,a.componentWillUnmount()}catch(f){Qa(b,f)}break;case 5:Oh(b);break;case 4:Sh(a,b)}}function Th(a){a.alternate=null;a.child=null;a.dependencies=null;a.firstEffect=null;a.lastEffect=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.return=null;a.updateQueue=null}function Uh(a){return 5===a.tag||3===a.tag||4===a.tag}function Vh(a){a:{for(var b=a.return;null!==b;){if(Uh(b))break a;b=b.return}throw Error(m(160));}var c=b;b=c.stateNode;switch(c.tag){case 5:var d= - !1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(m(161));}c.flags&16&&(qc(b,""),c.flags&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Uh(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.flags&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.flags&2)){c=c.stateNode;break a}}d?af(a,c,b):bf(a,c,b)}function af(a,b,c){var d= - a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Vc));else if(4!==d&&(a=a.child,null!==a))for(af(a,b,c),a=a.sibling;null!==a;)af(a,b,c),a=a.sibling}function bf(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a); - else if(4!==d&&(a=a.child,null!==a))for(bf(a,b,c),a=a.sibling;null!==a;)bf(a,b,c),a=a.sibling}function Sh(a,b,c){c=b;for(var d=!1,e,f;;){if(!d){e=c.return;a:for(;;){if(null===e)throw Error(m(160));f=e.stateNode;switch(e.tag){case 5:e=f;f=!1;break a;case 3:e=f.containerInfo;f=!0;break a;case 4:e=f.containerInfo;f=!0;break a}e=e.return}d=!0}if(5===c.tag||6===c.tag){a:for(var g=a,h=c,k=h;;)if(Rh(g,k),null!==k.child&&4!==k.tag)k.child.return=k,k=k.child;else{if(k===h)break a;for(;null===k.sibling;){if(null=== - k.return||k.return===h)break a;k=k.return}k.sibling.return=k.return;k=k.sibling}f?(g=e,h=c.stateNode,8===g.nodeType?g.parentNode.removeChild(h):g.removeChild(h)):e.removeChild(c.stateNode)}else if(4===c.tag){if(null!==c.child){e=c.stateNode.containerInfo;f=!0;c.child.return=c;c=c.child;continue}}else if(Rh(a,c),null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;4===c.tag&&(d=!1)}c.sibling.return=c.return;c= - c.sibling}}function cf(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do 3===(d.tag&3)&&(a=d.destroy,d.destroy=void 0,void 0!==a&&a()),d=d.next;while(d!==c)}return;case 1:return;case 5:c=b.stateNode;if(null!=c){d=b.memoizedProps;var e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Wc]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Hf(c,d);Td(a,e);b=Td(a,d);for(e=0;ee&&(e=g);c&=~f}c=e;c=P()-c;c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3E3>c?3E3:4320>c?4320:1960*Ij(c/1960))-c;if(10 component higher in the tree to provide a loading indicator or placeholder to display.")}5!== - L&&(L=2);k=Xe(k,h);r=g;do{switch(r.tag){case 3:f=k;r.flags|=4096;b&=-b;r.lanes|=b;var B=Mh(r,f,b);ch(r,B);break a;case 1:f=k;var A=r.type,D=r.stateNode;if(0===(r.flags&64)&&("function"===typeof A.getDerivedStateFromError||null!==D&&"function"===typeof D.componentDidCatch&&(null===na||!na.has(D)))){r.flags|=4096;b&=-b;r.lanes|=b;var F=Nh(r,f,b);ch(r,F);break a}}r=r.return}while(null!==r)}ci(c)}catch(qa){b=qa;G===c&&null!==c&&(G=c=c.return);continue}break}while(1)}function Yh(){var a=vd.current;vd.current= - jd;return null===a?jd:a}function sc(a,b){var c=n;n|=16;var d=Yh();R===a&&O===b||Gb(a,b);do try{Nj();break}catch(e){Zh(a,e)}while(1);ze();n=c;vd.current=d;if(null!==G)throw Error(m(261));R=null;O=0;return L}function Nj(){for(;null!==G;)di(G)}function Hj(){for(;null!==G&&!Oj();)di(G)}function di(a){var b=Pj(a.alternate,a,ta);a.memoizedProps=a.pendingProps;null===b?ci(a):G=b;kf.current=null}function ci(a){var b=a;do{var c=b.alternate;a=b.return;if(0===(b.flags&2048)){c=vj(c,b,ta);if(null!==c){G=c;return}c= - b;if(24!==c.tag&&23!==c.tag||null===c.memoizedState||0!==(ta&1073741824)||0===(c.mode&4)){for(var d=0,e=c.child;null!==e;)d|=e.lanes|e.childLanes,e=e.sibling;c.childLanes=d}null!==a&&0===(a.flags&2048)&&(null===a.firstEffect&&(a.firstEffect=b.firstEffect),null!==b.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=b.firstEffect),a.lastEffect=b.lastEffect),1g&&(h=g,g=A,A=h),h=vg(p,A),f=vg(p,g),h&&f&&(1!==u.rangeCount||u.anchorNode!==h.node||u.anchorOffset!==h.offset||u.focusNode!==f.node||u.focusOffset!==f.offset)&&(q=q.createRange(),q.setStart(h.node,h.offset),u.removeAllRanges(),A>g?(u.addRange(q),u.extend(f.node, - f.offset)):(q.setEnd(f.node,f.offset),u.addRange(q))))));q=[];for(u=p;u=u.parentNode;)1===u.nodeType&&q.push({element:u,left:u.scrollLeft,top:u.scrollTop});"function"===typeof p.focus&&p.focus();for(p=0;pP()-df?Gb(a,0):jf|=c);ba(a,b)}function Ej(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=a.mode,0===(b&2)?b=1:0===(b&4)?b=99===wb()?1:2:(0===ua&&(ua=Fb),b=nb(62914560&~ua),0===b&&(b=4194304))); - c=W();a=ud(a,b);null!==a&&(Oc(a,b,c),ba(a,c))}function Uj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.flags=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childLanes=this.lanes=0;this.alternate=null}function Qe(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Vj(a){if("function"=== - typeof a)return Qe(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Dc)return 11;if(a===Ec)return 14}return 2}function Ma(a,b){var c=a.alternate;null===c?(c=Z(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue= - a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function fd(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)Qe(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case wa:return zb(c.children,e,f,b);case fi:g=8;e|=16;break;case Hd:g=8;e|=1;break;case Lb:return a=Z(12,c,b,e|8),a.elementType=Lb,a.type=Lb,a.lanes=f,a;case Mb:return a=Z(13,c,b,e),a.type=Mb,a.elementType=Mb,a.lanes= - f,a;case Cc:return a=Z(19,c,b,e),a.elementType=Cc,a.lanes=f,a;case pf:return Ue(c,e,f,b);case qf:return a=Z(24,c,b,e),a.elementType=qf,a.lanes=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Jd:g=10;break a;case Id:g=9;break a;case Dc:g=11;break a;case Ec:g=14;break a;case Ld:g=16;d=null;break a;case Kd:g=22;break a}throw Error(m(130,null==a?a:typeof a,""));}b=Z(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function zb(a,b,c,d){a=Z(7,a,d,b);a.lanes=c;return a}function Ue(a, - b,c,d){a=Z(23,a,d,b);a.elementType=pf;a.lanes=c;return a}function De(a,b,c){a=Z(6,a,null,b);a.lanes=c;return a}function Ee(a,b,c){b=Z(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Wj(a,b,c){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode= - null;this.callbackPriority=0;this.eventTimes=ge(0);this.expirationTimes=ge(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=ge(0);this.mutableSourceEagerHydrationData=null}function Xj(a,b,c){var d=3