From 4e31e00875fb6eaf01ee1cf6296c7def02a22caa Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Mon, 24 Jun 2019 17:06:58 +1200 Subject: [PATCH 1/6] NEW Add a basic Behat test to set MFA as required, and ensure "I log in as" skips MFA registration --- .travis.yml | 36 +++++++++++++++--- behat.yml | 31 +++++++++++++++ composer.json | 3 +- tests/Behat/Context/LoginContext.php | 48 ++++++++++++++++++++++++ tests/Behat/features/mfa-enabled.feature | 17 +++++++++ 5 files changed, 128 insertions(+), 7 deletions(-) create mode 100644 behat.yml create mode 100644 tests/Behat/Context/LoginContext.php create mode 100644 tests/Behat/features/mfa-enabled.feature diff --git a/.travis.yml b/.travis.yml index 02266864..bc2e961c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,38 @@ language: php +before_install: + - sudo apt-get update + - sudo apt-get install chromium-chromedriver + dist: trusty env: global: - TRAVIS_NODE_VERSION="10" + - DISPLAY=":99" + - XVFBARGS=":99 -ac -screen 0 1024x768x16" + - SS_BASE_URL="http://localhost:8080/" + - SS_ENVIRONMENT_TYPE="dev" matrix: include: - - php: 7.1 + - php: '7.1' env: DB=MYSQL RECIPE_VERSION=4.2.x-dev PHPUNIT_TEST=1 PHPCS_TEST=1 - - php: 7.1 + - php: '7.1' env: DB=PGSQL RECIPE_VERSION=4.3.x-dev PHPUNIT_COVERAGE_TEST=1 - - php: 7.2 + - php: '7.2' env: DB=MYSQL RECIPE_VERSION=4.4.x-dev PHPUNIT_TEST=1 - - php: 7.3 + - php: '7.3' + env: DB=MYSQL RECIPE_VERSION=4.4.x-dev BEHAT_TEST=1 + - php: '7.3' env: DB=MYSQL RECIPE_VERSION=4.3.x-dev NPM_TEST=1 - - php: 7.3 + - php: '7.3' env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1 before_script: + # Extra $PATH + - export PATH=/usr/lib/chromium-browser/:$PATH + # Init PHP - phpenv rehash - phpenv config-rm xdebug.ini || true @@ -27,9 +40,16 @@ before_script: # Install composer dependencies - composer validate - if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.1.x-dev --no-update; fi - - composer require silverstripe/recipe-cms "$RECIPE_VERSION" --no-update + - composer require --no-update silverstripe/recipe-cms:"$RECIPE_VERSION" silverstripe/recipe-testing:^1 - composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile + # Behat bootstrapping + - if [[ $BEHAT_TEST ]]; then mkdir artifacts; fi + - if [[ $BEHAT_TEST ]]; then cp composer.lock artifacts/; fi + - if [[ $BEHAT_TEST ]]; then sh -e /etc/init.d/xvfb start; sleep 3; fi + - if [[ $BEHAT_TEST ]]; then (chromedriver > artifacts/chromedriver.log 2>&1 &); fi + - if [[ $BEHAT_TEST ]]; then (vendor/bin/serve --bootstrap-file vendor/silverstripe/cms/tests/behat/serve-bootstrap.php &> artifacts/serve.log &); fi + # Install NPM dependencies - if [[ $NPM_TEST ]]; then nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION && npm install -g yarn && yarn install --network-concurrency 1 && yarn run build; fi @@ -41,7 +61,11 @@ script: - if [[ $NPM_TEST ]]; then git diff --name-status --relative=client; fi - if [[ $NPM_TEST ]]; then yarn run coverage; fi - if [[ $NPM_TEST ]]; then yarn run lint; fi + - if [[ $BEHAT_TEST ]]; then vendor/bin/behat @mfa; fi after_success: - if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml -F php; fi - if [[ $NPM_TEST ]]; then bash <(curl -s https://codecov.io/bash) -F js; fi + +after_failure: + - if [[ $BEHAT_TEST ]]; then php ./vendor/silverstripe/framework/tests/behat/travis-upload-artifacts.php --if-env BEHAT_TEST,ARTIFACTS_BUCKET,ARTIFACTS_KEY,ARTIFACTS_SECRET --target-path $TRAVIS_REPO_SLUG/$TRAVIS_BUILD_ID/$TRAVIS_JOB_ID --artifacts-base-url https://s3.amazonaws.com/$ARTIFACTS_BUCKET/ --artifacts-path ./artifacts/; fi diff --git a/behat.yml b/behat.yml new file mode 100644 index 00000000..f4f30d6e --- /dev/null +++ b/behat.yml @@ -0,0 +1,31 @@ +# Run mfa behat tests with this command +# Note that mfa behat tests require CMS module +# ========================================================================= # +# chromedriver +# vendor/bin/behat @mfa +# ========================================================================= # +default: + suites: + mfa: + paths: + - %paths.modules.mfa%/tests/Behat/features + contexts: + - SilverStripe\Framework\Tests\Behaviour\FeatureContext + - SilverStripe\Framework\Tests\Behaviour\CmsFormsContext + - SilverStripe\Framework\Tests\Behaviour\CmsUiContext + - SilverStripe\BehatExtension\Context\BasicContext + - SilverStripe\BehatExtension\Context\EmailContext + - SilverStripe\MFA\Tests\Behat\Context\LoginContext + - SilverStripe\CMS\Tests\Behaviour\ThemeContext + extensions: + SilverStripe\BehatExtension\MinkExtension: + default_session: facebook_web_driver + javascript_session: facebook_web_driver + facebook_web_driver: + browser: chrome + wd_host: "http://127.0.0.1:9515" #chromedriver port + browser_name: chrome + SilverStripe\BehatExtension\Extension: + bootstrap_file: vendor/silverstripe/cms/tests/behat/serve-bootstrap.php + screenshot_path: %paths.base%/artifacts/screenshots + retry_seconds: 4 # default is 2 diff --git a/composer.json b/composer.json index 232dca40..5d764dfc 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,8 @@ "autoload": { "psr-4": { "SilverStripe\\MFA\\": "src/", - "SilverStripe\\MFA\\Tests\\": "tests/php/" + "SilverStripe\\MFA\\Tests\\": "tests/php/", + "SilverStripe\\MFA\\Tests\\Behat\\": "tests/Behat/" } }, "support": { diff --git a/tests/Behat/Context/LoginContext.php b/tests/Behat/Context/LoginContext.php new file mode 100644 index 00000000..2763df01 --- /dev/null +++ b/tests/Behat/Context/LoginContext.php @@ -0,0 +1,48 @@ +multiFactorAuthenticationIsOptional(); + parent::iAmLoggedInWithPermissions($permCode); + + // Wait for MFA to load + $this->getMainContext()->getSession() + ->wait(5000, 'document.getElementsByClassName("mfa-app-title").length === 1'); + + $this->getMainContext()->pressButton('Setup later'); + } + + /** + * @Given multi factor authentication is optional + */ + public function multiFactorAuthenticationIsOptional() + { + /** @var SiteConfig&SiteConfigExtension $siteConfig */ + $siteConfig = SiteConfig::current_site_config(); + assertNotNull($siteConfig, 'Current SiteConfig record could not be found!'); + + $siteConfig->MFARequired = false; + $siteConfig->write(); + } + + /** + * @When I select :option from the MFA settings + */ + public function iSelectFromTheMfaSettings($option) + { + $value = $option === 'MFA is required for everyone' ? 1 : 0; + $this->getMainContext()->selectOption('MFARequired', $value); + } +} diff --git a/tests/Behat/features/mfa-enabled.feature b/tests/Behat/features/mfa-enabled.feature new file mode 100644 index 00000000..4621ca34 --- /dev/null +++ b/tests/Behat/features/mfa-enabled.feature @@ -0,0 +1,17 @@ +Feature: MFA is enabled for the site + As a website owner + I want to enable multi-factor authentication for my site + So that my site will be more secure + + Background: + Given I am logged in with "ADMIN" permissions + And I go to "/admin" + Then I should see the CMS + + Scenario: I can set MFA to be required + Given I go to "/admin/settings" + And I click the "Access" CMS tab + Then I should see "Multi Factor Authentication (MFA)" + When I select "MFA is required for everyone" from the MFA settings + And I press "Save" + Then I should see "Saved" From 546fa8a1d0c7f3a4d330d53510238353d8639c60 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 26 Jun 2019 11:38:47 +1200 Subject: [PATCH 2/6] Update conditions for "wait until MFA has loaded" --- tests/Behat/Context/LoginContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Behat/Context/LoginContext.php b/tests/Behat/Context/LoginContext.php index 2763df01..bc9a5e4b 100644 --- a/tests/Behat/Context/LoginContext.php +++ b/tests/Behat/Context/LoginContext.php @@ -17,9 +17,9 @@ public function iAmLoggedInWithPermissions($permCode) $this->multiFactorAuthenticationIsOptional(); parent::iAmLoggedInWithPermissions($permCode); - // Wait for MFA to load + // Wait for MFA to finish loading $this->getMainContext()->getSession() - ->wait(5000, 'document.getElementsByClassName("mfa-app-title").length === 1'); + ->wait(10000, 'document.getElementsByClassName("mfa-loading-indicator").length === 0'); $this->getMainContext()->pressButton('Setup later'); } From 690b8696cad8494282a20d9de09b7df27ff2b734 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 26 Jun 2019 13:37:36 +1200 Subject: [PATCH 3/6] FIX Do not redirect to MFA when backup codes are the only available option --- src/Service/EnforcementManager.php | 5 ++++- tests/Behat/Context/LoginContext.php | 6 ------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Service/EnforcementManager.php b/src/Service/EnforcementManager.php index 5268d489..73c11728 100644 --- a/src/Service/EnforcementManager.php +++ b/src/Service/EnforcementManager.php @@ -100,7 +100,10 @@ public function shouldRedirectToMFA(Member $member): bool return false; } - if (empty(MethodRegistry::singleton()->getMethods())) { + $methodRegistry = MethodRegistry::singleton(); + $methods = $methodRegistry->getMethods(); + // If there are no methods available excluding backup codes, do not redirect + if (!count($methods) || (count($methods) === 1 && $methodRegistry->getBackupMethod() !== null)) { return false; } diff --git a/tests/Behat/Context/LoginContext.php b/tests/Behat/Context/LoginContext.php index bc9a5e4b..080baa8a 100644 --- a/tests/Behat/Context/LoginContext.php +++ b/tests/Behat/Context/LoginContext.php @@ -16,12 +16,6 @@ public function iAmLoggedInWithPermissions($permCode) // Set MFA to optional, perform login logic, then skip MFA $this->multiFactorAuthenticationIsOptional(); parent::iAmLoggedInWithPermissions($permCode); - - // Wait for MFA to finish loading - $this->getMainContext()->getSession() - ->wait(10000, 'document.getElementsByClassName("mfa-loading-indicator").length === 0'); - - $this->getMainContext()->pressButton('Setup later'); } /** From 7e7174a83e4973337f56d204b9564e097053cacb Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 26 Jun 2019 15:11:03 +1200 Subject: [PATCH 4/6] Add loading error component for when fetching the schema on initial load fails, implement for unavailable method screen --- client/dist/js/bundle.js | 2 +- client/src/bundles/bundle-cms.scss | 2 +- client/src/components/LoadingError.js | 29 ++++++++ client/src/components/Verify.js | 26 +++---- client/src/components/tests/Verify-test.js | 4 +- client/src/containers/Login.js | 32 +++++++-- client/src/containers/tests/Login-test.js | 80 ++++++++++++++++++++++ 7 files changed, 152 insertions(+), 23 deletions(-) create mode 100644 client/src/components/LoadingError.js create mode 100644 client/src/containers/tests/Login-test.js diff --git a/client/dist/js/bundle.js b/client/dist/js/bundle.js index 1f164e31..858c4bd2 100644 --- a/client/dist/js/bundle.js +++ b/client/dist/js/bundle.js @@ -1 +1 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="./client/src/bundles/bundle.js")}({"./client/lang/src/en.json":function(e,t){e.exports={"MultiFactorAuthentication.FIND_OUT_MORE":"Find out more","MultiFactorAuthentication.TITLE":"Add extra security to your account","MultiFactorAuthentication.HOW_IT_WORKS":"How it works","MultiFactorAuthentication.EXTRA_LAYER_IMAGE_ALT":"Shields indicating additional protection","MultiFactorAuthentication.EXTRA_LAYER_TITLE":"Extra layer of protection","MultiFactorAuthentication.EXTRA_LAYER_DESCRIPTION":"Every time you log into your account, you'll need your password and an additional form of verification.","MultiFactorAuthentication.UNIQUE_IMAGE_ALT":"Person with tick indicating uniqueness","MultiFactorAuthentication.UNIQUE_TITLE":"Unique to you","MultiFactorAuthentication.UNIQUE_DESCRIPTION":"This verification is only available to you. Even if someone gets your password, they will not be able to access your account.","MultiFactorAuthentication.GET_STARTED":"Get started","MultiFactorAuthentication.SETUP_LATER":"Setup later","MultiFactorAuthentication.ADD_ANOTHER_METHOD":"Add another MFA method","MultiFactorAuthentication.ADD_FIRST_METHOD":"Add an MFA method","MultiFactorAuthentication.REGISTERED":"{method}: Registered","MultiFactorAuthentication.DEFAULT_REGISTERED":"{method} (default): Registered","MultiFactorAuthentication.BACKUP_REGISTERED":"{method}: Created {date}","MultiFactorAuthentication.RESET_METHOD":"Reset","MultiFactorAuthentication.REMOVE_METHOD":"Remove","MultiFactorAuthentication.SET_AS_DEFAULT":"Set as default method","MultiFactorAuthentication.NO_METHODS_REGISTERED":"No MFA methods have been registered. Add one using the button below","MultiFactorAuthentication.NO_METHODS_REGISTERED_READONLY":"This member has not registered any MFA methods yet","MultiFactorAuthentication.SELECT_METHOD":"Select a verification method","MultiFactorAuthentication.SETUP_COMPLETE_TITLE":"Multi-factor authentication is now set up","MultiFactorAuthentication.ACCOUNT_RESET_TITLE":"Help user reset account","MultiFactorAuthentication.ACCOUNT_RESET_DESCRIPTION":"Ensure that the person requesting a reset is the real person associated with this account before proceeding. An email will be sent to the member's address with a link to reset both their password and multi-factor authentication methods.","MultiFactorAuthentication.ACCOUNT_RESET_ACTION":"Send account reset email","MultiFactorAuthentication.ACCOUNT_RESET_SENDING":"Sending...","MultiFactorAuthentication.ACCOUNT_RESET_SENDING_SUCCESS":"An email has been sent.","MultiFactorAuthentication.ACCOUNT_RESET_SENDING_FAILURE":"We were unable to send an email, please try again later.","MultiFactorAuthentication.ACCOUNT_RESET_CONFIRMATION":"You are about to reset this account. Their password and multi-factor authentication will be reset. Continue?","MultiFactorAuthentication.ACCOUNT_RESET_CONFIRMATION_BUTTON":"Yes, send reset email","MultiFactorAuthentication.DEFAULT_CONFIRM_BUTTON":"Confirm","MultiFactorAuthentication.DEFAULT_CONFIRM_DISMISS_BUTTON":"Cancel","MultiFactorAuthentication.DELETE_CONFIRMATION":"Are you sure you want to remove this method","MultiFactorAuthentication.CONFIRMATION_TITLE":"Are you sure?","MultiFactorAuthentication.DELETE_CONFIRMATION_BUTTON":"Remove method","MultiFactorAuthentication.RESET_BACKUP_CONFIRMATION":"All existing codes will be made invalid and new codes will be created","MultiFactorAuthentication.RESET_BACKUP_CONFIRMATION_BUTTON":"Reset codes","MultiFactorAuthentication.ADMIN_SETUP_COMPLETE_CONTINUE":"Your settings have been updated"}},"./client/src/boot/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n("./node_modules/react/index.js"),i=r(o),a=n("./node_modules/react-dom/index.js"),l=r(a),u=n("./client/src/containers/Login.js"),s=r(u),c=n("./client/src/boot/registerComponents.js"),d=r(c),f=n("./client/src/boot/registerReducers.js"),p=r(f),m=n(0),h=r(m),y=n("./node_modules/redux/es/redux.js"),v=n("./node_modules/react-redux/es/index.js");window.document.addEventListener("DOMContentLoaded",function(){(0,d.default)(),(0,p.default)(),h.default.ready(function(){var e=window.document.getElementById("mfa-app"),t=e.dataset.schemaurl,n=(0,y.createStore)((0,y.combineReducers)(h.default.reducer.getAll()),window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__());l.default.render(i.default.createElement(v.Provider,{store:n},i.default.createElement(s.default,{schemaURL:t})),e)}),window.setTimeout(function(){return h.default.load()},1)})},"./client/src/boot/registerComponents.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./client/src/components/BackupCodes/Register.js"),i=r(o),a=n("./client/src/components/BackupCodes/Verify.js"),l=r(a),u=n("./client/src/components/BasicMath/Register.js"),s=r(u),c=n("./client/src/components/BasicMath/Login.js"),d=r(c),f=n(0),p=r(f);t.default=function(){p.default.component.registerMany({BackupCodeRegister:i.default,BackupCodeVerify:l.default,BasicMathRegister:s.default,BasicMathLogin:d.default})}},"./client/src/boot/registerReducers.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n("./client/src/state/mfaRegister/reducer.js"),l=r(a),u=n("./client/src/state/mfaVerify/reducer.js"),s=r(u);t.default=function(){i.default.reducer.register("mfaRegister",l.default),i.default.reducer.register("mfaVerify",s.default)}},"./client/src/bundles/bundle.js":function(e,t,n){"use strict";n("./client/src/boot/index.js")},"./client/src/components/BackupCodes/Register.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.SCREEN_COMPLETE=t.SCREEN_CHOOSE_METHOD=t.SCREEN_REGISTER_METHOD=t.SCREEN_INTRODUCTION=void 0;var u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=this.getOtherMethods(),n=window,r=n.ss.i18n;return Array.isArray(t)&&t.length?d.default.createElement("a",{href:"#",className:(0,h.default)("btn btn-secondary",e),onClick:this.handleShowOtherMethodsPane},r._t("MFAVerify.MORE_OPTIONS","More options")):null}},{key:"renderOtherMethods",value:function(){var e=this,t=this.getOtherMethods(),n=this.state,r=n.selectedMethod,o=n.showOtherMethods,i=this.props.resources;return r&&!o?null:d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement(w.default,{resources:i,methods:t,onClickBack:this.handleHideOtherMethodsPane,onSelectMethod:function(t){return function(n){return e.handleClickOtherMethod(n,t)}}}))}},{key:"renderSelectedMethod",value:function(){var e=this.props,t=e.isAvailable,n=e.getUnavailableMessage,r=this.state,o=r.selectedMethod,i=r.showOtherMethods,a=r.verifyProps,l=r.message,s=window,f=s.ss.i18n;if(!o||i)return null;if(t&&!t(o)){var p=n(o);return d.default.createElement("div",{className:"mfa-method mfa-method--unavailable"},d.default.createElement("div",{className:"mfa-method-icon mfa-method-icon--unavailable"},d.default.createElement(S.default,{size:"80px"})),d.default.createElement("h2",{className:"mfa-method-title mfa-method-title--unavailable"},f._t("MFAVerify.METHOD_UNAVAILABLE","This authentication method is unavailable")),p&&d.default.createElement("p",null,p),d.default.createElement("div",{className:"mfa-method-options"},this.renderOtherMethodsControl("btn-outline-secondary")))}var m=(0,y.loadComponent)(o.component);return d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement("h2",{className:"mfa-section-title"},o.leadInLabel),m&&d.default.createElement(m,u({},a,{method:o,error:l,onCompleteVerification:this.handleCompleteVerification,moreOptionsControl:this.renderOtherMethodsControl()})))}},{key:"renderTitle",value:function(){var e=window,t=e.ss.i18n;return d.default.createElement("h1",{className:"mfa-app-title"},t._t("MFAVerify.TITLE","Log in"))}},{key:"render",value:function(){return this.state.loading?d.default.createElement(_.default,{block:!0}):d.default.createElement(c.Fragment,null,this.renderSelectedMethod(),this.renderOtherMethods())}}]),t}(c.Component);x.propTypes={endpoints:p.default.shape({verify:p.default.string.isRequired,register:p.default.string}),registeredMethods:p.default.arrayOf(b.default),defaultMethod:p.default.string},t.Component=x,t.default=(0,k.default)(x)},"./client/src/components/Verify/SelectMethod.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:" ";if(e.length<6)return e;if(e.length%4==0)return e.split(/(.{4})/g).filter(function(e){return e}).join(t).trim();if(e.length%3==0)return e.split(/(.{3})/g).filter(function(e){return e}).join(t).trim();var n=4-e.length%4,o=(e.length-3*n)/4,i=[].concat(r([].concat(r(Array(o).keys())).map(function(){return 4})),r([].concat(r(Array(n).keys())).map(function(){return 3}))),a=0;return i.map(function(t){return e.substring(a,a+=t)}).join(t).trim()};t.formatCode=o},"./client/src/state/methodAvailability/withMethodAvailability.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.availableMethodOverrides,n=e||this.props.method,r=n.urlSegment;return void 0!==t[r]?t[r]:{}}},{key:"getUnavailableMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method;return this.getAvailabilityOverride(t).unavailableMessage||t.unavailableMessage}},{key:"isAvailable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method,n=this.getAvailabilityOverride(t),r=t.isAvailable;return void 0!==n.isAvailable&&(r=n.isAvailable),r}},{key:"render",value:function(){return c.default.createElement(e,l({},this.props,{isAvailable:this.isAvailable,getUnavailableMessage:this.getUnavailableMessage}))}}]),n}(s.Component),n=p(e);return t.displayName="WithMethodAvailability("+n+")",t},h=function(e){var t=[].concat(r(e.mfaRegister.availableMethods),r(e.mfaVerify.allMethods)),n={};return Object.values(t).forEach(function(t){var r=t.urlSegment,o=r+"Availability";void 0!==e[o]&&(n[r]=e[o])}),{availableMethodOverrides:n}};t.hoc=m;var y=(0,f.compose)((0,d.connect)(h),m);t.default=y},"./client/src/state/mfaRegister/actionTypes.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ADD_AVAILABLE_METHOD","REMOVE_AVAILABLE_METHOD","SET_AVAILABLE_METHODS","SET_SCREEN","SET_METHOD"].reduce(function(e,t){return Object.assign(e,r({},t,"MFA_REGISTER."+t))},{})},"./client/src/state/mfaRegister/actions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeAvailableMethod=t.addAvailableMethod=t.setAvailableMethods=t.chooseMethod=t.showScreen=void 0;var r=n("./client/src/state/mfaRegister/actionTypes.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.showScreen=function(e){return{type:o.default.SET_SCREEN,payload:{screen:e}}},t.chooseMethod=function(e){return{type:o.default.SET_METHOD,payload:{method:e}}},t.setAvailableMethods=function(e){return{type:o.default.SET_AVAILABLE_METHODS,payload:{availableMethods:e}}},t.addAvailableMethod=function(e){return{type:o.default.ADD_AVAILABLE_METHOD,payload:{method:e}}},t.removeAvailableMethod=function(e){return{type:o.default.REMOVE_AVAILABLE_METHOD,payload:{method:e}}}},"./client/src/state/mfaRegister/reducer.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload;switch(n){case l.default.SET_SCREEN:var a=o.screen;return null===e.method&&a===u.SCREEN_REGISTER_METHOD?i({},e,{screen:u.SCREEN_CHOOSE_METHOD}):i({},e,{screen:a});case l.default.SET_METHOD:return i({},e,{method:o.method});case l.default.SET_AVAILABLE_METHODS:return i({},e,{availableMethods:o.availableMethods});case l.default.ADD_AVAILABLE_METHOD:return i({},e,{availableMethods:[].concat(r(e.availableMethods),[o.method])});case l.default.REMOVE_AVAILABLE_METHOD:return i({},e,{availableMethods:e.availableMethods.filter(function(e){return e.urlSegment!==o.method.urlSegment})});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;switch(n){case a.default.SET_ALL_METHODS:return o({},e,{allMethods:r.allMethods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}t.a=r},"./node_modules/classnames/index.js":function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t'),this.addEvents();var d=this.opts,f=d.headElements,p=d.bodyElements;Array.isArray(f)&&f.forEach(function(e){return c.head.appendChild(e)}),Array.isArray(p)&&p.forEach(function(e){return c.body.appendChild(e)}),Array.isArray(t)&&t.forEach(function(e){e&&(u(e)?c.head.appendChild(o(c,e)):c.head.appendChild(r(c,e)))}),c.body.appendChild(this.elCopy),Array.isArray(n)&&n.forEach(function(e){if(e){var t=c.createElement("script");u(e)?t.src=e:t.innerText=e,c.body.appendChild(t)}}),c.close()}}},e.prototype.printURL=function(e,t){this.isLoading||(this.addEvents(),this.isLoading=!0,this.callback=t,this.iframe.src=e)},e.prototype.launchPrint=function(e){e.document.execCommand("print",!1,null)||e.print()},e.prototype.addEvents=function(){var e=this;this.hasEvents||(this.hasEvents=!0,this.iframe.addEventListener("load",function(){return e.onLoad()},!1))},e.prototype.onLoad=function(){var e=this;if(this.iframe){this.isLoading=!1;var t=this.iframe,n=t.contentDocument,r=t.contentWindow;if(!n||!r)return;this.callback?this.callback({iframe:this.iframe,element:this.elCopy,launchPrint:function(){return e.launchPrint(r)}}):this.launchPrint(r)}},e}();t.Printd=c,t.default=c},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";function r(){}function o(){}var i=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-copy-to-clipboard/lib/Component.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var u=Object.assign||function(e){for(var t=1;tthis.eventPool.length&&this.eventPool.push(e)}function A(e){e.eventPool=[],e.getPooled=R,e.release=N}function I(e,t){switch(e){case"keyup":return-1!==Wo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function D(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function F(e,t){switch(e){case"compositionend":return D(t);case"keypress":return 32!==t.which?null:(Go=!0,Ko);case"textInput":return e=t.data,e===Ko&&Go?null:e;default:return null}}function L(e,t){if(Xo)return"compositionend"===e||!Ho&&I(e,t)?(e=O(),zo=Uo=Lo=null,Xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function ie(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function ae(e){return e[1].toUpperCase()}function le(e,t,n,r){var o=ki.hasOwnProperty(t)?ki[t]:null;(null!==o?0===o.type:!r&&2ra.length&&ra.push(e)}}}function ze(e){return Object.prototype.hasOwnProperty.call(e,la)||(e[la]=aa++,ia[e[la]]={}),ia[e[la]]}function Be(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ve(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function We(e,t){var n=Ve(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ve(n)}}function He(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?He(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function qe(){for(var e=window,t=Be();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=Be(e.document)}return t}function $e(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(){var e=qe();if($e(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var n=t.getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var i=0,a=-1,l=-1,u=0,s=0,c=e,d=null;t:for(;;){for(var f;c!==t||0!==r&&3!==c.nodeType||(a=i+r),c!==o||0!==n&&3!==c.nodeType||(l=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break t;if(d===t&&++u===r&&(a=i),d===o&&++s===n&&(l=i),null!==(f=c.nextSibling))break;c=d,d=c.parentNode}c=f}t=-1===a||-1===l?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}function Ke(e){var t=qe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&He(n.ownerDocument.documentElement,n)){if(null!==r&&$e(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=We(n,i);var a=We(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=t.length||o("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:ue(n)}}function tt(e,t){var n=ue(t.value),r=ue(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function nt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function rt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ot(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function it(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function at(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ba.hasOwnProperty(e)&&ba[e]?(""+t).trim():t+"px"}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=at(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function ut(e,t){t&&(_a[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&o("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&o("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||o("61")),null!=t.style&&"object"!=typeof t.style&&o("62",""))}function st(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ct(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=ze(e);t=_o[t];for(var r=0;rOa||(e.current=xa[Oa],xa[Oa]=null,Oa--)}function bt(e,t){Oa++,xa[Oa]=e.current,e.current=t}function gt(e,t){var n=e.type.contextTypes;if(!n)return Ma;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _t(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Et(e){vt(ja,e),vt(Pa,e)}function wt(e){vt(ja,e),vt(Pa,e)}function Tt(e,t,n){Pa.current!==Ma&&o("168"),bt(Pa,t,e),bt(ja,n,e)}function kt(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;r=r.getChildContext();for(var i in r)i in e||o("108",ee(t)||"Unknown",i);return lo({},n,r)}function Ct(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ma,Ra=Pa.current,bt(Pa,t,e),bt(ja,ja.current,e),!0}function St(e,t,n){var r=e.stateNode;r||o("169"),n?(t=kt(e,t,Ra),r.__reactInternalMemoizedMergedChildContext=t,vt(ja,e),vt(Pa,e),bt(Pa,t,e)):vt(ja,e),bt(ja,n,e)}function xt(e){return function(t){try{return e(t)}catch(e){}}}function Ot(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Na=xt(function(e){return t.onCommitFiberRoot(n,e)}),Aa=xt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Mt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Pt(e,t,n,r){return new Mt(e,t,n,r)}function jt(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rt(e){if("function"==typeof e)return jt(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===hi)return 11;if(e===vi)return 14}return 2}function Nt(e,t){var n=e.alternate;return null===n?(n=Pt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function At(e,t,n,r,i,a){var l=2;if(r=e,"function"==typeof e)jt(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case si:return It(n.children,i,a,t);case mi:return Dt(n,3|i,a,t);case ci:return Dt(n,2|i,a,t);case di:return e=Pt(12,n,t,4|i),e.elementType=di,e.type=di,e.expirationTime=a,e;case yi:return e=Pt(13,n,t,i),e.elementType=yi,e.type=yi,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case fi:l=10;break e;case pi:l=9;break e;case hi:l=11;break e;case vi:l=14;break e;case bi:l=16,r=null;break e}o("130",null==e?e:typeof e,"")}return t=Pt(l,n,t,i),t.elementType=e,t.type=r,t.expirationTime=a,t}function It(e,t,n,r){return e=Pt(7,e,r,t),e.expirationTime=n,e}function Dt(e,t,n,r){return e=Pt(8,e,r,t),t=0==(1&t)?ci:mi,e.elementType=t,e.type=t,e.expirationTime=n,e}function Ft(e,t,n){return e=Pt(6,e,null,t),e.expirationTime=n,e}function Lt(e,t,n){return t=Pt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ut(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),Wt(t,e)}function zt(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{tt?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),n=e.earliestSuspendedTime,0===n?Ut(e,t):tn&&Ut(e,t)}Wt(0,e)}function Bt(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),Wt(t,e)}function Vt(e,t){var n=e.earliestPendingTime;return e=e.earliestSuspendedTime,n>t&&(t=n),e>t&&(t=e),t}function Wt(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;o=0!==o?o:i,0===o&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function Ht(e,t){if(e&&e.defaultProps){t=lo({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function qt(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,t=e._ctor,t=t(),t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}function $t(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:lo({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}function Qt(e,t,n,r,o,i,a){return e=e.stateNode,"function"==typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&Oe(n,r)&&Oe(o,i))}function Kt(e,t,n){var r=!1,o=Ma,i=t.contextType;return"object"==typeof i&&null!==i?i=Bn(i):(o=_t(t)?Ra:Pa.current,r=t.contextTypes,i=(r=null!==r&&void 0!==r)?gt(e,o):Ma),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Da,e.stateNode=t,t._reactInternalFiber=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Yt(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Da.enqueueReplaceState(t,t.state,null)}function Gt(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ia;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Bn(i):(i=_t(t)?Ra:Pa.current,o.context=gt(e,i)),i=e.updateQueue,null!==i&&(Gn(e,i,n,o,r),o.state=e.memoizedState),i=t.getDerivedStateFromProps,"function"==typeof i&&($t(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Da.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(Gn(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}function Xt(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&o("309"),r=n.stateNode),r||o("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===Ia&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}"string"!=typeof e&&o("284"),n._owner||o("290",e)}return e}function Zt(e,t){"textarea"!==e.type&&o("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Jt(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return e=Nt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,rh?(y=d,d=null):y=d.sibling;var v=p(o,d,l[h],u);if(null===v){null===d&&(d=y);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,d=y}if(h===l.length)return n(o,d),s;if(null===d){for(;hy?(v=h,h=null):v=h.sibling;var g=p(i,h,b.value,s);if(null===g){h||(h=v);break}e&&h&&null===g.alternate&&t(i,h),l=a(g,l,y),null===d?c=g:d.sibling=g,d=g,h=v}if(b.done)return n(i,h),c;if(null===h){for(;!b.done;y++,b=u.next())null!==(b=f(i,b.value,s))&&(l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return c}for(h=r(i,h);!b.done;y++,b=u.next())null!==(b=m(h,i,y,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?y:b.key),l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(i,e)}),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===si&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case li:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?a.type===si:s.elementType===a.type){n(e,s.sibling),r=i(s,a.type===si?a.props.children:a.props,u),r.ref=Xt(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===si?(r=It(a.props.children,e.mode,u,a.key),r.return=e,e=r):(u=At(a.type,a.key,a.props,null,e.mode,u),u.ref=Xt(e,r,a),u.return=e,e=u)}return l(e);case ui:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),r=i(r,a.children||[],u),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Lt(a,e.mode,u),r.return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),r=i(r,a,u),r.return=e,e=r):(n(e,r),r=Ft(a,e.mode,u),r.return=e,e=r),l(e);if(Fa(a))return h(e,r,a,u);if(J(a))return y(e,r,a,u);if(c&&Zt(e,a),void 0===a&&!s)switch(e.tag){case 1:case 0:u=e.type,o("152",u.displayName||u.name||"Component")}return n(e,r)}}function en(e){return e===za&&o("174"),e}function tn(e,t){bt(Wa,t,e),bt(Va,e,e),bt(Ba,za,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ot(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=ot(t,n)}vt(Ba,e),bt(Ba,t,e)}function nn(e){vt(Ba,e),vt(Va,e),vt(Wa,e)}function rn(e){en(Wa.current);var t=en(Ba.current),n=ot(t,e.type);t!==n&&(bt(Va,e,e),bt(Ba,n,e))}function on(e){Va.current===e&&(vt(Ba,e),vt(Va,e))}function an(){o("321")}function ln(e,t){if(null===t)return!1;for(var n=0;nal&&(al=d)):a=s.eagerReducer===e?s.eagerState:e(a,s.action),l=s,s=s.next}while(null!==s&&s!==r);c||(u=l,i=a),xe(a,t.memoizedState)||(gl=!0),t.memoizedState=a,t.baseUpdate=u,t.baseState=i,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function mn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===ll?(ll={lastEffect:null},ll.lastEffect=e.next=e):(t=ll.lastEffect,null===t?ll.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,ll.lastEffect=e)),e}function hn(e,t,n,r){var o=cn();ul|=e,o.memoizedState=mn(t,n,void 0,void 0===r?null:r)}function yn(e,t,n,r){var o=dn();r=void 0===r?null:r;var i=void 0;if(null!==tl){var a=tl.memoizedState;if(i=a.destroy,null!==r&&ln(r,a.deps))return void mn(Ha,n,i,r)}ul|=e,o.memoizedState=mn(t,n,i,r)}function vn(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function bn(){}function gn(e,t,n){25>dl||o("301");var r=e.alternate;if(e===el||null!==r&&r===el)if(sl=!0,e={expirationTime:Ja,action:n,eagerReducer:null,eagerState:null,next:null},null===cl&&(cl=new Map),void 0===(n=cl.get(t)))cl.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{br();var i=Ir();i=kr(i,e);var a={expirationTime:i,action:n,eagerReducer:null,eagerState:null,next:null},l=t.last;if(null===l)a.next=a;else{var u=l.next;null!==u&&(a.next=u),l.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=r(s,n);if(a.eagerReducer=r,a.eagerState=c,xe(c,s))return}catch(e){}Or(e,i)}}function _n(e,t){var n=Pt(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function En(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function wn(e){if(vl){var t=yl;if(t){var n=t;if(!En(e,t)){if(!(t=ht(n))||!En(e,t))return e.effectTag|=2,vl=!1,void(hl=e);_n(hl,n)}hl=e,yl=yt(t)}else e.effectTag|=2,vl=!1,hl=e}}function Tn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;hl=e}function kn(e){if(e!==hl)return!1;if(!vl)return Tn(e),vl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!pt(t,e.memoizedProps))for(t=yl;t;)_n(e,t),t=ht(t);return Tn(e),yl=hl?ht(e.stateNode):null,!0}function Cn(){yl=hl=null,vl=!1}function Sn(e,t,n,r){t.child=null===e?Ua(t,null,n,r):La(t,e.child,n,r)}function xn(e,t,n,r,o){n=n.render;var i=t.ref;return zn(t,o),r=un(e,t,n,r,i,o),null===e||gl?(t.effectTag|=1,Sn(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Dn(e,t,o))}function On(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||jt(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=At(n.type,null,r,null,t.mode,i),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Mn(e,t,a,r,o,i))}return a=e.child,o=n?In(e,t,n):(t=Dn(e,t,n),null!==t?t.sibling:null)}return Dn(e,t,n)}}else gl=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=gt(t,Pa.current);if(zn(t,n),i=un(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,sn(),_t(r)){var a=!0;Ct(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var l=r.getDerivedStateFromProps;"function"==typeof l&&$t(t,r,l,e),i.updater=Da,t.stateNode=i,i._reactInternalFiber=t,Gt(t,r,e,n),t=Nn(null,t,r,!0,a,n)}else t.tag=0,Sn(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=qt(i),t.type=e,i=t.tag=Rt(e),a=Ht(e,a),l=void 0,i){case 0:l=jn(null,t,e,a,n);break;case 1:l=Rn(null,t,e,a,n);break;case 11:l=xn(null,t,e,a,n);break;case 14:l=On(null,t,e,Ht(e.type,a),r,n);break;default:o("306",e,"")}return l;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),jn(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Rn(e,t,r,i,n);case 3:return An(t),r=t.updateQueue,null===r&&o("282"),i=t.memoizedState,i=null!==i?i.element:null,Gn(t,r,t.pendingProps,null,n),r=t.memoizedState.element,r===i?(Cn(),t=Dn(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(yl=yt(t.stateNode.containerInfo),hl=t,i=vl=!0),i?(t.effectTag|=2,t.child=Ua(t,null,r,n)):(Sn(e,t,r,n),Cn()),t=t.child),t;case 5:return rn(t),null===e&&wn(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,l=i.children,pt(r,i)?l=null:null!==a&&pt(r,a)&&(t.effectTag|=16),Pn(e,t),1!==n&&1&t.mode&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Sn(e,t,l,n),t=t.child),t;case 6:return null===e&&wn(t),null;case 13:return In(e,t,n);case 4:return tn(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=La(t,null,r,n):Sn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),xn(e,t,r,i,n);case 7:return Sn(e,t,t.pendingProps,n),t.child;case 8:case 12:return Sn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value,Ln(t,a),null!==l){var u=l.value;if(0==(a=xe(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===i.children&&!ja.current){t=Dn(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.contextDependencies;if(null!==s){l=u.child;for(var c=s.first;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&(c=Hn(n),c.tag=Sl,$n(u,c)),u.expirationTime=t&&(gl=!0),e.contextDependencies=null}function Bn(e,t){return Tl!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Tl=e,t=1073741823),t={context:e,observedBits:t,next:null},null===wl?(null===El&&o("308"),wl=t,El.contextDependencies={first:t,expirationTime:0}):wl=wl.next=t),e._currentValue}function Vn(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Wn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Hn(e){return{expirationTime:e,tag:kl,payload:null,callback:null,next:null,nextEffect:null}}function qn(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function $n(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Vn(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Vn(e.memoizedState),o=n.updateQueue=Vn(n.memoizedState)):r=e.updateQueue=Wn(o):null===o&&(o=n.updateQueue=Wn(r));null===o||r===o?qn(r,t):null===r.lastUpdate||null===o.lastUpdate?(qn(r,t),qn(o,t)):(qn(r,t),o.lastUpdate=t)}function Qn(e,t){var n=e.updateQueue;n=null===n?e.updateQueue=Vn(e.memoizedState):Kn(e,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Kn(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Wn(t)),t}function Yn(e,t,n,r,o,i){switch(n.tag){case Cl:return e=n.payload,"function"==typeof e?e.call(i,r,o):e;case xl:e.effectTag=-2049&e.effectTag|64;case kl:if(e=n.payload,null===(o="function"==typeof e?e.call(i,r,o):e)||void 0===o)break;return lo({},r,o);case Sl:Ol=!0}return r}function Gn(e,t,n,r,o){Ol=!1,t=Kn(e,t);for(var i=t.baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;cr?i:r),Dl.current=null,r=void 0,1n?t:n,0===t&&(Yl=null),Ar(e,t)}function _r(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){Ul=e;e:{var i=t;t=e;var a=Bl,l=t.pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:_t(t.type)&&Et(t);break;case 3:nn(t),wt(t),l=t.stateNode,l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==i&&null!==i.child||(kn(t),t.effectTag&=-3),Pl(t);break;case 5:on(t);var u=en(Wa.current);if(a=t.type,null!==i&&null!=t.stateNode)jl(i,t,a,l,u),i.ref!==t.ref&&(t.effectTag|=128);else if(l){var s=en(Ba.current);if(kn(t)){l=t,i=l.stateNode;var c=l.type,d=l.memoizedProps,f=u;switch(i[xo]=l,i[Oo]=d,a=void 0,u=c){case"iframe":case"object":De("load",i);break;case"video":case"audio":for(c=0;c<\/script>",c=i.removeChild(i.firstChild)):"string"==typeof i.is?c=c.createElement(f,{is:i.is}):(c=c.createElement(f),"select"===f&&(f=c,i.multiple?f.multiple=!0:i.size&&(f.size=i.size))):c=c.createElementNS(s,f),i=c,i[xo]=d,i[Oo]=l,Ml(i,t,!1,!1),f=i,c=a,d=l;var p=u,m=st(c,d);switch(c){case"iframe":case"object":De("load",f),u=d;break;case"video":case"audio":for(u=0;ul&&(l=i),u>l&&(l=u),a=a.sibling;t.childExpirationTime=l}if(null!==Ul)return Ul;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=h?p=0:(-1===p||h component higher in the tree to provide a loading indicator or placeholder to display."+te(c))}Wl=!0,d=Jn(d,c),u=s;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=l,l=cr(u,d,l),Qn(u,l);break e;case 1:if(p=d,m=u.type,c=u.stateNode,0==(64&u.effectTag)&&("function"==typeof m.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===Yl||!Yl.has(c)))){u.effectTag|=2048,u.expirationTime=l,l=dr(u,p,l),Qn(u,l);break e}}u=u.return}while(null!==u)}Ul=_r(a);continue}i=!0,Hr(t)}}break}if(Ll=!1,Il.current=n,Tl=wl=El=null,sn(),i)zl=null,e.finishedWork=null;else if(null!==Ul)e.finishedWork=null;else{if(n=e.current.alternate,null===n&&o("281"),zl=null,Wl){if(i=e.latestPendingTime,a=e.latestSuspendedTime,l=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Tr(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r)))return e=Jn(t,e),e=dr(n,e,1073741823),$n(n,e),void Or(n,1073741823);break;case 3:return e=Jn(t,e),e=cr(n,e,1073741823),$n(n,e),void Or(n,1073741823)}n=n.return}3===e.tag&&(n=Jn(t,e),n=cr(e,n,1073741823),$n(e,n),Or(e,1073741823))}function kr(e,t){var n=uo.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(Ll&&!ql)r=Bl;else{switch(n){case uo.unstable_ImmediatePriority:r=1073741823;break;case uo.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case uo.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case uo.unstable_LowPriority:case uo.unstable_IdlePriority:r=1;break;default:o("313")}null!==zl&&r===Bl&&--r}return n===uo.unstable_UserBlockingPriority&&(0===ru||r=r&&(e.didError=!1,t=e.latestPingedTime,(0===t||t>n)&&(e.latestPingedTime=n),Wt(n,e),0!==(n=e.expirationTime)&&Dr(e,n)))}function Sr(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Ir(),t=kr(t,e),null!==(e=xr(e,t))&&(Ut(e,t),0!==(t=e.expirationTime)&&Dr(e,t))}function xr(e,t){e.expirationTimeBl&&pr(),Ut(e,t),Ll&&!ql&&zl===e||Dr(e,e.expirationTime),pu>fu&&(pu=0,o("185")))}function Mr(e,t,n,r,o){return uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){return e(t,n,r,o)})}function Pr(){cu=1073741822-((uo.unstable_now()-su)/10|0)}function jr(e,t){if(0!==Zl){if(te.expirationTime&&(e.expirationTime=t),eu||(au?lu&&(tu=e,nu=1073741823,Vr(e,1073741823,!1)):1073741823===t?zr(1073741823,!1):jr(e,t))}function Fr(){var e=0,t=null;if(null!==Xl)for(var n=Xl,r=Gl;null!==r;){var i=r.expirationTime;if(0===i){if((null===n||null===Xl)&&o("244"),r===r.nextScheduledRoot){Gl=Xl=r.nextScheduledRoot=null;break}if(r===Gl)Gl=i=r.nextScheduledRoot,Xl.nextScheduledRoot=i,r.nextScheduledRoot=null;else{if(r===Xl){Xl=n,Xl.nextScheduledRoot=Gl,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(i>e&&(e=i,t=r),r===Xl)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}tu=t,nu=e}function Lr(){return!!hu||!!uo.unstable_shouldYield()&&(hu=!0)}function Ur(){try{if(!Lr()&&null!==Gl){Pr();var e=Gl;do{var t=e.expirationTime;0!==t&&cu<=t&&(e.nextExpirationTimeToWorkOn=cu),e=e.nextScheduledRoot}while(e!==Gl)}zr(0,!0)}finally{hu=!1}}function zr(e,t){if(Fr(),t)for(Pr(),du=cu;null!==tu&&0!==nu&&e<=nu&&!(hu&&cu>nu);)Vr(tu,nu,cu>nu),Fr(),Pr(),du=cu;else for(;null!==tu&&0!==nu&&e<=nu;)Vr(tu,nu,!1),Fr();if(t&&(Zl=0,Jl=null),0!==nu&&jr(tu,nu),pu=0,mu=null,null!==uu)for(e=uu,uu=null,t=0;t=n&&(null===uu?uu=[r]:uu.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===mu?pu++:(mu=e,pu=0),uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){gr(e,t)})}function Hr(e){null===tu&&o("246"),tu.expirationTime=0,ou||(ou=!0,iu=e)}function qr(e,t){var n=au;au=!0;try{return e(t)}finally{(au=n)||eu||zr(1073741823,!1)}}function $r(e,t){if(au&&!lu){lu=!0;try{return e(t)}finally{lu=!1}}return e(t)}function Qr(e,t,n){au||eu||0===ru||(zr(ru,!1),ru=0);var r=au;au=!0;try{return uo.unstable_runWithPriority(uo.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(au=r)||eu||zr(1073741823,!1)}}function Kr(e,t,n,r,i){var a=t.current;e:if(n){n=n._reactInternalFiber;t:{2===Me(n)&&1===n.tag||o("170");var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(_t(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);o("171"),l=void 0}if(1===n.tag){var u=n.type;if(_t(u)){n=kt(n,u,l);break e}}n=l}else n=Ma;return null===t.context?t.context=n:t.pendingContext=n,t=i,i=Hn(r),i.payload={element:e},t=void 0===t?null:t,null!==t&&(i.callback=t),br(),$n(a,i),Or(a,r),r}function Yr(e,t,n,r){var o=t.current;return o=kr(Ir(),o),Kr(e,t,n,o,r)}function Gr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Xr(e,t,n){var r=3=Fl&&(t=Fl-1),this._expirationTime=Fl=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Jr(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function eo(e,t,n){t=Pt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function to(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function no(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new eo(e,!1,t)}function ro(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Gr(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=no(n,r),"function"==typeof o){var l=o;o=function(){var e=Gr(i._internalRoot);l.call(e)}}$r(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return Gr(i._internalRoot)}function oo(e,t){var n=2=qo),Ko=String.fromCharCode(32),Yo={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(" ")}},Go=!1,Xo=!1,Zo={eventTypes:Yo,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Ho)e:{switch(e){case"compositionstart":o=Yo.compositionStart;break e;case"compositionend":o=Yo.compositionEnd;break e;case"compositionupdate":o=Yo.compositionUpdate;break e}o=void 0}else Xo?I(e,n)&&(o=Yo.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Yo.compositionStart);return o?(Qo&&"ko"!==n.locale&&(Xo||o!==Yo.compositionStart?o===Yo.compositionEnd&&Xo&&(i=O()):(Lo=r,Uo="value"in Lo?Lo.value:Lo.textContent,Xo=!0)),o=Bo.getPooled(o,t,n,r),i?o.data=i:null!==(i=D(n))&&(o.data=i),C(o),i=o):i=null,(e=$o?F(e,n):L(e,n))?(t=Vo.getPooled(Yo.beforeInput,t,n,r),t.data=e,C(t)):t=null,null===i?t:null===t?i:[i,t]}},Jo=null,ei=null,ti=null,ni=!1,ri={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},oi=ao.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oi.hasOwnProperty("ReactCurrentDispatcher")||(oi.ReactCurrentDispatcher={current:null});var ii=/^(.*)[\\\/]/,ai="function"==typeof Symbol&&Symbol.for,li=ai?Symbol.for("react.element"):60103,ui=ai?Symbol.for("react.portal"):60106,si=ai?Symbol.for("react.fragment"):60107,ci=ai?Symbol.for("react.strict_mode"):60108,di=ai?Symbol.for("react.profiler"):60114,fi=ai?Symbol.for("react.provider"):60109,pi=ai?Symbol.for("react.context"):60110,mi=ai?Symbol.for("react.concurrent_mode"):60111,hi=ai?Symbol.for("react.forward_ref"):60112,yi=ai?Symbol.for("react.suspense"):60113,vi=ai?Symbol.for("react.memo"):60115,bi=ai?Symbol.for("react.lazy"):60116,gi="function"==typeof Symbol&&Symbol.iterator,_i=/^[: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]*$/,Ei=Object.prototype.hasOwnProperty,wi={},Ti={},ki={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ki[e]=new ie(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ki[t]=new ie(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ki[e]=new ie(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ki[e]=new ie(e,2,!1,e,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(e){ki[e]=new ie(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ki[e]=new ie(e,3,!0,e,null)}),["capture","download"].forEach(function(e){ki[e]=new ie(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){ki[e]=new ie(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){ki[e]=new ie(e,5,!1,e.toLowerCase(),null)});var Ci=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){ki[e]=new ie(e,1,!1,e.toLowerCase(),null)});var Si={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},xi=null,Oi=null,Mi=!1;Mo&&(Mi=K("input")&&(!document.documentMode||9=document.documentMode,sa={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ca=null,da=null,fa=null,pa=!1,ma={eventTypes:sa,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=ze(i),o=_o.onSelect;for(var a=0;a"+t+"",t=ya.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ba={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},ga=["Webkit","ms","Moz","O"];Object.keys(ba).forEach(function(e){ga.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ba[t]=ba[e]})});var _a=lo({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}),Ea=null,wa=null,Ta="function"==typeof setTimeout?setTimeout:void 0,ka="function"==typeof clearTimeout?clearTimeout:void 0,Ca=uo.unstable_scheduleCallback,Sa=uo.unstable_cancelCallback;new Set;var xa=[],Oa=-1,Ma={},Pa={current:Ma},ja={current:!1},Ra=Ma,Na=null,Aa=null,Ia=(new ao.Component).refs,Da={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Me(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.tag=Cl,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ir();n=kr(n,e);var r=Hn(n);r.tag=Sl,void 0!==t&&null!==t&&(r.callback=t),br(),$n(e,r),Or(e,n)}},Fa=Array.isArray,La=Jt(!0),Ua=Jt(!1),za={},Ba={current:za},Va={current:za},Wa={current:za},Ha=0,qa=2,$a=4,Qa=8,Ka=16,Ya=32,Ga=64,Xa=128,Za=oi.ReactCurrentDispatcher,Ja=0,el=null,tl=null,nl=null,rl=null,ol=null,il=null,al=0,ll=null,ul=0,sl=!1,cl=null,dl=0,fl={readContext:Bn,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an},pl={readContext:Bn,useCallback:function(e,t){return cn().memoizedState=[e,void 0===t?null:t],e},useContext:Bn,useEffect:function(e,t){return hn(516,Xa|Ga,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,hn(4,$a|Ya,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hn(4,$a|Ya,e,t)},useMemo:function(e,t){var n=cn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=cn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=gn.bind(null,el,e),[r.memoizedState,e]},useRef:function(e){var t=cn();return e={current:e},t.memoizedState=e},useState:function(e){var t=cn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={last:null,dispatch:null,lastRenderedReducer:fn,lastRenderedState:e},e=e.dispatch=gn.bind(null,el,e),[t.memoizedState,e]},useDebugValue:bn},ml={readContext:Bn,useCallback:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Bn,useEffect:function(e,t){return yn(516,Xa|Ga,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,yn(4,$a|Ya,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yn(4,$a|Ya,e,t)},useMemo:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:pn,useRef:function(){return dn().memoizedState},useState:function(e){return pn(fn)},useDebugValue:bn},hl=null,yl=null,vl=!1,bl=oi.ReactCurrentOwner,gl=!1,_l={current:null},El=null,wl=null,Tl=null,kl=0,Cl=1,Sl=2,xl=3,Ol=!1,Ml=void 0,Pl=void 0,jl=void 0,Rl=void 0;Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},jl=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=t.stateNode;switch(en(Ba.current),e=null,n){case"input":i=se(a,i),r=se(a,r),e=[];break;case"option":i=Xe(a,i),r=Xe(a,r),e=[];break;case"select":i=lo({},i,{value:void 0}),r=lo({},r,{value:void 0}),e=[];break;case"textarea":i=Je(a,i),r=Je(a,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(a.onclick=dt)}ut(n,r),a=n=void 0;var l=null;for(n in i)if(!r.hasOwnProperty(n)&&i.hasOwnProperty(n)&&null!=i[n])if("style"===n){var u=i[n];for(a in u)u.hasOwnProperty(a)&&(l||(l={}),l[a]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(go.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var s=r[n];if(u=null!=i?i[n]:void 0,r.hasOwnProperty(n)&&s!==u&&(null!=s||null!=u))if("style"===n)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(l||(l={}),l[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(l||(l={}),l[a]=s[a])}else l||(e||(e=[]),e.push(n,l)),l=s;else"dangerouslySetInnerHTML"===n?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(e=e||[]).push(n,""+s)):"children"===n?u===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(n,""+s):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(go.hasOwnProperty(n)?(null!=s&&ct(o,n),e||u===s||(e=[])):(e=e||[]).push(n,s))}l&&(e=e||[]).push("style",l),o=e,(t.updateQueue=o)&&er(t)}},Rl=function(e,t,n,r){n!==r&&er(t)};var Nl="function"==typeof WeakSet?WeakSet:Set,Al="function"==typeof WeakMap?WeakMap:Map,Il=oi.ReactCurrentDispatcher,Dl=oi.ReactCurrentOwner,Fl=1073741822,Ll=!1,Ul=null,zl=null,Bl=0,Vl=-1,Wl=!1,Hl=null,ql=!1,$l=null,Ql=null,Kl=null,Yl=null,Gl=null,Xl=null,Zl=0,Jl=void 0,eu=!1,tu=null,nu=0,ru=0,ou=!1,iu=null,au=!1,lu=!1,uu=null,su=uo.unstable_now(),cu=1073741822-(su/10|0),du=cu,fu=50,pu=0,mu=null,hu=!1;Jo=function(e,t,n){switch(t){case"input":if(fe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},V=qr,W=Qr,H=function(){eu||0===ru||(zr(ru,!1),ru=0)};var yu={createPortal:oo,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?o("188"):o("268",Object.keys(e))),e=Re(t),e=null===e?null:e.stateNode},hydrate:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!0,n)},render:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return to(n)||o("200"),(null==e||void 0===e._reactInternalFiber)&&o("38"),ro(e,t,n,!1,r)},unmountComponentAtNode:function(e){return to(e)||o("40"),!!e._reactRootContainer&&($r(function(){ro(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return oo.apply(void 0,arguments)},unstable_batchedUpdates:qr,unstable_interactiveUpdates:Qr,flushSync:function(e,t){eu&&o("187");var n=au;au=!0;try{return Mr(e,t)}finally{au=n,zr(1073741823,!1)}},unstable_createRoot:io,unstable_flushControlled:function(e){var t=au;au=!0;try{Mr(e)}finally{(au=t)||eu||zr(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[v,b,g,Co.injectEventPluginsByName,bo,C,function(e){f(e,k)},z,B,Ue,h]}};!function(e){var t=e.findFiberByHostInstance;Ot(lo({},e,{overrideProps:null,currentDispatcherRef:oi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Re(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:y,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var vu={default:yu},bu=vu&&yu||vu;e.exports=bu.default||bu},"./node_modules/react-dom/index.js":function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n("./node_modules/react-dom/cjs/react-dom.production.min.js")},"./node_modules/react-is/cjs/react-is.production.min.js":function(e,t,n){"use strict";function r(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case p:case m:case u:case c:case s:case y:return e;default:switch(e=e&&e.$$typeof){case f:case h:case d:return e;default:return t}}case b:case v:case l:return t}}}function o(e){return r(e)===m}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,l=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,d=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.async_mode"):60111,m=i?Symbol.for("react.concurrent_mode"):60111,h=i?Symbol.for("react.forward_ref"):60112,y=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116;t.typeOf=r,t.AsyncMode=p,t.ConcurrentMode=m,t.ContextConsumer=f,t.ContextProvider=d,t.Element=a,t.ForwardRef=h,t.Fragment=u,t.Lazy=b,t.Memo=v,t.Portal=l,t.Profiler=c,t.StrictMode=s,t.Suspense=y,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===u||e===m||e===c||e===s||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===d||e.$$typeof===f||e.$$typeof===h)},t.isAsyncMode=function(e){return o(e)||r(e)===p},t.isConcurrentMode=o,t.isContextConsumer=function(e){return r(e)===f},t.isContextProvider=function(e){return r(e)===d},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return r(e)===h},t.isFragment=function(e){return r(e)===u},t.isLazy=function(e){return r(e)===b},t.isMemo=function(e){return r(e)===v},t.isPortal=function(e){return r(e)===l},t.isProfiler=function(e){return r(e)===c},t.isStrictMode=function(e){return r(e)===s},t.isSuspense=function(e){return r(e)===y}},"./node_modules/react-is/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-is/cjs/react-is.production.min.js")},"./node_modules/react-redux/es/components/Context.js":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("./node_modules/react/index.js"),o=n.n(r),i=o.a.createContext(null)},"./node_modules/react-redux/es/components/Provider.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),o=n("./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),i=n("./node_modules/react/index.js"),a=n.n(i),l=n("./node_modules/prop-types/index.js"),u=n.n(l),s=n("./node_modules/react-redux/es/components/Context.js"),c=n("./node_modules/react-redux/es/utils/Subscription.js"),d=function(e){function t(t){var o;o=e.call(this,t)||this;var i=t.store;o.notifySubscribers=o.notifySubscribers.bind(n.i(r.a)(o));var a=new c.a(i);return a.onStateChange=o.notifySubscribers,o.state={store:i,subscription:a},o.previousState=i.getState(),o}n.i(o.a)(t,e);var i=t.prototype;return i.componentDidMount=function(){this._isMounted=!0,this.state.subscription.trySubscribe(),this.previousState!==this.props.store.getState()&&this.state.subscription.notifyNestedSubs()},i.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this.state.subscription.tryUnsubscribe(),this._isMounted=!1},i.componentDidUpdate=function(e){if(this.props.store!==e.store){this.state.subscription.tryUnsubscribe();var t=new c.a(this.props.store);t.onStateChange=this.notifySubscribers,this.setState({store:this.props.store,subscription:t})}},i.notifySubscribers=function(){this.state.subscription.notifyNestedSubs()},i.render=function(){var e=this.props.context||s.a;return a.a.createElement(e.Provider,{value:this.state},this.props.children)},t}(i.Component);d.propTypes={store:u.a.shape({subscribe:u.a.func.isRequired,dispatch:u.a.func.isRequired,getState:u.a.func.isRequired}),context:u.a.object,children:u.a.any},t.a=d},"./node_modules/react-redux/es/components/connectAdvanced.js":function(e,t,n){"use strict";function r(e,t){var n=e[1];return[t.payload,n+1]}function o(e,t){void 0===t&&(t={});var o=t,l=o.getDisplayName,s=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,_=o.methodName,E=void 0===_?"connectAdvanced":_,w=o.renderCountProp,T=void 0===w?void 0:w,k=o.shouldHandleStateChanges,C=void 0===k||k,S=o.storeKey,x=void 0===S?"store":S,O=o.withRef,M=void 0!==O&&O,P=o.forwardRef,j=void 0!==P&&P,R=o.context,N=void 0===R?h.a:R,A=n.i(a.a)(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);c()(void 0===T,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),c()(!M,"withRef is removed. To access the wrapped instance, use a ref on the connected component"),c()("store"===x,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: . You may also pass a {context : MyContext} option to connect");var I=N;return function(t){function o(t){return e(t.dispatch,w)}function l(e){var l=n.i(d.useMemo)(function(){var t=e.forwardedRef,r=n.i(a.a)(e,["forwardedRef"]);return[e.context,t,r]},[e]),u=l[0],s=l[1],h=l[2],E=n.i(d.useMemo)(function(){return u&&u.Consumer&&n.i(p.isContextConsumer)(f.a.createElement(u.Consumer,null))?u:I},[u,I]),w=n.i(d.useContext)(E),T=Boolean(e.store),k=Boolean(w)&&Boolean(w.store);c()(T||k,'Could not find "store" in the context of "'+_+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+_+" in connect options.");var x=e.store||w.store,O=n.i(d.useMemo)(function(){return o(x)},[x]),M=n.i(d.useMemo)(function(){if(!C)return v;var e=new m.a(x,T?null:w.subscription);return[e,e.notifyNestedSubs.bind(e)]},[x,T,w]),P=M[0],j=M[1],R=n.i(d.useMemo)(function(){return T?w:n.i(i.a)({},w,{subscription:P})},[T,w,P]),N=n.i(d.useReducer)(r,y,b),A=N[0],D=A[0],F=N[1];if(D&&D.error)throw D.error;var L=n.i(d.useRef)(),U=n.i(d.useRef)(h),z=n.i(d.useRef)(),B=n.i(d.useRef)(!1),V=S(function(){return z.current&&h===U.current?z.current:O(x.getState(),h)},[x,D,h]);g(function(){U.current=h,L.current=V,B.current=!1,z.current&&(z.current=null,j())}),g(function(){if(C){var e=!1,t=null,n=function(){if(!e){var n,r,o=x.getState();try{n=O(o,U.current)}catch(e){r=e,t=e}r||(t=null),n===L.current?B.current||j():(L.current=n,z.current=n,B.current=!0,F({type:"STORE_UPDATED",payload:{latestStoreState:o,error:r}}))}};return P.onStateChange=n,P.trySubscribe(),n(),function(){if(e=!0,P.tryUnsubscribe(),t)throw t}}},[x,P,O]);var W=n.i(d.useMemo)(function(){return f.a.createElement(t,n.i(i.a)({},V,{ref:s}))},[s,t,V]);return n.i(d.useMemo)(function(){return C?f.a.createElement(E.Provider,{value:R},W):W},[E,W,R])}var h=t.displayName||t.name||"Component",_=s(h),w=n.i(i.a)({},A,{getDisplayName:s,methodName:E,renderCountProp:T,shouldHandleStateChanges:C,storeKey:x,displayName:_,wrappedComponentName:h,WrappedComponent:t}),k=A.pure,S=k?d.useMemo:function(e){return e()},O=k?f.a.memo(l):l;if(O.WrappedComponent=t,O.displayName=_,j){var M=f.a.forwardRef(function(e,t){return f.a.createElement(O,n.i(i.a)({},e,{forwardedRef:t}))});return M.displayName=_,M.WrappedComponent=t,u()(M,t)}return u()(O,t)}}t.a=o;var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),u=n.n(l),s=n("./node_modules/invariant/browser.js"),c=n.n(s),d=n("./node_modules/react/index.js"),f=n.n(d),p=n("./node_modules/react-is/index.js"),m=(n.n(p),n("./node_modules/react-redux/es/utils/Subscription.js")),h=n("./node_modules/react-redux/es/components/Context.js"),y=[],v=[null,null],b=function(){return[null,0]},g="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?d.useLayoutEffect:d.useEffect},"./node_modules/react-redux/es/connect/connect.js":function(e,t,n){"use strict";function r(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function o(e,t){return e===t}var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/react-redux/es/components/connectAdvanced.js"),u=n("./node_modules/react-redux/es/utils/shallowEqual.js"),s=n("./node_modules/react-redux/es/connect/mapDispatchToProps.js"),c=n("./node_modules/react-redux/es/connect/mapStateToProps.js"),d=n("./node_modules/react-redux/es/connect/mergeProps.js"),f=n("./node_modules/react-redux/es/connect/selectorFactory.js");t.a=function(e){var t={},p=t.connectHOC,m=void 0===p?l.a:p,h=t.mapStateToPropsFactories,y=void 0===h?c.a:h,v=t.mapDispatchToPropsFactories,b=void 0===v?s.a:v,g=t.mergePropsFactories,_=void 0===g?d.a:g,E=t.selectorFactory,w=void 0===E?f.a:E;return function(e,t,l,s){void 0===s&&(s={});var c=s,d=c.pure,f=void 0===d||d,p=c.areStatesEqual,h=void 0===p?o:p,v=c.areOwnPropsEqual,g=void 0===v?u.a:v,E=c.areStatePropsEqual,T=void 0===E?u.a:E,k=c.areMergedPropsEqual,C=void 0===k?u.a:k,S=n.i(a.a)(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=r(e,y,"mapStateToProps"),O=r(t,b,"mapDispatchToProps"),M=r(l,_,"mergeProps");return m(w,n.i(i.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:O,initMergeProps:M,pure:f,areStatesEqual:h,areOwnPropsEqual:g,areStatePropsEqual:T,areMergedPropsEqual:C},S))}}()},"./node_modules/react-redux/es/connect/mapDispatchToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(l.a)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:n.i(l.b)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?n.i(l.b)(function(t){return n.i(a.bindActionCreators)(e,t)}):void 0}var a=n("./node_modules/redux/es/redux.js"),l=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o,i]},"./node_modules/react-redux/es/connect/mapStateToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(i.a)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:n.i(i.b)(function(){return{}})}var i=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o]},"./node_modules/react-redux/es/connect/mergeProps.js":function(e,t,n){"use strict";function r(e,t,r){return n.i(l.a)({},r,e,t)}function o(e){return function(t,n){var r,o=(n.displayName,n.pure),i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var u=e(t,n,l);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}function i(e){return"function"==typeof e?o(e):void 0}function a(e){return e?void 0:function(){return r}}var l=n("./node_modules/@babel/runtime/helpers/esm/extends.js");n("./node_modules/react-redux/es/utils/verifyPlainObject.js"),t.a=[i,a]},"./node_modules/react-redux/es/connect/selectorFactory.js":function(e,t,n){"use strict";function r(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function o(e,t,n,r,o){function i(o,i){return c=o,d=i,f=e(c,d),p=t(r,d),m=n(f,p,d),b=!0,m}function a(){return f=e(c,d),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function l(){return e.dependsOnOwnProps&&(f=e(c,d)),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function u(){var t=e(c,d),r=!v(t,f);return f=t,r&&(m=n(f,p,d)),m}function s(e,t){var n=!y(t,d),r=!h(e,c);return c=e,d=t,n&&r?a():n?l():r?u():m}var c,d,f,p,m,h=o.areStatesEqual,y=o.areOwnPropsEqual,v=o.areStatePropsEqual,b=!1;return function(e,t){return b?s(e,t):i(e,t)}}function i(e,t){var i=t.initMapStateToProps,l=t.initMapDispatchToProps,u=t.initMergeProps,s=n.i(a.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=i(e,s),d=l(e,s),f=u(e,s);return(s.pure?o:r)(c,d,f,e,s)}t.a=i;var a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");n("./node_modules/react-redux/es/connect/verifySubselectors.js")},"./node_modules/react-redux/es/connect/verifySubselectors.js":function(e,t,n){"use strict";n("./node_modules/react-redux/es/utils/warning.js")},"./node_modules/react-redux/es/connect/wrapMapToProps.js":function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}t.b=r,t.a=i,n("./node_modules/react-redux/es/utils/verifyPlainObject.js")},"./node_modules/react-redux/es/hooks/useDispatch.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().dispatch}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useStore.js")},"./node_modules/react-redux/es/hooks/useReduxContext.js":function(e,t,n){"use strict";function r(){var e=n.i(o.useContext)(l.a);return a()(e,"could not find react-redux context value; please ensure the component is wrapped in a "),e}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/components/Context.js")},"./node_modules/react-redux/es/hooks/useSelector.js":function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=c),a()(e,"You must pass a selector to useSelectors");var r,i=n.i(l.a)(),d=i.store,f=i.subscription,p=n.i(o.useReducer)(function(e){return e+1},0),m=p[1],h=n.i(o.useMemo)(function(){return new u.a(d,f)},[d,f]),y=n.i(o.useRef)(),v=n.i(o.useRef)(),b=n.i(o.useRef)();try{r=e!==v.current||y.current?e(d.getState()):b.current}catch(e){var g="An error occured while selecting the store state: "+e.message+".";throw y.current&&(g+="\nThe error may be correlated with this previous error:\n"+y.current.stack+"\n\nOriginal stack trace:"),new Error(g)}return s(function(){v.current=e,b.current=r,y.current=void 0}),s(function(){function e(){try{var e=v.current(d.getState());if(t(e,b.current))return;b.current=e}catch(e){y.current=e}m({})}return h.onStateChange=e,h.trySubscribe(),e(),function(){return h.tryUnsubscribe()}},[d,h]),r}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/hooks/useReduxContext.js"),u=n("./node_modules/react-redux/es/utils/Subscription.js"),s="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,c=function(e,t){return e===t}},"./node_modules/react-redux/es/hooks/useStore.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().store}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useReduxContext.js")},"./node_modules/react-redux/es/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react-redux/es/components/Provider.js"),o=n("./node_modules/react-redux/es/components/connectAdvanced.js"),i=n("./node_modules/react-redux/es/components/Context.js"),a=n("./node_modules/react-redux/es/connect/connect.js"),l=n("./node_modules/react-redux/es/hooks/useDispatch.js"),u=n("./node_modules/react-redux/es/hooks/useSelector.js"),s=n("./node_modules/react-redux/es/hooks/useStore.js"),c=n("./node_modules/react-redux/es/utils/batch.js"),d=n("./node_modules/react-redux/es/utils/reactBatchedUpdates.js"),f=n("./node_modules/react-redux/es/utils/shallowEqual.js");n.d(t,"Provider",function(){return r.a}),n.d(t,"connectAdvanced",function(){return o.a}),n.d(t,"ReactReduxContext",function(){return i.a}),n.d(t,"connect",function(){return a.a}),n.d(t,"batch",function(){return d.a}),n.d(t,"useDispatch",function(){return l.a}),n.d(t,"useSelector",function(){return u.a}),n.d(t,"useStore",function(){return s.a}),n.d(t,"shallowEqual",function(){return f.a}),n.i(c.a)(d.a)},"./node_modules/react-redux/es/utils/Subscription.js":function(e,t,n){"use strict";function r(){var e=n.i(o.b)(),t=[],r=[];return{clear:function(){r=i,t=i},notify:function(){var n=t=r;e(function(){for(var e=0;eH.length&&H.push(e)}function m(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case k:a=!0}}if(a)return n(r,e,""===t?"."+y(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l=t){r=e;break}e=e.next}while(e!==s);null===r?r=s:r===s&&(s=a,n()),t=r.previous,t.next=r.previous=a,a.next=r,a.previous=t}}function o(){if(-1===f&&null!==s&&1===s.priorityLevel){m=!0;try{do{r()}while(null!==s&&1===s.priorityLevel)}finally{m=!1,null!==s?n():h=!1}}}function i(e){m=!0;var i=c;c=e;try{if(e)for(;null!==s;){var a=t.unstable_now();if(!(s.expirationTime<=a))break;do{r()}while(null!==s&&s.expirationTime<=a)}else if(null!==s)do{r()}while(null!==s&&!k())}finally{m=!1,c=i,null!==s?n():h=!1,o()}}function a(e){l=g(function(t){b(u),e(t)}),u=v(function(){_(l),e(t.unstable_now())},100)}Object.defineProperty(t,"__esModule",{value:!0});var l,u,s=null,c=!1,d=3,f=-1,p=-1,m=!1,h=!1,y=Date,v="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,_="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;if("object"==typeof performance&&"function"==typeof performance.now){var E=performance;t.unstable_now=function(){return E.now()}}else t.unstable_now=function(){return y.now()};var w,T,k,C=null;if("undefined"!=typeof window?C=window:void 0!==e&&(C=e),C&&C._schedMock){var S=C._schedMock;w=S[0],T=S[1],k=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var x=null,O=function(e){if(null!==x)try{x(e)}finally{x=null}};w=function(e){null!==x?setTimeout(w,0,e):(x=e,setTimeout(O,0,!1))},T=function(){x=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof _&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,P=!1,j=-1,R=!1,N=!1,A=0,I=33,D=33;k=function(){return A<=t.unstable_now()};var F=new MessageChannel,L=F.port2;F.port1.onmessage=function(){P=!1;var e=M,n=j;M=null,j=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return R||(R=!0,a(U)),M=e,void(j=n);o=!0}if(null!==e){N=!0;try{e(o)}finally{N=!1}}};var U=function(e){if(null!==M){a(U);var t=e-A+D;tt&&(t=8),D=tt?L.postMessage(void 0):R||(R=!0,a(U))},T=function(){M=null,P=!1,j=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=d,i=f;d=e,f=t.unstable_now();try{return n()}finally{d=r,f=i,o()}},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var n=3;break;default:n=d}var r=d,i=f;d=n,f=t.unstable_now();try{return e()}finally{d=r,f=i,o()}},t.unstable_scheduleCallback=function(e,r){var o=-1!==f?f:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=o+r.timeout;else switch(d){case 1:r=o+-1;break;case 2:r=o+250;break;case 5:r=o+1073741823;break;case 4:r=o+1e4;break;default:r=o+5e3}if(e={callback:e,priorityLevel:d,expirationTime:r,next:null,previous:null},null===s)s=e.next=e.previous=e,n();else{o=null;var i=s;do{if(i.expirationTime>r){o=i;break}i=i.next}while(i!==s);null===o?o=s:o===s&&(s=e,n()),r=o.previous,r.next=o.previous=e,e.next=o,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)s=null;else{e===s&&(s=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=d;return function(){var r=d,i=f;d=n,f=t.unstable_now();try{return e.apply(this,arguments)}finally{d=r,f=i,o()}}},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_shouldYield=function(){return!c&&(null!==s&&s.expirationTime=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.SCREEN_COMPLETE=t.SCREEN_CHOOSE_METHOD=t.SCREEN_REGISTER_METHOD=t.SCREEN_INTRODUCTION=void 0;var u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=this.getOtherMethods(),n=window,r=n.ss.i18n;return Array.isArray(t)&&t.length?d.default.createElement("a",{href:"#",className:(0,h.default)("btn btn-secondary",e),onClick:this.handleShowOtherMethodsPane},r._t("MFAVerify.MORE_OPTIONS","More options")):null}},{key:"renderOtherMethods",value:function(){var e=this,t=this.getOtherMethods(),n=this.state,r=n.selectedMethod,o=n.showOtherMethods,i=this.props.resources;return r&&!o?null:d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement(w.default,{resources:i,methods:t,onClickBack:this.handleHideOtherMethodsPane,onSelectMethod:function(t){return function(n){return e.handleClickOtherMethod(n,t)}}}))}},{key:"renderSelectedMethod",value:function(){var e=this.props,t=e.isAvailable,n=e.getUnavailableMessage,r=this.state,o=r.selectedMethod,i=r.showOtherMethods,a=r.verifyProps,l=r.message,s=window,f=s.ss.i18n;if(!o||i)return null;if(t&&!t(o)){var p=n(o);return d.default.createElement(S.default,{title:f._t("MFAVerify.METHOD_UNAVAILABLE","This authentication method is unavailable"),message:p,controls:this.renderOtherMethodsControl("btn-outline-secondary")})}var m=(0,y.loadComponent)(o.component);return d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement("h2",{className:"mfa-section-title"},o.leadInLabel),m&&d.default.createElement(m,u({},a,{method:o,error:l,onCompleteVerification:this.handleCompleteVerification,moreOptionsControl:this.renderOtherMethodsControl()})))}},{key:"renderTitle",value:function(){var e=window,t=e.ss.i18n;return d.default.createElement("h1",{className:"mfa-app-title"},t._t("MFAVerify.TITLE","Log in"))}},{key:"render",value:function(){return this.state.loading?d.default.createElement(_.default,{block:!0}):d.default.createElement(c.Fragment,null,this.renderSelectedMethod(),this.renderOtherMethods())}}]),t}(c.Component);x.propTypes={endpoints:p.default.shape({verify:p.default.string.isRequired,register:p.default.string}),registeredMethods:p.default.arrayOf(b.default),defaultMethod:p.default.string},t.Component=x,t.default=(0,k.default)(x)},"./client/src/components/Verify/SelectMethod.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:" ";if(e.length<6)return e;if(e.length%4==0)return e.split(/(.{4})/g).filter(function(e){return e}).join(t).trim();if(e.length%3==0)return e.split(/(.{3})/g).filter(function(e){return e}).join(t).trim();var n=4-e.length%4,o=(e.length-3*n)/4,i=[].concat(r([].concat(r(Array(o).keys())).map(function(){return 4})),r([].concat(r(Array(n).keys())).map(function(){return 3}))),a=0;return i.map(function(t){return e.substring(a,a+=t)}).join(t).trim()};t.formatCode=o},"./client/src/state/methodAvailability/withMethodAvailability.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.availableMethodOverrides,n=e||this.props.method,r=n.urlSegment;return void 0!==t[r]?t[r]:{}}},{key:"getUnavailableMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method;return this.getAvailabilityOverride(t).unavailableMessage||t.unavailableMessage}},{key:"isAvailable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method,n=this.getAvailabilityOverride(t),r=t.isAvailable;return void 0!==n.isAvailable&&(r=n.isAvailable),r}},{key:"render",value:function(){return c.default.createElement(e,l({},this.props,{isAvailable:this.isAvailable,getUnavailableMessage:this.getUnavailableMessage}))}}]),n}(s.Component),n=p(e);return t.displayName="WithMethodAvailability("+n+")",t},h=function(e){var t=[].concat(r(e.mfaRegister.availableMethods),r(e.mfaVerify.allMethods)),n={};return Object.values(t).forEach(function(t){var r=t.urlSegment,o=r+"Availability";void 0!==e[o]&&(n[r]=e[o])}),{availableMethodOverrides:n}};t.hoc=m;var y=(0,f.compose)((0,d.connect)(h),m);t.default=y},"./client/src/state/mfaRegister/actionTypes.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ADD_AVAILABLE_METHOD","REMOVE_AVAILABLE_METHOD","SET_AVAILABLE_METHODS","SET_SCREEN","SET_METHOD"].reduce(function(e,t){return Object.assign(e,r({},t,"MFA_REGISTER."+t))},{})},"./client/src/state/mfaRegister/actions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeAvailableMethod=t.addAvailableMethod=t.setAvailableMethods=t.chooseMethod=t.showScreen=void 0;var r=n("./client/src/state/mfaRegister/actionTypes.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.showScreen=function(e){return{type:o.default.SET_SCREEN,payload:{screen:e}}},t.chooseMethod=function(e){return{type:o.default.SET_METHOD,payload:{method:e}}},t.setAvailableMethods=function(e){return{type:o.default.SET_AVAILABLE_METHODS,payload:{availableMethods:e}}},t.addAvailableMethod=function(e){return{type:o.default.ADD_AVAILABLE_METHOD,payload:{method:e}}},t.removeAvailableMethod=function(e){return{type:o.default.REMOVE_AVAILABLE_METHOD,payload:{method:e}}}},"./client/src/state/mfaRegister/reducer.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload;switch(n){case l.default.SET_SCREEN:var a=o.screen;return null===e.method&&a===u.SCREEN_REGISTER_METHOD?i({},e,{screen:u.SCREEN_CHOOSE_METHOD}):i({},e,{screen:a});case l.default.SET_METHOD:return i({},e,{method:o.method});case l.default.SET_AVAILABLE_METHODS:return i({},e,{availableMethods:o.availableMethods});case l.default.ADD_AVAILABLE_METHOD:return i({},e,{availableMethods:[].concat(r(e.availableMethods),[o.method])});case l.default.REMOVE_AVAILABLE_METHOD:return i({},e,{availableMethods:e.availableMethods.filter(function(e){return e.urlSegment!==o.method.urlSegment})});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;switch(n){case a.default.SET_ALL_METHODS:return o({},e,{allMethods:r.allMethods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}t.a=r},"./node_modules/classnames/index.js":function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t'),this.addEvents();var d=this.opts,f=d.headElements,p=d.bodyElements;Array.isArray(f)&&f.forEach(function(e){return c.head.appendChild(e)}),Array.isArray(p)&&p.forEach(function(e){return c.body.appendChild(e)}),Array.isArray(t)&&t.forEach(function(e){e&&(u(e)?c.head.appendChild(o(c,e)):c.head.appendChild(r(c,e)))}),c.body.appendChild(this.elCopy),Array.isArray(n)&&n.forEach(function(e){if(e){var t=c.createElement("script");u(e)?t.src=e:t.innerText=e,c.body.appendChild(t)}}),c.close()}}},e.prototype.printURL=function(e,t){this.isLoading||(this.addEvents(),this.isLoading=!0,this.callback=t,this.iframe.src=e)},e.prototype.launchPrint=function(e){e.document.execCommand("print",!1,null)||e.print()},e.prototype.addEvents=function(){var e=this;this.hasEvents||(this.hasEvents=!0,this.iframe.addEventListener("load",function(){return e.onLoad()},!1))},e.prototype.onLoad=function(){var e=this;if(this.iframe){this.isLoading=!1;var t=this.iframe,n=t.contentDocument,r=t.contentWindow;if(!n||!r)return;this.callback?this.callback({iframe:this.iframe,element:this.elCopy,launchPrint:function(){return e.launchPrint(r)}}):this.launchPrint(r)}},e}();t.Printd=c,t.default=c},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";function r(){}function o(){}var i=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-copy-to-clipboard/lib/Component.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var u=Object.assign||function(e){for(var t=1;tthis.eventPool.length&&this.eventPool.push(e)}function A(e){e.eventPool=[],e.getPooled=R,e.release=N}function I(e,t){switch(e){case"keyup":return-1!==Wo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function D(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function L(e,t){switch(e){case"compositionend":return D(t);case"keypress":return 32!==t.which?null:(Yo=!0,Ko);case"textInput":return e=t.data,e===Ko&&Yo?null:e;default:return null}}function F(e,t){if(Xo)return"compositionend"===e||!Ho&&I(e,t)?(e=O(),zo=Uo=Fo=null,Xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function ie(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function ae(e){return e[1].toUpperCase()}function le(e,t,n,r){var o=ki.hasOwnProperty(t)?ki[t]:null;(null!==o?0===o.type:!r&&2ra.length&&ra.push(e)}}}function ze(e){return Object.prototype.hasOwnProperty.call(e,la)||(e[la]=aa++,ia[e[la]]={}),ia[e[la]]}function Be(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ve(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function We(e,t){var n=Ve(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ve(n)}}function He(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?He(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function qe(){for(var e=window,t=Be();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=Be(e.document)}return t}function $e(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(){var e=qe();if($e(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var n=t.getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var i=0,a=-1,l=-1,u=0,s=0,c=e,d=null;t:for(;;){for(var f;c!==t||0!==r&&3!==c.nodeType||(a=i+r),c!==o||0!==n&&3!==c.nodeType||(l=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break t;if(d===t&&++u===r&&(a=i),d===o&&++s===n&&(l=i),null!==(f=c.nextSibling))break;c=d,d=c.parentNode}c=f}t=-1===a||-1===l?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}function Ke(e){var t=qe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&He(n.ownerDocument.documentElement,n)){if(null!==r&&$e(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=We(n,i);var a=We(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=t.length||o("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:ue(n)}}function tt(e,t){var n=ue(t.value),r=ue(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function nt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function rt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ot(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function it(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function at(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ba.hasOwnProperty(e)&&ba[e]?(""+t).trim():t+"px"}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=at(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function ut(e,t){t&&(_a[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&o("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&o("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||o("61")),null!=t.style&&"object"!=typeof t.style&&o("62",""))}function st(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ct(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=ze(e);t=_o[t];for(var r=0;rOa||(e.current=xa[Oa],xa[Oa]=null,Oa--)}function bt(e,t){Oa++,xa[Oa]=e.current,e.current=t}function gt(e,t){var n=e.type.contextTypes;if(!n)return Ma;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _t(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Et(e){vt(ja,e),vt(Pa,e)}function wt(e){vt(ja,e),vt(Pa,e)}function Tt(e,t,n){Pa.current!==Ma&&o("168"),bt(Pa,t,e),bt(ja,n,e)}function kt(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;r=r.getChildContext();for(var i in r)i in e||o("108",ee(t)||"Unknown",i);return lo({},n,r)}function Ct(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ma,Ra=Pa.current,bt(Pa,t,e),bt(ja,ja.current,e),!0}function St(e,t,n){var r=e.stateNode;r||o("169"),n?(t=kt(e,t,Ra),r.__reactInternalMemoizedMergedChildContext=t,vt(ja,e),vt(Pa,e),bt(Pa,t,e)):vt(ja,e),bt(ja,n,e)}function xt(e){return function(t){try{return e(t)}catch(e){}}}function Ot(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Na=xt(function(e){return t.onCommitFiberRoot(n,e)}),Aa=xt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Mt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Pt(e,t,n,r){return new Mt(e,t,n,r)}function jt(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rt(e){if("function"==typeof e)return jt(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===hi)return 11;if(e===vi)return 14}return 2}function Nt(e,t){var n=e.alternate;return null===n?(n=Pt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function At(e,t,n,r,i,a){var l=2;if(r=e,"function"==typeof e)jt(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case si:return It(n.children,i,a,t);case mi:return Dt(n,3|i,a,t);case ci:return Dt(n,2|i,a,t);case di:return e=Pt(12,n,t,4|i),e.elementType=di,e.type=di,e.expirationTime=a,e;case yi:return e=Pt(13,n,t,i),e.elementType=yi,e.type=yi,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case fi:l=10;break e;case pi:l=9;break e;case hi:l=11;break e;case vi:l=14;break e;case bi:l=16,r=null;break e}o("130",null==e?e:typeof e,"")}return t=Pt(l,n,t,i),t.elementType=e,t.type=r,t.expirationTime=a,t}function It(e,t,n,r){return e=Pt(7,e,r,t),e.expirationTime=n,e}function Dt(e,t,n,r){return e=Pt(8,e,r,t),t=0==(1&t)?ci:mi,e.elementType=t,e.type=t,e.expirationTime=n,e}function Lt(e,t,n){return e=Pt(6,e,null,t),e.expirationTime=n,e}function Ft(e,t,n){return t=Pt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ut(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),Wt(t,e)}function zt(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{tt?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),n=e.earliestSuspendedTime,0===n?Ut(e,t):tn&&Ut(e,t)}Wt(0,e)}function Bt(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),Wt(t,e)}function Vt(e,t){var n=e.earliestPendingTime;return e=e.earliestSuspendedTime,n>t&&(t=n),e>t&&(t=e),t}function Wt(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;o=0!==o?o:i,0===o&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function Ht(e,t){if(e&&e.defaultProps){t=lo({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function qt(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,t=e._ctor,t=t(),t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}function $t(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:lo({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}function Qt(e,t,n,r,o,i,a){return e=e.stateNode,"function"==typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&Oe(n,r)&&Oe(o,i))}function Kt(e,t,n){var r=!1,o=Ma,i=t.contextType;return"object"==typeof i&&null!==i?i=Bn(i):(o=_t(t)?Ra:Pa.current,r=t.contextTypes,i=(r=null!==r&&void 0!==r)?gt(e,o):Ma),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Da,e.stateNode=t,t._reactInternalFiber=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Gt(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Da.enqueueReplaceState(t,t.state,null)}function Yt(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ia;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Bn(i):(i=_t(t)?Ra:Pa.current,o.context=gt(e,i)),i=e.updateQueue,null!==i&&(Yn(e,i,n,o,r),o.state=e.memoizedState),i=t.getDerivedStateFromProps,"function"==typeof i&&($t(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Da.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(Yn(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}function Xt(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&o("309"),r=n.stateNode),r||o("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===Ia&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}"string"!=typeof e&&o("284"),n._owner||o("290",e)}return e}function Zt(e,t){"textarea"!==e.type&&o("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Jt(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return e=Nt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,rh?(y=d,d=null):y=d.sibling;var v=p(o,d,l[h],u);if(null===v){null===d&&(d=y);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,d=y}if(h===l.length)return n(o,d),s;if(null===d){for(;hy?(v=h,h=null):v=h.sibling;var g=p(i,h,b.value,s);if(null===g){h||(h=v);break}e&&h&&null===g.alternate&&t(i,h),l=a(g,l,y),null===d?c=g:d.sibling=g,d=g,h=v}if(b.done)return n(i,h),c;if(null===h){for(;!b.done;y++,b=u.next())null!==(b=f(i,b.value,s))&&(l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return c}for(h=r(i,h);!b.done;y++,b=u.next())null!==(b=m(h,i,y,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?y:b.key),l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(i,e)}),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===si&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case li:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?a.type===si:s.elementType===a.type){n(e,s.sibling),r=i(s,a.type===si?a.props.children:a.props,u),r.ref=Xt(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===si?(r=It(a.props.children,e.mode,u,a.key),r.return=e,e=r):(u=At(a.type,a.key,a.props,null,e.mode,u),u.ref=Xt(e,r,a),u.return=e,e=u)}return l(e);case ui:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),r=i(r,a.children||[],u),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Ft(a,e.mode,u),r.return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),r=i(r,a,u),r.return=e,e=r):(n(e,r),r=Lt(a,e.mode,u),r.return=e,e=r),l(e);if(La(a))return h(e,r,a,u);if(J(a))return y(e,r,a,u);if(c&&Zt(e,a),void 0===a&&!s)switch(e.tag){case 1:case 0:u=e.type,o("152",u.displayName||u.name||"Component")}return n(e,r)}}function en(e){return e===za&&o("174"),e}function tn(e,t){bt(Wa,t,e),bt(Va,e,e),bt(Ba,za,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ot(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=ot(t,n)}vt(Ba,e),bt(Ba,t,e)}function nn(e){vt(Ba,e),vt(Va,e),vt(Wa,e)}function rn(e){en(Wa.current);var t=en(Ba.current),n=ot(t,e.type);t!==n&&(bt(Va,e,e),bt(Ba,n,e))}function on(e){Va.current===e&&(vt(Ba,e),vt(Va,e))}function an(){o("321")}function ln(e,t){if(null===t)return!1;for(var n=0;nal&&(al=d)):a=s.eagerReducer===e?s.eagerState:e(a,s.action),l=s,s=s.next}while(null!==s&&s!==r);c||(u=l,i=a),xe(a,t.memoizedState)||(gl=!0),t.memoizedState=a,t.baseUpdate=u,t.baseState=i,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function mn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===ll?(ll={lastEffect:null},ll.lastEffect=e.next=e):(t=ll.lastEffect,null===t?ll.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,ll.lastEffect=e)),e}function hn(e,t,n,r){var o=cn();ul|=e,o.memoizedState=mn(t,n,void 0,void 0===r?null:r)}function yn(e,t,n,r){var o=dn();r=void 0===r?null:r;var i=void 0;if(null!==tl){var a=tl.memoizedState;if(i=a.destroy,null!==r&&ln(r,a.deps))return void mn(Ha,n,i,r)}ul|=e,o.memoizedState=mn(t,n,i,r)}function vn(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function bn(){}function gn(e,t,n){25>dl||o("301");var r=e.alternate;if(e===el||null!==r&&r===el)if(sl=!0,e={expirationTime:Ja,action:n,eagerReducer:null,eagerState:null,next:null},null===cl&&(cl=new Map),void 0===(n=cl.get(t)))cl.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{br();var i=Ir();i=kr(i,e);var a={expirationTime:i,action:n,eagerReducer:null,eagerState:null,next:null},l=t.last;if(null===l)a.next=a;else{var u=l.next;null!==u&&(a.next=u),l.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=r(s,n);if(a.eagerReducer=r,a.eagerState=c,xe(c,s))return}catch(e){}Or(e,i)}}function _n(e,t){var n=Pt(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function En(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function wn(e){if(vl){var t=yl;if(t){var n=t;if(!En(e,t)){if(!(t=ht(n))||!En(e,t))return e.effectTag|=2,vl=!1,void(hl=e);_n(hl,n)}hl=e,yl=yt(t)}else e.effectTag|=2,vl=!1,hl=e}}function Tn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;hl=e}function kn(e){if(e!==hl)return!1;if(!vl)return Tn(e),vl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!pt(t,e.memoizedProps))for(t=yl;t;)_n(e,t),t=ht(t);return Tn(e),yl=hl?ht(e.stateNode):null,!0}function Cn(){yl=hl=null,vl=!1}function Sn(e,t,n,r){t.child=null===e?Ua(t,null,n,r):Fa(t,e.child,n,r)}function xn(e,t,n,r,o){n=n.render;var i=t.ref;return zn(t,o),r=un(e,t,n,r,i,o),null===e||gl?(t.effectTag|=1,Sn(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Dn(e,t,o))}function On(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||jt(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=At(n.type,null,r,null,t.mode,i),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Mn(e,t,a,r,o,i))}return a=e.child,o=n?In(e,t,n):(t=Dn(e,t,n),null!==t?t.sibling:null)}return Dn(e,t,n)}}else gl=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=gt(t,Pa.current);if(zn(t,n),i=un(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,sn(),_t(r)){var a=!0;Ct(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var l=r.getDerivedStateFromProps;"function"==typeof l&&$t(t,r,l,e),i.updater=Da,t.stateNode=i,i._reactInternalFiber=t,Yt(t,r,e,n),t=Nn(null,t,r,!0,a,n)}else t.tag=0,Sn(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=qt(i),t.type=e,i=t.tag=Rt(e),a=Ht(e,a),l=void 0,i){case 0:l=jn(null,t,e,a,n);break;case 1:l=Rn(null,t,e,a,n);break;case 11:l=xn(null,t,e,a,n);break;case 14:l=On(null,t,e,Ht(e.type,a),r,n);break;default:o("306",e,"")}return l;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),jn(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Rn(e,t,r,i,n);case 3:return An(t),r=t.updateQueue,null===r&&o("282"),i=t.memoizedState,i=null!==i?i.element:null,Yn(t,r,t.pendingProps,null,n),r=t.memoizedState.element,r===i?(Cn(),t=Dn(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(yl=yt(t.stateNode.containerInfo),hl=t,i=vl=!0),i?(t.effectTag|=2,t.child=Ua(t,null,r,n)):(Sn(e,t,r,n),Cn()),t=t.child),t;case 5:return rn(t),null===e&&wn(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,l=i.children,pt(r,i)?l=null:null!==a&&pt(r,a)&&(t.effectTag|=16),Pn(e,t),1!==n&&1&t.mode&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Sn(e,t,l,n),t=t.child),t;case 6:return null===e&&wn(t),null;case 13:return In(e,t,n);case 4:return tn(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Fa(t,null,r,n):Sn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),xn(e,t,r,i,n);case 7:return Sn(e,t,t.pendingProps,n),t.child;case 8:case 12:return Sn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value,Fn(t,a),null!==l){var u=l.value;if(0==(a=xe(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===i.children&&!ja.current){t=Dn(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.contextDependencies;if(null!==s){l=u.child;for(var c=s.first;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&(c=Hn(n),c.tag=Sl,$n(u,c)),u.expirationTime=t&&(gl=!0),e.contextDependencies=null}function Bn(e,t){return Tl!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Tl=e,t=1073741823),t={context:e,observedBits:t,next:null},null===wl?(null===El&&o("308"),wl=t,El.contextDependencies={first:t,expirationTime:0}):wl=wl.next=t),e._currentValue}function Vn(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Wn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Hn(e){return{expirationTime:e,tag:kl,payload:null,callback:null,next:null,nextEffect:null}}function qn(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function $n(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Vn(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Vn(e.memoizedState),o=n.updateQueue=Vn(n.memoizedState)):r=e.updateQueue=Wn(o):null===o&&(o=n.updateQueue=Wn(r));null===o||r===o?qn(r,t):null===r.lastUpdate||null===o.lastUpdate?(qn(r,t),qn(o,t)):(qn(r,t),o.lastUpdate=t)}function Qn(e,t){var n=e.updateQueue;n=null===n?e.updateQueue=Vn(e.memoizedState):Kn(e,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Kn(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Wn(t)),t}function Gn(e,t,n,r,o,i){switch(n.tag){case Cl:return e=n.payload,"function"==typeof e?e.call(i,r,o):e;case xl:e.effectTag=-2049&e.effectTag|64;case kl:if(e=n.payload,null===(o="function"==typeof e?e.call(i,r,o):e)||void 0===o)break;return lo({},r,o);case Sl:Ol=!0}return r}function Yn(e,t,n,r,o){Ol=!1,t=Kn(e,t);for(var i=t.baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;cr?i:r),Dl.current=null,r=void 0,1n?t:n,0===t&&(Gl=null),Ar(e,t)}function _r(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){Ul=e;e:{var i=t;t=e;var a=Bl,l=t.pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:_t(t.type)&&Et(t);break;case 3:nn(t),wt(t),l=t.stateNode,l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==i&&null!==i.child||(kn(t),t.effectTag&=-3),Pl(t);break;case 5:on(t);var u=en(Wa.current);if(a=t.type,null!==i&&null!=t.stateNode)jl(i,t,a,l,u),i.ref!==t.ref&&(t.effectTag|=128);else if(l){var s=en(Ba.current);if(kn(t)){l=t,i=l.stateNode;var c=l.type,d=l.memoizedProps,f=u;switch(i[xo]=l,i[Oo]=d,a=void 0,u=c){case"iframe":case"object":De("load",i);break;case"video":case"audio":for(c=0;c<\/script>",c=i.removeChild(i.firstChild)):"string"==typeof i.is?c=c.createElement(f,{is:i.is}):(c=c.createElement(f),"select"===f&&(f=c,i.multiple?f.multiple=!0:i.size&&(f.size=i.size))):c=c.createElementNS(s,f),i=c,i[xo]=d,i[Oo]=l,Ml(i,t,!1,!1),f=i,c=a,d=l;var p=u,m=st(c,d);switch(c){case"iframe":case"object":De("load",f),u=d;break;case"video":case"audio":for(u=0;ul&&(l=i),u>l&&(l=u),a=a.sibling;t.childExpirationTime=l}if(null!==Ul)return Ul;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=h?p=0:(-1===p||h component higher in the tree to provide a loading indicator or placeholder to display."+te(c))}Wl=!0,d=Jn(d,c),u=s;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=l,l=cr(u,d,l),Qn(u,l);break e;case 1:if(p=d,m=u.type,c=u.stateNode,0==(64&u.effectTag)&&("function"==typeof m.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===Gl||!Gl.has(c)))){u.effectTag|=2048,u.expirationTime=l,l=dr(u,p,l),Qn(u,l);break e}}u=u.return}while(null!==u)}Ul=_r(a);continue}i=!0,Hr(t)}}break}if(Fl=!1,Il.current=n,Tl=wl=El=null,sn(),i)zl=null,e.finishedWork=null;else if(null!==Ul)e.finishedWork=null;else{if(n=e.current.alternate,null===n&&o("281"),zl=null,Wl){if(i=e.latestPendingTime,a=e.latestSuspendedTime,l=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Tr(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gl||!Gl.has(r)))return e=Jn(t,e),e=dr(n,e,1073741823),$n(n,e),void Or(n,1073741823);break;case 3:return e=Jn(t,e),e=cr(n,e,1073741823),$n(n,e),void Or(n,1073741823)}n=n.return}3===e.tag&&(n=Jn(t,e),n=cr(e,n,1073741823),$n(e,n),Or(e,1073741823))}function kr(e,t){var n=uo.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(Fl&&!ql)r=Bl;else{switch(n){case uo.unstable_ImmediatePriority:r=1073741823;break;case uo.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case uo.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case uo.unstable_LowPriority:case uo.unstable_IdlePriority:r=1;break;default:o("313")}null!==zl&&r===Bl&&--r}return n===uo.unstable_UserBlockingPriority&&(0===ru||r=r&&(e.didError=!1,t=e.latestPingedTime,(0===t||t>n)&&(e.latestPingedTime=n),Wt(n,e),0!==(n=e.expirationTime)&&Dr(e,n)))}function Sr(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Ir(),t=kr(t,e),null!==(e=xr(e,t))&&(Ut(e,t),0!==(t=e.expirationTime)&&Dr(e,t))}function xr(e,t){e.expirationTimeBl&&pr(),Ut(e,t),Fl&&!ql&&zl===e||Dr(e,e.expirationTime),pu>fu&&(pu=0,o("185")))}function Mr(e,t,n,r,o){return uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){return e(t,n,r,o)})}function Pr(){cu=1073741822-((uo.unstable_now()-su)/10|0)}function jr(e,t){if(0!==Zl){if(te.expirationTime&&(e.expirationTime=t),eu||(au?lu&&(tu=e,nu=1073741823,Vr(e,1073741823,!1)):1073741823===t?zr(1073741823,!1):jr(e,t))}function Lr(){var e=0,t=null;if(null!==Xl)for(var n=Xl,r=Yl;null!==r;){var i=r.expirationTime;if(0===i){if((null===n||null===Xl)&&o("244"),r===r.nextScheduledRoot){Yl=Xl=r.nextScheduledRoot=null;break}if(r===Yl)Yl=i=r.nextScheduledRoot,Xl.nextScheduledRoot=i,r.nextScheduledRoot=null;else{if(r===Xl){Xl=n,Xl.nextScheduledRoot=Yl,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(i>e&&(e=i,t=r),r===Xl)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}tu=t,nu=e}function Fr(){return!!hu||!!uo.unstable_shouldYield()&&(hu=!0)}function Ur(){try{if(!Fr()&&null!==Yl){Pr();var e=Yl;do{var t=e.expirationTime;0!==t&&cu<=t&&(e.nextExpirationTimeToWorkOn=cu),e=e.nextScheduledRoot}while(e!==Yl)}zr(0,!0)}finally{hu=!1}}function zr(e,t){if(Lr(),t)for(Pr(),du=cu;null!==tu&&0!==nu&&e<=nu&&!(hu&&cu>nu);)Vr(tu,nu,cu>nu),Lr(),Pr(),du=cu;else for(;null!==tu&&0!==nu&&e<=nu;)Vr(tu,nu,!1),Lr();if(t&&(Zl=0,Jl=null),0!==nu&&jr(tu,nu),pu=0,mu=null,null!==uu)for(e=uu,uu=null,t=0;t=n&&(null===uu?uu=[r]:uu.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===mu?pu++:(mu=e,pu=0),uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){gr(e,t)})}function Hr(e){null===tu&&o("246"),tu.expirationTime=0,ou||(ou=!0,iu=e)}function qr(e,t){var n=au;au=!0;try{return e(t)}finally{(au=n)||eu||zr(1073741823,!1)}}function $r(e,t){if(au&&!lu){lu=!0;try{return e(t)}finally{lu=!1}}return e(t)}function Qr(e,t,n){au||eu||0===ru||(zr(ru,!1),ru=0);var r=au;au=!0;try{return uo.unstable_runWithPriority(uo.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(au=r)||eu||zr(1073741823,!1)}}function Kr(e,t,n,r,i){var a=t.current;e:if(n){n=n._reactInternalFiber;t:{2===Me(n)&&1===n.tag||o("170");var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(_t(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);o("171"),l=void 0}if(1===n.tag){var u=n.type;if(_t(u)){n=kt(n,u,l);break e}}n=l}else n=Ma;return null===t.context?t.context=n:t.pendingContext=n,t=i,i=Hn(r),i.payload={element:e},t=void 0===t?null:t,null!==t&&(i.callback=t),br(),$n(a,i),Or(a,r),r}function Gr(e,t,n,r){var o=t.current;return o=kr(Ir(),o),Kr(e,t,n,o,r)}function Yr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Xr(e,t,n){var r=3=Ll&&(t=Ll-1),this._expirationTime=Ll=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Jr(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function eo(e,t,n){t=Pt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function to(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function no(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new eo(e,!1,t)}function ro(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Yr(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=no(n,r),"function"==typeof o){var l=o;o=function(){var e=Yr(i._internalRoot);l.call(e)}}$r(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return Yr(i._internalRoot)}function oo(e,t){var n=2=qo),Ko=String.fromCharCode(32),Go={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(" ")}},Yo=!1,Xo=!1,Zo={eventTypes:Go,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Ho)e:{switch(e){case"compositionstart":o=Go.compositionStart;break e;case"compositionend":o=Go.compositionEnd;break e;case"compositionupdate":o=Go.compositionUpdate;break e}o=void 0}else Xo?I(e,n)&&(o=Go.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Go.compositionStart);return o?(Qo&&"ko"!==n.locale&&(Xo||o!==Go.compositionStart?o===Go.compositionEnd&&Xo&&(i=O()):(Fo=r,Uo="value"in Fo?Fo.value:Fo.textContent,Xo=!0)),o=Bo.getPooled(o,t,n,r),i?o.data=i:null!==(i=D(n))&&(o.data=i),C(o),i=o):i=null,(e=$o?L(e,n):F(e,n))?(t=Vo.getPooled(Go.beforeInput,t,n,r),t.data=e,C(t)):t=null,null===i?t:null===t?i:[i,t]}},Jo=null,ei=null,ti=null,ni=!1,ri={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},oi=ao.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oi.hasOwnProperty("ReactCurrentDispatcher")||(oi.ReactCurrentDispatcher={current:null});var ii=/^(.*)[\\\/]/,ai="function"==typeof Symbol&&Symbol.for,li=ai?Symbol.for("react.element"):60103,ui=ai?Symbol.for("react.portal"):60106,si=ai?Symbol.for("react.fragment"):60107,ci=ai?Symbol.for("react.strict_mode"):60108,di=ai?Symbol.for("react.profiler"):60114,fi=ai?Symbol.for("react.provider"):60109,pi=ai?Symbol.for("react.context"):60110,mi=ai?Symbol.for("react.concurrent_mode"):60111,hi=ai?Symbol.for("react.forward_ref"):60112,yi=ai?Symbol.for("react.suspense"):60113,vi=ai?Symbol.for("react.memo"):60115,bi=ai?Symbol.for("react.lazy"):60116,gi="function"==typeof Symbol&&Symbol.iterator,_i=/^[: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]*$/,Ei=Object.prototype.hasOwnProperty,wi={},Ti={},ki={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ki[e]=new ie(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ki[t]=new ie(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ki[e]=new ie(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ki[e]=new ie(e,2,!1,e,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(e){ki[e]=new ie(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ki[e]=new ie(e,3,!0,e,null)}),["capture","download"].forEach(function(e){ki[e]=new ie(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){ki[e]=new ie(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){ki[e]=new ie(e,5,!1,e.toLowerCase(),null)});var Ci=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){ki[e]=new ie(e,1,!1,e.toLowerCase(),null)});var Si={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},xi=null,Oi=null,Mi=!1;Mo&&(Mi=K("input")&&(!document.documentMode||9=document.documentMode,sa={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ca=null,da=null,fa=null,pa=!1,ma={eventTypes:sa,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=ze(i),o=_o.onSelect;for(var a=0;a"+t+"",t=ya.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ba={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},ga=["Webkit","ms","Moz","O"];Object.keys(ba).forEach(function(e){ga.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ba[t]=ba[e]})});var _a=lo({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}),Ea=null,wa=null,Ta="function"==typeof setTimeout?setTimeout:void 0,ka="function"==typeof clearTimeout?clearTimeout:void 0,Ca=uo.unstable_scheduleCallback,Sa=uo.unstable_cancelCallback;new Set;var xa=[],Oa=-1,Ma={},Pa={current:Ma},ja={current:!1},Ra=Ma,Na=null,Aa=null,Ia=(new ao.Component).refs,Da={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Me(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.tag=Cl,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ir();n=kr(n,e);var r=Hn(n);r.tag=Sl,void 0!==t&&null!==t&&(r.callback=t),br(),$n(e,r),Or(e,n)}},La=Array.isArray,Fa=Jt(!0),Ua=Jt(!1),za={},Ba={current:za},Va={current:za},Wa={current:za},Ha=0,qa=2,$a=4,Qa=8,Ka=16,Ga=32,Ya=64,Xa=128,Za=oi.ReactCurrentDispatcher,Ja=0,el=null,tl=null,nl=null,rl=null,ol=null,il=null,al=0,ll=null,ul=0,sl=!1,cl=null,dl=0,fl={readContext:Bn,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an},pl={readContext:Bn,useCallback:function(e,t){return cn().memoizedState=[e,void 0===t?null:t],e},useContext:Bn,useEffect:function(e,t){return hn(516,Xa|Ya,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,hn(4,$a|Ga,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hn(4,$a|Ga,e,t)},useMemo:function(e,t){var n=cn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=cn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=gn.bind(null,el,e),[r.memoizedState,e]},useRef:function(e){var t=cn();return e={current:e},t.memoizedState=e},useState:function(e){var t=cn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={last:null,dispatch:null,lastRenderedReducer:fn,lastRenderedState:e},e=e.dispatch=gn.bind(null,el,e),[t.memoizedState,e]},useDebugValue:bn},ml={readContext:Bn,useCallback:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Bn,useEffect:function(e,t){return yn(516,Xa|Ya,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,yn(4,$a|Ga,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yn(4,$a|Ga,e,t)},useMemo:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:pn,useRef:function(){return dn().memoizedState},useState:function(e){return pn(fn)},useDebugValue:bn},hl=null,yl=null,vl=!1,bl=oi.ReactCurrentOwner,gl=!1,_l={current:null},El=null,wl=null,Tl=null,kl=0,Cl=1,Sl=2,xl=3,Ol=!1,Ml=void 0,Pl=void 0,jl=void 0,Rl=void 0;Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},jl=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=t.stateNode;switch(en(Ba.current),e=null,n){case"input":i=se(a,i),r=se(a,r),e=[];break;case"option":i=Xe(a,i),r=Xe(a,r),e=[];break;case"select":i=lo({},i,{value:void 0}),r=lo({},r,{value:void 0}),e=[];break;case"textarea":i=Je(a,i),r=Je(a,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(a.onclick=dt)}ut(n,r),a=n=void 0;var l=null;for(n in i)if(!r.hasOwnProperty(n)&&i.hasOwnProperty(n)&&null!=i[n])if("style"===n){var u=i[n];for(a in u)u.hasOwnProperty(a)&&(l||(l={}),l[a]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(go.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var s=r[n];if(u=null!=i?i[n]:void 0,r.hasOwnProperty(n)&&s!==u&&(null!=s||null!=u))if("style"===n)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(l||(l={}),l[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(l||(l={}),l[a]=s[a])}else l||(e||(e=[]),e.push(n,l)),l=s;else"dangerouslySetInnerHTML"===n?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(e=e||[]).push(n,""+s)):"children"===n?u===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(n,""+s):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(go.hasOwnProperty(n)?(null!=s&&ct(o,n),e||u===s||(e=[])):(e=e||[]).push(n,s))}l&&(e=e||[]).push("style",l),o=e,(t.updateQueue=o)&&er(t)}},Rl=function(e,t,n,r){n!==r&&er(t)};var Nl="function"==typeof WeakSet?WeakSet:Set,Al="function"==typeof WeakMap?WeakMap:Map,Il=oi.ReactCurrentDispatcher,Dl=oi.ReactCurrentOwner,Ll=1073741822,Fl=!1,Ul=null,zl=null,Bl=0,Vl=-1,Wl=!1,Hl=null,ql=!1,$l=null,Ql=null,Kl=null,Gl=null,Yl=null,Xl=null,Zl=0,Jl=void 0,eu=!1,tu=null,nu=0,ru=0,ou=!1,iu=null,au=!1,lu=!1,uu=null,su=uo.unstable_now(),cu=1073741822-(su/10|0),du=cu,fu=50,pu=0,mu=null,hu=!1;Jo=function(e,t,n){switch(t){case"input":if(fe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},V=qr,W=Qr,H=function(){eu||0===ru||(zr(ru,!1),ru=0)};var yu={createPortal:oo,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?o("188"):o("268",Object.keys(e))),e=Re(t),e=null===e?null:e.stateNode},hydrate:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!0,n)},render:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return to(n)||o("200"),(null==e||void 0===e._reactInternalFiber)&&o("38"),ro(e,t,n,!1,r)},unmountComponentAtNode:function(e){return to(e)||o("40"),!!e._reactRootContainer&&($r(function(){ro(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return oo.apply(void 0,arguments)},unstable_batchedUpdates:qr,unstable_interactiveUpdates:Qr,flushSync:function(e,t){eu&&o("187");var n=au;au=!0;try{return Mr(e,t)}finally{au=n,zr(1073741823,!1)}},unstable_createRoot:io,unstable_flushControlled:function(e){var t=au;au=!0;try{Mr(e)}finally{(au=t)||eu||zr(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[v,b,g,Co.injectEventPluginsByName,bo,C,function(e){f(e,k)},z,B,Ue,h]}};!function(e){var t=e.findFiberByHostInstance;Ot(lo({},e,{overrideProps:null,currentDispatcherRef:oi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Re(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:y,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var vu={default:yu},bu=vu&&yu||vu;e.exports=bu.default||bu},"./node_modules/react-dom/index.js":function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n("./node_modules/react-dom/cjs/react-dom.production.min.js")},"./node_modules/react-is/cjs/react-is.production.min.js":function(e,t,n){"use strict";function r(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case p:case m:case u:case c:case s:case y:return e;default:switch(e=e&&e.$$typeof){case f:case h:case d:return e;default:return t}}case b:case v:case l:return t}}}function o(e){return r(e)===m}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,l=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,d=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.async_mode"):60111,m=i?Symbol.for("react.concurrent_mode"):60111,h=i?Symbol.for("react.forward_ref"):60112,y=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116;t.typeOf=r,t.AsyncMode=p,t.ConcurrentMode=m,t.ContextConsumer=f,t.ContextProvider=d,t.Element=a,t.ForwardRef=h,t.Fragment=u,t.Lazy=b,t.Memo=v,t.Portal=l,t.Profiler=c,t.StrictMode=s,t.Suspense=y,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===u||e===m||e===c||e===s||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===d||e.$$typeof===f||e.$$typeof===h)},t.isAsyncMode=function(e){return o(e)||r(e)===p},t.isConcurrentMode=o,t.isContextConsumer=function(e){return r(e)===f},t.isContextProvider=function(e){return r(e)===d},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return r(e)===h},t.isFragment=function(e){return r(e)===u},t.isLazy=function(e){return r(e)===b},t.isMemo=function(e){return r(e)===v},t.isPortal=function(e){return r(e)===l},t.isProfiler=function(e){return r(e)===c},t.isStrictMode=function(e){return r(e)===s},t.isSuspense=function(e){return r(e)===y}},"./node_modules/react-is/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-is/cjs/react-is.production.min.js")},"./node_modules/react-redux/es/components/Context.js":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("./node_modules/react/index.js"),o=n.n(r),i=o.a.createContext(null)},"./node_modules/react-redux/es/components/Provider.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),o=n("./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),i=n("./node_modules/react/index.js"),a=n.n(i),l=n("./node_modules/prop-types/index.js"),u=n.n(l),s=n("./node_modules/react-redux/es/components/Context.js"),c=n("./node_modules/react-redux/es/utils/Subscription.js"),d=function(e){function t(t){var o;o=e.call(this,t)||this;var i=t.store;o.notifySubscribers=o.notifySubscribers.bind(n.i(r.a)(o));var a=new c.a(i);return a.onStateChange=o.notifySubscribers,o.state={store:i,subscription:a},o.previousState=i.getState(),o}n.i(o.a)(t,e);var i=t.prototype;return i.componentDidMount=function(){this._isMounted=!0,this.state.subscription.trySubscribe(),this.previousState!==this.props.store.getState()&&this.state.subscription.notifyNestedSubs()},i.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this.state.subscription.tryUnsubscribe(),this._isMounted=!1},i.componentDidUpdate=function(e){if(this.props.store!==e.store){this.state.subscription.tryUnsubscribe();var t=new c.a(this.props.store);t.onStateChange=this.notifySubscribers,this.setState({store:this.props.store,subscription:t})}},i.notifySubscribers=function(){this.state.subscription.notifyNestedSubs()},i.render=function(){var e=this.props.context||s.a;return a.a.createElement(e.Provider,{value:this.state},this.props.children)},t}(i.Component);d.propTypes={store:u.a.shape({subscribe:u.a.func.isRequired,dispatch:u.a.func.isRequired,getState:u.a.func.isRequired}),context:u.a.object,children:u.a.any},t.a=d},"./node_modules/react-redux/es/components/connectAdvanced.js":function(e,t,n){"use strict";function r(e,t){var n=e[1];return[t.payload,n+1]}function o(e,t){void 0===t&&(t={});var o=t,l=o.getDisplayName,s=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,_=o.methodName,E=void 0===_?"connectAdvanced":_,w=o.renderCountProp,T=void 0===w?void 0:w,k=o.shouldHandleStateChanges,C=void 0===k||k,S=o.storeKey,x=void 0===S?"store":S,O=o.withRef,M=void 0!==O&&O,P=o.forwardRef,j=void 0!==P&&P,R=o.context,N=void 0===R?h.a:R,A=n.i(a.a)(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);c()(void 0===T,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),c()(!M,"withRef is removed. To access the wrapped instance, use a ref on the connected component"),c()("store"===x,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: . You may also pass a {context : MyContext} option to connect");var I=N;return function(t){function o(t){return e(t.dispatch,w)}function l(e){var l=n.i(d.useMemo)(function(){var t=e.forwardedRef,r=n.i(a.a)(e,["forwardedRef"]);return[e.context,t,r]},[e]),u=l[0],s=l[1],h=l[2],E=n.i(d.useMemo)(function(){return u&&u.Consumer&&n.i(p.isContextConsumer)(f.a.createElement(u.Consumer,null))?u:I},[u,I]),w=n.i(d.useContext)(E),T=Boolean(e.store),k=Boolean(w)&&Boolean(w.store);c()(T||k,'Could not find "store" in the context of "'+_+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+_+" in connect options.");var x=e.store||w.store,O=n.i(d.useMemo)(function(){return o(x)},[x]),M=n.i(d.useMemo)(function(){if(!C)return v;var e=new m.a(x,T?null:w.subscription);return[e,e.notifyNestedSubs.bind(e)]},[x,T,w]),P=M[0],j=M[1],R=n.i(d.useMemo)(function(){return T?w:n.i(i.a)({},w,{subscription:P})},[T,w,P]),N=n.i(d.useReducer)(r,y,b),A=N[0],D=A[0],L=N[1];if(D&&D.error)throw D.error;var F=n.i(d.useRef)(),U=n.i(d.useRef)(h),z=n.i(d.useRef)(),B=n.i(d.useRef)(!1),V=S(function(){return z.current&&h===U.current?z.current:O(x.getState(),h)},[x,D,h]);g(function(){U.current=h,F.current=V,B.current=!1,z.current&&(z.current=null,j())}),g(function(){if(C){var e=!1,t=null,n=function(){if(!e){var n,r,o=x.getState();try{n=O(o,U.current)}catch(e){r=e,t=e}r||(t=null),n===F.current?B.current||j():(F.current=n,z.current=n,B.current=!0,L({type:"STORE_UPDATED",payload:{latestStoreState:o,error:r}}))}};return P.onStateChange=n,P.trySubscribe(),n(),function(){if(e=!0,P.tryUnsubscribe(),t)throw t}}},[x,P,O]);var W=n.i(d.useMemo)(function(){return f.a.createElement(t,n.i(i.a)({},V,{ref:s}))},[s,t,V]);return n.i(d.useMemo)(function(){return C?f.a.createElement(E.Provider,{value:R},W):W},[E,W,R])}var h=t.displayName||t.name||"Component",_=s(h),w=n.i(i.a)({},A,{getDisplayName:s,methodName:E,renderCountProp:T,shouldHandleStateChanges:C,storeKey:x,displayName:_,wrappedComponentName:h,WrappedComponent:t}),k=A.pure,S=k?d.useMemo:function(e){return e()},O=k?f.a.memo(l):l;if(O.WrappedComponent=t,O.displayName=_,j){var M=f.a.forwardRef(function(e,t){return f.a.createElement(O,n.i(i.a)({},e,{forwardedRef:t}))});return M.displayName=_,M.WrappedComponent=t,u()(M,t)}return u()(O,t)}}t.a=o;var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),u=n.n(l),s=n("./node_modules/invariant/browser.js"),c=n.n(s),d=n("./node_modules/react/index.js"),f=n.n(d),p=n("./node_modules/react-is/index.js"),m=(n.n(p),n("./node_modules/react-redux/es/utils/Subscription.js")),h=n("./node_modules/react-redux/es/components/Context.js"),y=[],v=[null,null],b=function(){return[null,0]},g="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?d.useLayoutEffect:d.useEffect},"./node_modules/react-redux/es/connect/connect.js":function(e,t,n){"use strict";function r(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function o(e,t){return e===t}var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/react-redux/es/components/connectAdvanced.js"),u=n("./node_modules/react-redux/es/utils/shallowEqual.js"),s=n("./node_modules/react-redux/es/connect/mapDispatchToProps.js"),c=n("./node_modules/react-redux/es/connect/mapStateToProps.js"),d=n("./node_modules/react-redux/es/connect/mergeProps.js"),f=n("./node_modules/react-redux/es/connect/selectorFactory.js");t.a=function(e){var t={},p=t.connectHOC,m=void 0===p?l.a:p,h=t.mapStateToPropsFactories,y=void 0===h?c.a:h,v=t.mapDispatchToPropsFactories,b=void 0===v?s.a:v,g=t.mergePropsFactories,_=void 0===g?d.a:g,E=t.selectorFactory,w=void 0===E?f.a:E;return function(e,t,l,s){void 0===s&&(s={});var c=s,d=c.pure,f=void 0===d||d,p=c.areStatesEqual,h=void 0===p?o:p,v=c.areOwnPropsEqual,g=void 0===v?u.a:v,E=c.areStatePropsEqual,T=void 0===E?u.a:E,k=c.areMergedPropsEqual,C=void 0===k?u.a:k,S=n.i(a.a)(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=r(e,y,"mapStateToProps"),O=r(t,b,"mapDispatchToProps"),M=r(l,_,"mergeProps");return m(w,n.i(i.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:O,initMergeProps:M,pure:f,areStatesEqual:h,areOwnPropsEqual:g,areStatePropsEqual:T,areMergedPropsEqual:C},S))}}()},"./node_modules/react-redux/es/connect/mapDispatchToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(l.a)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:n.i(l.b)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?n.i(l.b)(function(t){return n.i(a.bindActionCreators)(e,t)}):void 0}var a=n("./node_modules/redux/es/redux.js"),l=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o,i]},"./node_modules/react-redux/es/connect/mapStateToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(i.a)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:n.i(i.b)(function(){return{}})}var i=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o]},"./node_modules/react-redux/es/connect/mergeProps.js":function(e,t,n){"use strict";function r(e,t,r){return n.i(l.a)({},r,e,t)}function o(e){return function(t,n){var r,o=(n.displayName,n.pure),i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var u=e(t,n,l);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}function i(e){return"function"==typeof e?o(e):void 0}function a(e){return e?void 0:function(){return r}}var l=n("./node_modules/@babel/runtime/helpers/esm/extends.js");n("./node_modules/react-redux/es/utils/verifyPlainObject.js"),t.a=[i,a]},"./node_modules/react-redux/es/connect/selectorFactory.js":function(e,t,n){"use strict";function r(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function o(e,t,n,r,o){function i(o,i){return c=o,d=i,f=e(c,d),p=t(r,d),m=n(f,p,d),b=!0,m}function a(){return f=e(c,d),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function l(){return e.dependsOnOwnProps&&(f=e(c,d)),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function u(){var t=e(c,d),r=!v(t,f);return f=t,r&&(m=n(f,p,d)),m}function s(e,t){var n=!y(t,d),r=!h(e,c);return c=e,d=t,n&&r?a():n?l():r?u():m}var c,d,f,p,m,h=o.areStatesEqual,y=o.areOwnPropsEqual,v=o.areStatePropsEqual,b=!1;return function(e,t){return b?s(e,t):i(e,t)}}function i(e,t){var i=t.initMapStateToProps,l=t.initMapDispatchToProps,u=t.initMergeProps,s=n.i(a.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=i(e,s),d=l(e,s),f=u(e,s);return(s.pure?o:r)(c,d,f,e,s)}t.a=i;var a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");n("./node_modules/react-redux/es/connect/verifySubselectors.js")},"./node_modules/react-redux/es/connect/verifySubselectors.js":function(e,t,n){"use strict";n("./node_modules/react-redux/es/utils/warning.js")},"./node_modules/react-redux/es/connect/wrapMapToProps.js":function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}t.b=r,t.a=i,n("./node_modules/react-redux/es/utils/verifyPlainObject.js")},"./node_modules/react-redux/es/hooks/useDispatch.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().dispatch}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useStore.js")},"./node_modules/react-redux/es/hooks/useReduxContext.js":function(e,t,n){"use strict";function r(){var e=n.i(o.useContext)(l.a);return a()(e,"could not find react-redux context value; please ensure the component is wrapped in a "),e}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/components/Context.js")},"./node_modules/react-redux/es/hooks/useSelector.js":function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=c),a()(e,"You must pass a selector to useSelectors");var r,i=n.i(l.a)(),d=i.store,f=i.subscription,p=n.i(o.useReducer)(function(e){return e+1},0),m=p[1],h=n.i(o.useMemo)(function(){return new u.a(d,f)},[d,f]),y=n.i(o.useRef)(),v=n.i(o.useRef)(),b=n.i(o.useRef)();try{r=e!==v.current||y.current?e(d.getState()):b.current}catch(e){var g="An error occured while selecting the store state: "+e.message+".";throw y.current&&(g+="\nThe error may be correlated with this previous error:\n"+y.current.stack+"\n\nOriginal stack trace:"),new Error(g)}return s(function(){v.current=e,b.current=r,y.current=void 0}),s(function(){function e(){try{var e=v.current(d.getState());if(t(e,b.current))return;b.current=e}catch(e){y.current=e}m({})}return h.onStateChange=e,h.trySubscribe(),e(),function(){return h.tryUnsubscribe()}},[d,h]),r}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/hooks/useReduxContext.js"),u=n("./node_modules/react-redux/es/utils/Subscription.js"),s="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,c=function(e,t){return e===t}},"./node_modules/react-redux/es/hooks/useStore.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().store}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useReduxContext.js")},"./node_modules/react-redux/es/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react-redux/es/components/Provider.js"),o=n("./node_modules/react-redux/es/components/connectAdvanced.js"),i=n("./node_modules/react-redux/es/components/Context.js"),a=n("./node_modules/react-redux/es/connect/connect.js"),l=n("./node_modules/react-redux/es/hooks/useDispatch.js"),u=n("./node_modules/react-redux/es/hooks/useSelector.js"),s=n("./node_modules/react-redux/es/hooks/useStore.js"),c=n("./node_modules/react-redux/es/utils/batch.js"),d=n("./node_modules/react-redux/es/utils/reactBatchedUpdates.js"),f=n("./node_modules/react-redux/es/utils/shallowEqual.js");n.d(t,"Provider",function(){return r.a}),n.d(t,"connectAdvanced",function(){return o.a}),n.d(t,"ReactReduxContext",function(){return i.a}),n.d(t,"connect",function(){return a.a}),n.d(t,"batch",function(){return d.a}),n.d(t,"useDispatch",function(){return l.a}),n.d(t,"useSelector",function(){return u.a}),n.d(t,"useStore",function(){return s.a}),n.d(t,"shallowEqual",function(){return f.a}),n.i(c.a)(d.a)},"./node_modules/react-redux/es/utils/Subscription.js":function(e,t,n){"use strict";function r(){var e=n.i(o.b)(),t=[],r=[];return{clear:function(){r=i,t=i},notify:function(){var n=t=r;e(function(){for(var e=0;eH.length&&H.push(e)}function m(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case k:a=!0}}if(a)return n(r,e,""===t?"."+y(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l=t){r=e;break}e=e.next}while(e!==s);null===r?r=s:r===s&&(s=a,n()),t=r.previous,t.next=r.previous=a,a.next=r,a.previous=t}}function o(){if(-1===f&&null!==s&&1===s.priorityLevel){m=!0;try{do{r()}while(null!==s&&1===s.priorityLevel)}finally{m=!1,null!==s?n():h=!1}}}function i(e){m=!0;var i=c;c=e;try{if(e)for(;null!==s;){var a=t.unstable_now();if(!(s.expirationTime<=a))break;do{r()}while(null!==s&&s.expirationTime<=a)}else if(null!==s)do{r()}while(null!==s&&!k())}finally{m=!1,c=i,null!==s?n():h=!1,o()}}function a(e){l=g(function(t){b(u),e(t)}),u=v(function(){_(l),e(t.unstable_now())},100)}Object.defineProperty(t,"__esModule",{value:!0});var l,u,s=null,c=!1,d=3,f=-1,p=-1,m=!1,h=!1,y=Date,v="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,_="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;if("object"==typeof performance&&"function"==typeof performance.now){var E=performance;t.unstable_now=function(){return E.now()}}else t.unstable_now=function(){return y.now()};var w,T,k,C=null;if("undefined"!=typeof window?C=window:void 0!==e&&(C=e),C&&C._schedMock){var S=C._schedMock;w=S[0],T=S[1],k=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var x=null,O=function(e){if(null!==x)try{x(e)}finally{x=null}};w=function(e){null!==x?setTimeout(w,0,e):(x=e,setTimeout(O,0,!1))},T=function(){x=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof _&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,P=!1,j=-1,R=!1,N=!1,A=0,I=33,D=33;k=function(){return A<=t.unstable_now()};var L=new MessageChannel,F=L.port2;L.port1.onmessage=function(){P=!1;var e=M,n=j;M=null,j=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return R||(R=!0,a(U)),M=e,void(j=n);o=!0}if(null!==e){N=!0;try{e(o)}finally{N=!1}}};var U=function(e){if(null!==M){a(U);var t=e-A+D;tt&&(t=8),D=tt?F.postMessage(void 0):R||(R=!0,a(U))},T=function(){M=null,P=!1,j=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=d,i=f;d=e,f=t.unstable_now();try{return n()}finally{d=r,f=i,o()}},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var n=3;break;default:n=d}var r=d,i=f;d=n,f=t.unstable_now();try{return e()}finally{d=r,f=i,o()}},t.unstable_scheduleCallback=function(e,r){var o=-1!==f?f:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=o+r.timeout;else switch(d){case 1:r=o+-1;break;case 2:r=o+250;break;case 5:r=o+1073741823;break;case 4:r=o+1e4;break;default:r=o+5e3}if(e={callback:e,priorityLevel:d,expirationTime:r,next:null,previous:null},null===s)s=e.next=e.previous=e,n();else{o=null;var i=s;do{if(i.expirationTime>r){o=i;break}i=i.next}while(i!==s);null===o?o=s:o===s&&(s=e,n()),r=o.previous,r.next=o.previous=e,e.next=o,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)s=null;else{e===s&&(s=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=d;return function(){var r=d,i=f;d=n,f=t.unstable_now();try{return e.apply(this,arguments)}finally{d=r,f=i,o()}}},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_shouldYield=function(){return!c&&(null!==s&&s.expirationTime ( +
+
+ +
+ +

+ {title} +

+ {message &&

{message}

} + +
+ {controls} +
+
+); diff --git a/client/src/components/Verify.js b/client/src/components/Verify.js index b58f7642..c74d2d80 100644 --- a/client/src/components/Verify.js +++ b/client/src/components/Verify.js @@ -8,7 +8,7 @@ import registeredMethodType from 'types/registeredMethod'; import LoadingIndicator from 'components/LoadingIndicator'; import SelectMethod from 'components/Verify/SelectMethod'; import withMethodAvailability from 'state/methodAvailability/withMethodAvailability'; -import CircleWarning from 'components/Icons/CircleWarning'; +import LoadingError from 'components/LoadingError'; class Verify extends Component { constructor(props) { @@ -291,20 +291,16 @@ class Verify extends Component { if (isAvailable && !isAvailable(selectedMethod)) { const unavailableMessage = getUnavailableMessage(selectedMethod); return ( -
-
- -
- -

- { i18n._t('MFAVerify.METHOD_UNAVAILABLE', 'This authentication method is unavailable') } -

- {unavailableMessage &&

{unavailableMessage}

} - -
- {this.renderOtherMethodsControl('btn-outline-secondary')} -
-
+ ); } diff --git a/client/src/components/tests/Verify-test.js b/client/src/components/tests/Verify-test.js index b8fe7f1c..26c9933b 100644 --- a/client/src/components/tests/Verify-test.js +++ b/client/src/components/tests/Verify-test.js @@ -9,6 +9,7 @@ import Enzyme, { shallow } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import { Component as Verify } from '../Verify'; import SelectMethod from '../Verify/SelectMethod'; +import LoadingError from 'components/LoadingError'; import { loadComponent } from 'lib/Injector'; // eslint-disable-line Enzyme.configure({ adapter: new Adapter() }); @@ -329,8 +330,7 @@ describe('Verify', () => { selectedMethod: mockRegisteredMethods[0], }); - expect(wrapper.find('.mfa-method--unavailable')).toHaveLength(1); - expect(wrapper.text()).toContain('There is no spoon'); + expect(wrapper.find(LoadingError)).toHaveLength(1); done(); }); }); diff --git a/client/src/containers/Login.js b/client/src/containers/Login.js index da688362..25d91f3d 100644 --- a/client/src/containers/Login.js +++ b/client/src/containers/Login.js @@ -5,6 +5,7 @@ import PropTypes from 'prop-types'; import Verify from 'components/Verify'; import Register from 'components/Register'; import LoadingIndicator from 'components/LoadingIndicator'; +import LoadingError from 'components/LoadingError'; import { chooseMethod, setAvailableMethods } from 'state/mfaRegister/actions'; import { setAllMethods } from 'state/mfaVerify/actions'; import { connect } from 'react-redux'; @@ -37,13 +38,22 @@ class Login extends Component { const { schemaURL, onSetAllMethods } = this.props; return fetch(schemaURL) - .then(response => response.json()) + .then(response => { + if (response.status !== 200) { + this.setState({ + schemaLoaded: true, // Triggers an error state - see render() + }); + return Promise.reject(); + } + return response.json(); + }) .then(schemaData => { this.setState({ schema: schemaData }); onSetAllMethods(schemaData.allMethods); - }); + }) + .catch(() => {}); // noop } componentDidUpdate(prevProps, prevState) { @@ -158,10 +168,24 @@ class Login extends Component { render() { const { schema, schemaLoaded, loading } = this.state; + const { ss: { i18n } } = window; if (!schema || loading) { if (!schema && schemaLoaded) { - throw new Error('Could not read configuration schema to load MFA interface'); + return ( + window.location.reload()} + className="btn btn-outline-secondary" + > + {i18n._t('MFALogin.TRY_AGAIN', 'Try again')} + + } + /> + ); } return ; @@ -177,7 +201,7 @@ class Login extends Component { } Login.propTypes = { - schemaURL: PropTypes.string + schemaURL: PropTypes.string.isRequired, }; const mapDispatchToProps = dispatch => ({ diff --git a/client/src/containers/tests/Login-test.js b/client/src/containers/tests/Login-test.js new file mode 100644 index 00000000..60308f89 --- /dev/null +++ b/client/src/containers/tests/Login-test.js @@ -0,0 +1,80 @@ +/* global jest, describe, it, expect */ + +jest.mock('lib/Injector'); + +// eslint-disable-next-line no-unused-vars +import fetch from 'isomorphic-fetch'; +import React from 'react'; +import Enzyme, { shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import LoadingError from 'components/LoadingError'; +import { Component as Login } from '../Login'; + +Enzyme.configure({ adapter: new Adapter() }); + +window.ss = { + i18n: { _t: (key, string) => string }, +}; + +const fetchMock = jest.spyOn(global, 'fetch'); + +describe('Login', () => { + beforeEach(() => { + fetchMock.mockClear(); + }); + + describe('componentDidMount()', () => { + it('handles schema fetch errors', done => { + fetchMock.mockImplementation(() => Promise.resolve({ + status: 500, + })); + + const wrapper = shallow( + + ); + + setTimeout(() => { + expect(wrapper.instance().state.schemaLoaded).toBe(true); + done(); + }); + }); + + it('handles successful schema fetch', done => { + fetchMock.mockImplementation(() => Promise.resolve({ + status: 200, + json: () => Promise.resolve({ + schemaData: { allMethods: [] }, + }), + })); + + const wrapper = shallow( + + ); + + setTimeout(() => { + expect(wrapper.instance().state.schema).toEqual({ + schemaData: { allMethods: [] }, + }); + done(); + }); + }); + }); + + describe('render()', () => { + it('renders an error screen', done => { + const wrapper = shallow( + , + { disableLifecycleMethods: true } + ); + + wrapper.instance().setState({ + loading: true, + schema: null, + schemaLoaded: true, + }, () => { + expect(wrapper.find(LoadingError)).toHaveLength(1); + done(); + }); + }); + }); +}); From 6f8e11237a03f2f464e4e0149e768c55118adff2 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 26 Jun 2019 15:14:41 +1200 Subject: [PATCH 5/6] FIX Switch btn-success for btn-primary in MFA buttons --- client/dist/js/bundle-cms.js | 2 +- client/dist/js/bundle.js | 2 +- client/src/components/BackupCodes/Verify.js | 2 +- client/src/components/Register/SelectMethod.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/dist/js/bundle-cms.js b/client/dist/js/bundle-cms.js index 347eba28..5082a983 100644 --- a/client/dist/js/bundle-cms.js +++ b/client/dist/js/bundle-cms.js @@ -1 +1 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="./client/src/bundles/bundle-cms.js")}({"./client/lang/src/en.json":function(e,t){e.exports={"MultiFactorAuthentication.FIND_OUT_MORE":"Find out more","MultiFactorAuthentication.TITLE":"Add extra security to your account","MultiFactorAuthentication.HOW_IT_WORKS":"How it works","MultiFactorAuthentication.EXTRA_LAYER_IMAGE_ALT":"Shields indicating additional protection","MultiFactorAuthentication.EXTRA_LAYER_TITLE":"Extra layer of protection","MultiFactorAuthentication.EXTRA_LAYER_DESCRIPTION":"Every time you log into your account, you'll need your password and an additional form of verification.","MultiFactorAuthentication.UNIQUE_IMAGE_ALT":"Person with tick indicating uniqueness","MultiFactorAuthentication.UNIQUE_TITLE":"Unique to you","MultiFactorAuthentication.UNIQUE_DESCRIPTION":"This verification is only available to you. Even if someone gets your password, they will not be able to access your account.","MultiFactorAuthentication.GET_STARTED":"Get started","MultiFactorAuthentication.SETUP_LATER":"Setup later","MultiFactorAuthentication.ADD_ANOTHER_METHOD":"Add another MFA method","MultiFactorAuthentication.ADD_FIRST_METHOD":"Add an MFA method","MultiFactorAuthentication.REGISTERED":"{method}: Registered","MultiFactorAuthentication.DEFAULT_REGISTERED":"{method} (default): Registered","MultiFactorAuthentication.BACKUP_REGISTERED":"{method}: Created {date}","MultiFactorAuthentication.RESET_METHOD":"Reset","MultiFactorAuthentication.REMOVE_METHOD":"Remove","MultiFactorAuthentication.SET_AS_DEFAULT":"Set as default method","MultiFactorAuthentication.NO_METHODS_REGISTERED":"No MFA methods have been registered. Add one using the button below","MultiFactorAuthentication.NO_METHODS_REGISTERED_READONLY":"This member has not registered any MFA methods yet","MultiFactorAuthentication.SELECT_METHOD":"Select a verification method","MultiFactorAuthentication.SETUP_COMPLETE_TITLE":"Multi-factor authentication is now set up","MultiFactorAuthentication.ACCOUNT_RESET_TITLE":"Help user reset account","MultiFactorAuthentication.ACCOUNT_RESET_DESCRIPTION":"Ensure that the person requesting a reset is the real person associated with this account before proceeding. An email will be sent to the member's address with a link to reset both their password and multi-factor authentication methods.","MultiFactorAuthentication.ACCOUNT_RESET_ACTION":"Send account reset email","MultiFactorAuthentication.ACCOUNT_RESET_SENDING":"Sending...","MultiFactorAuthentication.ACCOUNT_RESET_SENDING_SUCCESS":"An email has been sent.","MultiFactorAuthentication.ACCOUNT_RESET_SENDING_FAILURE":"We were unable to send an email, please try again later.","MultiFactorAuthentication.ACCOUNT_RESET_CONFIRMATION":"You are about to reset this account. Their password and multi-factor authentication will be reset. Continue?","MultiFactorAuthentication.ACCOUNT_RESET_CONFIRMATION_BUTTON":"Yes, send reset email","MultiFactorAuthentication.DEFAULT_CONFIRM_BUTTON":"Confirm","MultiFactorAuthentication.DEFAULT_CONFIRM_DISMISS_BUTTON":"Cancel","MultiFactorAuthentication.DELETE_CONFIRMATION":"Are you sure you want to remove this method","MultiFactorAuthentication.CONFIRMATION_TITLE":"Are you sure?","MultiFactorAuthentication.DELETE_CONFIRMATION_BUTTON":"Remove method","MultiFactorAuthentication.RESET_BACKUP_CONFIRMATION":"All existing codes will be made invalid and new codes will be created","MultiFactorAuthentication.RESET_BACKUP_CONFIRMATION_BUTTON":"Reset codes","MultiFactorAuthentication.ADMIN_SETUP_COMPLETE_CONTINUE":"Your settings have been updated"}},"./client/src/boot/cms/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n("./client/src/boot/cms/registerComponents.js"),i=r(o),a=n("./client/src/boot/cms/registerReducers.js"),s=r(a);window.document.addEventListener("DOMContentLoaded",function(){(0,i.default)(),(0,s.default)()})},"./client/src/boot/cms/registerComponents.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n("./client/src/boot/registerComponents.js"),s=r(a),l=n("./client/src/components/Register.js"),u=r(l),c=n("./client/src/components/FormField/RegisteredMFAMethodListField/RegisteredMFAMethodListField.js"),d=r(c);t.default=function(){(0,s.default)(),i.default.component.registerMany({MFARegister:u.default,RegisteredMFAMethodListField:d.default})}},"./client/src/boot/cms/registerReducers.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n("./client/src/boot/registerReducers.js"),s=r(a),l=n("./client/src/state/mfaAdministration/reducer.js"),u=r(l);t.default=function(){(0,s.default)(),i.default.reducer.register("mfaAdministration",u.default)}},"./client/src/boot/registerComponents.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./client/src/components/BackupCodes/Register.js"),i=r(o),a=n("./client/src/components/BackupCodes/Verify.js"),s=r(a),l=n("./client/src/components/BasicMath/Register.js"),u=r(l),c=n("./client/src/components/BasicMath/Login.js"),d=r(c),f=n(3),p=r(f);t.default=function(){p.default.component.registerMany({BackupCodeRegister:i.default,BackupCodeVerify:s.default,BasicMathRegister:u.default,BasicMathLogin:d.default})}},"./client/src/boot/registerReducers.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n("./client/src/state/mfaRegister/reducer.js"),s=r(a),l=n("./client/src/state/mfaVerify/reducer.js"),u=r(l);t.default=function(){i.default.reducer.register("mfaRegister",s.default),i.default.reducer.register("mfaVerify",u.default)}},"./client/src/bundles/bundle-cms.js":function(e,t,n){"use strict";n("./client/src/legacy/index.js"),n("./client/src/boot/cms/index.js")},"./client/src/components/BackupCodes/Register.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.SCREEN_COMPLETE=t.SCREEN_CHOOSE_METHOD=t.SCREEN_REGISTER_METHOD=t.SCREEN_INTRODUCTION=void 0;var l=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:" ";if(e.length<6)return e;if(e.length%4==0)return e.split(/(.{4})/g).filter(function(e){return e}).join(t).trim();if(e.length%3==0)return e.split(/(.{3})/g).filter(function(e){return e}).join(t).trim();var n=4-e.length%4,o=(e.length-3*n)/4,i=[].concat(r([].concat(r(Array(o).keys())).map(function(){return 4})),r([].concat(r(Array(n).keys())).map(function(){return 3}))),a=0;return i.map(function(t){return e.substring(a,a+=t)}).join(t).trim()};t.formatCode=o},"./client/src/state/methodAvailability/withMethodAvailability.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.availableMethodOverrides,n=e||this.props.method,r=n.urlSegment;return void 0!==t[r]?t[r]:{}}},{key:"getUnavailableMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method;return this.getAvailabilityOverride(t).unavailableMessage||t.unavailableMessage}},{key:"isAvailable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method,n=this.getAvailabilityOverride(t),r=t.isAvailable;return void 0!==n.isAvailable&&(r=n.isAvailable),r}},{key:"render",value:function(){return c.default.createElement(e,s({},this.props,{isAvailable:this.isAvailable,getUnavailableMessage:this.getUnavailableMessage}))}}]),n}(u.Component),n=p(e);return t.displayName="WithMethodAvailability("+n+")",t},m=function(e){var t=[].concat(r(e.mfaRegister.availableMethods),r(e.mfaVerify.allMethods)),n={};return Object.values(t).forEach(function(t){var r=t.urlSegment,o=r+"Availability";void 0!==e[o]&&(n[r]=e[o])}),{availableMethodOverrides:n}};t.hoc=h;var _=(0,f.compose)((0,d.connect)(m),h);t.default=_},"./client/src/state/mfaAdministration/actionTypes.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ADD_REGISTERED_METHOD","REMOVE_REGISTERED_METHOD","SET_DEFAULT_METHOD","SET_REGISTERED_METHODS"].reduce(function(e,t){return Object.assign(e,r({},t,"MFA_ADMINISTRATION."+t))},{})},"./client/src/state/mfaAdministration/actions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setRegisteredMethods=t.setDefaultMethod=t.deregisterMethod=t.registerMethod=void 0;var r=n("./client/src/state/mfaAdministration/actionTypes.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.registerMethod=function(e){return{type:o.default.ADD_REGISTERED_METHOD,payload:{method:e}}},t.deregisterMethod=function(e){return{type:o.default.REMOVE_REGISTERED_METHOD,payload:{method:e}}},t.setDefaultMethod=function(e){return{type:o.default.SET_DEFAULT_METHOD,payload:{defaultMethod:e}}},t.setRegisteredMethods=function(e){return{type:o.default.SET_REGISTERED_METHODS,payload:{methods:e}}}},"./client/src/state/mfaAdministration/reducer.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload,a=function(e){return function(t){return t.urlSegment===e.urlSegment}},u=e.registeredMethods;switch(n){case s.default.ADD_REGISTERED_METHOD:var c=o.method;return Array.isArray(u)?u.find(a(c))?e:(u.push(c),i({},e,{registeredMethods:u})):i({},e,{registeredMethods:[c]});case s.default.REMOVE_REGISTERED_METHOD:var d=o.method,f=u.findIndex(a(d));if(f<0)return e;u.splice(f,1);var p=2===u.length?{defaultMethod:u.find(function(){return!0}).urlSegment}:{};return i({},e,p,{registeredMethods:[].concat(r(u))});case s.default.SET_DEFAULT_METHOD:return i({},e,{defaultMethod:o.defaultMethod});case s.default.SET_REGISTERED_METHODS:return i({},e,{registeredMethods:o.methods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload;switch(n){case s.default.SET_SCREEN:var a=o.screen;return null===e.method&&a===l.SCREEN_REGISTER_METHOD?i({},e,{screen:l.SCREEN_CHOOSE_METHOD}):i({},e,{screen:a});case s.default.SET_METHOD:return i({},e,{method:o.method});case s.default.SET_AVAILABLE_METHODS:return i({},e,{availableMethods:o.availableMethods});case s.default.ADD_AVAILABLE_METHOD:return i({},e,{availableMethods:[].concat(r(e.availableMethods),[o.method])});case s.default.REMOVE_AVAILABLE_METHOD:return i({},e,{availableMethods:e.availableMethods.filter(function(e){return e.urlSegment!==o.method.urlSegment})});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;switch(n){case a.default.SET_ALL_METHODS:return o({},e,{allMethods:r.allMethods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t'),this.addEvents();var d=this.opts,f=d.headElements,p=d.bodyElements;Array.isArray(f)&&f.forEach(function(e){return c.head.appendChild(e)}),Array.isArray(p)&&p.forEach(function(e){return c.body.appendChild(e)}),Array.isArray(t)&&t.forEach(function(e){e&&(l(e)?c.head.appendChild(o(c,e)):c.head.appendChild(r(c,e)))}),c.body.appendChild(this.elCopy),Array.isArray(n)&&n.forEach(function(e){if(e){var t=c.createElement("script");l(e)?t.src=e:t.innerText=e,c.body.appendChild(t)}}),c.close()}}},e.prototype.printURL=function(e,t){this.isLoading||(this.addEvents(),this.isLoading=!0,this.callback=t,this.iframe.src=e)},e.prototype.launchPrint=function(e){e.document.execCommand("print",!1,null)||e.print()},e.prototype.addEvents=function(){var e=this;this.hasEvents||(this.hasEvents=!0,this.iframe.addEventListener("load",function(){return e.onLoad()},!1))},e.prototype.onLoad=function(){var e=this;if(this.iframe){this.isLoading=!1;var t=this.iframe,n=t.contentDocument,r=t.contentWindow;if(!n||!r)return;this.callback?this.callback({iframe:this.iframe,element:this.elCopy,launchPrint:function(){return e.launchPrint(r)}}):this.launchPrint(r)}},e}();t.Printd=c,t.default=c},"./node_modules/react-copy-to-clipboard/lib/Component.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.SCREEN_COMPLETE=t.SCREEN_CHOOSE_METHOD=t.SCREEN_REGISTER_METHOD=t.SCREEN_INTRODUCTION=void 0;var l=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:" ";if(e.length<6)return e;if(e.length%4==0)return e.split(/(.{4})/g).filter(function(e){return e}).join(t).trim();if(e.length%3==0)return e.split(/(.{3})/g).filter(function(e){return e}).join(t).trim();var n=4-e.length%4,o=(e.length-3*n)/4,i=[].concat(r([].concat(r(Array(o).keys())).map(function(){return 4})),r([].concat(r(Array(n).keys())).map(function(){return 3}))),a=0;return i.map(function(t){return e.substring(a,a+=t)}).join(t).trim()};t.formatCode=o},"./client/src/state/methodAvailability/withMethodAvailability.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.availableMethodOverrides,n=e||this.props.method,r=n.urlSegment;return void 0!==t[r]?t[r]:{}}},{key:"getUnavailableMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method;return this.getAvailabilityOverride(t).unavailableMessage||t.unavailableMessage}},{key:"isAvailable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method,n=this.getAvailabilityOverride(t),r=t.isAvailable;return void 0!==n.isAvailable&&(r=n.isAvailable),r}},{key:"render",value:function(){return c.default.createElement(e,s({},this.props,{isAvailable:this.isAvailable,getUnavailableMessage:this.getUnavailableMessage}))}}]),n}(u.Component),n=p(e);return t.displayName="WithMethodAvailability("+n+")",t},m=function(e){var t=[].concat(r(e.mfaRegister.availableMethods),r(e.mfaVerify.allMethods)),n={};return Object.values(t).forEach(function(t){var r=t.urlSegment,o=r+"Availability";void 0!==e[o]&&(n[r]=e[o])}),{availableMethodOverrides:n}};t.hoc=h;var _=(0,f.compose)((0,d.connect)(m),h);t.default=_},"./client/src/state/mfaAdministration/actionTypes.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ADD_REGISTERED_METHOD","REMOVE_REGISTERED_METHOD","SET_DEFAULT_METHOD","SET_REGISTERED_METHODS"].reduce(function(e,t){return Object.assign(e,r({},t,"MFA_ADMINISTRATION."+t))},{})},"./client/src/state/mfaAdministration/actions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setRegisteredMethods=t.setDefaultMethod=t.deregisterMethod=t.registerMethod=void 0;var r=n("./client/src/state/mfaAdministration/actionTypes.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.registerMethod=function(e){return{type:o.default.ADD_REGISTERED_METHOD,payload:{method:e}}},t.deregisterMethod=function(e){return{type:o.default.REMOVE_REGISTERED_METHOD,payload:{method:e}}},t.setDefaultMethod=function(e){return{type:o.default.SET_DEFAULT_METHOD,payload:{defaultMethod:e}}},t.setRegisteredMethods=function(e){return{type:o.default.SET_REGISTERED_METHODS,payload:{methods:e}}}},"./client/src/state/mfaAdministration/reducer.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload,a=function(e){return function(t){return t.urlSegment===e.urlSegment}},u=e.registeredMethods;switch(n){case s.default.ADD_REGISTERED_METHOD:var c=o.method;return Array.isArray(u)?u.find(a(c))?e:(u.push(c),i({},e,{registeredMethods:u})):i({},e,{registeredMethods:[c]});case s.default.REMOVE_REGISTERED_METHOD:var d=o.method,f=u.findIndex(a(d));if(f<0)return e;u.splice(f,1);var p=2===u.length?{defaultMethod:u.find(function(){return!0}).urlSegment}:{};return i({},e,p,{registeredMethods:[].concat(r(u))});case s.default.SET_DEFAULT_METHOD:return i({},e,{defaultMethod:o.defaultMethod});case s.default.SET_REGISTERED_METHODS:return i({},e,{registeredMethods:o.methods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload;switch(n){case s.default.SET_SCREEN:var a=o.screen;return null===e.method&&a===l.SCREEN_REGISTER_METHOD?i({},e,{screen:l.SCREEN_CHOOSE_METHOD}):i({},e,{screen:a});case s.default.SET_METHOD:return i({},e,{method:o.method});case s.default.SET_AVAILABLE_METHODS:return i({},e,{availableMethods:o.availableMethods});case s.default.ADD_AVAILABLE_METHOD:return i({},e,{availableMethods:[].concat(r(e.availableMethods),[o.method])});case s.default.REMOVE_AVAILABLE_METHOD:return i({},e,{availableMethods:e.availableMethods.filter(function(e){return e.urlSegment!==o.method.urlSegment})});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;switch(n){case a.default.SET_ALL_METHODS:return o({},e,{allMethods:r.allMethods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t'),this.addEvents();var d=this.opts,f=d.headElements,p=d.bodyElements;Array.isArray(f)&&f.forEach(function(e){return c.head.appendChild(e)}),Array.isArray(p)&&p.forEach(function(e){return c.body.appendChild(e)}),Array.isArray(t)&&t.forEach(function(e){e&&(l(e)?c.head.appendChild(o(c,e)):c.head.appendChild(r(c,e)))}),c.body.appendChild(this.elCopy),Array.isArray(n)&&n.forEach(function(e){if(e){var t=c.createElement("script");l(e)?t.src=e:t.innerText=e,c.body.appendChild(t)}}),c.close()}}},e.prototype.printURL=function(e,t){this.isLoading||(this.addEvents(),this.isLoading=!0,this.callback=t,this.iframe.src=e)},e.prototype.launchPrint=function(e){e.document.execCommand("print",!1,null)||e.print()},e.prototype.addEvents=function(){var e=this;this.hasEvents||(this.hasEvents=!0,this.iframe.addEventListener("load",function(){return e.onLoad()},!1))},e.prototype.onLoad=function(){var e=this;if(this.iframe){this.isLoading=!1;var t=this.iframe,n=t.contentDocument,r=t.contentWindow;if(!n||!r)return;this.callback?this.callback({iframe:this.iframe,element:this.elCopy,launchPrint:function(){return e.launchPrint(r)}}):this.launchPrint(r)}},e}();t.Printd=c,t.default=c},"./node_modules/react-copy-to-clipboard/lib/Component.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.SCREEN_COMPLETE=t.SCREEN_CHOOSE_METHOD=t.SCREEN_REGISTER_METHOD=t.SCREEN_INTRODUCTION=void 0;var u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=this.getOtherMethods(),n=window,r=n.ss.i18n;return Array.isArray(t)&&t.length?d.default.createElement("a",{href:"#",className:(0,h.default)("btn btn-secondary",e),onClick:this.handleShowOtherMethodsPane},r._t("MFAVerify.MORE_OPTIONS","More options")):null}},{key:"renderOtherMethods",value:function(){var e=this,t=this.getOtherMethods(),n=this.state,r=n.selectedMethod,o=n.showOtherMethods,i=this.props.resources;return r&&!o?null:d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement(w.default,{resources:i,methods:t,onClickBack:this.handleHideOtherMethodsPane,onSelectMethod:function(t){return function(n){return e.handleClickOtherMethod(n,t)}}}))}},{key:"renderSelectedMethod",value:function(){var e=this.props,t=e.isAvailable,n=e.getUnavailableMessage,r=this.state,o=r.selectedMethod,i=r.showOtherMethods,a=r.verifyProps,l=r.message,s=window,f=s.ss.i18n;if(!o||i)return null;if(t&&!t(o)){var p=n(o);return d.default.createElement(S.default,{title:f._t("MFAVerify.METHOD_UNAVAILABLE","This authentication method is unavailable"),message:p,controls:this.renderOtherMethodsControl("btn-outline-secondary")})}var m=(0,y.loadComponent)(o.component);return d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement("h2",{className:"mfa-section-title"},o.leadInLabel),m&&d.default.createElement(m,u({},a,{method:o,error:l,onCompleteVerification:this.handleCompleteVerification,moreOptionsControl:this.renderOtherMethodsControl()})))}},{key:"renderTitle",value:function(){var e=window,t=e.ss.i18n;return d.default.createElement("h1",{className:"mfa-app-title"},t._t("MFAVerify.TITLE","Log in"))}},{key:"render",value:function(){return this.state.loading?d.default.createElement(_.default,{block:!0}):d.default.createElement(c.Fragment,null,this.renderSelectedMethod(),this.renderOtherMethods())}}]),t}(c.Component);x.propTypes={endpoints:p.default.shape({verify:p.default.string.isRequired,register:p.default.string}),registeredMethods:p.default.arrayOf(b.default),defaultMethod:p.default.string},t.Component=x,t.default=(0,k.default)(x)},"./client/src/components/Verify/SelectMethod.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:" ";if(e.length<6)return e;if(e.length%4==0)return e.split(/(.{4})/g).filter(function(e){return e}).join(t).trim();if(e.length%3==0)return e.split(/(.{3})/g).filter(function(e){return e}).join(t).trim();var n=4-e.length%4,o=(e.length-3*n)/4,i=[].concat(r([].concat(r(Array(o).keys())).map(function(){return 4})),r([].concat(r(Array(n).keys())).map(function(){return 3}))),a=0;return i.map(function(t){return e.substring(a,a+=t)}).join(t).trim()};t.formatCode=o},"./client/src/state/methodAvailability/withMethodAvailability.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.availableMethodOverrides,n=e||this.props.method,r=n.urlSegment;return void 0!==t[r]?t[r]:{}}},{key:"getUnavailableMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method;return this.getAvailabilityOverride(t).unavailableMessage||t.unavailableMessage}},{key:"isAvailable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method,n=this.getAvailabilityOverride(t),r=t.isAvailable;return void 0!==n.isAvailable&&(r=n.isAvailable),r}},{key:"render",value:function(){return c.default.createElement(e,l({},this.props,{isAvailable:this.isAvailable,getUnavailableMessage:this.getUnavailableMessage}))}}]),n}(s.Component),n=p(e);return t.displayName="WithMethodAvailability("+n+")",t},h=function(e){var t=[].concat(r(e.mfaRegister.availableMethods),r(e.mfaVerify.allMethods)),n={};return Object.values(t).forEach(function(t){var r=t.urlSegment,o=r+"Availability";void 0!==e[o]&&(n[r]=e[o])}),{availableMethodOverrides:n}};t.hoc=m;var y=(0,f.compose)((0,d.connect)(h),m);t.default=y},"./client/src/state/mfaRegister/actionTypes.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ADD_AVAILABLE_METHOD","REMOVE_AVAILABLE_METHOD","SET_AVAILABLE_METHODS","SET_SCREEN","SET_METHOD"].reduce(function(e,t){return Object.assign(e,r({},t,"MFA_REGISTER."+t))},{})},"./client/src/state/mfaRegister/actions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeAvailableMethod=t.addAvailableMethod=t.setAvailableMethods=t.chooseMethod=t.showScreen=void 0;var r=n("./client/src/state/mfaRegister/actionTypes.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.showScreen=function(e){return{type:o.default.SET_SCREEN,payload:{screen:e}}},t.chooseMethod=function(e){return{type:o.default.SET_METHOD,payload:{method:e}}},t.setAvailableMethods=function(e){return{type:o.default.SET_AVAILABLE_METHODS,payload:{availableMethods:e}}},t.addAvailableMethod=function(e){return{type:o.default.ADD_AVAILABLE_METHOD,payload:{method:e}}},t.removeAvailableMethod=function(e){return{type:o.default.REMOVE_AVAILABLE_METHOD,payload:{method:e}}}},"./client/src/state/mfaRegister/reducer.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload;switch(n){case l.default.SET_SCREEN:var a=o.screen;return null===e.method&&a===u.SCREEN_REGISTER_METHOD?i({},e,{screen:u.SCREEN_CHOOSE_METHOD}):i({},e,{screen:a});case l.default.SET_METHOD:return i({},e,{method:o.method});case l.default.SET_AVAILABLE_METHODS:return i({},e,{availableMethods:o.availableMethods});case l.default.ADD_AVAILABLE_METHOD:return i({},e,{availableMethods:[].concat(r(e.availableMethods),[o.method])});case l.default.REMOVE_AVAILABLE_METHOD:return i({},e,{availableMethods:e.availableMethods.filter(function(e){return e.urlSegment!==o.method.urlSegment})});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;switch(n){case a.default.SET_ALL_METHODS:return o({},e,{allMethods:r.allMethods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}t.a=r},"./node_modules/classnames/index.js":function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t'),this.addEvents();var d=this.opts,f=d.headElements,p=d.bodyElements;Array.isArray(f)&&f.forEach(function(e){return c.head.appendChild(e)}),Array.isArray(p)&&p.forEach(function(e){return c.body.appendChild(e)}),Array.isArray(t)&&t.forEach(function(e){e&&(u(e)?c.head.appendChild(o(c,e)):c.head.appendChild(r(c,e)))}),c.body.appendChild(this.elCopy),Array.isArray(n)&&n.forEach(function(e){if(e){var t=c.createElement("script");u(e)?t.src=e:t.innerText=e,c.body.appendChild(t)}}),c.close()}}},e.prototype.printURL=function(e,t){this.isLoading||(this.addEvents(),this.isLoading=!0,this.callback=t,this.iframe.src=e)},e.prototype.launchPrint=function(e){e.document.execCommand("print",!1,null)||e.print()},e.prototype.addEvents=function(){var e=this;this.hasEvents||(this.hasEvents=!0,this.iframe.addEventListener("load",function(){return e.onLoad()},!1))},e.prototype.onLoad=function(){var e=this;if(this.iframe){this.isLoading=!1;var t=this.iframe,n=t.contentDocument,r=t.contentWindow;if(!n||!r)return;this.callback?this.callback({iframe:this.iframe,element:this.elCopy,launchPrint:function(){return e.launchPrint(r)}}):this.launchPrint(r)}},e}();t.Printd=c,t.default=c},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";function r(){}function o(){}var i=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-copy-to-clipboard/lib/Component.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var u=Object.assign||function(e){for(var t=1;tthis.eventPool.length&&this.eventPool.push(e)}function A(e){e.eventPool=[],e.getPooled=R,e.release=N}function I(e,t){switch(e){case"keyup":return-1!==Wo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function D(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function L(e,t){switch(e){case"compositionend":return D(t);case"keypress":return 32!==t.which?null:(Yo=!0,Ko);case"textInput":return e=t.data,e===Ko&&Yo?null:e;default:return null}}function F(e,t){if(Xo)return"compositionend"===e||!Ho&&I(e,t)?(e=O(),zo=Uo=Fo=null,Xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function ie(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function ae(e){return e[1].toUpperCase()}function le(e,t,n,r){var o=ki.hasOwnProperty(t)?ki[t]:null;(null!==o?0===o.type:!r&&2ra.length&&ra.push(e)}}}function ze(e){return Object.prototype.hasOwnProperty.call(e,la)||(e[la]=aa++,ia[e[la]]={}),ia[e[la]]}function Be(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ve(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function We(e,t){var n=Ve(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ve(n)}}function He(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?He(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function qe(){for(var e=window,t=Be();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=Be(e.document)}return t}function $e(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(){var e=qe();if($e(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var n=t.getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var i=0,a=-1,l=-1,u=0,s=0,c=e,d=null;t:for(;;){for(var f;c!==t||0!==r&&3!==c.nodeType||(a=i+r),c!==o||0!==n&&3!==c.nodeType||(l=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break t;if(d===t&&++u===r&&(a=i),d===o&&++s===n&&(l=i),null!==(f=c.nextSibling))break;c=d,d=c.parentNode}c=f}t=-1===a||-1===l?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}function Ke(e){var t=qe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&He(n.ownerDocument.documentElement,n)){if(null!==r&&$e(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=We(n,i);var a=We(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=t.length||o("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:ue(n)}}function tt(e,t){var n=ue(t.value),r=ue(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function nt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function rt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ot(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function it(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function at(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ba.hasOwnProperty(e)&&ba[e]?(""+t).trim():t+"px"}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=at(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function ut(e,t){t&&(_a[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&o("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&o("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||o("61")),null!=t.style&&"object"!=typeof t.style&&o("62",""))}function st(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ct(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=ze(e);t=_o[t];for(var r=0;rOa||(e.current=xa[Oa],xa[Oa]=null,Oa--)}function bt(e,t){Oa++,xa[Oa]=e.current,e.current=t}function gt(e,t){var n=e.type.contextTypes;if(!n)return Ma;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _t(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Et(e){vt(ja,e),vt(Pa,e)}function wt(e){vt(ja,e),vt(Pa,e)}function Tt(e,t,n){Pa.current!==Ma&&o("168"),bt(Pa,t,e),bt(ja,n,e)}function kt(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;r=r.getChildContext();for(var i in r)i in e||o("108",ee(t)||"Unknown",i);return lo({},n,r)}function Ct(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ma,Ra=Pa.current,bt(Pa,t,e),bt(ja,ja.current,e),!0}function St(e,t,n){var r=e.stateNode;r||o("169"),n?(t=kt(e,t,Ra),r.__reactInternalMemoizedMergedChildContext=t,vt(ja,e),vt(Pa,e),bt(Pa,t,e)):vt(ja,e),bt(ja,n,e)}function xt(e){return function(t){try{return e(t)}catch(e){}}}function Ot(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Na=xt(function(e){return t.onCommitFiberRoot(n,e)}),Aa=xt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Mt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Pt(e,t,n,r){return new Mt(e,t,n,r)}function jt(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rt(e){if("function"==typeof e)return jt(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===hi)return 11;if(e===vi)return 14}return 2}function Nt(e,t){var n=e.alternate;return null===n?(n=Pt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function At(e,t,n,r,i,a){var l=2;if(r=e,"function"==typeof e)jt(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case si:return It(n.children,i,a,t);case mi:return Dt(n,3|i,a,t);case ci:return Dt(n,2|i,a,t);case di:return e=Pt(12,n,t,4|i),e.elementType=di,e.type=di,e.expirationTime=a,e;case yi:return e=Pt(13,n,t,i),e.elementType=yi,e.type=yi,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case fi:l=10;break e;case pi:l=9;break e;case hi:l=11;break e;case vi:l=14;break e;case bi:l=16,r=null;break e}o("130",null==e?e:typeof e,"")}return t=Pt(l,n,t,i),t.elementType=e,t.type=r,t.expirationTime=a,t}function It(e,t,n,r){return e=Pt(7,e,r,t),e.expirationTime=n,e}function Dt(e,t,n,r){return e=Pt(8,e,r,t),t=0==(1&t)?ci:mi,e.elementType=t,e.type=t,e.expirationTime=n,e}function Lt(e,t,n){return e=Pt(6,e,null,t),e.expirationTime=n,e}function Ft(e,t,n){return t=Pt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ut(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),Wt(t,e)}function zt(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{tt?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),n=e.earliestSuspendedTime,0===n?Ut(e,t):tn&&Ut(e,t)}Wt(0,e)}function Bt(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),Wt(t,e)}function Vt(e,t){var n=e.earliestPendingTime;return e=e.earliestSuspendedTime,n>t&&(t=n),e>t&&(t=e),t}function Wt(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;o=0!==o?o:i,0===o&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function Ht(e,t){if(e&&e.defaultProps){t=lo({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function qt(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,t=e._ctor,t=t(),t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}function $t(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:lo({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}function Qt(e,t,n,r,o,i,a){return e=e.stateNode,"function"==typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&Oe(n,r)&&Oe(o,i))}function Kt(e,t,n){var r=!1,o=Ma,i=t.contextType;return"object"==typeof i&&null!==i?i=Bn(i):(o=_t(t)?Ra:Pa.current,r=t.contextTypes,i=(r=null!==r&&void 0!==r)?gt(e,o):Ma),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Da,e.stateNode=t,t._reactInternalFiber=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Gt(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Da.enqueueReplaceState(t,t.state,null)}function Yt(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ia;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Bn(i):(i=_t(t)?Ra:Pa.current,o.context=gt(e,i)),i=e.updateQueue,null!==i&&(Yn(e,i,n,o,r),o.state=e.memoizedState),i=t.getDerivedStateFromProps,"function"==typeof i&&($t(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Da.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(Yn(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}function Xt(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&o("309"),r=n.stateNode),r||o("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===Ia&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}"string"!=typeof e&&o("284"),n._owner||o("290",e)}return e}function Zt(e,t){"textarea"!==e.type&&o("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Jt(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return e=Nt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,rh?(y=d,d=null):y=d.sibling;var v=p(o,d,l[h],u);if(null===v){null===d&&(d=y);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,d=y}if(h===l.length)return n(o,d),s;if(null===d){for(;hy?(v=h,h=null):v=h.sibling;var g=p(i,h,b.value,s);if(null===g){h||(h=v);break}e&&h&&null===g.alternate&&t(i,h),l=a(g,l,y),null===d?c=g:d.sibling=g,d=g,h=v}if(b.done)return n(i,h),c;if(null===h){for(;!b.done;y++,b=u.next())null!==(b=f(i,b.value,s))&&(l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return c}for(h=r(i,h);!b.done;y++,b=u.next())null!==(b=m(h,i,y,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?y:b.key),l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(i,e)}),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===si&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case li:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?a.type===si:s.elementType===a.type){n(e,s.sibling),r=i(s,a.type===si?a.props.children:a.props,u),r.ref=Xt(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===si?(r=It(a.props.children,e.mode,u,a.key),r.return=e,e=r):(u=At(a.type,a.key,a.props,null,e.mode,u),u.ref=Xt(e,r,a),u.return=e,e=u)}return l(e);case ui:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),r=i(r,a.children||[],u),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Ft(a,e.mode,u),r.return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),r=i(r,a,u),r.return=e,e=r):(n(e,r),r=Lt(a,e.mode,u),r.return=e,e=r),l(e);if(La(a))return h(e,r,a,u);if(J(a))return y(e,r,a,u);if(c&&Zt(e,a),void 0===a&&!s)switch(e.tag){case 1:case 0:u=e.type,o("152",u.displayName||u.name||"Component")}return n(e,r)}}function en(e){return e===za&&o("174"),e}function tn(e,t){bt(Wa,t,e),bt(Va,e,e),bt(Ba,za,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ot(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=ot(t,n)}vt(Ba,e),bt(Ba,t,e)}function nn(e){vt(Ba,e),vt(Va,e),vt(Wa,e)}function rn(e){en(Wa.current);var t=en(Ba.current),n=ot(t,e.type);t!==n&&(bt(Va,e,e),bt(Ba,n,e))}function on(e){Va.current===e&&(vt(Ba,e),vt(Va,e))}function an(){o("321")}function ln(e,t){if(null===t)return!1;for(var n=0;nal&&(al=d)):a=s.eagerReducer===e?s.eagerState:e(a,s.action),l=s,s=s.next}while(null!==s&&s!==r);c||(u=l,i=a),xe(a,t.memoizedState)||(gl=!0),t.memoizedState=a,t.baseUpdate=u,t.baseState=i,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function mn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===ll?(ll={lastEffect:null},ll.lastEffect=e.next=e):(t=ll.lastEffect,null===t?ll.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,ll.lastEffect=e)),e}function hn(e,t,n,r){var o=cn();ul|=e,o.memoizedState=mn(t,n,void 0,void 0===r?null:r)}function yn(e,t,n,r){var o=dn();r=void 0===r?null:r;var i=void 0;if(null!==tl){var a=tl.memoizedState;if(i=a.destroy,null!==r&&ln(r,a.deps))return void mn(Ha,n,i,r)}ul|=e,o.memoizedState=mn(t,n,i,r)}function vn(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function bn(){}function gn(e,t,n){25>dl||o("301");var r=e.alternate;if(e===el||null!==r&&r===el)if(sl=!0,e={expirationTime:Ja,action:n,eagerReducer:null,eagerState:null,next:null},null===cl&&(cl=new Map),void 0===(n=cl.get(t)))cl.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{br();var i=Ir();i=kr(i,e);var a={expirationTime:i,action:n,eagerReducer:null,eagerState:null,next:null},l=t.last;if(null===l)a.next=a;else{var u=l.next;null!==u&&(a.next=u),l.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=r(s,n);if(a.eagerReducer=r,a.eagerState=c,xe(c,s))return}catch(e){}Or(e,i)}}function _n(e,t){var n=Pt(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function En(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function wn(e){if(vl){var t=yl;if(t){var n=t;if(!En(e,t)){if(!(t=ht(n))||!En(e,t))return e.effectTag|=2,vl=!1,void(hl=e);_n(hl,n)}hl=e,yl=yt(t)}else e.effectTag|=2,vl=!1,hl=e}}function Tn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;hl=e}function kn(e){if(e!==hl)return!1;if(!vl)return Tn(e),vl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!pt(t,e.memoizedProps))for(t=yl;t;)_n(e,t),t=ht(t);return Tn(e),yl=hl?ht(e.stateNode):null,!0}function Cn(){yl=hl=null,vl=!1}function Sn(e,t,n,r){t.child=null===e?Ua(t,null,n,r):Fa(t,e.child,n,r)}function xn(e,t,n,r,o){n=n.render;var i=t.ref;return zn(t,o),r=un(e,t,n,r,i,o),null===e||gl?(t.effectTag|=1,Sn(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Dn(e,t,o))}function On(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||jt(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=At(n.type,null,r,null,t.mode,i),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Mn(e,t,a,r,o,i))}return a=e.child,o=n?In(e,t,n):(t=Dn(e,t,n),null!==t?t.sibling:null)}return Dn(e,t,n)}}else gl=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=gt(t,Pa.current);if(zn(t,n),i=un(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,sn(),_t(r)){var a=!0;Ct(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var l=r.getDerivedStateFromProps;"function"==typeof l&&$t(t,r,l,e),i.updater=Da,t.stateNode=i,i._reactInternalFiber=t,Yt(t,r,e,n),t=Nn(null,t,r,!0,a,n)}else t.tag=0,Sn(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=qt(i),t.type=e,i=t.tag=Rt(e),a=Ht(e,a),l=void 0,i){case 0:l=jn(null,t,e,a,n);break;case 1:l=Rn(null,t,e,a,n);break;case 11:l=xn(null,t,e,a,n);break;case 14:l=On(null,t,e,Ht(e.type,a),r,n);break;default:o("306",e,"")}return l;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),jn(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Rn(e,t,r,i,n);case 3:return An(t),r=t.updateQueue,null===r&&o("282"),i=t.memoizedState,i=null!==i?i.element:null,Yn(t,r,t.pendingProps,null,n),r=t.memoizedState.element,r===i?(Cn(),t=Dn(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(yl=yt(t.stateNode.containerInfo),hl=t,i=vl=!0),i?(t.effectTag|=2,t.child=Ua(t,null,r,n)):(Sn(e,t,r,n),Cn()),t=t.child),t;case 5:return rn(t),null===e&&wn(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,l=i.children,pt(r,i)?l=null:null!==a&&pt(r,a)&&(t.effectTag|=16),Pn(e,t),1!==n&&1&t.mode&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Sn(e,t,l,n),t=t.child),t;case 6:return null===e&&wn(t),null;case 13:return In(e,t,n);case 4:return tn(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Fa(t,null,r,n):Sn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),xn(e,t,r,i,n);case 7:return Sn(e,t,t.pendingProps,n),t.child;case 8:case 12:return Sn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value,Fn(t,a),null!==l){var u=l.value;if(0==(a=xe(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===i.children&&!ja.current){t=Dn(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.contextDependencies;if(null!==s){l=u.child;for(var c=s.first;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&(c=Hn(n),c.tag=Sl,$n(u,c)),u.expirationTime=t&&(gl=!0),e.contextDependencies=null}function Bn(e,t){return Tl!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Tl=e,t=1073741823),t={context:e,observedBits:t,next:null},null===wl?(null===El&&o("308"),wl=t,El.contextDependencies={first:t,expirationTime:0}):wl=wl.next=t),e._currentValue}function Vn(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Wn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Hn(e){return{expirationTime:e,tag:kl,payload:null,callback:null,next:null,nextEffect:null}}function qn(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function $n(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Vn(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Vn(e.memoizedState),o=n.updateQueue=Vn(n.memoizedState)):r=e.updateQueue=Wn(o):null===o&&(o=n.updateQueue=Wn(r));null===o||r===o?qn(r,t):null===r.lastUpdate||null===o.lastUpdate?(qn(r,t),qn(o,t)):(qn(r,t),o.lastUpdate=t)}function Qn(e,t){var n=e.updateQueue;n=null===n?e.updateQueue=Vn(e.memoizedState):Kn(e,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Kn(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Wn(t)),t}function Gn(e,t,n,r,o,i){switch(n.tag){case Cl:return e=n.payload,"function"==typeof e?e.call(i,r,o):e;case xl:e.effectTag=-2049&e.effectTag|64;case kl:if(e=n.payload,null===(o="function"==typeof e?e.call(i,r,o):e)||void 0===o)break;return lo({},r,o);case Sl:Ol=!0}return r}function Yn(e,t,n,r,o){Ol=!1,t=Kn(e,t);for(var i=t.baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;cr?i:r),Dl.current=null,r=void 0,1n?t:n,0===t&&(Gl=null),Ar(e,t)}function _r(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){Ul=e;e:{var i=t;t=e;var a=Bl,l=t.pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:_t(t.type)&&Et(t);break;case 3:nn(t),wt(t),l=t.stateNode,l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==i&&null!==i.child||(kn(t),t.effectTag&=-3),Pl(t);break;case 5:on(t);var u=en(Wa.current);if(a=t.type,null!==i&&null!=t.stateNode)jl(i,t,a,l,u),i.ref!==t.ref&&(t.effectTag|=128);else if(l){var s=en(Ba.current);if(kn(t)){l=t,i=l.stateNode;var c=l.type,d=l.memoizedProps,f=u;switch(i[xo]=l,i[Oo]=d,a=void 0,u=c){case"iframe":case"object":De("load",i);break;case"video":case"audio":for(c=0;c<\/script>",c=i.removeChild(i.firstChild)):"string"==typeof i.is?c=c.createElement(f,{is:i.is}):(c=c.createElement(f),"select"===f&&(f=c,i.multiple?f.multiple=!0:i.size&&(f.size=i.size))):c=c.createElementNS(s,f),i=c,i[xo]=d,i[Oo]=l,Ml(i,t,!1,!1),f=i,c=a,d=l;var p=u,m=st(c,d);switch(c){case"iframe":case"object":De("load",f),u=d;break;case"video":case"audio":for(u=0;ul&&(l=i),u>l&&(l=u),a=a.sibling;t.childExpirationTime=l}if(null!==Ul)return Ul;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=h?p=0:(-1===p||h component higher in the tree to provide a loading indicator or placeholder to display."+te(c))}Wl=!0,d=Jn(d,c),u=s;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=l,l=cr(u,d,l),Qn(u,l);break e;case 1:if(p=d,m=u.type,c=u.stateNode,0==(64&u.effectTag)&&("function"==typeof m.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===Gl||!Gl.has(c)))){u.effectTag|=2048,u.expirationTime=l,l=dr(u,p,l),Qn(u,l);break e}}u=u.return}while(null!==u)}Ul=_r(a);continue}i=!0,Hr(t)}}break}if(Fl=!1,Il.current=n,Tl=wl=El=null,sn(),i)zl=null,e.finishedWork=null;else if(null!==Ul)e.finishedWork=null;else{if(n=e.current.alternate,null===n&&o("281"),zl=null,Wl){if(i=e.latestPendingTime,a=e.latestSuspendedTime,l=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Tr(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gl||!Gl.has(r)))return e=Jn(t,e),e=dr(n,e,1073741823),$n(n,e),void Or(n,1073741823);break;case 3:return e=Jn(t,e),e=cr(n,e,1073741823),$n(n,e),void Or(n,1073741823)}n=n.return}3===e.tag&&(n=Jn(t,e),n=cr(e,n,1073741823),$n(e,n),Or(e,1073741823))}function kr(e,t){var n=uo.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(Fl&&!ql)r=Bl;else{switch(n){case uo.unstable_ImmediatePriority:r=1073741823;break;case uo.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case uo.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case uo.unstable_LowPriority:case uo.unstable_IdlePriority:r=1;break;default:o("313")}null!==zl&&r===Bl&&--r}return n===uo.unstable_UserBlockingPriority&&(0===ru||r=r&&(e.didError=!1,t=e.latestPingedTime,(0===t||t>n)&&(e.latestPingedTime=n),Wt(n,e),0!==(n=e.expirationTime)&&Dr(e,n)))}function Sr(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Ir(),t=kr(t,e),null!==(e=xr(e,t))&&(Ut(e,t),0!==(t=e.expirationTime)&&Dr(e,t))}function xr(e,t){e.expirationTimeBl&&pr(),Ut(e,t),Fl&&!ql&&zl===e||Dr(e,e.expirationTime),pu>fu&&(pu=0,o("185")))}function Mr(e,t,n,r,o){return uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){return e(t,n,r,o)})}function Pr(){cu=1073741822-((uo.unstable_now()-su)/10|0)}function jr(e,t){if(0!==Zl){if(te.expirationTime&&(e.expirationTime=t),eu||(au?lu&&(tu=e,nu=1073741823,Vr(e,1073741823,!1)):1073741823===t?zr(1073741823,!1):jr(e,t))}function Lr(){var e=0,t=null;if(null!==Xl)for(var n=Xl,r=Yl;null!==r;){var i=r.expirationTime;if(0===i){if((null===n||null===Xl)&&o("244"),r===r.nextScheduledRoot){Yl=Xl=r.nextScheduledRoot=null;break}if(r===Yl)Yl=i=r.nextScheduledRoot,Xl.nextScheduledRoot=i,r.nextScheduledRoot=null;else{if(r===Xl){Xl=n,Xl.nextScheduledRoot=Yl,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(i>e&&(e=i,t=r),r===Xl)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}tu=t,nu=e}function Fr(){return!!hu||!!uo.unstable_shouldYield()&&(hu=!0)}function Ur(){try{if(!Fr()&&null!==Yl){Pr();var e=Yl;do{var t=e.expirationTime;0!==t&&cu<=t&&(e.nextExpirationTimeToWorkOn=cu),e=e.nextScheduledRoot}while(e!==Yl)}zr(0,!0)}finally{hu=!1}}function zr(e,t){if(Lr(),t)for(Pr(),du=cu;null!==tu&&0!==nu&&e<=nu&&!(hu&&cu>nu);)Vr(tu,nu,cu>nu),Lr(),Pr(),du=cu;else for(;null!==tu&&0!==nu&&e<=nu;)Vr(tu,nu,!1),Lr();if(t&&(Zl=0,Jl=null),0!==nu&&jr(tu,nu),pu=0,mu=null,null!==uu)for(e=uu,uu=null,t=0;t=n&&(null===uu?uu=[r]:uu.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===mu?pu++:(mu=e,pu=0),uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){gr(e,t)})}function Hr(e){null===tu&&o("246"),tu.expirationTime=0,ou||(ou=!0,iu=e)}function qr(e,t){var n=au;au=!0;try{return e(t)}finally{(au=n)||eu||zr(1073741823,!1)}}function $r(e,t){if(au&&!lu){lu=!0;try{return e(t)}finally{lu=!1}}return e(t)}function Qr(e,t,n){au||eu||0===ru||(zr(ru,!1),ru=0);var r=au;au=!0;try{return uo.unstable_runWithPriority(uo.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(au=r)||eu||zr(1073741823,!1)}}function Kr(e,t,n,r,i){var a=t.current;e:if(n){n=n._reactInternalFiber;t:{2===Me(n)&&1===n.tag||o("170");var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(_t(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);o("171"),l=void 0}if(1===n.tag){var u=n.type;if(_t(u)){n=kt(n,u,l);break e}}n=l}else n=Ma;return null===t.context?t.context=n:t.pendingContext=n,t=i,i=Hn(r),i.payload={element:e},t=void 0===t?null:t,null!==t&&(i.callback=t),br(),$n(a,i),Or(a,r),r}function Gr(e,t,n,r){var o=t.current;return o=kr(Ir(),o),Kr(e,t,n,o,r)}function Yr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Xr(e,t,n){var r=3=Ll&&(t=Ll-1),this._expirationTime=Ll=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Jr(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function eo(e,t,n){t=Pt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function to(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function no(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new eo(e,!1,t)}function ro(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Yr(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=no(n,r),"function"==typeof o){var l=o;o=function(){var e=Yr(i._internalRoot);l.call(e)}}$r(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return Yr(i._internalRoot)}function oo(e,t){var n=2=qo),Ko=String.fromCharCode(32),Go={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(" ")}},Yo=!1,Xo=!1,Zo={eventTypes:Go,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Ho)e:{switch(e){case"compositionstart":o=Go.compositionStart;break e;case"compositionend":o=Go.compositionEnd;break e;case"compositionupdate":o=Go.compositionUpdate;break e}o=void 0}else Xo?I(e,n)&&(o=Go.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Go.compositionStart);return o?(Qo&&"ko"!==n.locale&&(Xo||o!==Go.compositionStart?o===Go.compositionEnd&&Xo&&(i=O()):(Fo=r,Uo="value"in Fo?Fo.value:Fo.textContent,Xo=!0)),o=Bo.getPooled(o,t,n,r),i?o.data=i:null!==(i=D(n))&&(o.data=i),C(o),i=o):i=null,(e=$o?L(e,n):F(e,n))?(t=Vo.getPooled(Go.beforeInput,t,n,r),t.data=e,C(t)):t=null,null===i?t:null===t?i:[i,t]}},Jo=null,ei=null,ti=null,ni=!1,ri={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},oi=ao.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oi.hasOwnProperty("ReactCurrentDispatcher")||(oi.ReactCurrentDispatcher={current:null});var ii=/^(.*)[\\\/]/,ai="function"==typeof Symbol&&Symbol.for,li=ai?Symbol.for("react.element"):60103,ui=ai?Symbol.for("react.portal"):60106,si=ai?Symbol.for("react.fragment"):60107,ci=ai?Symbol.for("react.strict_mode"):60108,di=ai?Symbol.for("react.profiler"):60114,fi=ai?Symbol.for("react.provider"):60109,pi=ai?Symbol.for("react.context"):60110,mi=ai?Symbol.for("react.concurrent_mode"):60111,hi=ai?Symbol.for("react.forward_ref"):60112,yi=ai?Symbol.for("react.suspense"):60113,vi=ai?Symbol.for("react.memo"):60115,bi=ai?Symbol.for("react.lazy"):60116,gi="function"==typeof Symbol&&Symbol.iterator,_i=/^[: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]*$/,Ei=Object.prototype.hasOwnProperty,wi={},Ti={},ki={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ki[e]=new ie(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ki[t]=new ie(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ki[e]=new ie(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ki[e]=new ie(e,2,!1,e,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(e){ki[e]=new ie(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ki[e]=new ie(e,3,!0,e,null)}),["capture","download"].forEach(function(e){ki[e]=new ie(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){ki[e]=new ie(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){ki[e]=new ie(e,5,!1,e.toLowerCase(),null)});var Ci=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){ki[e]=new ie(e,1,!1,e.toLowerCase(),null)});var Si={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},xi=null,Oi=null,Mi=!1;Mo&&(Mi=K("input")&&(!document.documentMode||9=document.documentMode,sa={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ca=null,da=null,fa=null,pa=!1,ma={eventTypes:sa,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=ze(i),o=_o.onSelect;for(var a=0;a"+t+"",t=ya.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ba={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},ga=["Webkit","ms","Moz","O"];Object.keys(ba).forEach(function(e){ga.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ba[t]=ba[e]})});var _a=lo({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}),Ea=null,wa=null,Ta="function"==typeof setTimeout?setTimeout:void 0,ka="function"==typeof clearTimeout?clearTimeout:void 0,Ca=uo.unstable_scheduleCallback,Sa=uo.unstable_cancelCallback;new Set;var xa=[],Oa=-1,Ma={},Pa={current:Ma},ja={current:!1},Ra=Ma,Na=null,Aa=null,Ia=(new ao.Component).refs,Da={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Me(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.tag=Cl,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ir();n=kr(n,e);var r=Hn(n);r.tag=Sl,void 0!==t&&null!==t&&(r.callback=t),br(),$n(e,r),Or(e,n)}},La=Array.isArray,Fa=Jt(!0),Ua=Jt(!1),za={},Ba={current:za},Va={current:za},Wa={current:za},Ha=0,qa=2,$a=4,Qa=8,Ka=16,Ga=32,Ya=64,Xa=128,Za=oi.ReactCurrentDispatcher,Ja=0,el=null,tl=null,nl=null,rl=null,ol=null,il=null,al=0,ll=null,ul=0,sl=!1,cl=null,dl=0,fl={readContext:Bn,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an},pl={readContext:Bn,useCallback:function(e,t){return cn().memoizedState=[e,void 0===t?null:t],e},useContext:Bn,useEffect:function(e,t){return hn(516,Xa|Ya,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,hn(4,$a|Ga,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hn(4,$a|Ga,e,t)},useMemo:function(e,t){var n=cn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=cn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=gn.bind(null,el,e),[r.memoizedState,e]},useRef:function(e){var t=cn();return e={current:e},t.memoizedState=e},useState:function(e){var t=cn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={last:null,dispatch:null,lastRenderedReducer:fn,lastRenderedState:e},e=e.dispatch=gn.bind(null,el,e),[t.memoizedState,e]},useDebugValue:bn},ml={readContext:Bn,useCallback:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Bn,useEffect:function(e,t){return yn(516,Xa|Ya,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,yn(4,$a|Ga,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yn(4,$a|Ga,e,t)},useMemo:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:pn,useRef:function(){return dn().memoizedState},useState:function(e){return pn(fn)},useDebugValue:bn},hl=null,yl=null,vl=!1,bl=oi.ReactCurrentOwner,gl=!1,_l={current:null},El=null,wl=null,Tl=null,kl=0,Cl=1,Sl=2,xl=3,Ol=!1,Ml=void 0,Pl=void 0,jl=void 0,Rl=void 0;Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},jl=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=t.stateNode;switch(en(Ba.current),e=null,n){case"input":i=se(a,i),r=se(a,r),e=[];break;case"option":i=Xe(a,i),r=Xe(a,r),e=[];break;case"select":i=lo({},i,{value:void 0}),r=lo({},r,{value:void 0}),e=[];break;case"textarea":i=Je(a,i),r=Je(a,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(a.onclick=dt)}ut(n,r),a=n=void 0;var l=null;for(n in i)if(!r.hasOwnProperty(n)&&i.hasOwnProperty(n)&&null!=i[n])if("style"===n){var u=i[n];for(a in u)u.hasOwnProperty(a)&&(l||(l={}),l[a]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(go.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var s=r[n];if(u=null!=i?i[n]:void 0,r.hasOwnProperty(n)&&s!==u&&(null!=s||null!=u))if("style"===n)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(l||(l={}),l[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(l||(l={}),l[a]=s[a])}else l||(e||(e=[]),e.push(n,l)),l=s;else"dangerouslySetInnerHTML"===n?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(e=e||[]).push(n,""+s)):"children"===n?u===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(n,""+s):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(go.hasOwnProperty(n)?(null!=s&&ct(o,n),e||u===s||(e=[])):(e=e||[]).push(n,s))}l&&(e=e||[]).push("style",l),o=e,(t.updateQueue=o)&&er(t)}},Rl=function(e,t,n,r){n!==r&&er(t)};var Nl="function"==typeof WeakSet?WeakSet:Set,Al="function"==typeof WeakMap?WeakMap:Map,Il=oi.ReactCurrentDispatcher,Dl=oi.ReactCurrentOwner,Ll=1073741822,Fl=!1,Ul=null,zl=null,Bl=0,Vl=-1,Wl=!1,Hl=null,ql=!1,$l=null,Ql=null,Kl=null,Gl=null,Yl=null,Xl=null,Zl=0,Jl=void 0,eu=!1,tu=null,nu=0,ru=0,ou=!1,iu=null,au=!1,lu=!1,uu=null,su=uo.unstable_now(),cu=1073741822-(su/10|0),du=cu,fu=50,pu=0,mu=null,hu=!1;Jo=function(e,t,n){switch(t){case"input":if(fe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},V=qr,W=Qr,H=function(){eu||0===ru||(zr(ru,!1),ru=0)};var yu={createPortal:oo,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?o("188"):o("268",Object.keys(e))),e=Re(t),e=null===e?null:e.stateNode},hydrate:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!0,n)},render:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return to(n)||o("200"),(null==e||void 0===e._reactInternalFiber)&&o("38"),ro(e,t,n,!1,r)},unmountComponentAtNode:function(e){return to(e)||o("40"),!!e._reactRootContainer&&($r(function(){ro(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return oo.apply(void 0,arguments)},unstable_batchedUpdates:qr,unstable_interactiveUpdates:Qr,flushSync:function(e,t){eu&&o("187");var n=au;au=!0;try{return Mr(e,t)}finally{au=n,zr(1073741823,!1)}},unstable_createRoot:io,unstable_flushControlled:function(e){var t=au;au=!0;try{Mr(e)}finally{(au=t)||eu||zr(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[v,b,g,Co.injectEventPluginsByName,bo,C,function(e){f(e,k)},z,B,Ue,h]}};!function(e){var t=e.findFiberByHostInstance;Ot(lo({},e,{overrideProps:null,currentDispatcherRef:oi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Re(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:y,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var vu={default:yu},bu=vu&&yu||vu;e.exports=bu.default||bu},"./node_modules/react-dom/index.js":function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n("./node_modules/react-dom/cjs/react-dom.production.min.js")},"./node_modules/react-is/cjs/react-is.production.min.js":function(e,t,n){"use strict";function r(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case p:case m:case u:case c:case s:case y:return e;default:switch(e=e&&e.$$typeof){case f:case h:case d:return e;default:return t}}case b:case v:case l:return t}}}function o(e){return r(e)===m}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,l=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,d=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.async_mode"):60111,m=i?Symbol.for("react.concurrent_mode"):60111,h=i?Symbol.for("react.forward_ref"):60112,y=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116;t.typeOf=r,t.AsyncMode=p,t.ConcurrentMode=m,t.ContextConsumer=f,t.ContextProvider=d,t.Element=a,t.ForwardRef=h,t.Fragment=u,t.Lazy=b,t.Memo=v,t.Portal=l,t.Profiler=c,t.StrictMode=s,t.Suspense=y,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===u||e===m||e===c||e===s||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===d||e.$$typeof===f||e.$$typeof===h)},t.isAsyncMode=function(e){return o(e)||r(e)===p},t.isConcurrentMode=o,t.isContextConsumer=function(e){return r(e)===f},t.isContextProvider=function(e){return r(e)===d},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return r(e)===h},t.isFragment=function(e){return r(e)===u},t.isLazy=function(e){return r(e)===b},t.isMemo=function(e){return r(e)===v},t.isPortal=function(e){return r(e)===l},t.isProfiler=function(e){return r(e)===c},t.isStrictMode=function(e){return r(e)===s},t.isSuspense=function(e){return r(e)===y}},"./node_modules/react-is/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-is/cjs/react-is.production.min.js")},"./node_modules/react-redux/es/components/Context.js":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("./node_modules/react/index.js"),o=n.n(r),i=o.a.createContext(null)},"./node_modules/react-redux/es/components/Provider.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),o=n("./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),i=n("./node_modules/react/index.js"),a=n.n(i),l=n("./node_modules/prop-types/index.js"),u=n.n(l),s=n("./node_modules/react-redux/es/components/Context.js"),c=n("./node_modules/react-redux/es/utils/Subscription.js"),d=function(e){function t(t){var o;o=e.call(this,t)||this;var i=t.store;o.notifySubscribers=o.notifySubscribers.bind(n.i(r.a)(o));var a=new c.a(i);return a.onStateChange=o.notifySubscribers,o.state={store:i,subscription:a},o.previousState=i.getState(),o}n.i(o.a)(t,e);var i=t.prototype;return i.componentDidMount=function(){this._isMounted=!0,this.state.subscription.trySubscribe(),this.previousState!==this.props.store.getState()&&this.state.subscription.notifyNestedSubs()},i.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this.state.subscription.tryUnsubscribe(),this._isMounted=!1},i.componentDidUpdate=function(e){if(this.props.store!==e.store){this.state.subscription.tryUnsubscribe();var t=new c.a(this.props.store);t.onStateChange=this.notifySubscribers,this.setState({store:this.props.store,subscription:t})}},i.notifySubscribers=function(){this.state.subscription.notifyNestedSubs()},i.render=function(){var e=this.props.context||s.a;return a.a.createElement(e.Provider,{value:this.state},this.props.children)},t}(i.Component);d.propTypes={store:u.a.shape({subscribe:u.a.func.isRequired,dispatch:u.a.func.isRequired,getState:u.a.func.isRequired}),context:u.a.object,children:u.a.any},t.a=d},"./node_modules/react-redux/es/components/connectAdvanced.js":function(e,t,n){"use strict";function r(e,t){var n=e[1];return[t.payload,n+1]}function o(e,t){void 0===t&&(t={});var o=t,l=o.getDisplayName,s=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,_=o.methodName,E=void 0===_?"connectAdvanced":_,w=o.renderCountProp,T=void 0===w?void 0:w,k=o.shouldHandleStateChanges,C=void 0===k||k,S=o.storeKey,x=void 0===S?"store":S,O=o.withRef,M=void 0!==O&&O,P=o.forwardRef,j=void 0!==P&&P,R=o.context,N=void 0===R?h.a:R,A=n.i(a.a)(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);c()(void 0===T,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),c()(!M,"withRef is removed. To access the wrapped instance, use a ref on the connected component"),c()("store"===x,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: . You may also pass a {context : MyContext} option to connect");var I=N;return function(t){function o(t){return e(t.dispatch,w)}function l(e){var l=n.i(d.useMemo)(function(){var t=e.forwardedRef,r=n.i(a.a)(e,["forwardedRef"]);return[e.context,t,r]},[e]),u=l[0],s=l[1],h=l[2],E=n.i(d.useMemo)(function(){return u&&u.Consumer&&n.i(p.isContextConsumer)(f.a.createElement(u.Consumer,null))?u:I},[u,I]),w=n.i(d.useContext)(E),T=Boolean(e.store),k=Boolean(w)&&Boolean(w.store);c()(T||k,'Could not find "store" in the context of "'+_+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+_+" in connect options.");var x=e.store||w.store,O=n.i(d.useMemo)(function(){return o(x)},[x]),M=n.i(d.useMemo)(function(){if(!C)return v;var e=new m.a(x,T?null:w.subscription);return[e,e.notifyNestedSubs.bind(e)]},[x,T,w]),P=M[0],j=M[1],R=n.i(d.useMemo)(function(){return T?w:n.i(i.a)({},w,{subscription:P})},[T,w,P]),N=n.i(d.useReducer)(r,y,b),A=N[0],D=A[0],L=N[1];if(D&&D.error)throw D.error;var F=n.i(d.useRef)(),U=n.i(d.useRef)(h),z=n.i(d.useRef)(),B=n.i(d.useRef)(!1),V=S(function(){return z.current&&h===U.current?z.current:O(x.getState(),h)},[x,D,h]);g(function(){U.current=h,F.current=V,B.current=!1,z.current&&(z.current=null,j())}),g(function(){if(C){var e=!1,t=null,n=function(){if(!e){var n,r,o=x.getState();try{n=O(o,U.current)}catch(e){r=e,t=e}r||(t=null),n===F.current?B.current||j():(F.current=n,z.current=n,B.current=!0,L({type:"STORE_UPDATED",payload:{latestStoreState:o,error:r}}))}};return P.onStateChange=n,P.trySubscribe(),n(),function(){if(e=!0,P.tryUnsubscribe(),t)throw t}}},[x,P,O]);var W=n.i(d.useMemo)(function(){return f.a.createElement(t,n.i(i.a)({},V,{ref:s}))},[s,t,V]);return n.i(d.useMemo)(function(){return C?f.a.createElement(E.Provider,{value:R},W):W},[E,W,R])}var h=t.displayName||t.name||"Component",_=s(h),w=n.i(i.a)({},A,{getDisplayName:s,methodName:E,renderCountProp:T,shouldHandleStateChanges:C,storeKey:x,displayName:_,wrappedComponentName:h,WrappedComponent:t}),k=A.pure,S=k?d.useMemo:function(e){return e()},O=k?f.a.memo(l):l;if(O.WrappedComponent=t,O.displayName=_,j){var M=f.a.forwardRef(function(e,t){return f.a.createElement(O,n.i(i.a)({},e,{forwardedRef:t}))});return M.displayName=_,M.WrappedComponent=t,u()(M,t)}return u()(O,t)}}t.a=o;var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),u=n.n(l),s=n("./node_modules/invariant/browser.js"),c=n.n(s),d=n("./node_modules/react/index.js"),f=n.n(d),p=n("./node_modules/react-is/index.js"),m=(n.n(p),n("./node_modules/react-redux/es/utils/Subscription.js")),h=n("./node_modules/react-redux/es/components/Context.js"),y=[],v=[null,null],b=function(){return[null,0]},g="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?d.useLayoutEffect:d.useEffect},"./node_modules/react-redux/es/connect/connect.js":function(e,t,n){"use strict";function r(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function o(e,t){return e===t}var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/react-redux/es/components/connectAdvanced.js"),u=n("./node_modules/react-redux/es/utils/shallowEqual.js"),s=n("./node_modules/react-redux/es/connect/mapDispatchToProps.js"),c=n("./node_modules/react-redux/es/connect/mapStateToProps.js"),d=n("./node_modules/react-redux/es/connect/mergeProps.js"),f=n("./node_modules/react-redux/es/connect/selectorFactory.js");t.a=function(e){var t={},p=t.connectHOC,m=void 0===p?l.a:p,h=t.mapStateToPropsFactories,y=void 0===h?c.a:h,v=t.mapDispatchToPropsFactories,b=void 0===v?s.a:v,g=t.mergePropsFactories,_=void 0===g?d.a:g,E=t.selectorFactory,w=void 0===E?f.a:E;return function(e,t,l,s){void 0===s&&(s={});var c=s,d=c.pure,f=void 0===d||d,p=c.areStatesEqual,h=void 0===p?o:p,v=c.areOwnPropsEqual,g=void 0===v?u.a:v,E=c.areStatePropsEqual,T=void 0===E?u.a:E,k=c.areMergedPropsEqual,C=void 0===k?u.a:k,S=n.i(a.a)(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=r(e,y,"mapStateToProps"),O=r(t,b,"mapDispatchToProps"),M=r(l,_,"mergeProps");return m(w,n.i(i.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:O,initMergeProps:M,pure:f,areStatesEqual:h,areOwnPropsEqual:g,areStatePropsEqual:T,areMergedPropsEqual:C},S))}}()},"./node_modules/react-redux/es/connect/mapDispatchToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(l.a)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:n.i(l.b)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?n.i(l.b)(function(t){return n.i(a.bindActionCreators)(e,t)}):void 0}var a=n("./node_modules/redux/es/redux.js"),l=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o,i]},"./node_modules/react-redux/es/connect/mapStateToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(i.a)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:n.i(i.b)(function(){return{}})}var i=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o]},"./node_modules/react-redux/es/connect/mergeProps.js":function(e,t,n){"use strict";function r(e,t,r){return n.i(l.a)({},r,e,t)}function o(e){return function(t,n){var r,o=(n.displayName,n.pure),i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var u=e(t,n,l);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}function i(e){return"function"==typeof e?o(e):void 0}function a(e){return e?void 0:function(){return r}}var l=n("./node_modules/@babel/runtime/helpers/esm/extends.js");n("./node_modules/react-redux/es/utils/verifyPlainObject.js"),t.a=[i,a]},"./node_modules/react-redux/es/connect/selectorFactory.js":function(e,t,n){"use strict";function r(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function o(e,t,n,r,o){function i(o,i){return c=o,d=i,f=e(c,d),p=t(r,d),m=n(f,p,d),b=!0,m}function a(){return f=e(c,d),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function l(){return e.dependsOnOwnProps&&(f=e(c,d)),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function u(){var t=e(c,d),r=!v(t,f);return f=t,r&&(m=n(f,p,d)),m}function s(e,t){var n=!y(t,d),r=!h(e,c);return c=e,d=t,n&&r?a():n?l():r?u():m}var c,d,f,p,m,h=o.areStatesEqual,y=o.areOwnPropsEqual,v=o.areStatePropsEqual,b=!1;return function(e,t){return b?s(e,t):i(e,t)}}function i(e,t){var i=t.initMapStateToProps,l=t.initMapDispatchToProps,u=t.initMergeProps,s=n.i(a.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=i(e,s),d=l(e,s),f=u(e,s);return(s.pure?o:r)(c,d,f,e,s)}t.a=i;var a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");n("./node_modules/react-redux/es/connect/verifySubselectors.js")},"./node_modules/react-redux/es/connect/verifySubselectors.js":function(e,t,n){"use strict";n("./node_modules/react-redux/es/utils/warning.js")},"./node_modules/react-redux/es/connect/wrapMapToProps.js":function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}t.b=r,t.a=i,n("./node_modules/react-redux/es/utils/verifyPlainObject.js")},"./node_modules/react-redux/es/hooks/useDispatch.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().dispatch}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useStore.js")},"./node_modules/react-redux/es/hooks/useReduxContext.js":function(e,t,n){"use strict";function r(){var e=n.i(o.useContext)(l.a);return a()(e,"could not find react-redux context value; please ensure the component is wrapped in a "),e}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/components/Context.js")},"./node_modules/react-redux/es/hooks/useSelector.js":function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=c),a()(e,"You must pass a selector to useSelectors");var r,i=n.i(l.a)(),d=i.store,f=i.subscription,p=n.i(o.useReducer)(function(e){return e+1},0),m=p[1],h=n.i(o.useMemo)(function(){return new u.a(d,f)},[d,f]),y=n.i(o.useRef)(),v=n.i(o.useRef)(),b=n.i(o.useRef)();try{r=e!==v.current||y.current?e(d.getState()):b.current}catch(e){var g="An error occured while selecting the store state: "+e.message+".";throw y.current&&(g+="\nThe error may be correlated with this previous error:\n"+y.current.stack+"\n\nOriginal stack trace:"),new Error(g)}return s(function(){v.current=e,b.current=r,y.current=void 0}),s(function(){function e(){try{var e=v.current(d.getState());if(t(e,b.current))return;b.current=e}catch(e){y.current=e}m({})}return h.onStateChange=e,h.trySubscribe(),e(),function(){return h.tryUnsubscribe()}},[d,h]),r}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/hooks/useReduxContext.js"),u=n("./node_modules/react-redux/es/utils/Subscription.js"),s="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,c=function(e,t){return e===t}},"./node_modules/react-redux/es/hooks/useStore.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().store}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useReduxContext.js")},"./node_modules/react-redux/es/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react-redux/es/components/Provider.js"),o=n("./node_modules/react-redux/es/components/connectAdvanced.js"),i=n("./node_modules/react-redux/es/components/Context.js"),a=n("./node_modules/react-redux/es/connect/connect.js"),l=n("./node_modules/react-redux/es/hooks/useDispatch.js"),u=n("./node_modules/react-redux/es/hooks/useSelector.js"),s=n("./node_modules/react-redux/es/hooks/useStore.js"),c=n("./node_modules/react-redux/es/utils/batch.js"),d=n("./node_modules/react-redux/es/utils/reactBatchedUpdates.js"),f=n("./node_modules/react-redux/es/utils/shallowEqual.js");n.d(t,"Provider",function(){return r.a}),n.d(t,"connectAdvanced",function(){return o.a}),n.d(t,"ReactReduxContext",function(){return i.a}),n.d(t,"connect",function(){return a.a}),n.d(t,"batch",function(){return d.a}),n.d(t,"useDispatch",function(){return l.a}),n.d(t,"useSelector",function(){return u.a}),n.d(t,"useStore",function(){return s.a}),n.d(t,"shallowEqual",function(){return f.a}),n.i(c.a)(d.a)},"./node_modules/react-redux/es/utils/Subscription.js":function(e,t,n){"use strict";function r(){var e=n.i(o.b)(),t=[],r=[];return{clear:function(){r=i,t=i},notify:function(){var n=t=r;e(function(){for(var e=0;eH.length&&H.push(e)}function m(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case k:a=!0}}if(a)return n(r,e,""===t?"."+y(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l=t){r=e;break}e=e.next}while(e!==s);null===r?r=s:r===s&&(s=a,n()),t=r.previous,t.next=r.previous=a,a.next=r,a.previous=t}}function o(){if(-1===f&&null!==s&&1===s.priorityLevel){m=!0;try{do{r()}while(null!==s&&1===s.priorityLevel)}finally{m=!1,null!==s?n():h=!1}}}function i(e){m=!0;var i=c;c=e;try{if(e)for(;null!==s;){var a=t.unstable_now();if(!(s.expirationTime<=a))break;do{r()}while(null!==s&&s.expirationTime<=a)}else if(null!==s)do{r()}while(null!==s&&!k())}finally{m=!1,c=i,null!==s?n():h=!1,o()}}function a(e){l=g(function(t){b(u),e(t)}),u=v(function(){_(l),e(t.unstable_now())},100)}Object.defineProperty(t,"__esModule",{value:!0});var l,u,s=null,c=!1,d=3,f=-1,p=-1,m=!1,h=!1,y=Date,v="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,_="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;if("object"==typeof performance&&"function"==typeof performance.now){var E=performance;t.unstable_now=function(){return E.now()}}else t.unstable_now=function(){return y.now()};var w,T,k,C=null;if("undefined"!=typeof window?C=window:void 0!==e&&(C=e),C&&C._schedMock){var S=C._schedMock;w=S[0],T=S[1],k=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var x=null,O=function(e){if(null!==x)try{x(e)}finally{x=null}};w=function(e){null!==x?setTimeout(w,0,e):(x=e,setTimeout(O,0,!1))},T=function(){x=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof _&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,P=!1,j=-1,R=!1,N=!1,A=0,I=33,D=33;k=function(){return A<=t.unstable_now()};var L=new MessageChannel,F=L.port2;L.port1.onmessage=function(){P=!1;var e=M,n=j;M=null,j=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return R||(R=!0,a(U)),M=e,void(j=n);o=!0}if(null!==e){N=!0;try{e(o)}finally{N=!1}}};var U=function(e){if(null!==M){a(U);var t=e-A+D;tt&&(t=8),D=tt?F.postMessage(void 0):R||(R=!0,a(U))},T=function(){M=null,P=!1,j=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=d,i=f;d=e,f=t.unstable_now();try{return n()}finally{d=r,f=i,o()}},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var n=3;break;default:n=d}var r=d,i=f;d=n,f=t.unstable_now();try{return e()}finally{d=r,f=i,o()}},t.unstable_scheduleCallback=function(e,r){var o=-1!==f?f:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=o+r.timeout;else switch(d){case 1:r=o+-1;break;case 2:r=o+250;break;case 5:r=o+1073741823;break;case 4:r=o+1e4;break;default:r=o+5e3}if(e={callback:e,priorityLevel:d,expirationTime:r,next:null,previous:null},null===s)s=e.next=e.previous=e,n();else{o=null;var i=s;do{if(i.expirationTime>r){o=i;break}i=i.next}while(i!==s);null===o?o=s:o===s&&(s=e,n()),r=o.previous,r.next=o.previous=e,e.next=o,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)s=null;else{e===s&&(s=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=d;return function(){var r=d,i=f;d=n,f=t.unstable_now();try{return e.apply(this,arguments)}finally{d=r,f=i,o()}}},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_shouldYield=function(){return!c&&(null!==s&&s.expirationTime=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.SCREEN_COMPLETE=t.SCREEN_CHOOSE_METHOD=t.SCREEN_REGISTER_METHOD=t.SCREEN_INTRODUCTION=void 0;var u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=this.getOtherMethods(),n=window,r=n.ss.i18n;return Array.isArray(t)&&t.length?d.default.createElement("a",{href:"#",className:(0,h.default)("btn btn-secondary",e),onClick:this.handleShowOtherMethodsPane},r._t("MFAVerify.MORE_OPTIONS","More options")):null}},{key:"renderOtherMethods",value:function(){var e=this,t=this.getOtherMethods(),n=this.state,r=n.selectedMethod,o=n.showOtherMethods,i=this.props.resources;return r&&!o?null:d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement(w.default,{resources:i,methods:t,onClickBack:this.handleHideOtherMethodsPane,onSelectMethod:function(t){return function(n){return e.handleClickOtherMethod(n,t)}}}))}},{key:"renderSelectedMethod",value:function(){var e=this.props,t=e.isAvailable,n=e.getUnavailableMessage,r=this.state,o=r.selectedMethod,i=r.showOtherMethods,a=r.verifyProps,l=r.message,s=window,f=s.ss.i18n;if(!o||i)return null;if(t&&!t(o)){var p=n(o);return d.default.createElement(S.default,{title:f._t("MFAVerify.METHOD_UNAVAILABLE","This authentication method is unavailable"),message:p,controls:this.renderOtherMethodsControl("btn-outline-secondary")})}var m=(0,y.loadComponent)(o.component);return d.default.createElement(c.Fragment,null,this.renderTitle(),d.default.createElement("h2",{className:"mfa-section-title"},o.leadInLabel),m&&d.default.createElement(m,u({},a,{method:o,error:l,onCompleteVerification:this.handleCompleteVerification,moreOptionsControl:this.renderOtherMethodsControl()})))}},{key:"renderTitle",value:function(){var e=window,t=e.ss.i18n;return d.default.createElement("h1",{className:"mfa-app-title"},t._t("MFAVerify.TITLE","Log in"))}},{key:"render",value:function(){return this.state.loading?d.default.createElement(_.default,{block:!0}):d.default.createElement(c.Fragment,null,this.renderSelectedMethod(),this.renderOtherMethods())}}]),t}(c.Component);x.propTypes={endpoints:p.default.shape({verify:p.default.string.isRequired,register:p.default.string}),registeredMethods:p.default.arrayOf(b.default),defaultMethod:p.default.string},t.Component=x,t.default=(0,k.default)(x)},"./client/src/components/Verify/SelectMethod.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:" ";if(e.length<6)return e;if(e.length%4==0)return e.split(/(.{4})/g).filter(function(e){return e}).join(t).trim();if(e.length%3==0)return e.split(/(.{3})/g).filter(function(e){return e}).join(t).trim();var n=4-e.length%4,o=(e.length-3*n)/4,i=[].concat(r([].concat(r(Array(o).keys())).map(function(){return 4})),r([].concat(r(Array(n).keys())).map(function(){return 3}))),a=0;return i.map(function(t){return e.substring(a,a+=t)}).join(t).trim()};t.formatCode=o},"./client/src/state/methodAvailability/withMethodAvailability.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.availableMethodOverrides,n=e||this.props.method,r=n.urlSegment;return void 0!==t[r]?t[r]:{}}},{key:"getUnavailableMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method;return this.getAvailabilityOverride(t).unavailableMessage||t.unavailableMessage}},{key:"isAvailable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.method,n=this.getAvailabilityOverride(t),r=t.isAvailable;return void 0!==n.isAvailable&&(r=n.isAvailable),r}},{key:"render",value:function(){return c.default.createElement(e,l({},this.props,{isAvailable:this.isAvailable,getUnavailableMessage:this.getUnavailableMessage}))}}]),n}(s.Component),n=p(e);return t.displayName="WithMethodAvailability("+n+")",t},h=function(e){var t=[].concat(r(e.mfaRegister.availableMethods),r(e.mfaVerify.allMethods)),n={};return Object.values(t).forEach(function(t){var r=t.urlSegment,o=r+"Availability";void 0!==e[o]&&(n[r]=e[o])}),{availableMethodOverrides:n}};t.hoc=m;var y=(0,f.compose)((0,d.connect)(h),m);t.default=y},"./client/src/state/mfaRegister/actionTypes.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ADD_AVAILABLE_METHOD","REMOVE_AVAILABLE_METHOD","SET_AVAILABLE_METHODS","SET_SCREEN","SET_METHOD"].reduce(function(e,t){return Object.assign(e,r({},t,"MFA_REGISTER."+t))},{})},"./client/src/state/mfaRegister/actions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeAvailableMethod=t.addAvailableMethod=t.setAvailableMethods=t.chooseMethod=t.showScreen=void 0;var r=n("./client/src/state/mfaRegister/actionTypes.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.showScreen=function(e){return{type:o.default.SET_SCREEN,payload:{screen:e}}},t.chooseMethod=function(e){return{type:o.default.SET_METHOD,payload:{method:e}}},t.setAvailableMethods=function(e){return{type:o.default.SET_AVAILABLE_METHODS,payload:{availableMethods:e}}},t.addAvailableMethod=function(e){return{type:o.default.ADD_AVAILABLE_METHOD,payload:{method:e}}},t.removeAvailableMethod=function(e){return{type:o.default.REMOVE_AVAILABLE_METHOD,payload:{method:e}}}},"./client/src/state/mfaRegister/reducer.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,o=t.payload;switch(n){case l.default.SET_SCREEN:var a=o.screen;return null===e.method&&a===u.SCREEN_REGISTER_METHOD?i({},e,{screen:u.SCREEN_CHOOSE_METHOD}):i({},e,{screen:a});case l.default.SET_METHOD:return i({},e,{method:o.method});case l.default.SET_AVAILABLE_METHODS:return i({},e,{availableMethods:o.availableMethods});case l.default.ADD_AVAILABLE_METHOD:return i({},e,{availableMethods:[].concat(r(e.availableMethods),[o.method])});case l.default.REMOVE_AVAILABLE_METHOD:return i({},e,{availableMethods:e.availableMethods.filter(function(e){return e.urlSegment!==o.method.urlSegment})});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;switch(n){case a.default.SET_ALL_METHODS:return o({},e,{allMethods:r.allMethods});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}t.a=r},"./node_modules/classnames/index.js":function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t'),this.addEvents();var d=this.opts,f=d.headElements,p=d.bodyElements;Array.isArray(f)&&f.forEach(function(e){return c.head.appendChild(e)}),Array.isArray(p)&&p.forEach(function(e){return c.body.appendChild(e)}),Array.isArray(t)&&t.forEach(function(e){e&&(u(e)?c.head.appendChild(o(c,e)):c.head.appendChild(r(c,e)))}),c.body.appendChild(this.elCopy),Array.isArray(n)&&n.forEach(function(e){if(e){var t=c.createElement("script");u(e)?t.src=e:t.innerText=e,c.body.appendChild(t)}}),c.close()}}},e.prototype.printURL=function(e,t){this.isLoading||(this.addEvents(),this.isLoading=!0,this.callback=t,this.iframe.src=e)},e.prototype.launchPrint=function(e){e.document.execCommand("print",!1,null)||e.print()},e.prototype.addEvents=function(){var e=this;this.hasEvents||(this.hasEvents=!0,this.iframe.addEventListener("load",function(){return e.onLoad()},!1))},e.prototype.onLoad=function(){var e=this;if(this.iframe){this.isLoading=!1;var t=this.iframe,n=t.contentDocument,r=t.contentWindow;if(!n||!r)return;this.callback?this.callback({iframe:this.iframe,element:this.elCopy,launchPrint:function(){return e.launchPrint(r)}}):this.launchPrint(r)}},e}();t.Printd=c,t.default=c},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";function r(){}function o(){}var i=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-copy-to-clipboard/lib/Component.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var u=Object.assign||function(e){for(var t=1;tthis.eventPool.length&&this.eventPool.push(e)}function A(e){e.eventPool=[],e.getPooled=R,e.release=N}function I(e,t){switch(e){case"keyup":return-1!==Wo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function D(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function L(e,t){switch(e){case"compositionend":return D(t);case"keypress":return 32!==t.which?null:(Yo=!0,Ko);case"textInput":return e=t.data,e===Ko&&Yo?null:e;default:return null}}function F(e,t){if(Xo)return"compositionend"===e||!Ho&&I(e,t)?(e=O(),zo=Uo=Fo=null,Xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function ie(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function ae(e){return e[1].toUpperCase()}function le(e,t,n,r){var o=ki.hasOwnProperty(t)?ki[t]:null;(null!==o?0===o.type:!r&&2ra.length&&ra.push(e)}}}function ze(e){return Object.prototype.hasOwnProperty.call(e,la)||(e[la]=aa++,ia[e[la]]={}),ia[e[la]]}function Be(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ve(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function We(e,t){var n=Ve(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ve(n)}}function He(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?He(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function qe(){for(var e=window,t=Be();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=Be(e.document)}return t}function $e(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(){var e=qe();if($e(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var n=t.getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var i=0,a=-1,l=-1,u=0,s=0,c=e,d=null;t:for(;;){for(var f;c!==t||0!==r&&3!==c.nodeType||(a=i+r),c!==o||0!==n&&3!==c.nodeType||(l=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break t;if(d===t&&++u===r&&(a=i),d===o&&++s===n&&(l=i),null!==(f=c.nextSibling))break;c=d,d=c.parentNode}c=f}t=-1===a||-1===l?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}function Ke(e){var t=qe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&He(n.ownerDocument.documentElement,n)){if(null!==r&&$e(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=We(n,i);var a=We(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=t.length||o("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:ue(n)}}function tt(e,t){var n=ue(t.value),r=ue(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function nt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function rt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ot(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function it(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function at(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ba.hasOwnProperty(e)&&ba[e]?(""+t).trim():t+"px"}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=at(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function ut(e,t){t&&(_a[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&o("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&o("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||o("61")),null!=t.style&&"object"!=typeof t.style&&o("62",""))}function st(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ct(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=ze(e);t=_o[t];for(var r=0;rOa||(e.current=xa[Oa],xa[Oa]=null,Oa--)}function bt(e,t){Oa++,xa[Oa]=e.current,e.current=t}function gt(e,t){var n=e.type.contextTypes;if(!n)return Ma;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _t(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Et(e){vt(ja,e),vt(Pa,e)}function wt(e){vt(ja,e),vt(Pa,e)}function Tt(e,t,n){Pa.current!==Ma&&o("168"),bt(Pa,t,e),bt(ja,n,e)}function kt(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;r=r.getChildContext();for(var i in r)i in e||o("108",ee(t)||"Unknown",i);return lo({},n,r)}function Ct(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ma,Ra=Pa.current,bt(Pa,t,e),bt(ja,ja.current,e),!0}function St(e,t,n){var r=e.stateNode;r||o("169"),n?(t=kt(e,t,Ra),r.__reactInternalMemoizedMergedChildContext=t,vt(ja,e),vt(Pa,e),bt(Pa,t,e)):vt(ja,e),bt(ja,n,e)}function xt(e){return function(t){try{return e(t)}catch(e){}}}function Ot(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Na=xt(function(e){return t.onCommitFiberRoot(n,e)}),Aa=xt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Mt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Pt(e,t,n,r){return new Mt(e,t,n,r)}function jt(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rt(e){if("function"==typeof e)return jt(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===hi)return 11;if(e===vi)return 14}return 2}function Nt(e,t){var n=e.alternate;return null===n?(n=Pt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function At(e,t,n,r,i,a){var l=2;if(r=e,"function"==typeof e)jt(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case si:return It(n.children,i,a,t);case mi:return Dt(n,3|i,a,t);case ci:return Dt(n,2|i,a,t);case di:return e=Pt(12,n,t,4|i),e.elementType=di,e.type=di,e.expirationTime=a,e;case yi:return e=Pt(13,n,t,i),e.elementType=yi,e.type=yi,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case fi:l=10;break e;case pi:l=9;break e;case hi:l=11;break e;case vi:l=14;break e;case bi:l=16,r=null;break e}o("130",null==e?e:typeof e,"")}return t=Pt(l,n,t,i),t.elementType=e,t.type=r,t.expirationTime=a,t}function It(e,t,n,r){return e=Pt(7,e,r,t),e.expirationTime=n,e}function Dt(e,t,n,r){return e=Pt(8,e,r,t),t=0==(1&t)?ci:mi,e.elementType=t,e.type=t,e.expirationTime=n,e}function Lt(e,t,n){return e=Pt(6,e,null,t),e.expirationTime=n,e}function Ft(e,t,n){return t=Pt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ut(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),Wt(t,e)}function zt(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{tt?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),n=e.earliestSuspendedTime,0===n?Ut(e,t):tn&&Ut(e,t)}Wt(0,e)}function Bt(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),Wt(t,e)}function Vt(e,t){var n=e.earliestPendingTime;return e=e.earliestSuspendedTime,n>t&&(t=n),e>t&&(t=e),t}function Wt(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;o=0!==o?o:i,0===o&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function Ht(e,t){if(e&&e.defaultProps){t=lo({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function qt(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,t=e._ctor,t=t(),t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}function $t(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:lo({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}function Qt(e,t,n,r,o,i,a){return e=e.stateNode,"function"==typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&Oe(n,r)&&Oe(o,i))}function Kt(e,t,n){var r=!1,o=Ma,i=t.contextType;return"object"==typeof i&&null!==i?i=Bn(i):(o=_t(t)?Ra:Pa.current,r=t.contextTypes,i=(r=null!==r&&void 0!==r)?gt(e,o):Ma),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Da,e.stateNode=t,t._reactInternalFiber=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Gt(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Da.enqueueReplaceState(t,t.state,null)}function Yt(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ia;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Bn(i):(i=_t(t)?Ra:Pa.current,o.context=gt(e,i)),i=e.updateQueue,null!==i&&(Yn(e,i,n,o,r),o.state=e.memoizedState),i=t.getDerivedStateFromProps,"function"==typeof i&&($t(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Da.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(Yn(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}function Xt(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&o("309"),r=n.stateNode),r||o("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===Ia&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}"string"!=typeof e&&o("284"),n._owner||o("290",e)}return e}function Zt(e,t){"textarea"!==e.type&&o("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Jt(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return e=Nt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,rh?(y=d,d=null):y=d.sibling;var v=p(o,d,l[h],u);if(null===v){null===d&&(d=y);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,d=y}if(h===l.length)return n(o,d),s;if(null===d){for(;hy?(v=h,h=null):v=h.sibling;var g=p(i,h,b.value,s);if(null===g){h||(h=v);break}e&&h&&null===g.alternate&&t(i,h),l=a(g,l,y),null===d?c=g:d.sibling=g,d=g,h=v}if(b.done)return n(i,h),c;if(null===h){for(;!b.done;y++,b=u.next())null!==(b=f(i,b.value,s))&&(l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return c}for(h=r(i,h);!b.done;y++,b=u.next())null!==(b=m(h,i,y,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?y:b.key),l=a(b,l,y),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(i,e)}),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===si&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case li:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?a.type===si:s.elementType===a.type){n(e,s.sibling),r=i(s,a.type===si?a.props.children:a.props,u),r.ref=Xt(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===si?(r=It(a.props.children,e.mode,u,a.key),r.return=e,e=r):(u=At(a.type,a.key,a.props,null,e.mode,u),u.ref=Xt(e,r,a),u.return=e,e=u)}return l(e);case ui:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),r=i(r,a.children||[],u),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Ft(a,e.mode,u),r.return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),r=i(r,a,u),r.return=e,e=r):(n(e,r),r=Lt(a,e.mode,u),r.return=e,e=r),l(e);if(La(a))return h(e,r,a,u);if(J(a))return y(e,r,a,u);if(c&&Zt(e,a),void 0===a&&!s)switch(e.tag){case 1:case 0:u=e.type,o("152",u.displayName||u.name||"Component")}return n(e,r)}}function en(e){return e===za&&o("174"),e}function tn(e,t){bt(Wa,t,e),bt(Va,e,e),bt(Ba,za,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ot(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=ot(t,n)}vt(Ba,e),bt(Ba,t,e)}function nn(e){vt(Ba,e),vt(Va,e),vt(Wa,e)}function rn(e){en(Wa.current);var t=en(Ba.current),n=ot(t,e.type);t!==n&&(bt(Va,e,e),bt(Ba,n,e))}function on(e){Va.current===e&&(vt(Ba,e),vt(Va,e))}function an(){o("321")}function ln(e,t){if(null===t)return!1;for(var n=0;nal&&(al=d)):a=s.eagerReducer===e?s.eagerState:e(a,s.action),l=s,s=s.next}while(null!==s&&s!==r);c||(u=l,i=a),xe(a,t.memoizedState)||(gl=!0),t.memoizedState=a,t.baseUpdate=u,t.baseState=i,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function mn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===ll?(ll={lastEffect:null},ll.lastEffect=e.next=e):(t=ll.lastEffect,null===t?ll.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,ll.lastEffect=e)),e}function hn(e,t,n,r){var o=cn();ul|=e,o.memoizedState=mn(t,n,void 0,void 0===r?null:r)}function yn(e,t,n,r){var o=dn();r=void 0===r?null:r;var i=void 0;if(null!==tl){var a=tl.memoizedState;if(i=a.destroy,null!==r&&ln(r,a.deps))return void mn(Ha,n,i,r)}ul|=e,o.memoizedState=mn(t,n,i,r)}function vn(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function bn(){}function gn(e,t,n){25>dl||o("301");var r=e.alternate;if(e===el||null!==r&&r===el)if(sl=!0,e={expirationTime:Ja,action:n,eagerReducer:null,eagerState:null,next:null},null===cl&&(cl=new Map),void 0===(n=cl.get(t)))cl.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{br();var i=Ir();i=kr(i,e);var a={expirationTime:i,action:n,eagerReducer:null,eagerState:null,next:null},l=t.last;if(null===l)a.next=a;else{var u=l.next;null!==u&&(a.next=u),l.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=r(s,n);if(a.eagerReducer=r,a.eagerState=c,xe(c,s))return}catch(e){}Or(e,i)}}function _n(e,t){var n=Pt(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function En(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function wn(e){if(vl){var t=yl;if(t){var n=t;if(!En(e,t)){if(!(t=ht(n))||!En(e,t))return e.effectTag|=2,vl=!1,void(hl=e);_n(hl,n)}hl=e,yl=yt(t)}else e.effectTag|=2,vl=!1,hl=e}}function Tn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;hl=e}function kn(e){if(e!==hl)return!1;if(!vl)return Tn(e),vl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!pt(t,e.memoizedProps))for(t=yl;t;)_n(e,t),t=ht(t);return Tn(e),yl=hl?ht(e.stateNode):null,!0}function Cn(){yl=hl=null,vl=!1}function Sn(e,t,n,r){t.child=null===e?Ua(t,null,n,r):Fa(t,e.child,n,r)}function xn(e,t,n,r,o){n=n.render;var i=t.ref;return zn(t,o),r=un(e,t,n,r,i,o),null===e||gl?(t.effectTag|=1,Sn(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Dn(e,t,o))}function On(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||jt(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=At(n.type,null,r,null,t.mode,i),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Mn(e,t,a,r,o,i))}return a=e.child,o=n?In(e,t,n):(t=Dn(e,t,n),null!==t?t.sibling:null)}return Dn(e,t,n)}}else gl=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=gt(t,Pa.current);if(zn(t,n),i=un(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,sn(),_t(r)){var a=!0;Ct(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var l=r.getDerivedStateFromProps;"function"==typeof l&&$t(t,r,l,e),i.updater=Da,t.stateNode=i,i._reactInternalFiber=t,Yt(t,r,e,n),t=Nn(null,t,r,!0,a,n)}else t.tag=0,Sn(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=qt(i),t.type=e,i=t.tag=Rt(e),a=Ht(e,a),l=void 0,i){case 0:l=jn(null,t,e,a,n);break;case 1:l=Rn(null,t,e,a,n);break;case 11:l=xn(null,t,e,a,n);break;case 14:l=On(null,t,e,Ht(e.type,a),r,n);break;default:o("306",e,"")}return l;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),jn(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Rn(e,t,r,i,n);case 3:return An(t),r=t.updateQueue,null===r&&o("282"),i=t.memoizedState,i=null!==i?i.element:null,Yn(t,r,t.pendingProps,null,n),r=t.memoizedState.element,r===i?(Cn(),t=Dn(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(yl=yt(t.stateNode.containerInfo),hl=t,i=vl=!0),i?(t.effectTag|=2,t.child=Ua(t,null,r,n)):(Sn(e,t,r,n),Cn()),t=t.child),t;case 5:return rn(t),null===e&&wn(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,l=i.children,pt(r,i)?l=null:null!==a&&pt(r,a)&&(t.effectTag|=16),Pn(e,t),1!==n&&1&t.mode&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Sn(e,t,l,n),t=t.child),t;case 6:return null===e&&wn(t),null;case 13:return In(e,t,n);case 4:return tn(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Fa(t,null,r,n):Sn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),xn(e,t,r,i,n);case 7:return Sn(e,t,t.pendingProps,n),t.child;case 8:case 12:return Sn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value,Fn(t,a),null!==l){var u=l.value;if(0==(a=xe(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===i.children&&!ja.current){t=Dn(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.contextDependencies;if(null!==s){l=u.child;for(var c=s.first;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&(c=Hn(n),c.tag=Sl,$n(u,c)),u.expirationTime=t&&(gl=!0),e.contextDependencies=null}function Bn(e,t){return Tl!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Tl=e,t=1073741823),t={context:e,observedBits:t,next:null},null===wl?(null===El&&o("308"),wl=t,El.contextDependencies={first:t,expirationTime:0}):wl=wl.next=t),e._currentValue}function Vn(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Wn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Hn(e){return{expirationTime:e,tag:kl,payload:null,callback:null,next:null,nextEffect:null}}function qn(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function $n(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Vn(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Vn(e.memoizedState),o=n.updateQueue=Vn(n.memoizedState)):r=e.updateQueue=Wn(o):null===o&&(o=n.updateQueue=Wn(r));null===o||r===o?qn(r,t):null===r.lastUpdate||null===o.lastUpdate?(qn(r,t),qn(o,t)):(qn(r,t),o.lastUpdate=t)}function Qn(e,t){var n=e.updateQueue;n=null===n?e.updateQueue=Vn(e.memoizedState):Kn(e,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Kn(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Wn(t)),t}function Gn(e,t,n,r,o,i){switch(n.tag){case Cl:return e=n.payload,"function"==typeof e?e.call(i,r,o):e;case xl:e.effectTag=-2049&e.effectTag|64;case kl:if(e=n.payload,null===(o="function"==typeof e?e.call(i,r,o):e)||void 0===o)break;return lo({},r,o);case Sl:Ol=!0}return r}function Yn(e,t,n,r,o){Ol=!1,t=Kn(e,t);for(var i=t.baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;cr?i:r),Dl.current=null,r=void 0,1n?t:n,0===t&&(Gl=null),Ar(e,t)}function _r(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){Ul=e;e:{var i=t;t=e;var a=Bl,l=t.pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:_t(t.type)&&Et(t);break;case 3:nn(t),wt(t),l=t.stateNode,l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==i&&null!==i.child||(kn(t),t.effectTag&=-3),Pl(t);break;case 5:on(t);var u=en(Wa.current);if(a=t.type,null!==i&&null!=t.stateNode)jl(i,t,a,l,u),i.ref!==t.ref&&(t.effectTag|=128);else if(l){var s=en(Ba.current);if(kn(t)){l=t,i=l.stateNode;var c=l.type,d=l.memoizedProps,f=u;switch(i[xo]=l,i[Oo]=d,a=void 0,u=c){case"iframe":case"object":De("load",i);break;case"video":case"audio":for(c=0;c<\/script>",c=i.removeChild(i.firstChild)):"string"==typeof i.is?c=c.createElement(f,{is:i.is}):(c=c.createElement(f),"select"===f&&(f=c,i.multiple?f.multiple=!0:i.size&&(f.size=i.size))):c=c.createElementNS(s,f),i=c,i[xo]=d,i[Oo]=l,Ml(i,t,!1,!1),f=i,c=a,d=l;var p=u,m=st(c,d);switch(c){case"iframe":case"object":De("load",f),u=d;break;case"video":case"audio":for(u=0;ul&&(l=i),u>l&&(l=u),a=a.sibling;t.childExpirationTime=l}if(null!==Ul)return Ul;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=h?p=0:(-1===p||h component higher in the tree to provide a loading indicator or placeholder to display."+te(c))}Wl=!0,d=Jn(d,c),u=s;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=l,l=cr(u,d,l),Qn(u,l);break e;case 1:if(p=d,m=u.type,c=u.stateNode,0==(64&u.effectTag)&&("function"==typeof m.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===Gl||!Gl.has(c)))){u.effectTag|=2048,u.expirationTime=l,l=dr(u,p,l),Qn(u,l);break e}}u=u.return}while(null!==u)}Ul=_r(a);continue}i=!0,Hr(t)}}break}if(Fl=!1,Il.current=n,Tl=wl=El=null,sn(),i)zl=null,e.finishedWork=null;else if(null!==Ul)e.finishedWork=null;else{if(n=e.current.alternate,null===n&&o("281"),zl=null,Wl){if(i=e.latestPendingTime,a=e.latestSuspendedTime,l=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Tr(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gl||!Gl.has(r)))return e=Jn(t,e),e=dr(n,e,1073741823),$n(n,e),void Or(n,1073741823);break;case 3:return e=Jn(t,e),e=cr(n,e,1073741823),$n(n,e),void Or(n,1073741823)}n=n.return}3===e.tag&&(n=Jn(t,e),n=cr(e,n,1073741823),$n(e,n),Or(e,1073741823))}function kr(e,t){var n=uo.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(Fl&&!ql)r=Bl;else{switch(n){case uo.unstable_ImmediatePriority:r=1073741823;break;case uo.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case uo.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case uo.unstable_LowPriority:case uo.unstable_IdlePriority:r=1;break;default:o("313")}null!==zl&&r===Bl&&--r}return n===uo.unstable_UserBlockingPriority&&(0===ru||r=r&&(e.didError=!1,t=e.latestPingedTime,(0===t||t>n)&&(e.latestPingedTime=n),Wt(n,e),0!==(n=e.expirationTime)&&Dr(e,n)))}function Sr(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Ir(),t=kr(t,e),null!==(e=xr(e,t))&&(Ut(e,t),0!==(t=e.expirationTime)&&Dr(e,t))}function xr(e,t){e.expirationTimeBl&&pr(),Ut(e,t),Fl&&!ql&&zl===e||Dr(e,e.expirationTime),pu>fu&&(pu=0,o("185")))}function Mr(e,t,n,r,o){return uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){return e(t,n,r,o)})}function Pr(){cu=1073741822-((uo.unstable_now()-su)/10|0)}function jr(e,t){if(0!==Zl){if(te.expirationTime&&(e.expirationTime=t),eu||(au?lu&&(tu=e,nu=1073741823,Vr(e,1073741823,!1)):1073741823===t?zr(1073741823,!1):jr(e,t))}function Lr(){var e=0,t=null;if(null!==Xl)for(var n=Xl,r=Yl;null!==r;){var i=r.expirationTime;if(0===i){if((null===n||null===Xl)&&o("244"),r===r.nextScheduledRoot){Yl=Xl=r.nextScheduledRoot=null;break}if(r===Yl)Yl=i=r.nextScheduledRoot,Xl.nextScheduledRoot=i,r.nextScheduledRoot=null;else{if(r===Xl){Xl=n,Xl.nextScheduledRoot=Yl,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(i>e&&(e=i,t=r),r===Xl)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}tu=t,nu=e}function Fr(){return!!hu||!!uo.unstable_shouldYield()&&(hu=!0)}function Ur(){try{if(!Fr()&&null!==Yl){Pr();var e=Yl;do{var t=e.expirationTime;0!==t&&cu<=t&&(e.nextExpirationTimeToWorkOn=cu),e=e.nextScheduledRoot}while(e!==Yl)}zr(0,!0)}finally{hu=!1}}function zr(e,t){if(Lr(),t)for(Pr(),du=cu;null!==tu&&0!==nu&&e<=nu&&!(hu&&cu>nu);)Vr(tu,nu,cu>nu),Lr(),Pr(),du=cu;else for(;null!==tu&&0!==nu&&e<=nu;)Vr(tu,nu,!1),Lr();if(t&&(Zl=0,Jl=null),0!==nu&&jr(tu,nu),pu=0,mu=null,null!==uu)for(e=uu,uu=null,t=0;t=n&&(null===uu?uu=[r]:uu.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===mu?pu++:(mu=e,pu=0),uo.unstable_runWithPriority(uo.unstable_ImmediatePriority,function(){gr(e,t)})}function Hr(e){null===tu&&o("246"),tu.expirationTime=0,ou||(ou=!0,iu=e)}function qr(e,t){var n=au;au=!0;try{return e(t)}finally{(au=n)||eu||zr(1073741823,!1)}}function $r(e,t){if(au&&!lu){lu=!0;try{return e(t)}finally{lu=!1}}return e(t)}function Qr(e,t,n){au||eu||0===ru||(zr(ru,!1),ru=0);var r=au;au=!0;try{return uo.unstable_runWithPriority(uo.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(au=r)||eu||zr(1073741823,!1)}}function Kr(e,t,n,r,i){var a=t.current;e:if(n){n=n._reactInternalFiber;t:{2===Me(n)&&1===n.tag||o("170");var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(_t(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);o("171"),l=void 0}if(1===n.tag){var u=n.type;if(_t(u)){n=kt(n,u,l);break e}}n=l}else n=Ma;return null===t.context?t.context=n:t.pendingContext=n,t=i,i=Hn(r),i.payload={element:e},t=void 0===t?null:t,null!==t&&(i.callback=t),br(),$n(a,i),Or(a,r),r}function Gr(e,t,n,r){var o=t.current;return o=kr(Ir(),o),Kr(e,t,n,o,r)}function Yr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Xr(e,t,n){var r=3=Ll&&(t=Ll-1),this._expirationTime=Ll=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Jr(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function eo(e,t,n){t=Pt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function to(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function no(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new eo(e,!1,t)}function ro(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Yr(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=no(n,r),"function"==typeof o){var l=o;o=function(){var e=Yr(i._internalRoot);l.call(e)}}$r(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return Yr(i._internalRoot)}function oo(e,t){var n=2=qo),Ko=String.fromCharCode(32),Go={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(" ")}},Yo=!1,Xo=!1,Zo={eventTypes:Go,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Ho)e:{switch(e){case"compositionstart":o=Go.compositionStart;break e;case"compositionend":o=Go.compositionEnd;break e;case"compositionupdate":o=Go.compositionUpdate;break e}o=void 0}else Xo?I(e,n)&&(o=Go.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Go.compositionStart);return o?(Qo&&"ko"!==n.locale&&(Xo||o!==Go.compositionStart?o===Go.compositionEnd&&Xo&&(i=O()):(Fo=r,Uo="value"in Fo?Fo.value:Fo.textContent,Xo=!0)),o=Bo.getPooled(o,t,n,r),i?o.data=i:null!==(i=D(n))&&(o.data=i),C(o),i=o):i=null,(e=$o?L(e,n):F(e,n))?(t=Vo.getPooled(Go.beforeInput,t,n,r),t.data=e,C(t)):t=null,null===i?t:null===t?i:[i,t]}},Jo=null,ei=null,ti=null,ni=!1,ri={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},oi=ao.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oi.hasOwnProperty("ReactCurrentDispatcher")||(oi.ReactCurrentDispatcher={current:null});var ii=/^(.*)[\\\/]/,ai="function"==typeof Symbol&&Symbol.for,li=ai?Symbol.for("react.element"):60103,ui=ai?Symbol.for("react.portal"):60106,si=ai?Symbol.for("react.fragment"):60107,ci=ai?Symbol.for("react.strict_mode"):60108,di=ai?Symbol.for("react.profiler"):60114,fi=ai?Symbol.for("react.provider"):60109,pi=ai?Symbol.for("react.context"):60110,mi=ai?Symbol.for("react.concurrent_mode"):60111,hi=ai?Symbol.for("react.forward_ref"):60112,yi=ai?Symbol.for("react.suspense"):60113,vi=ai?Symbol.for("react.memo"):60115,bi=ai?Symbol.for("react.lazy"):60116,gi="function"==typeof Symbol&&Symbol.iterator,_i=/^[: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]*$/,Ei=Object.prototype.hasOwnProperty,wi={},Ti={},ki={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ki[e]=new ie(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ki[t]=new ie(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ki[e]=new ie(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ki[e]=new ie(e,2,!1,e,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(e){ki[e]=new ie(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ki[e]=new ie(e,3,!0,e,null)}),["capture","download"].forEach(function(e){ki[e]=new ie(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){ki[e]=new ie(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){ki[e]=new ie(e,5,!1,e.toLowerCase(),null)});var Ci=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ci,ae);ki[t]=new ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){ki[e]=new ie(e,1,!1,e.toLowerCase(),null)});var Si={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},xi=null,Oi=null,Mi=!1;Mo&&(Mi=K("input")&&(!document.documentMode||9=document.documentMode,sa={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ca=null,da=null,fa=null,pa=!1,ma={eventTypes:sa,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=ze(i),o=_o.onSelect;for(var a=0;a"+t+"",t=ya.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ba={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},ga=["Webkit","ms","Moz","O"];Object.keys(ba).forEach(function(e){ga.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ba[t]=ba[e]})});var _a=lo({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}),Ea=null,wa=null,Ta="function"==typeof setTimeout?setTimeout:void 0,ka="function"==typeof clearTimeout?clearTimeout:void 0,Ca=uo.unstable_scheduleCallback,Sa=uo.unstable_cancelCallback;new Set;var xa=[],Oa=-1,Ma={},Pa={current:Ma},ja={current:!1},Ra=Ma,Na=null,Aa=null,Ia=(new ao.Component).refs,Da={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Me(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Ir();r=kr(r,e);var o=Hn(r);o.tag=Cl,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),br(),$n(e,o),Or(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ir();n=kr(n,e);var r=Hn(n);r.tag=Sl,void 0!==t&&null!==t&&(r.callback=t),br(),$n(e,r),Or(e,n)}},La=Array.isArray,Fa=Jt(!0),Ua=Jt(!1),za={},Ba={current:za},Va={current:za},Wa={current:za},Ha=0,qa=2,$a=4,Qa=8,Ka=16,Ga=32,Ya=64,Xa=128,Za=oi.ReactCurrentDispatcher,Ja=0,el=null,tl=null,nl=null,rl=null,ol=null,il=null,al=0,ll=null,ul=0,sl=!1,cl=null,dl=0,fl={readContext:Bn,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an},pl={readContext:Bn,useCallback:function(e,t){return cn().memoizedState=[e,void 0===t?null:t],e},useContext:Bn,useEffect:function(e,t){return hn(516,Xa|Ya,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,hn(4,$a|Ga,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hn(4,$a|Ga,e,t)},useMemo:function(e,t){var n=cn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=cn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=gn.bind(null,el,e),[r.memoizedState,e]},useRef:function(e){var t=cn();return e={current:e},t.memoizedState=e},useState:function(e){var t=cn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={last:null,dispatch:null,lastRenderedReducer:fn,lastRenderedState:e},e=e.dispatch=gn.bind(null,el,e),[t.memoizedState,e]},useDebugValue:bn},ml={readContext:Bn,useCallback:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Bn,useEffect:function(e,t){return yn(516,Xa|Ya,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,yn(4,$a|Ga,vn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yn(4,$a|Ga,e,t)},useMemo:function(e,t){var n=dn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ln(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:pn,useRef:function(){return dn().memoizedState},useState:function(e){return pn(fn)},useDebugValue:bn},hl=null,yl=null,vl=!1,bl=oi.ReactCurrentOwner,gl=!1,_l={current:null},El=null,wl=null,Tl=null,kl=0,Cl=1,Sl=2,xl=3,Ol=!1,Ml=void 0,Pl=void 0,jl=void 0,Rl=void 0;Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},jl=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=t.stateNode;switch(en(Ba.current),e=null,n){case"input":i=se(a,i),r=se(a,r),e=[];break;case"option":i=Xe(a,i),r=Xe(a,r),e=[];break;case"select":i=lo({},i,{value:void 0}),r=lo({},r,{value:void 0}),e=[];break;case"textarea":i=Je(a,i),r=Je(a,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(a.onclick=dt)}ut(n,r),a=n=void 0;var l=null;for(n in i)if(!r.hasOwnProperty(n)&&i.hasOwnProperty(n)&&null!=i[n])if("style"===n){var u=i[n];for(a in u)u.hasOwnProperty(a)&&(l||(l={}),l[a]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(go.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var s=r[n];if(u=null!=i?i[n]:void 0,r.hasOwnProperty(n)&&s!==u&&(null!=s||null!=u))if("style"===n)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(l||(l={}),l[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(l||(l={}),l[a]=s[a])}else l||(e||(e=[]),e.push(n,l)),l=s;else"dangerouslySetInnerHTML"===n?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(e=e||[]).push(n,""+s)):"children"===n?u===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(n,""+s):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(go.hasOwnProperty(n)?(null!=s&&ct(o,n),e||u===s||(e=[])):(e=e||[]).push(n,s))}l&&(e=e||[]).push("style",l),o=e,(t.updateQueue=o)&&er(t)}},Rl=function(e,t,n,r){n!==r&&er(t)};var Nl="function"==typeof WeakSet?WeakSet:Set,Al="function"==typeof WeakMap?WeakMap:Map,Il=oi.ReactCurrentDispatcher,Dl=oi.ReactCurrentOwner,Ll=1073741822,Fl=!1,Ul=null,zl=null,Bl=0,Vl=-1,Wl=!1,Hl=null,ql=!1,$l=null,Ql=null,Kl=null,Gl=null,Yl=null,Xl=null,Zl=0,Jl=void 0,eu=!1,tu=null,nu=0,ru=0,ou=!1,iu=null,au=!1,lu=!1,uu=null,su=uo.unstable_now(),cu=1073741822-(su/10|0),du=cu,fu=50,pu=0,mu=null,hu=!1;Jo=function(e,t,n){switch(t){case"input":if(fe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},V=qr,W=Qr,H=function(){eu||0===ru||(zr(ru,!1),ru=0)};var yu={createPortal:oo,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?o("188"):o("268",Object.keys(e))),e=Re(t),e=null===e?null:e.stateNode},hydrate:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!0,n)},render:function(e,t,n){return to(t)||o("200"),ro(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return to(n)||o("200"),(null==e||void 0===e._reactInternalFiber)&&o("38"),ro(e,t,n,!1,r)},unmountComponentAtNode:function(e){return to(e)||o("40"),!!e._reactRootContainer&&($r(function(){ro(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return oo.apply(void 0,arguments)},unstable_batchedUpdates:qr,unstable_interactiveUpdates:Qr,flushSync:function(e,t){eu&&o("187");var n=au;au=!0;try{return Mr(e,t)}finally{au=n,zr(1073741823,!1)}},unstable_createRoot:io,unstable_flushControlled:function(e){var t=au;au=!0;try{Mr(e)}finally{(au=t)||eu||zr(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[v,b,g,Co.injectEventPluginsByName,bo,C,function(e){f(e,k)},z,B,Ue,h]}};!function(e){var t=e.findFiberByHostInstance;Ot(lo({},e,{overrideProps:null,currentDispatcherRef:oi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Re(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:y,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var vu={default:yu},bu=vu&&yu||vu;e.exports=bu.default||bu},"./node_modules/react-dom/index.js":function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n("./node_modules/react-dom/cjs/react-dom.production.min.js")},"./node_modules/react-is/cjs/react-is.production.min.js":function(e,t,n){"use strict";function r(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case p:case m:case u:case c:case s:case y:return e;default:switch(e=e&&e.$$typeof){case f:case h:case d:return e;default:return t}}case b:case v:case l:return t}}}function o(e){return r(e)===m}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,l=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,d=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.async_mode"):60111,m=i?Symbol.for("react.concurrent_mode"):60111,h=i?Symbol.for("react.forward_ref"):60112,y=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116;t.typeOf=r,t.AsyncMode=p,t.ConcurrentMode=m,t.ContextConsumer=f,t.ContextProvider=d,t.Element=a,t.ForwardRef=h,t.Fragment=u,t.Lazy=b,t.Memo=v,t.Portal=l,t.Profiler=c,t.StrictMode=s,t.Suspense=y,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===u||e===m||e===c||e===s||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===d||e.$$typeof===f||e.$$typeof===h)},t.isAsyncMode=function(e){return o(e)||r(e)===p},t.isConcurrentMode=o,t.isContextConsumer=function(e){return r(e)===f},t.isContextProvider=function(e){return r(e)===d},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return r(e)===h},t.isFragment=function(e){return r(e)===u},t.isLazy=function(e){return r(e)===b},t.isMemo=function(e){return r(e)===v},t.isPortal=function(e){return r(e)===l},t.isProfiler=function(e){return r(e)===c},t.isStrictMode=function(e){return r(e)===s},t.isSuspense=function(e){return r(e)===y}},"./node_modules/react-is/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-is/cjs/react-is.production.min.js")},"./node_modules/react-redux/es/components/Context.js":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("./node_modules/react/index.js"),o=n.n(r),i=o.a.createContext(null)},"./node_modules/react-redux/es/components/Provider.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),o=n("./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),i=n("./node_modules/react/index.js"),a=n.n(i),l=n("./node_modules/prop-types/index.js"),u=n.n(l),s=n("./node_modules/react-redux/es/components/Context.js"),c=n("./node_modules/react-redux/es/utils/Subscription.js"),d=function(e){function t(t){var o;o=e.call(this,t)||this;var i=t.store;o.notifySubscribers=o.notifySubscribers.bind(n.i(r.a)(o));var a=new c.a(i);return a.onStateChange=o.notifySubscribers,o.state={store:i,subscription:a},o.previousState=i.getState(),o}n.i(o.a)(t,e);var i=t.prototype;return i.componentDidMount=function(){this._isMounted=!0,this.state.subscription.trySubscribe(),this.previousState!==this.props.store.getState()&&this.state.subscription.notifyNestedSubs()},i.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this.state.subscription.tryUnsubscribe(),this._isMounted=!1},i.componentDidUpdate=function(e){if(this.props.store!==e.store){this.state.subscription.tryUnsubscribe();var t=new c.a(this.props.store);t.onStateChange=this.notifySubscribers,this.setState({store:this.props.store,subscription:t})}},i.notifySubscribers=function(){this.state.subscription.notifyNestedSubs()},i.render=function(){var e=this.props.context||s.a;return a.a.createElement(e.Provider,{value:this.state},this.props.children)},t}(i.Component);d.propTypes={store:u.a.shape({subscribe:u.a.func.isRequired,dispatch:u.a.func.isRequired,getState:u.a.func.isRequired}),context:u.a.object,children:u.a.any},t.a=d},"./node_modules/react-redux/es/components/connectAdvanced.js":function(e,t,n){"use strict";function r(e,t){var n=e[1];return[t.payload,n+1]}function o(e,t){void 0===t&&(t={});var o=t,l=o.getDisplayName,s=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,_=o.methodName,E=void 0===_?"connectAdvanced":_,w=o.renderCountProp,T=void 0===w?void 0:w,k=o.shouldHandleStateChanges,C=void 0===k||k,S=o.storeKey,x=void 0===S?"store":S,O=o.withRef,M=void 0!==O&&O,P=o.forwardRef,j=void 0!==P&&P,R=o.context,N=void 0===R?h.a:R,A=n.i(a.a)(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);c()(void 0===T,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),c()(!M,"withRef is removed. To access the wrapped instance, use a ref on the connected component"),c()("store"===x,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: . You may also pass a {context : MyContext} option to connect");var I=N;return function(t){function o(t){return e(t.dispatch,w)}function l(e){var l=n.i(d.useMemo)(function(){var t=e.forwardedRef,r=n.i(a.a)(e,["forwardedRef"]);return[e.context,t,r]},[e]),u=l[0],s=l[1],h=l[2],E=n.i(d.useMemo)(function(){return u&&u.Consumer&&n.i(p.isContextConsumer)(f.a.createElement(u.Consumer,null))?u:I},[u,I]),w=n.i(d.useContext)(E),T=Boolean(e.store),k=Boolean(w)&&Boolean(w.store);c()(T||k,'Could not find "store" in the context of "'+_+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+_+" in connect options.");var x=e.store||w.store,O=n.i(d.useMemo)(function(){return o(x)},[x]),M=n.i(d.useMemo)(function(){if(!C)return v;var e=new m.a(x,T?null:w.subscription);return[e,e.notifyNestedSubs.bind(e)]},[x,T,w]),P=M[0],j=M[1],R=n.i(d.useMemo)(function(){return T?w:n.i(i.a)({},w,{subscription:P})},[T,w,P]),N=n.i(d.useReducer)(r,y,b),A=N[0],D=A[0],L=N[1];if(D&&D.error)throw D.error;var F=n.i(d.useRef)(),U=n.i(d.useRef)(h),z=n.i(d.useRef)(),B=n.i(d.useRef)(!1),V=S(function(){return z.current&&h===U.current?z.current:O(x.getState(),h)},[x,D,h]);g(function(){U.current=h,F.current=V,B.current=!1,z.current&&(z.current=null,j())}),g(function(){if(C){var e=!1,t=null,n=function(){if(!e){var n,r,o=x.getState();try{n=O(o,U.current)}catch(e){r=e,t=e}r||(t=null),n===F.current?B.current||j():(F.current=n,z.current=n,B.current=!0,L({type:"STORE_UPDATED",payload:{latestStoreState:o,error:r}}))}};return P.onStateChange=n,P.trySubscribe(),n(),function(){if(e=!0,P.tryUnsubscribe(),t)throw t}}},[x,P,O]);var W=n.i(d.useMemo)(function(){return f.a.createElement(t,n.i(i.a)({},V,{ref:s}))},[s,t,V]);return n.i(d.useMemo)(function(){return C?f.a.createElement(E.Provider,{value:R},W):W},[E,W,R])}var h=t.displayName||t.name||"Component",_=s(h),w=n.i(i.a)({},A,{getDisplayName:s,methodName:E,renderCountProp:T,shouldHandleStateChanges:C,storeKey:x,displayName:_,wrappedComponentName:h,WrappedComponent:t}),k=A.pure,S=k?d.useMemo:function(e){return e()},O=k?f.a.memo(l):l;if(O.WrappedComponent=t,O.displayName=_,j){var M=f.a.forwardRef(function(e,t){return f.a.createElement(O,n.i(i.a)({},e,{forwardedRef:t}))});return M.displayName=_,M.WrappedComponent=t,u()(M,t)}return u()(O,t)}}t.a=o;var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),u=n.n(l),s=n("./node_modules/invariant/browser.js"),c=n.n(s),d=n("./node_modules/react/index.js"),f=n.n(d),p=n("./node_modules/react-is/index.js"),m=(n.n(p),n("./node_modules/react-redux/es/utils/Subscription.js")),h=n("./node_modules/react-redux/es/components/Context.js"),y=[],v=[null,null],b=function(){return[null,0]},g="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?d.useLayoutEffect:d.useEffect},"./node_modules/react-redux/es/connect/connect.js":function(e,t,n){"use strict";function r(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function o(e,t){return e===t}var i=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),l=n("./node_modules/react-redux/es/components/connectAdvanced.js"),u=n("./node_modules/react-redux/es/utils/shallowEqual.js"),s=n("./node_modules/react-redux/es/connect/mapDispatchToProps.js"),c=n("./node_modules/react-redux/es/connect/mapStateToProps.js"),d=n("./node_modules/react-redux/es/connect/mergeProps.js"),f=n("./node_modules/react-redux/es/connect/selectorFactory.js");t.a=function(e){var t={},p=t.connectHOC,m=void 0===p?l.a:p,h=t.mapStateToPropsFactories,y=void 0===h?c.a:h,v=t.mapDispatchToPropsFactories,b=void 0===v?s.a:v,g=t.mergePropsFactories,_=void 0===g?d.a:g,E=t.selectorFactory,w=void 0===E?f.a:E;return function(e,t,l,s){void 0===s&&(s={});var c=s,d=c.pure,f=void 0===d||d,p=c.areStatesEqual,h=void 0===p?o:p,v=c.areOwnPropsEqual,g=void 0===v?u.a:v,E=c.areStatePropsEqual,T=void 0===E?u.a:E,k=c.areMergedPropsEqual,C=void 0===k?u.a:k,S=n.i(a.a)(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=r(e,y,"mapStateToProps"),O=r(t,b,"mapDispatchToProps"),M=r(l,_,"mergeProps");return m(w,n.i(i.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:O,initMergeProps:M,pure:f,areStatesEqual:h,areOwnPropsEqual:g,areStatePropsEqual:T,areMergedPropsEqual:C},S))}}()},"./node_modules/react-redux/es/connect/mapDispatchToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(l.a)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:n.i(l.b)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?n.i(l.b)(function(t){return n.i(a.bindActionCreators)(e,t)}):void 0}var a=n("./node_modules/redux/es/redux.js"),l=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o,i]},"./node_modules/react-redux/es/connect/mapStateToProps.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(i.a)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:n.i(i.b)(function(){return{}})}var i=n("./node_modules/react-redux/es/connect/wrapMapToProps.js");t.a=[r,o]},"./node_modules/react-redux/es/connect/mergeProps.js":function(e,t,n){"use strict";function r(e,t,r){return n.i(l.a)({},r,e,t)}function o(e){return function(t,n){var r,o=(n.displayName,n.pure),i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var u=e(t,n,l);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}function i(e){return"function"==typeof e?o(e):void 0}function a(e){return e?void 0:function(){return r}}var l=n("./node_modules/@babel/runtime/helpers/esm/extends.js");n("./node_modules/react-redux/es/utils/verifyPlainObject.js"),t.a=[i,a]},"./node_modules/react-redux/es/connect/selectorFactory.js":function(e,t,n){"use strict";function r(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function o(e,t,n,r,o){function i(o,i){return c=o,d=i,f=e(c,d),p=t(r,d),m=n(f,p,d),b=!0,m}function a(){return f=e(c,d),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function l(){return e.dependsOnOwnProps&&(f=e(c,d)),t.dependsOnOwnProps&&(p=t(r,d)),m=n(f,p,d)}function u(){var t=e(c,d),r=!v(t,f);return f=t,r&&(m=n(f,p,d)),m}function s(e,t){var n=!y(t,d),r=!h(e,c);return c=e,d=t,n&&r?a():n?l():r?u():m}var c,d,f,p,m,h=o.areStatesEqual,y=o.areOwnPropsEqual,v=o.areStatePropsEqual,b=!1;return function(e,t){return b?s(e,t):i(e,t)}}function i(e,t){var i=t.initMapStateToProps,l=t.initMapDispatchToProps,u=t.initMergeProps,s=n.i(a.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=i(e,s),d=l(e,s),f=u(e,s);return(s.pure?o:r)(c,d,f,e,s)}t.a=i;var a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");n("./node_modules/react-redux/es/connect/verifySubselectors.js")},"./node_modules/react-redux/es/connect/verifySubselectors.js":function(e,t,n){"use strict";n("./node_modules/react-redux/es/utils/warning.js")},"./node_modules/react-redux/es/connect/wrapMapToProps.js":function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}t.b=r,t.a=i,n("./node_modules/react-redux/es/utils/verifyPlainObject.js")},"./node_modules/react-redux/es/hooks/useDispatch.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().dispatch}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useStore.js")},"./node_modules/react-redux/es/hooks/useReduxContext.js":function(e,t,n){"use strict";function r(){var e=n.i(o.useContext)(l.a);return a()(e,"could not find react-redux context value; please ensure the component is wrapped in a "),e}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/components/Context.js")},"./node_modules/react-redux/es/hooks/useSelector.js":function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=c),a()(e,"You must pass a selector to useSelectors");var r,i=n.i(l.a)(),d=i.store,f=i.subscription,p=n.i(o.useReducer)(function(e){return e+1},0),m=p[1],h=n.i(o.useMemo)(function(){return new u.a(d,f)},[d,f]),y=n.i(o.useRef)(),v=n.i(o.useRef)(),b=n.i(o.useRef)();try{r=e!==v.current||y.current?e(d.getState()):b.current}catch(e){var g="An error occured while selecting the store state: "+e.message+".";throw y.current&&(g+="\nThe error may be correlated with this previous error:\n"+y.current.stack+"\n\nOriginal stack trace:"),new Error(g)}return s(function(){v.current=e,b.current=r,y.current=void 0}),s(function(){function e(){try{var e=v.current(d.getState());if(t(e,b.current))return;b.current=e}catch(e){y.current=e}m({})}return h.onStateChange=e,h.trySubscribe(),e(),function(){return h.tryUnsubscribe()}},[d,h]),r}t.a=r;var o=n("./node_modules/react/index.js"),i=(n.n(o),n("./node_modules/invariant/browser.js")),a=n.n(i),l=n("./node_modules/react-redux/es/hooks/useReduxContext.js"),u=n("./node_modules/react-redux/es/utils/Subscription.js"),s="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,c=function(e,t){return e===t}},"./node_modules/react-redux/es/hooks/useStore.js":function(e,t,n){"use strict";function r(){return n.i(o.a)().store}t.a=r;var o=n("./node_modules/react-redux/es/hooks/useReduxContext.js")},"./node_modules/react-redux/es/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react-redux/es/components/Provider.js"),o=n("./node_modules/react-redux/es/components/connectAdvanced.js"),i=n("./node_modules/react-redux/es/components/Context.js"),a=n("./node_modules/react-redux/es/connect/connect.js"),l=n("./node_modules/react-redux/es/hooks/useDispatch.js"),u=n("./node_modules/react-redux/es/hooks/useSelector.js"),s=n("./node_modules/react-redux/es/hooks/useStore.js"),c=n("./node_modules/react-redux/es/utils/batch.js"),d=n("./node_modules/react-redux/es/utils/reactBatchedUpdates.js"),f=n("./node_modules/react-redux/es/utils/shallowEqual.js");n.d(t,"Provider",function(){return r.a}),n.d(t,"connectAdvanced",function(){return o.a}),n.d(t,"ReactReduxContext",function(){return i.a}),n.d(t,"connect",function(){return a.a}),n.d(t,"batch",function(){return d.a}),n.d(t,"useDispatch",function(){return l.a}),n.d(t,"useSelector",function(){return u.a}),n.d(t,"useStore",function(){return s.a}),n.d(t,"shallowEqual",function(){return f.a}),n.i(c.a)(d.a)},"./node_modules/react-redux/es/utils/Subscription.js":function(e,t,n){"use strict";function r(){var e=n.i(o.b)(),t=[],r=[];return{clear:function(){r=i,t=i},notify:function(){var n=t=r;e(function(){for(var e=0;eH.length&&H.push(e)}function m(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case k:a=!0}}if(a)return n(r,e,""===t?"."+y(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l=t){r=e;break}e=e.next}while(e!==s);null===r?r=s:r===s&&(s=a,n()),t=r.previous,t.next=r.previous=a,a.next=r,a.previous=t}}function o(){if(-1===f&&null!==s&&1===s.priorityLevel){m=!0;try{do{r()}while(null!==s&&1===s.priorityLevel)}finally{m=!1,null!==s?n():h=!1}}}function i(e){m=!0;var i=c;c=e;try{if(e)for(;null!==s;){var a=t.unstable_now();if(!(s.expirationTime<=a))break;do{r()}while(null!==s&&s.expirationTime<=a)}else if(null!==s)do{r()}while(null!==s&&!k())}finally{m=!1,c=i,null!==s?n():h=!1,o()}}function a(e){l=g(function(t){b(u),e(t)}),u=v(function(){_(l),e(t.unstable_now())},100)}Object.defineProperty(t,"__esModule",{value:!0});var l,u,s=null,c=!1,d=3,f=-1,p=-1,m=!1,h=!1,y=Date,v="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,_="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;if("object"==typeof performance&&"function"==typeof performance.now){var E=performance;t.unstable_now=function(){return E.now()}}else t.unstable_now=function(){return y.now()};var w,T,k,C=null;if("undefined"!=typeof window?C=window:void 0!==e&&(C=e),C&&C._schedMock){var S=C._schedMock;w=S[0],T=S[1],k=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var x=null,O=function(e){if(null!==x)try{x(e)}finally{x=null}};w=function(e){null!==x?setTimeout(w,0,e):(x=e,setTimeout(O,0,!1))},T=function(){x=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof _&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,P=!1,j=-1,R=!1,N=!1,A=0,I=33,D=33;k=function(){return A<=t.unstable_now()};var L=new MessageChannel,F=L.port2;L.port1.onmessage=function(){P=!1;var e=M,n=j;M=null,j=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return R||(R=!0,a(U)),M=e,void(j=n);o=!0}if(null!==e){N=!0;try{e(o)}finally{N=!1}}};var U=function(e){if(null!==M){a(U);var t=e-A+D;tt&&(t=8),D=tt?F.postMessage(void 0):R||(R=!0,a(U))},T=function(){M=null,P=!1,j=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=d,i=f;d=e,f=t.unstable_now();try{return n()}finally{d=r,f=i,o()}},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var n=3;break;default:n=d}var r=d,i=f;d=n,f=t.unstable_now();try{return e()}finally{d=r,f=i,o()}},t.unstable_scheduleCallback=function(e,r){var o=-1!==f?f:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=o+r.timeout;else switch(d){case 1:r=o+-1;break;case 2:r=o+250;break;case 5:r=o+1073741823;break;case 4:r=o+1e4;break;default:r=o+5e3}if(e={callback:e,priorityLevel:d,expirationTime:r,next:null,previous:null},null===s)s=e.next=e.previous=e,n();else{o=null;var i=s;do{if(i.expirationTime>r){o=i;break}i=i.next}while(i!==s);null===o?o=s:o===s&&(s=e,n()),r=o.previous,r.next=o.previous=e,e.next=o,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)s=null;else{e===s&&(s=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=d;return function(){var r=d,i=f;d=n,f=t.unstable_now();try{return e.apply(this,arguments)}finally{d=r,f=i,o()}}},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_shouldYield=function(){return!c&&(null!==s&&s.expirationTime