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OAAO,EAAI0G,EAAepE,gBAAgB8F,OAAOlI,SACnD,EAEmBX,EAAQU,aAAe,SAAsBC,GAE9D,OADAkI,OAAOlI,SAAS+qB,MAAO,EAAI9pB,EAAWkB,YAAYnC,IAC3C,CACT,EAEsBX,EAAQY,gBAAkB,SAAyBD,GAEvE,OADAkI,OAAOlI,SAASkC,SAAQ,EAAIjB,EAAWkB,YAAYnC,KAC5C,CACT,yBCuBA2C,EAAOtD,QAzCO,WAAY,+BChB1B,IAEIkuJ,EAAuBtvJ,EAFD,EAAQ,OAM9BqL,EAAoBrL,EAFD,EAAQ,OAI/B,SAASA,EAAuBI,GAAO,OAAOA,GAAOA,EAAIC,WAAaD,EAAM,CAAEG,QAASH,EAAO,CAE9FsE,EAAOtD,QAAU,CACfoS,gBAAiBnI,EAAkB9K,QACnCsL,mBAAoByjJ,EAAqB/uJ,sCCXzCmE,EAAOtD,QAAU,EAAjB","sources":["webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/createHashHistory.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/useBasename.js","webpack://quilter-puma/./node_modules/invariant/browser.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/LocationUtils.js","webpack://quilter-puma/./node_modules/react-transition-group/utils/PropTypes.js","webpack://quilter-puma/./node_modules/dom-helpers/class/hasClass.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/createMemoryHistory.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/PathUtils.js","webpack://quilter-puma/./node_modules/dom-helpers/class/removeClass.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/BrowserProtocol.js","webpack://quilter-puma/./node_modules/react-dom/index.js","webpack://quilter-puma/./node_modules/react-router/node_modules/warning/browser.js","webpack://quilter-puma/./node_modules/react-transition-group/CSSTransitionGroup.js","webpack://quilter-puma/./node_modules/create-react-class/factory.js","webpack://quilter-puma/./node_modules/dom-helpers/util/inDOM.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/AsyncUtils.js","webpack://quilter-puma/./node_modules/create-react-class/index.js","webpack://quilter-puma/./node_modules/react-transition-group/TransitionGroup.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/Actions.js","webpack://quilter-puma/./node_modules/react-dom/cjs/react-dom.production.min.js","webpack://quilter-puma/./node_modules/prop-types/factoryWithThrowingShims.js","webpack://quilter-puma/./node_modules/react-is/cjs/react-is.production.min.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/HashProtocol.js","webpack://quilter-puma/./node_modules/react-transition-group/utils/ChildMapping.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/DOMUtils.js","webpack://quilter-puma/./node_modules/dom-helpers/class/addClass.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/createBrowserHistory.js","webpack://quilter-puma/./react-core/Flux/Navigation/NavigationActionType.ts","webpack://quilter-puma/./react-core/Utils/ObjectComparer.ts","webpack://quilter-puma/./react-core/Utils/Assert.ts","webpack://quilter-puma/./react-core/Flux/EventPublisher.ts","webpack://quilter-puma/./react-core/Flux/BaseStore.ts","webpack://quilter-puma/./react-core/Routing/RouteHelper.ts","webpack://quilter-puma/./react-core/Routing/UrlHelper.ts","webpack://quilter-puma/./react-core/Routing/RouteFragment.ts","webpack://quilter-puma/./react-core/Flux/Dispatcher.ts","webpack://quilter-puma/./react-core/Flux/Actions.ts","webpack://quilter-puma/./node_modules/react-router/es/PatternUtils.js","webpack://quilter-puma/./node_modules/react-router/es/computeChangedRoutes.js","webpack://quilter-puma/./node_modules/react-router/es/AsyncUtils.js","webpack://quilter-puma/./node_modules/react-router/es/TransitionUtils.js","webpack://quilter-puma/./node_modules/react-router/es/isActive.js","webpack://quilter-puma/./node_modules/react-router/es/PromiseUtils.js","webpack://quilter-puma/./node_modules/react-router/es/getComponents.js","webpack://quilter-puma/./node_modules/react-router/es/RouteUtils.js","webpack://quilter-puma/./node_modules/react-router/es/matchRoutes.js","webpack://quilter-puma/./node_modules/react-router/es/createTransitionManager.js","webpack://quilter-puma/./node_modules/react-router/es/InternalPropTypes.js","webpack://quilter-puma/./node_modules/react-router/es/getRouteParams.js","webpack://quilter-puma/./node_modules/react-router/es/ContextUtils.js","webpack://quilter-puma/./node_modules/react-router/es/RouterContext.js","webpack://quilter-puma/./node_modules/react-router/es/RouterUtils.js","webpack://quilter-puma/./node_modules/react-router/es/Router.js","webpack://quilter-puma/./node_modules/react-router/es/PropTypes.js","webpack://quilter-puma/./node_modules/react-router/es/Link.js","webpack://quilter-puma/./node_modules/react-router/es/IndexLink.js","webpack://quilter-puma/./node_modules/react-router/es/withRouter.js","webpack://quilter-puma/./node_modules/react-router/es/Redirect.js","webpack://quilter-puma/./node_modules/react-router/es/IndexRedirect.js","webpack://quilter-puma/./node_modules/react-router/es/IndexRoute.js","webpack://quilter-puma/./node_modules/react-router/es/Route.js","webpack://quilter-puma/./node_modules/react-router/es/match.js","webpack://quilter-puma/./node_modules/react-router/es/applyRouterMiddleware.js","webpack://quilter-puma/./node_modules/react-router/es/createRouterHistory.js","webpack://quilter-puma/./node_modules/react-router/es/useRouterHistory.js","webpack://quilter-puma/./node_modules/react-router/es/browserHistory.js","webpack://quilter-puma/./node_modules/react-router/es/hashHistory.js","webpack://quilter-puma/./react-core/Flux/Variables.ts","webpack://quilter-puma/./react-core/Async/IPromiseResult.ts","webpack://quilter-puma/./react-core/Async/Promise.ts","webpack://quilter-puma/./react-core/Flux/ActionType.ts","webpack://quilter-puma/./react-core/Flux/ResponseState.ts","webpack://quilter-puma/./react-core/Flux/Routes/RoutingActionsStatic.ts","webpack://quilter-puma/./react-core/Flux/Navigation/NavigationActionsStatic.ts","webpack://quilter-puma/./react-core/Flux/Navigation/NavigationStoreStatic.ts","webpack://quilter-puma/./react-core/Flux/Context/ContextStoreStatic.ts","webpack://quilter-puma/./react-core/Utils/RoutesHelper.ts","webpack://quilter-puma/./react-core/Utils/FnzWebPageContext.ts","webpack://quilter-puma/./react-core/Utils/Antiforgery.ts","webpack://quilter-puma/./react-core/Async/AjaxWrapper.ts","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserLatestOnlineTermsAcceptance.ts","webpack://quilter-puma/./src/apps/TermsAndConditions/ActionsCreators/CurrentPumaUserLatestOnlineTermsAcceptanceActionsCreator.ts","webpack://quilter-puma/./react-core/Flux/BaseApiStore.ts","webpack://quilter-puma/./react-core/Flux/PayloadStore.ts","webpack://quilter-puma/./src/apps/TermsAndConditions/Stores/CurrentPumaUserEncryptedLatestOnlineTermsStore.ts","webpack://quilter-puma/./src/Puma/Api/StaticDocuments/EncryptedStaticDocument.ts","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserEncryptedLatestOnlineTerms.ts","webpack://quilter-puma/./src/apps/TermsAndConditions/ActionsCreators/CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator.ts","webpack://quilter-puma/./src/apps/TermsAndConditions/Stores/CurrentPumaUserTypeStore.ts","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserType.ts","webpack://quilter-puma/./src/apps/TermsAndConditions/ActionsCreators/CurrentPumaUserTypeActionsCreator.ts","webpack://quilter-puma/./react-core/Html/Button.tsx","webpack://quilter-puma/./src/Wrap/Constants/Enums/Domain/CountryCode.ts","webpack://quilter-puma/./react-core/Utils/Guid.ts","webpack://quilter-puma/./react-core/Html/Validation/RegExPatterns.ts","webpack://quilter-puma/./react-core/Html/Validation/RawValueRules.ts","webpack://quilter-puma/./react-core/Enums/Position.ts","webpack://quilter-puma/./react-core/Html/LabelPosition.ts","webpack://quilter-puma/./react-core/Utils/Arrays.ts","webpack://quilter-puma/./react-core/Html/Validation/Validator.ts","webpack://quilter-puma/./react-core/Utils/Objects.ts","webpack://quilter-puma/./react-core/Html/BaseComponent.tsx","webpack://quilter-puma/./react-core/Html/BaseFormElement.tsx","webpack://quilter-puma/./react-core/Html/Checkbox.tsx","webpack://quilter-puma/./react-core/Html/ValidationErrorsContainer.tsx","webpack://quilter-puma/./react-core/Html/Components/TooltipContent.tsx","webpack://quilter-puma/./react-core/Html/Components/Portal.tsx","webpack://quilter-puma/./react-core/Html/Div.tsx","webpack://quilter-puma/./react-core/Utils/OnClickOutside.ts","webpack://quilter-puma/./react-core/Html/Components/OverlayTrigger.tsx","webpack://quilter-puma/./react-core/Html/Components/Tooltip.tsx","webpack://quilter-puma/./react-core/Html/BaseEditor.tsx","webpack://quilter-puma/./react-core/Html/CheckboxEditor.tsx","webpack://quilter-puma/./react-core/Utils/JsonDateParser.ts","webpack://quilter-puma/./src/apps/TermsAndConditions/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Common/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Shared/Footers/CustomerSiteFooter.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Shared/Footers/AdviserSiteFooter.tsx","webpack://quilter-puma/./src/Puma/Site/Models/Common/PumaUserType.ts","webpack://quilter-puma/./src/apps/Shared/CMS/CMSActionStore.ts","webpack://quilter-puma/./src/apps/Shared/CMS/Content.ts","webpack://quilter-puma/./src/Puma/Api/HelpCenter/CMS.ts","webpack://quilter-puma/./src/apps/Shared/CMS/LoadCMSActionCreators.ts","webpack://quilter-puma/./src/apps/Shared/Common/Stores/HelpCenterContactDetailsStore.ts","webpack://quilter-puma/./src/Puma/Api/HelpCenter/HelpCenterContactDetails.ts","webpack://quilter-puma/./src/apps/Shared/Common/ActionsCreators/HelpCenterContactDetailsActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/User/getUserType.ts","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Public/Headers/PublicHeader.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Public/PublicLayout.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Public/PublicSiteLayout.tsx","webpack://quilter-puma/./src/apps/TermsAndConditions/Components/TermsAndConditionsUI.tsx","webpack://quilter-puma/./react-core/Utils/Scroll.ts","webpack://quilter-puma/./react-core/Html/FormComponent.tsx","webpack://quilter-puma/./src/apps/TermsAndConditions/Components/TermsAndConditions.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/PageTitle/PageTitleUpdateComponent.tsx","webpack://quilter-puma/./src/apps/TermsAndConditions/App.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Resources/Content.ts","webpack://quilter-puma/./src/apps/PasswordReset/Components/InvalidTokenWizardSection.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Components/SuccessWizardSection.tsx","webpack://quilter-puma/./react-core/Core/BaseApiErrorDictionary.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Credentials/PumaUserPasswordResetErrors.ts","webpack://quilter-puma/./src/apps/PasswordReset/Entities/ErrorsDictionaries/PumaUserPasswordResetErrorsDictionary.ts","webpack://quilter-puma/./react-core/Utils/ApiValidationErrorsMapper.ts","webpack://quilter-puma/./src/Puma/Api/Credentials/PumaUserPasswordReset.ts","webpack://quilter-puma/./src/apps/PasswordReset/ActionsCreators/PumaUserPasswordResetActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Password/Resources/Content.ts","webpack://quilter-puma/./react-core/Utils/Strings.ts","webpack://quilter-puma/./react-core/Html/Password.tsx","webpack://quilter-puma/./react-core/Html/BaseTextBoxEditor.tsx","webpack://quilter-puma/./react-core/Html/PasswordEditor.tsx","webpack://quilter-puma/./src/apps/Shared/Password/Entities/PasswordValidationRulesProvider.ts","webpack://quilter-puma/./src/apps/Shared/Password/Components/PasswordCreation.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Shared/HelpSections/HelpSection.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Shared/HelpSections/CustomerHelpSection.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Shared/HelpSections/AdviserHelpSection.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Entities/WizardStepStatus.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Entities/WizardStepDetailsVisibilityMode.ts","webpack://quilter-puma/./react-core/Anim/AnimToggle.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/DetailedSideWizardStepUI.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/DetailedSideWizardStepperUI.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/TopWizardStepUI.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/TopWizardStepperUI.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Entities/WizardStepper/PasswordResetWizardStepperId.ts","webpack://quilter-puma/./react-core/Html/Form.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/WizardStepperContainerHelper.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Stores/ContainersWizardStepsStore.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/ActionsCreators/ContainersWizardStepsActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Entities/DefaultValues.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Stores/WizardStepDefinitionsStore.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/WizardStepperContainer.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/Navigation/WizardSectionBottomNavigation.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Components/Navigation/WizardSectionSideNavigation.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/OMW/Components/WizardSectionLayout.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Components/WizardSectionLayout.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Entities/WizardStepper/PasswordResetWizardStepType.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Credentials/PumaConfirmationTokenVerificationErrors.ts","webpack://quilter-puma/./src/Puma/Site/Models/Security/AuthenticationMethod.ts","webpack://quilter-puma/./src/Puma/Site/Models/Security/PumaVerificationResultStatus.ts","webpack://quilter-puma/./src/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction.ts","webpack://quilter-puma/./src/apps/PasswordReset/Components/PasswordResetWizardSection.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Shared/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Shared/Entities/ErrorsDictionaries/PumaConfirmationTokenVerificationErrorsDictionary.ts","webpack://quilter-puma/./src/apps/Shared/UserDetails/Resources/Content.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaConfirmationTokenVerification.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/TransitionSecurityQuestion/Stores/PumaTransitionSecurityQuestionConfirmationTokenStore.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaCurrentUserTransitionSecurityQuestionConfirmationTokenRequests.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaUserTransitionSecurityQuestionConfirmationTokenRequests.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/TransitionSecurityQuestion/ActionsCreators/PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.ts","webpack://quilter-puma/./react-core/Html/Validation/TypedValueValidator.ts","webpack://quilter-puma/./react-core/Html/BaseTextBox.tsx","webpack://quilter-puma/./react-core/Html/TextBox.tsx","webpack://quilter-puma/./react-core/Html/TextBoxEditor.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/TransitionSecurityQuestion/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/TransitionSecurityQuestion/Components/TransitionSecurityQuestionAuthenticationUI.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/TransitionSecurityQuestion/Components/TransitionSecurityQuestionAuthentication.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Resources/Content.ts","webpack://quilter-puma/./src/Puma/Site/Models/Onboarding/Customer/ValidationErrors/PumaUserSmsConfirmationTokenRequestsErrors.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Entities/ErrorsDictionaries/PumaUserSmsConfirmationTokenRequestsErrorsDictionary.ts","webpack://quilter-puma/./react-core/Flux/InstructionStore.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Stores/EncryptedPumaSmsConfirmationTokenStore.ts","webpack://quilter-puma/./src/Puma/Api/Security/EncryptedPumaUserSmsConfirmationTokenRequests.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/ActionsCreators/EncryptedPumaSmsConfirmationTokenActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Components/ResendConfirmation.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Components/SmsAuthenticationResendUI.tsx","webpack://quilter-puma/./react-core/Html/Components/Lightbox.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Components/SmsAuthenticationUI.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Components/SmsAuthenticationBase.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Entities/PhoneNumbers/EncryptedPhoneNumberExtensions.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Components/SmsAuthentication.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/SecurityQuestion/Stores/PumaSecurityQuestionConfirmationTokenStore.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaUserSecurityQuestionConfirmationTokenRequests.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/SecurityQuestion/ActionsCreators/PumaSecurityQuestionConfirmationTokenActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/SecurityQuestion/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/SecurityQuestion/Components/SecurityQuestionAuthenticationUI.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/SecurityQuestion/Components/SecurityQuestionAuthentication.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Password/Stores/PumaPasswordConfirmationTokenStore.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaCurrentUserPasswordConfirmationTokenRequests.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Password/ActionsCreators/PumaPasswordConfirmationTokenActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Password/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Password/Components/PasswordAuthenticationUI.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Password/Components/PasswordAuthentication.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Combined/Resources/Content.ts","webpack://quilter-puma/./react-core/Html/RadioPanelWithSubItemsEditor.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Combined/Components/AuthenticationMethodPicker.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Shared/Entities/AvailableOptions/AllAuthenticationMethodOptions.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Combined/Components/UserSelectableAuthentication.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Stores/AntiPhishingDataStore.ts","webpack://quilter-puma/./src/Puma/Api/StaticDocuments/RandomAntiPhishingImageEncryptedStaticDocument.ts","webpack://quilter-puma/./src/Puma/Api/Security/RandomPumaAntiPhishingPhrase.ts","webpack://quilter-puma/./react-core/Async/LazyAsyncronousFunction.ts","webpack://quilter-puma/./react-core/Async/PromisesGroup.ts","webpack://quilter-puma/./src/Puma/Api/PumaLogin/PumaLoginAntiPhishing.ts","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/ActionsCreators/AntiPhishingDataActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingPhrase.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingImage.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingUI.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishing.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Components/AuthenticationWizardSection.tsx","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Entities/Navigation/WizardNavigator.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/ActionsCreators/WizardStepDefinitionsActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Entities/Navigation/Navigator.ts","webpack://quilter-puma/./src/apps/PasswordReset/Entities/WizardStepper/WizardStepsProvider.ts","webpack://quilter-puma/./src/Puma/Site/Models/Security/EmailTokens/PumaEmailTokenType.ts","webpack://quilter-puma/./src/apps/PasswordReset/Stores/PumaEmailTokenVerificationStore.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaEmailTokenVerification.ts","webpack://quilter-puma/./src/apps/PasswordReset/ActionsCreators/PumaEmailTokenVerificationActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Public/PublicWizardSiteLayout.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Components/Wizard.tsx","webpack://quilter-puma/./src/apps/PasswordReset/App.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Urls.tsx","webpack://quilter-puma/./react-core/Routing/Router.tsx","webpack://quilter-puma/./src/apps/PasswordReset/Router.tsx","webpack://quilter-puma/./src/Wrap/Validation/Errors/Security/AntiPhishing/PumaUserLoginAntiPhishingAmendmentErrors.ts","webpack://quilter-puma/./src/apps/Shared/UserDetails/Entities/ErrorDictionaries/PumaUserLoginAntiPhishingAmendmentErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaWarmRegistrationSecurityCodeState.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaWarmRegistrationSecurityCodeStateActionsCreator.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaUserAntiPhishingAmendment.ts","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingPhrasePicker.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingPhrasePickerLightbox.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Stores/PumaAntiPhishingImagesStore.ts","webpack://quilter-puma/./src/Puma/Api/StaticDocuments/RandomAntiPhishingImageEncryptedStaticDocuments.ts","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/ActionsCreators/PumaAntiPhishingImagesActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingImagePicker.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingImagePickerLightbox.tsx","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AnonymousAntiPhishing.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Resources/Content.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/WizardStepper/CustomerRegistrationWizardStepperId.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/WizardSectionLayout.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/WizardStepper/CustomerRegistrationWizardStepType.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/WizardStepper/WarmExtraSecurityStep.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/WarmExtraSecurityWizardSection.tsx","webpack://quilter-puma/./src/Puma/Api/Customer/CustomerPumaUsernameAvailabilityChecks.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/CustomerPumaUsernameAvailabilityChecksActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/Credentials/PasswordPIcker.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/Credentials/UserNamePicker.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/WarmCredentialsWizardSection.tsx","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaHotRegistrationCodeRequest.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaWarmRegistrationUserCreation.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaWarmRegistrationCustomerUserCreationActionsCreator.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaCustomerUserEmailExists.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaCustomerUserEmailExistsActionsCreator.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaWarmRegistrationUpdatePhoneNumber.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaWarmRegistrationUserPhoneNumberConfirmation.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaUserEmailConfirmationTokenRequests.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaWarmRegistrationUserEmailConfirmation.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaWarmRegistrationVerificationActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Common/Stores/CountryCodeAvailableOptionsStore.ts","webpack://quilter-puma/./src/Puma/Api/Address/CountryCodeAvailableOptions.ts","webpack://quilter-puma/./src/apps/Shared/Common/ActionsCreators/CountryCodeAvailableOptionsActionsCreator.ts","webpack://quilter-puma/./react-core/Html/BaseListInput.tsx","webpack://quilter-puma/./react-core/Html/Select.tsx","webpack://quilter-puma/./react-core/Html/Factories/SelectFactory.tsx","webpack://quilter-puma/./react-core/Html/SelectEditor.tsx","webpack://quilter-puma/./react-core/Html/Factories/SelectEditorFactory.tsx","webpack://quilter-puma/./react-core/Core/BaseDictionary.ts","webpack://quilter-puma/./react-core/Enums/Dictionaries/CountryCodeDictionary.ts","webpack://quilter-puma/./src/apps/Shared/Common/Entities/PhoneNumbers/InternationalDialingCodesAvailableOptionsFactory.ts","webpack://quilter-puma/./src/apps/Shared/Common/Components/PhoneNumbers/InternationalDialingCodePicker.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Stores/InternationalDialingCodesStore.ts","webpack://quilter-puma/./src/Puma/Api/Common/InternationalDialingCodes.ts","webpack://quilter-puma/./src/apps/Shared/Common/ActionsCreators/InternationalDialingCodesActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/Verifications/Phone.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/WizardStepper/WizardStepsProvider.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/Verifications/Code.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/Verifications/Email.tsx","webpack://quilter-puma/./react-core/Helpers/IntervalManager.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/WizardStepper/VerificiationStep.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/WarmVerificationWizardSection.tsx","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaWarmRegistrationSecurityCodeVerification.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaWarmRegistrationSecurityCodeVerificationActionsCreator.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/SecurityCode/SecurityCodeInput.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/WizardStepper/SecurityCodeStep.ts","webpack://quilter-puma/./src/apps/Shared/CMS/CMSHelper.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaCustomerUserAccountMatch.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaCustomerUserAccountMatchActionsCreator.ts","webpack://quilter-puma/./src/Puma/Site/Models/Onboarding/Customer/PumaCustomerUserRegistrationType.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Onboarding/Customer/PumaCustomerUserAccountMatchErrors.ts","webpack://quilter-puma/./src/Wrap/Constants/Enums/ActivationEmailVerification/PumaUserActivationEmailVerificationStatus.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/ErrorDictionaries/PumaCustomerUserAccountMatchErrorsDictionary.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/WarmSecurityCodeWizardSection.tsx","webpack://quilter-puma/./react-core/Html/Radios.tsx","webpack://quilter-puma/./react-core/Html/Factories/RadiosFactory.tsx","webpack://quilter-puma/./react-core/Html/RadiosEditor.tsx","webpack://quilter-puma/./react-core/Html/Factories/RadiosEditorFactory.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/WarmOrColdWizardSection.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/NearlyThere/NearlyThere.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/SuccessWizardSection.tsx","webpack://quilter-puma/./src/Wrap/Validation/Errors/Onboarding/Customer/PumaCustomerUserCreationCompletionErrors.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/ErrorDictionaries/PumaCustomerUserCreationCompletionErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaCustomerUserCreationCompletion.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaCustomerUserCreationCompletionActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/ErrorDictionaries/PumaConfirmationTokenVerificationErrorsDictionary.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Sms/Entities/ErrorsDictionaries/InitialPumaUserSmsConfirmationTokenRequestsErrorsDictionary.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Stores/AntiPhishingImageDocumentStore.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/AntiPhishingImageDocumentActionsCreator.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaUserActivationEmailRecycling.ts","webpack://quilter-puma/./src/apps/Shared/Common/ActionsCreators/PumaUserActivationEmailRecyclingActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Common/Components/ActivationEmail/ExpiredActivationToken.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/AccountActivation/RegistrationAlreadyCompleted.tsx","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaCustomerUserActivationSmsResendRequest.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaCustomerUserActivationSmsResendRequestActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/AccountActivation/PhoneNumberVerification.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/AccountActivation/FinishedEmailVerification.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/AccountActivation/PendingEmailVerification.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/RegistrationProgress.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Onboarding/Customer/PumaCustomerUserCreationErrors.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/AccountActivationWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/ErrorDictionaries/PumaCustomerUserCreationErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/EncryptedPumaCustomerUserCreation.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/EncryptedPumaCustomerUserCreationActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/Mappers/EncryptedPumaCustomerUserCreationDataMapper.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/AntiPhishingWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/CredentialsWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/IdentityVerification/UkDrivingLicencePicker.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/IdentityVerification/UkPassportPicker.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/IdentityVerification/IdentityVerificationDocumentImage.tsx","webpack://quilter-puma/./src/Wrap/Constants/Enums/IdentityVerification/PumaIdentityVerificationDocumentType.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/IdentityVerification/IdentityVerificationDocumentTypePicker.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Entities/AvailableOptions/PumaIdentityVerificationDocumentTypeOptions.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/IdentityVerificationWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/PersonalDetails/EmailAddress.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/PhoneNumbers/MfaRadioPicker.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/PhoneNumbers/PumaPhoneNumberPicker.tsx","webpack://quilter-puma/./src/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/PersonalDetails/PhoneNumbers.tsx","webpack://quilter-puma/./react-core/Html/Resources/Content.ts","webpack://quilter-puma/./react-core/Html/Address/ManualEditLink.tsx","webpack://quilter-puma/./react-core/Html/Address/UKAddressEditorFields.tsx","webpack://quilter-puma/./react-core/Html/Address/UKAddressDisplayFields.tsx","webpack://quilter-puma/./src/Puma/Api/Address/RetrieveAddressDetails.ts","webpack://quilter-puma/./src/Puma/Api/Address/FindAddresses.ts","webpack://quilter-puma/./react-core/Html/Address/PostCodeAnywhereSearch.tsx","webpack://quilter-puma/./react-core/Html/Address/PostCodeAnywhereSearchEditor.tsx","webpack://quilter-puma/./react-core/Html/Address/UKAddressEditor.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Entities/Countries/AvailableCountryCodeOptionsSorter.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/PersonalDetails/Address.tsx","webpack://quilter-puma/./react-core/Utils/Numbers.ts","webpack://quilter-puma/./react-core/Html/Validation/NumericValueRules.ts","webpack://quilter-puma/./react-core/Html/DateDropdowns.tsx","webpack://quilter-puma/./react-core/Html/DateDropdownsEditor.tsx","webpack://quilter-puma/./react-core/Utils/Date.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/PersonalDetails/PersonalDetails.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/PersonalDetailsWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/DefaultValues.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Entities/Navigation/QueryParametersHelper.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/CustomerWarmCreationWizardPhase.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WarmWizard.tsx","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaCustomerUserActivationEmailVerification.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/ActionsCreators/PumaCustomerUserActivationEmailVerificationActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/CustomerActivationWizardPhase.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/CustomerCreationWizardPhase.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/Wizard.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/PageLayout.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WelcomePage.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/RedirectPage.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/App.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Components/WizardSections/AccountMatchedWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Urls.tsx","webpack://quilter-puma/./src/apps/CustomerRegistration/Router.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Resources/Content.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Components/WizardSections/InvalidTokenWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Entities/WizardStepper/AdviserSecurityResetWizardStepperId.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Components/WizardSectionLayout.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Components/WizardSections/SuccessWizardSection.tsx","webpack://quilter-puma/./src/Wrap/Validation/Errors/User/Adviser/PumaAdviserUserSecurityResetRecoveryErrors.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Entities/ErrorsDictionaries/PumaAdviserUserSecurityResetRecoveryErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/User/PumaAdviserUserSecurityResetRecovery.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/ActionsCreators/PumaAdviserUserSecurityResetRecoveryActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/SecurityQuestions/Stores/PumaAdviserUserAvailableSecurityQuestionsStore.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaAdviserUserAvailableSecurityQuestions.ts","webpack://quilter-puma/./src/apps/Shared/SecurityQuestions/ActionsCreators/PumaAdviserUserAvailableSecurityQuestionsActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/SecurityQuestions/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/SecurityQuestions/Entities/Validators/SecurityAnswerMustNotBePartOfTheQuestionValidationRuleFactory.tsx","webpack://quilter-puma/./src/apps/Shared/SecurityQuestions/Components/SecurityQuestionPickerUI.tsx","webpack://quilter-puma/./src/apps/Shared/SecurityQuestions/Components/SecurityQuestionPicker.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Entities/WizardStepper/AdviserSecurityResetWizardStepType.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Components/WizardSections/SecurityQuestionWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Components/WizardSections/PasswordWizardSection.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/AuthorisationId/Stores/PumaAuthorisationIdConfirmationTokenStore.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaUserAuthorisationIdConfirmationTokenRequests.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/AuthorisationId/ActionsCreators/PumaAuthorisationIdConfirmationTokenActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/AuthorisationId/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/AuthorisationId/Components/AuthorisationIdAuthenticationUI.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/AuthorisationId/Components/AuthorisationIdAuthentication.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Components/WizardSections/AuthorisationIdWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Entities/WizardStepper/WizardStepsProvider.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Stores/PumaEmailTokenVerificationStore.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/ActionsCreators/PumaEmailTokenVerificationActionsCreator.ts","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Components/Wizard.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/App.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Urls.tsx","webpack://quilter-puma/./src/apps/AdviserSecurityReset/Router.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Resources/Content.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Entities/WizardStepper/AdviserRegistrationWizardStepperId.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/WizardSectionLayout.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/WizardSections/InvalidTokenWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/WizardSections/SuccessWizardSection.tsx","webpack://quilter-puma/./src/Wrap/Validation/Errors/Onboarding/Adviser/PumaAdviserUserCreationCompletionErrors.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Entities/WizardStepper/AdviserRegistrationWizardStepType.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Entities/ErrorDictionaries/PumaAdviserUserCreationCompletionErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/EncryptedPumaAdviserUserCreationCompletion.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/ActionsCreators/EncryptedPumaAdviserUserCreationCompletionActionsCreator.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Entities/Mappers/EncryptedPumaAdviserUserCreationCompletionDataMapper.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/WizardSections/AntiPhishingWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/WizardSections/SecurityQuestionWizardSection.tsx","webpack://quilter-puma/./src/Puma/Api/Onboarding/AdviserOnboardingPumaUsernameAvailabilityChecks.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/ActionsCreators/AdviserOnboardingPumaUsernameAvailabilityChecksActionsCreator.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/Credentials/UserNamePicker.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/WizardSections/CredentialsWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/WizardSections/AuthorisationIdWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/DefaultValues.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaAdviserUserActivationEmailVerification.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/ActionsCreators/PumaAdviserUserActivationEmailVerificationActionsCreator.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Entities/WizardStepper/WizardStepsProvider.ts","webpack://quilter-puma/./src/apps/AdviserRegistration/Components/Wizard.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/App.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Urls.tsx","webpack://quilter-puma/./src/apps/AdviserRegistration/Router.tsx","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaAdviserUser.ts","webpack://quilter-puma/./src/apps/LandingPage/Resources/Content.ts","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/UnipassCertificateExpirationDateNotifier.tsx","webpack://quilter-puma/./src/Puma/Api/Adviser/LinkUnipassProcess.ts","webpack://quilter-puma/./src/Puma/Site/Models/Adviser/LinkUnipassProcessStatus.ts","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/UnipassLinker/FinishedLightboxContent.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/UnipassLinker/PendingLightboxContent.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/UnipassLinker/UnipassLinker.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Stores/CurrentPumaUserApplicationsStore.ts","webpack://quilter-puma/./src/Puma/Api/PumaLogin/CurrentPumaUserApplications.ts","webpack://quilter-puma/./src/apps/LandingPage/Home/ActionCreators/CurrentPumaUserApplicationsActionsCreator.ts","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/TooManyApplications/TooManyApplications.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/SingleApplication/SingleApplication.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/NoApplication/AdviserNoAccessibleApplication.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/AdviserApplications.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/MultiApplications/HeritagePlatformSubAccountTypeProductList.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/MultiApplications/HeritagePlatform.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/MultiApplications/CustomerPortal.tsx","webpack://quilter-puma/./src/Wrap/Constants/Enums/PumaLogin/PumaApplicationType.ts","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/MultiApplications/MultiApplicationsHome.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/NoApplication/CustomerNoAccessibleApplication.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/CustomerApplications.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/Applications.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Components/Home.tsx","webpack://quilter-puma/./react-core/Anim/AnimDropdown.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Authenticated/Headers/CustomerSiteHeader.tsx","webpack://quilter-puma/./src/Puma/Api/Session/SsoGlobalSessionAlignment.ts","webpack://quilter-puma/./src/apps/Shared/Common/ActionsCreators/SsoGlobalSessionAlignmentActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Common/Stores/TimeoutInfoStore.ts","webpack://quilter-puma/./src/Puma/Api/Common/KeepAlive.ts","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserTimeoutInfo.ts","webpack://quilter-puma/./src/apps/Shared/Common/ActionsCreators/TimeoutInfActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Common/Components/Timeout/TimeOutComponent.tsx","webpack://quilter-puma/./src/apps/Shared/Common/Components/Layout/Authenticated/AuthenticatedLayout.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/App.tsx","webpack://quilter-puma/./src/apps/LandingPage/Home/Urls.ts","webpack://quilter-puma/./src/apps/LandingPage/Home/Router.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/DefaultValues.ts","webpack://quilter-puma/./src/apps/Shared/User/Stores/PumaCustomerUserStore.ts","webpack://quilter-puma/./src/Puma/Api/Customer/CurrentPumaCustomerUser.ts","webpack://quilter-puma/./src/apps/Shared/User/ActionsCreators/PumaCustomerUserActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/UserDetails/Entities/EditableItemType.ts","webpack://quilter-puma/./src/apps/Shared/UserDetails/Components/EditConfirmation.tsx","webpack://quilter-puma/./src/Puma/Api/Security/EncryptedPumaUserLoginAntiPhishingAmendment.ts","webpack://quilter-puma/./src/apps/Shared/AntiPhishing/Components/AntiPhishingPicker.tsx","webpack://quilter-puma/./src/apps/Shared/UserDetails/Components/AntiPhishing/EditAntiPhishing.tsx","webpack://quilter-puma/./src/apps/Shared/UserDetails/Components/AntiPhishing/AntiPhishing.tsx","webpack://quilter-puma/./src/Wrap/Validation/Errors/PumaPasswordChange/PumaPasswordChangeErrors.ts","webpack://quilter-puma/./src/apps/Shared/UserDetails/Entities/ErrorDictionaries/PumaPasswordChangeErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Credentials/CurrentPumaUserPasswordChangeRequest.ts","webpack://quilter-puma/./src/apps/Shared/UserDetails/Components/Password/EditPassword.tsx","webpack://quilter-puma/./src/apps/Shared/UserDetails/Components/Password/Password.tsx","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserEmailAddressAmendment.ts","webpack://quilter-puma/./src/apps/Shared/UserDetails/Components/EmailAddress/EditEmailAddress.tsx","webpack://quilter-puma/./src/apps/Shared/UserDetails/Components/EmailAddress/EmailAddress.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Stores/PumaUserSmsAuthenticationPhoneNumberStore.ts","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserSmsAuthenticationPhoneNumber.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/ActionCreators/PumaUserSmsAuthenticationPhoneNumberActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Resources/Content.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/User/Contacts/PumaUserPhoneNumberAmendmentErrors.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Security/ConfirmationTokens/PumaCurrentUserEmailConfirmationTokenRequestsErrors.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Entities/ErrorDictionaries/PumaUserPhoneNumberAmendmentErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserMfaPhoneNumberAmendment.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/ActionCreators/CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Resources/Validation.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Stores/PumaUserEmailConfirmationTokenStore.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Entities/ErrorsDictionaries/PumaCurrentUserEmailConfirmationTokenRequestsErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaCurrentUserEmailConfirmationTokenRequests.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/ActionsCreators/PumaUserEmailConfirmationTokenActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Components/ResendConfirmation.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Components/EmailAuthenticationResendUI.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Components/EmailAuthenticationUI.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Components/EmailAuthenticationBase.tsx","webpack://quilter-puma/./src/apps/Shared/Authentication/Email/Components/EmailAuthentication.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Entities/PhoneNumbers/EditNonMfaPhoneNumberStage.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/SetMfaPhoneNumber.tsx","webpack://quilter-puma/./src/apps/Shared/Processes/Stores/PumaProcessStore.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaCurrentUserProcesses.ts","webpack://quilter-puma/./src/apps/Shared/Processes/ActionsCreators/PumaProcessesActionCreators.ts","webpack://quilter-puma/./src/apps/Shared/Processes/Components/makeCurrentUserPumaProcess.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/SetMfaPhoneNumberProcess.tsx","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserNonMfaPhoneNumberAmendment.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/ActionCreators/CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/DeleteNonMfaPhoneNumber.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/DeleteNonMfaPhoneNumberProcess.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/EditNonMfaPhoneNumber.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/EditNonMfaPhoneNumberProcess.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/EditMfaPhoneNumber.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/EditMfaPhoneNumberProcess.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Entities/PhoneNumbers/PhoneNumberEditType.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Onboarding/Customer/PumaCurrentCustomerUserTransitionCompletionErrors.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/PhoneNumber.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/PhoneNumbers/PhoneNumbers.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Components/CustomerDetails.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/App.tsx","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Urls.ts","webpack://quilter-puma/./src/apps/CustomerDetails/Home/Router.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Resources/Content.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Entities/ErrorDictionaries/PumaCurrentCustomerUserTransitionCompletionErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaCurrentCustomerUserTransitionCompletion.ts","webpack://quilter-puma/./src/apps/CustomerTransition/ActionsCreators/PumaCurrentCustomerUserTransitionCompletionActionsCreator.ts","webpack://quilter-puma/./src/apps/Shared/UserTransition/Resources/Content.ts","webpack://quilter-puma/./src/apps/Shared/UserTransition/Components/TransitionSuccess.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Entities/WizardStepper/CustomerRegistrationWizardStepperId.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/OMW/Components/withConfirmableCancel.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Components/WizardSections/WizardSectionLayout.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Entities/WizardStepper/CustomerRegistrationWizardStepType.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Components/WizardSections/PhoneNumberVerificationWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Entities/ErrorDictionaries/PumaUserPhoneNumberAmendmentErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/User/CurrentPumaUserTransitionMfaPhoneNumberAmendment.ts","webpack://quilter-puma/./src/apps/CustomerTransition/ActionsCreators/CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Components/PhoneNumbersSelection/EditConfirmation.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/ActionsCreators/CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Components/PhoneNumbersSelection/DeletePhoneNumber.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Components/PhoneNumbersSelection/DeletePhoneNumberProcess.tsx","webpack://quilter-puma/./src/apps/Shared/ReCaptcha/Resources/Content.ts","webpack://quilter-puma/./src/Puma/Site/Models/Security/ReCaptcha/ReCaptchaValidationStatus.ts","webpack://quilter-puma/./src/Puma/Api/Security/ReCaptchaValidation.ts","webpack://quilter-puma/./src/apps/Shared/ReCaptcha/Stores/ReCaptchaConfigurationStore.ts","webpack://quilter-puma/./src/apps/Shared/ReCaptcha/Components/ReCaptchaWrapper.tsx","webpack://quilter-puma/./src/apps/Shared/ReCaptcha/Components/makeReCaptchaGuardedComponent.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Components/PhoneNumbersSelection/ReCaptchaGuardedTransitionSecurityQuestionAuthentication.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Components/PhoneNumbersSelection/EditPhoneNumber.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Components/PhoneNumbersSelection/EditPhoneNumberProcess.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Entities/PhoneNumbersSelection/PhoneNumberEditType.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Components/PhoneNumbersSelection/PhoneNumber.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Components/WizardSections/PhoneNumbersSelectionWizardSection.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/DefaultValues.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Stores/CustomerTransitionDataStore.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/ActionsCreators/CustomerTransitionDataActionsCreator.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Entities/WizardStepper/WizardStepsProvider.ts","webpack://quilter-puma/./src/apps/Shared/WizardSteppers/Entities/WizardStepsController.ts","webpack://quilter-puma/./src/apps/CustomerTransition/Components/Wizard.tsx","webpack://quilter-puma/./react-core/Html/Anchor.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Components/WelcomePage.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/App.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Urls.tsx","webpack://quilter-puma/./src/apps/CustomerTransition/Router.tsx","webpack://quilter-puma/./src/apps/Login/Resources/Content.ts","webpack://quilter-puma/./src/apps/Login/Shared/Stores/PumaForgottenPasswordRequestStore.ts","webpack://quilter-puma/./src/apps/Login/Shared/Components/ForgottenPassword/EmailSentConfirmation.tsx","webpack://quilter-puma/./src/apps/Login/Shared/Components/ForgottenPassword/ForgottenPassword.tsx","webpack://quilter-puma/./src/apps/Login/Customer/Components/Layout/RegisterSection.tsx","webpack://quilter-puma/./src/apps/Login/Customer/Components/Layout/CustomerLayout.tsx","webpack://quilter-puma/./src/apps/Login/Customer/Components/ForgottenPasswordEmailSentConfirmation.tsx","webpack://quilter-puma/./src/Wrap/Validation/Errors/ForgottenUsername/PumaForgottenUsernameErrors.ts","webpack://quilter-puma/./src/apps/Login/Shared/Entities/ErrorsDictionaries/PumaForgottenUsernameErrorDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Credentials/PumaForgottenUsername.ts","webpack://quilter-puma/./src/apps/Login/Shared/Components/ForgottenUserName/EmailSentConfirmation.tsx","webpack://quilter-puma/./src/apps/Login/Shared/Components/ForgottenUserName/ForgottenUserName.tsx","webpack://quilter-puma/./src/apps/Login/Customer/Components/ForgottenUserName.tsx","webpack://quilter-puma/./src/Wrap/Validation/Errors/Credentials/PumaUserPasswordResetEmailRequestErrors.ts","webpack://quilter-puma/./src/Puma/Site/Models/Sessions/ValidationErrors/PumaSessionsErrors.ts","webpack://quilter-puma/./src/Puma/Site/Models/Login/PumaSessionCreationProcessType.ts","webpack://quilter-puma/./src/apps/Login/Shared/Entities/ErrorsDictionaries/PumaUserPasswordResetEmailRequestErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Credentials/PumaForgottenPassword.ts","webpack://quilter-puma/./src/apps/Login/Shared/ActionCreators/PumaForgottenPasswordRequestActionCreator.ts","webpack://quilter-puma/./src/apps/Login/Shared/Entities/ErrorsDictionaries/PumaSessionsErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/PumaLogin/PumaSessions.ts","webpack://quilter-puma/./src/Puma/Api/PumaLogin/PumaTransitionSessions.ts","webpack://quilter-puma/./src/apps/Login/Shared/ActionCreators/PumaSessionsActionCreator.ts","webpack://quilter-puma/./src/apps/Login/Shared/Stores/LoginPasswordDetailsDataStore.ts","webpack://quilter-puma/./src/Puma/Api/PumaLogin/PumaSessionCreationProcess.ts","webpack://quilter-puma/./src/apps/Login/Shared/ActionCreators/LoginPasswordDetailsDataActionsCreator.ts","webpack://quilter-puma/./src/apps/Login/Shared/Components/Login/PasswordPicker.tsx","webpack://quilter-puma/./src/apps/Login/Shared/Components/Login/ReCaptchaGuardedPasswordPicker.tsx","webpack://quilter-puma/./src/apps/Login/Shared/Components/Login/PasswordChangeRequired.tsx","webpack://quilter-puma/./src/apps/Login/Shared/Components/Login/SelectedUserName.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/TransitionLoginPasswordDetailsInfo.tsx","webpack://quilter-puma/./src/apps/Login/Shared/Components/Login/LoginPasswordDetails.tsx","webpack://quilter-puma/./src/apps/Login/Shared/Stores/LoginUserNameStore.ts","webpack://quilter-puma/./src/apps/Login/Customer/Components/Password.tsx","webpack://quilter-puma/./src/apps/Login/Shared/ActionCreators/LoginUserNameActionsCreator.ts","webpack://quilter-puma/./src/apps/Login/Shared/Components/Login/UserNamePicker.tsx","webpack://quilter-puma/./src/apps/Login/Customer/Components/Login.tsx","webpack://quilter-puma/./src/apps/Login/Customer/App.tsx","webpack://quilter-puma/./src/apps/Login/Customer/Urls.ts","webpack://quilter-puma/./src/apps/Login/Customer/Router.tsx","webpack://quilter-puma/./src/apps/AdviserDetails/Home/DefaultValues.ts","webpack://quilter-puma/./src/apps/Shared/User/Stores/PumaAdviserUserStore.ts","webpack://quilter-puma/./src/apps/Shared/User/ActionsCreators/PumaAdviserUserActionsCreator.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Security/SecurityQuestions/PumaUserSecurityQuestionAmendmentErrors.ts","webpack://quilter-puma/./src/Wrap/Validation/Errors/Onboarding/Adviser/PumaCurrentAdviserUserTransitionCompletionErrors.ts","webpack://quilter-puma/./src/apps/AdviserTransition/Entities/WizardStepper/AdviserRegistrationWizardStepperId.ts","webpack://quilter-puma/./src/apps/AdviserDetails/Home/Entities/ErrorsDictionaries/PumaUserSecurityQuestionAmendmentErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Security/PumaCurrentUserSecurityQuestionAmendment.ts","webpack://quilter-puma/./src/apps/AdviserDetails/Home/Components/SecurityQuestion/EditSecurityQuestion.tsx","webpack://quilter-puma/./src/apps/AdviserDetails/Resources/Content.ts","webpack://quilter-puma/./src/apps/AdviserDetails/Home/Components/SecurityQuestion/SecurityQuestion.tsx","webpack://quilter-puma/./src/apps/AdviserDetails/Home/Components/AdviserDetails.tsx","webpack://quilter-puma/./src/apps/AdviserDetails/Home/App.tsx","webpack://quilter-puma/./src/apps/AdviserDetails/Home/Urls.ts","webpack://quilter-puma/./src/apps/AdviserDetails/Home/Router.tsx","webpack://quilter-puma/./src/pages/Adviser/UnipassLoginSsoSuccess/View.ts","webpack://quilter-puma/./src/pages/Adviser/UnipassLoginSsoSuccess/PageManager.ts","webpack://quilter-puma/./src/apps/AdviserTransition/Resources/Content.ts","webpack://quilter-puma/./src/apps/AdviserTransition/Entities/ErrorsDictionaries/PumaCurrentAdviserUserTransitionCompletionErrorsDictionary.ts","webpack://quilter-puma/./src/Puma/Api/Onboarding/PumaCurrentAdviserUserTransitionCompletion.ts","webpack://quilter-puma/./src/apps/AdviserTransition/ActionsCreators/PumaCurrentAdviserUserTransitionCompletionActionsCreator.ts","webpack://quilter-puma/./src/apps/AdviserTransition/Components/WizardSections/WizardSectionLayout.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/Entities/WizardStepper/AdviserRegistrationWizardStepType.ts","webpack://quilter-puma/./src/apps/AdviserTransition/Components/WizardSections/AntiPhishingWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/Components/WizardSections/SecurityQuestionWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/Components/WizardSections/PasswordWizardSection.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/DefaultValues.ts","webpack://quilter-puma/./src/apps/AdviserTransition/Entities/WizardStepper/WizardStepsProvider.ts","webpack://quilter-puma/./src/apps/AdviserTransition/Components/Wizard.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/Components/WelcomePage.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/App.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/Urls.tsx","webpack://quilter-puma/./src/apps/AdviserTransition/Router.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/Layout/AdviserLayout.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/ForgottenPasswordContactUs.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/ForgottenPasswordEmailSentConfirmation.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/ForgottenUserName.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/Password.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/Unipass/UnipassExpirationWarning.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/Unipass/UnipassLogin.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Components/Login.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/App.tsx","webpack://quilter-puma/./src/apps/Login/Adviser/Urls.ts","webpack://quilter-puma/./src/apps/Login/Adviser/Router.tsx","webpack://quilter-puma/./src/BaseRouter.tsx","webpack://quilter-puma/./src/index.tsx","webpack://quilter-puma/./node_modules/dom-helpers/transition/properties.js","webpack://quilter-puma/./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://quilter-puma/./node_modules/strict-uri-encode/index.js","webpack://quilter-puma/./node_modules/react-is/index.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/runTransitionHook.js","webpack://quilter-puma/./node_modules/dom-helpers/util/requestAnimationFrame.js","webpack://quilter-puma/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://quilter-puma/./node_modules/object-assign/index.js","webpack://quilter-puma/./node_modules/react/cjs/react.production.min.js","webpack://quilter-puma/./node_modules/chain-function/index.js","webpack://quilter-puma/./node_modules/prop-types/index.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/ExecutionEnvironment.js","webpack://quilter-puma/./node_modules/react/index.js","webpack://quilter-puma/./node_modules/query-string/index.js","webpack://quilter-puma/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://quilter-puma/./node_modules/classnames/index.js","webpack://quilter-puma/./node_modules/react-transition-group/CSSTransitionGroupChild.js","webpack://quilter-puma/./node_modules/scheduler/cjs/scheduler.production.min.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/DOMStateStorage.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/useQueries.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/createHistory.js","webpack://quilter-puma/./node_modules/react-router/node_modules/history/lib/RefreshProtocol.js","webpack://quilter-puma/./node_modules/react-transition-group/node_modules/warning/browser.js","webpack://quilter-puma/./node_modules/react-transition-group/index.js","webpack://quilter-puma/./node_modules/scheduler/index.js"],"sourcesContent":["'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar _DOMUtils = require('./DOMUtils');\n\nvar _HashProtocol = require('./HashProtocol');\n\nvar HashProtocol = _interopRequireWildcard(_HashProtocol);\n\nvar _createHistory = require('./createHistory');\n\nvar _createHistory2 = _interopRequireDefault(_createHistory);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DefaultQueryKey = '_k';\n\nvar addLeadingSlash = function addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n};\n\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!' + path;\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substring(1) : path;\n }\n },\n noslash: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '/' ? path.substring(1) : path;\n },\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nvar createHashHistory = function createHashHistory() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n !_ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'Hash history needs a DOM') : (0, _invariant2.default)(false) : void 0;\n\n var queryKey = options.queryKey,\n hashType = options.hashType;\n\n\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(queryKey !== false, 'Using { queryKey: false } no longer works. Instead, just don\\'t ' + 'use location state if you don\\'t want a key in your URL query string') : void 0;\n\n if (typeof queryKey !== 'string') queryKey = DefaultQueryKey;\n\n if (hashType == null) hashType = 'slash';\n\n if (!(hashType in HashPathCoders)) {\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'Invalid hash type: %s', hashType) : void 0;\n\n hashType = 'slash';\n }\n\n var pathCoder = HashPathCoders[hashType];\n\n var getUserConfirmation = HashProtocol.getUserConfirmation;\n\n\n var getCurrentLocation = function getCurrentLocation() {\n return HashProtocol.getCurrentLocation(pathCoder, queryKey);\n };\n\n var pushLocation = function pushLocation(location) {\n return HashProtocol.pushLocation(location, pathCoder, queryKey);\n };\n\n var replaceLocation = function replaceLocation(location) {\n return HashProtocol.replaceLocation(location, pathCoder, queryKey);\n };\n\n var history = (0, _createHistory2.default)(_extends({\n getUserConfirmation: getUserConfirmation }, options, {\n getCurrentLocation: getCurrentLocation,\n pushLocation: pushLocation,\n replaceLocation: replaceLocation,\n go: HashProtocol.go\n }));\n\n var listenerCount = 0,\n stopListener = void 0;\n\n var startListener = function startListener(listener, before) {\n if (++listenerCount === 1) stopListener = HashProtocol.startListener(history.transitionTo, pathCoder, queryKey);\n\n var unlisten = before ? history.listenBefore(listener) : history.listen(listener);\n\n return function () {\n unlisten();\n\n if (--listenerCount === 0) stopListener();\n };\n };\n\n var listenBefore = function listenBefore(listener) {\n return startListener(listener, true);\n };\n\n var listen = function listen(listener) {\n return startListener(listener, false);\n };\n\n var goIsSupportedWithoutReload = (0, _DOMUtils.supportsGoWithoutReloadUsingHash)();\n\n var go = function go(n) {\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(goIsSupportedWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n\n history.go(n);\n };\n\n var createHref = function createHref(path) {\n return '#' + pathCoder.encodePath(history.createHref(path));\n };\n\n return _extends({}, history, {\n listenBefore: listenBefore,\n listen: listen,\n go: go,\n createHref: createHref\n });\n};\n\nexports.default = createHashHistory;","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _runTransitionHook = require('./runTransitionHook');\n\nvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\nvar _PathUtils = require('./PathUtils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar useBasename = function useBasename(createHistory) {\n return function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var history = createHistory(options);\n var basename = options.basename;\n\n\n var addBasename = function addBasename(location) {\n if (!location) return location;\n\n if (basename && location.basename == null) {\n if (location.pathname.toLowerCase().indexOf(basename.toLowerCase()) === 0) {\n location.pathname = location.pathname.substring(basename.length);\n location.basename = basename;\n\n if (location.pathname === '') location.pathname = '/';\n } else {\n location.basename = '';\n }\n }\n\n return location;\n };\n\n var prependBasename = function prependBasename(location) {\n if (!basename) return location;\n\n var object = typeof location === 'string' ? (0, _PathUtils.parsePath)(location) : location;\n var pname = object.pathname;\n var normalizedBasename = basename.slice(-1) === '/' ? basename : basename + '/';\n var normalizedPathname = pname.charAt(0) === '/' ? pname.slice(1) : pname;\n var pathname = normalizedBasename + normalizedPathname;\n\n return _extends({}, object, {\n pathname: pathname\n });\n };\n\n // Override all read methods with basename-aware versions.\n var getCurrentLocation = function getCurrentLocation() {\n return addBasename(history.getCurrentLocation());\n };\n\n var listenBefore = function listenBefore(hook) {\n return history.listenBefore(function (location, callback) {\n return (0, _runTransitionHook2.default)(hook, addBasename(location), callback);\n });\n };\n\n var listen = function listen(listener) {\n return history.listen(function (location) {\n return listener(addBasename(location));\n });\n };\n\n // Override all write methods with basename-aware versions.\n var push = function push(location) {\n return history.push(prependBasename(location));\n };\n\n var replace = function replace(location) {\n return history.replace(prependBasename(location));\n };\n\n var createPath = function createPath(location) {\n return history.createPath(prependBasename(location));\n };\n\n var createHref = function createHref(location) {\n return history.createHref(prependBasename(location));\n };\n\n var createLocation = function createLocation(location) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return addBasename(history.createLocation.apply(history, [prependBasename(location)].concat(args)));\n };\n\n return _extends({}, history, {\n getCurrentLocation: getCurrentLocation,\n listenBefore: listenBefore,\n listen: listen,\n push: push,\n replace: replace,\n createPath: createPath,\n createHref: createHref,\n createLocation: createLocation\n });\n };\n};\n\nexports.default = useBasename;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","'use strict';\n\nexports.__esModule = true;\nexports.locationsAreEqual = exports.statesAreEqual = exports.createLocation = exports.createQuery = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _PathUtils = require('./PathUtils');\n\nvar _Actions = require('./Actions');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar createQuery = exports.createQuery = function createQuery(props) {\n return _extends(Object.create(null), props);\n};\n\nvar createLocation = exports.createLocation = function createLocation() {\n var input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '/';\n var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _Actions.POP;\n var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n var object = typeof input === 'string' ? (0, _PathUtils.parsePath)(input) : input;\n\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(!object.path, 'Location descriptor objects should have a `pathname`, not a `path`.') : void 0;\n\n var pathname = object.pathname || '/';\n var search = object.search || '';\n var hash = object.hash || '';\n var state = object.state;\n\n return {\n pathname: pathname,\n search: search,\n hash: hash,\n state: state,\n action: action,\n key: key\n };\n};\n\nvar isDate = function isDate(object) {\n return Object.prototype.toString.call(object) === '[object Date]';\n};\n\nvar statesAreEqual = exports.statesAreEqual = function statesAreEqual(a, b) {\n if (a === b) return true;\n\n var typeofA = typeof a === 'undefined' ? 'undefined' : _typeof(a);\n var typeofB = typeof b === 'undefined' ? 'undefined' : _typeof(b);\n\n if (typeofA !== typeofB) return false;\n\n !(typeofA !== 'function') ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'You must not store functions in location state') : (0, _invariant2.default)(false) : void 0;\n\n // Not the same object, but same type.\n if (typeofA === 'object') {\n !!(isDate(a) && isDate(b)) ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'You must not store Date objects in location state') : (0, _invariant2.default)(false) : void 0;\n\n if (!Array.isArray(a)) {\n var keysofA = Object.keys(a);\n var keysofB = Object.keys(b);\n return keysofA.length === keysofB.length && keysofA.every(function (key) {\n return statesAreEqual(a[key], b[key]);\n });\n }\n\n return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {\n return statesAreEqual(item, b[index]);\n });\n }\n\n // All other serializable types (string, number, boolean)\n // should be strict equal.\n return false;\n};\n\nvar locationsAreEqual = exports.locationsAreEqual = function locationsAreEqual(a, b) {\n return a.key === b.key &&\n // a.action === b.action && // Different action !== location change.\n a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && statesAreEqual(a.state, b.state);\n};","'use strict';\n\nexports.__esModule = true;\nexports.nameShape = undefined;\nexports.transitionTimeout = transitionTimeout;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction transitionTimeout(transitionType) {\n var timeoutPropName = 'transition' + transitionType + 'Timeout';\n var enabledPropName = 'transition' + transitionType;\n\n return function (props) {\n // If the transition is enabled\n if (props[enabledPropName]) {\n // If no timeout duration is provided\n if (props[timeoutPropName] == null) {\n return new Error(timeoutPropName + ' wasn\\'t supplied to CSSTransitionGroup: ' + 'this can cause unreliable animations and won\\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.');\n\n // If the duration isn't a number\n } else if (typeof props[timeoutPropName] !== 'number') {\n return new Error(timeoutPropName + ' must be a number (in milliseconds)');\n }\n }\n\n return null;\n };\n}\n\nvar nameShape = exports.nameShape = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n leave: _propTypes2.default.string,\n active: _propTypes2.default.string\n}), _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n enterActive: _propTypes2.default.string,\n leave: _propTypes2.default.string,\n leaveActive: _propTypes2.default.string,\n appear: _propTypes2.default.string,\n appearActive: _propTypes2.default.string\n})]);","\"use strict\";\n\nexports.__esModule = true;\nexports.default = hasClass;\n\nfunction hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);else return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}\n\nmodule.exports = exports[\"default\"];","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _LocationUtils = require('./LocationUtils');\n\nvar _PathUtils = require('./PathUtils');\n\nvar _createHistory = require('./createHistory');\n\nvar _createHistory2 = _interopRequireDefault(_createHistory);\n\nvar _Actions = require('./Actions');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar createStateStorage = function createStateStorage(entries) {\n return entries.filter(function (entry) {\n return entry.state;\n }).reduce(function (memo, entry) {\n memo[entry.key] = entry.state;\n return memo;\n }, {});\n};\n\nvar createMemoryHistory = function createMemoryHistory() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n if (Array.isArray(options)) {\n options = { entries: options };\n } else if (typeof options === 'string') {\n options = { entries: [options] };\n }\n\n var getCurrentLocation = function getCurrentLocation() {\n var entry = entries[current];\n var path = (0, _PathUtils.createPath)(entry);\n\n var key = void 0,\n state = void 0;\n if (entry.key) {\n key = entry.key;\n state = readState(key);\n }\n\n var init = (0, _PathUtils.parsePath)(path);\n\n return (0, _LocationUtils.createLocation)(_extends({}, init, { state: state }), undefined, key);\n };\n\n var canGo = function canGo(n) {\n var index = current + n;\n return index >= 0 && index < entries.length;\n };\n\n var go = function go(n) {\n if (!n) return;\n\n if (!canGo(n)) {\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'Cannot go(%s) there is not enough history', n) : void 0;\n\n return;\n }\n\n current += n;\n var currentLocation = getCurrentLocation();\n\n // Change action to POP\n history.transitionTo(_extends({}, currentLocation, { action: _Actions.POP }));\n };\n\n var pushLocation = function pushLocation(location) {\n current += 1;\n\n if (current < entries.length) entries.splice(current);\n\n entries.push(location);\n\n saveState(location.key, location.state);\n };\n\n var replaceLocation = function replaceLocation(location) {\n entries[current] = location;\n saveState(location.key, location.state);\n };\n\n var history = (0, _createHistory2.default)(_extends({}, options, {\n getCurrentLocation: getCurrentLocation,\n pushLocation: pushLocation,\n replaceLocation: replaceLocation,\n go: go\n }));\n\n var _options = options,\n entries = _options.entries,\n current = _options.current;\n\n\n if (typeof entries === 'string') {\n entries = [entries];\n } else if (!Array.isArray(entries)) {\n entries = ['/'];\n }\n\n entries = entries.map(function (entry) {\n return (0, _LocationUtils.createLocation)(entry);\n });\n\n if (current == null) {\n current = entries.length - 1;\n } else {\n !(current >= 0 && current < entries.length) ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'Current index must be >= 0 and < %s, was %s', entries.length, current) : (0, _invariant2.default)(false) : void 0;\n }\n\n var storage = createStateStorage(entries);\n\n var saveState = function saveState(key, state) {\n return storage[key] = state;\n };\n\n var readState = function readState(key) {\n return storage[key];\n };\n\n return _extends({}, history, {\n canGo: canGo\n });\n};\n\nexports.default = createMemoryHistory;","'use strict';\n\nexports.__esModule = true;\nexports.createPath = exports.parsePath = exports.getQueryStringValueFromPath = exports.stripQueryStringValueFromPath = exports.addQueryStringValueToPath = undefined;\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar addQueryStringValueToPath = exports.addQueryStringValueToPath = function addQueryStringValueToPath(path, key, value) {\n var _parsePath = parsePath(path),\n pathname = _parsePath.pathname,\n search = _parsePath.search,\n hash = _parsePath.hash;\n\n return createPath({\n pathname: pathname,\n search: search + (search.indexOf('?') === -1 ? '?' : '&') + key + '=' + value,\n hash: hash\n });\n};\n\nvar stripQueryStringValueFromPath = exports.stripQueryStringValueFromPath = function stripQueryStringValueFromPath(path, key) {\n var _parsePath2 = parsePath(path),\n pathname = _parsePath2.pathname,\n search = _parsePath2.search,\n hash = _parsePath2.hash;\n\n return createPath({\n pathname: pathname,\n search: search.replace(new RegExp('([?&])' + key + '=[a-zA-Z0-9]+(&?)'), function (match, prefix, suffix) {\n return prefix === '?' ? prefix : suffix;\n }),\n hash: hash\n });\n};\n\nvar getQueryStringValueFromPath = exports.getQueryStringValueFromPath = function getQueryStringValueFromPath(path, key) {\n var _parsePath3 = parsePath(path),\n search = _parsePath3.search;\n\n var match = search.match(new RegExp('[?&]' + key + '=([a-zA-Z0-9]+)'));\n return match && match[1];\n};\n\nvar extractPath = function extractPath(string) {\n var match = string.match(/^(https?:)?\\/\\/[^\\/]*/);\n return match == null ? string : string.substring(match[0].length);\n};\n\nvar parsePath = exports.parsePath = function parsePath(path) {\n var pathname = extractPath(path);\n var search = '';\n var hash = '';\n\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(path === pathname, 'A path must be pathname + search + hash only, not a full URL like \"%s\"', path) : void 0;\n\n var hashIndex = pathname.indexOf('#');\n if (hashIndex !== -1) {\n hash = pathname.substring(hashIndex);\n pathname = pathname.substring(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf('?');\n if (searchIndex !== -1) {\n search = pathname.substring(searchIndex);\n pathname = pathname.substring(0, searchIndex);\n }\n\n if (pathname === '') pathname = '/';\n\n return {\n pathname: pathname,\n search: search,\n hash: hash\n };\n};\n\nvar createPath = exports.createPath = function createPath(location) {\n if (location == null || typeof location === 'string') return location;\n\n var basename = location.basename,\n pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n\n var path = (basename || '') + pathname;\n\n if (search && search !== '?') path += search;\n\n if (hash) path += hash;\n\n return path;\n};","'use strict';\n\nfunction replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp('(^|\\\\s)' + classToRemove + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n\nmodule.exports = function removeClass(element, className) {\n if (element.classList) element.classList.remove(className);else if (typeof element.className === 'string') element.className = replaceClassName(element.className, className);else element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n};","'use strict';\n\nexports.__esModule = true;\nexports.go = exports.replaceLocation = exports.pushLocation = exports.startListener = exports.getUserConfirmation = exports.getCurrentLocation = undefined;\n\nvar _LocationUtils = require('./LocationUtils');\n\nvar _DOMUtils = require('./DOMUtils');\n\nvar _DOMStateStorage = require('./DOMStateStorage');\n\nvar _PathUtils = require('./PathUtils');\n\nvar _ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nvar needsHashchangeListener = _ExecutionEnvironment.canUseDOM && !(0, _DOMUtils.supportsPopstateOnHashchange)();\n\nvar _createLocation = function _createLocation(historyState) {\n var key = historyState && historyState.key;\n\n return (0, _LocationUtils.createLocation)({\n pathname: window.location.pathname,\n search: window.location.search,\n hash: window.location.hash,\n state: key ? (0, _DOMStateStorage.readState)(key) : undefined\n }, undefined, key);\n};\n\nvar getCurrentLocation = exports.getCurrentLocation = function getCurrentLocation() {\n var historyState = void 0;\n try {\n historyState = window.history.state || {};\n } catch (error) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n historyState = {};\n }\n\n return _createLocation(historyState);\n};\n\nvar getUserConfirmation = exports.getUserConfirmation = function getUserConfirmation(message, callback) {\n return callback(window.confirm(message));\n}; // eslint-disable-line no-alert\n\nvar startListener = exports.startListener = function startListener(listener) {\n var handlePopState = function handlePopState(event) {\n if ((0, _DOMUtils.isExtraneousPopstateEvent)(event)) // Ignore extraneous popstate events in WebKit\n return;\n listener(_createLocation(event.state));\n };\n\n (0, _DOMUtils.addEventListener)(window, PopStateEvent, handlePopState);\n\n var handleUnpoppedHashChange = function handleUnpoppedHashChange() {\n return listener(getCurrentLocation());\n };\n\n if (needsHashchangeListener) {\n (0, _DOMUtils.addEventListener)(window, HashChangeEvent, handleUnpoppedHashChange);\n }\n\n return function () {\n (0, _DOMUtils.removeEventListener)(window, PopStateEvent, handlePopState);\n\n if (needsHashchangeListener) {\n (0, _DOMUtils.removeEventListener)(window, HashChangeEvent, handleUnpoppedHashChange);\n }\n };\n};\n\nvar updateLocation = function updateLocation(location, updateState) {\n var state = location.state,\n key = location.key;\n\n\n if (state !== undefined) (0, _DOMStateStorage.saveState)(key, state);\n\n updateState({ key: key }, (0, _PathUtils.createPath)(location));\n};\n\nvar pushLocation = exports.pushLocation = function pushLocation(location) {\n return updateLocation(location, function (state, path) {\n return window.history.pushState(state, null, path);\n });\n};\n\nvar replaceLocation = exports.replaceLocation = function replaceLocation(location) {\n return updateLocation(location, function (state, path) {\n return window.history.replaceState(state, null, path);\n });\n};\n\nvar go = exports.go = function go(n) {\n if (n) window.history.go(n);\n};","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n\n if (format.length < 10 || (/^[s\\W]*$/).test(format)) {\n throw new Error(\n 'The warning format should be able to uniquely identify this ' +\n 'warning. Please, use a more descriptive format than: ' + format\n );\n }\n\n if (!condition) {\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch(x) {}\n }\n };\n}\n\nmodule.exports = warning;\n","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _TransitionGroup = require('./TransitionGroup');\n\nvar _TransitionGroup2 = _interopRequireDefault(_TransitionGroup);\n\nvar _CSSTransitionGroupChild = require('./CSSTransitionGroupChild');\n\nvar _CSSTransitionGroupChild2 = _interopRequireDefault(_CSSTransitionGroupChild);\n\nvar _PropTypes = require('./utils/PropTypes');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar propTypes = {\n transitionName: _PropTypes.nameShape.isRequired,\n\n transitionAppear: _propTypes2.default.bool,\n transitionEnter: _propTypes2.default.bool,\n transitionLeave: _propTypes2.default.bool,\n transitionAppearTimeout: (0, _PropTypes.transitionTimeout)('Appear'),\n transitionEnterTimeout: (0, _PropTypes.transitionTimeout)('Enter'),\n transitionLeaveTimeout: (0, _PropTypes.transitionTimeout)('Leave')\n};\n\nvar defaultProps = {\n transitionAppear: false,\n transitionEnter: true,\n transitionLeave: true\n};\n\nvar CSSTransitionGroup = function (_React$Component) {\n _inherits(CSSTransitionGroup, _React$Component);\n\n function CSSTransitionGroup() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, CSSTransitionGroup);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._wrapChild = function (child) {\n return _react2.default.createElement(_CSSTransitionGroupChild2.default, {\n name: _this.props.transitionName,\n appear: _this.props.transitionAppear,\n enter: _this.props.transitionEnter,\n leave: _this.props.transitionLeave,\n appearTimeout: _this.props.transitionAppearTimeout,\n enterTimeout: _this.props.transitionEnterTimeout,\n leaveTimeout: _this.props.transitionLeaveTimeout\n }, child);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n // We need to provide this childFactory so that\n // ReactCSSTransitionGroupChild can receive updates to name, enter, and\n // leave while it is leaving.\n\n\n CSSTransitionGroup.prototype.render = function render() {\n return _react2.default.createElement(_TransitionGroup2.default, _extends({}, this.props, { childFactory: this._wrapChild }));\n };\n\n return CSSTransitionGroup;\n}(_react2.default.Component);\n\nCSSTransitionGroup.displayName = 'CSSTransitionGroup';\n\n\nCSSTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nCSSTransitionGroup.defaultProps = defaultProps;\n\nexports.default = CSSTransitionGroup;\nmodule.exports = exports['default'];","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\n// -- Inlined from fbjs --\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction _invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nvar warning = function(){};\n\nif (process.env.NODE_ENV !== 'production') {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n}\n\n// /-- Inlined from fbjs --\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\nvar ReactPropTypeLocationNames;\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n} else {\n ReactPropTypeLocationNames = {};\n}\n\nfunction factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) {\n /**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n var injectedMixins = [];\n\n /**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return
Hello World
;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\n var ReactClassInterface = {\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return
Hello, {name}!
;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillMount`.\n *\n * @optional\n */\n UNSAFE_componentWillMount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillReceiveProps`.\n *\n * @optional\n */\n UNSAFE_componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillUpdate`.\n *\n * @optional\n */\n UNSAFE_componentWillUpdate: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n };\n\n /**\n * Similar to ReactClassInterface but for static methods.\n */\n var ReactClassStaticInterface = {\n /**\n * This method is invoked after a component is instantiated and when it\n * receives new props. Return an object to update state in response to\n * prop changes. Return null to indicate no change to state.\n *\n * If an object is returned, its keys will be merged into the existing state.\n *\n * @return {object || null}\n * @optional\n */\n getDerivedStateFromProps: 'DEFINE_MANY_MERGED'\n };\n\n /**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\n var RESERVED_SPEC_KEYS = {\n displayName: function(Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function(Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function(Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign(\n {},\n Constructor.childContextTypes,\n childContextTypes\n );\n },\n contextTypes: function(Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign(\n {},\n Constructor.contextTypes,\n contextTypes\n );\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function(Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(\n Constructor.getDefaultProps,\n getDefaultProps\n );\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function(Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function(Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function() {}\n };\n\n function validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an _invariant so components\n // don't show up in prod but only in __DEV__\n if (process.env.NODE_ENV !== 'production') {\n warning(\n typeof typeDef[propName] === 'function',\n '%s: %s type `%s` is invalid; it must be a function, usually from ' +\n 'React.PropTypes.',\n Constructor.displayName || 'ReactClass',\n ReactPropTypeLocationNames[location],\n propName\n );\n }\n }\n }\n }\n\n function validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name)\n ? ReactClassInterface[name]\n : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n _invariant(\n specPolicy === 'OVERRIDE_BASE',\n 'ReactClassInterface: You are attempting to override ' +\n '`%s` from your class specification. Ensure that your method names ' +\n 'do not overlap with React methods.',\n name\n );\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n _invariant(\n specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClassInterface: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be due ' +\n 'to a mixin.',\n name\n );\n }\n }\n\n /**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\n function mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n isMixinValid,\n \"%s: You're attempting to include a mixin that is either null \" +\n 'or not an object. Check the mixins included by the component, ' +\n 'as well as any mixins they include themselves. ' +\n 'Expected object but got %s.',\n Constructor.displayName || 'ReactClass',\n spec === null ? null : typeofSpec\n );\n }\n }\n\n return;\n }\n\n _invariant(\n typeof spec !== 'function',\n \"ReactClass: You're attempting to \" +\n 'use a component class or function as a mixin. Instead, just use a ' +\n 'regular object.'\n );\n _invariant(\n !isValidElement(spec),\n \"ReactClass: You're attempting to \" +\n 'use a component as a mixin. Instead, just use a regular object.'\n );\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind =\n isFunction &&\n !isReactClassMethod &&\n !isAlreadyDefined &&\n spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n _invariant(\n isReactClassMethod &&\n (specPolicy === 'DEFINE_MANY_MERGED' ||\n specPolicy === 'DEFINE_MANY'),\n 'ReactClass: Unexpected spec policy %s for key %s ' +\n 'when mixing in component specs.',\n specPolicy,\n name\n );\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n }\n\n function mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n _invariant(\n !isReserved,\n 'ReactClass: You are attempting to define a reserved ' +\n 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' +\n 'as an instance property instead; it will still be accessible on the ' +\n 'constructor.',\n name\n );\n\n var isAlreadyDefined = name in Constructor;\n if (isAlreadyDefined) {\n var specPolicy = ReactClassStaticInterface.hasOwnProperty(name)\n ? ReactClassStaticInterface[name]\n : null;\n\n _invariant(\n specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClass: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be ' +\n 'due to a mixin.',\n name\n );\n\n Constructor[name] = createMergedResultFunction(Constructor[name], property);\n\n return;\n }\n\n Constructor[name] = property;\n }\n }\n\n /**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\n function mergeIntoWithNoDuplicateKeys(one, two) {\n _invariant(\n one && two && typeof one === 'object' && typeof two === 'object',\n 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'\n );\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n _invariant(\n one[key] === undefined,\n 'mergeIntoWithNoDuplicateKeys(): ' +\n 'Tried to merge two objects with the same key: `%s`. This conflict ' +\n 'may be due to a mixin; in particular, this may be caused by two ' +\n 'getInitialState() or getDefaultProps() methods returning objects ' +\n 'with clashing keys.',\n key\n );\n one[key] = two[key];\n }\n }\n return one;\n }\n\n /**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n }\n\n /**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n }\n\n /**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\n function bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function(newThis) {\n for (\n var _len = arguments.length,\n args = Array(_len > 1 ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n ) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): React component methods may only be bound to the ' +\n 'component instance. See %s',\n componentName\n );\n }\n } else if (!args.length) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): You are binding a component method to the component. ' +\n 'React does this for you automatically in a high-performance ' +\n 'way, so you can safely remove this call. See %s',\n componentName\n );\n }\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n }\n\n /**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\n function bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n\n var IsMountedPreMixin = {\n componentDidMount: function() {\n this.__isMounted = true;\n }\n };\n\n var IsMountedPostMixin = {\n componentWillUnmount: function() {\n this.__isMounted = false;\n }\n };\n\n /**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\n var ReactClassMixin = {\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function(newState, callback) {\n this.updater.enqueueReplaceState(this, newState, callback);\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function() {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this.__didWarnIsMounted,\n '%s: isMounted is deprecated. Instead, make sure to clean up ' +\n 'subscriptions and pending requests in componentWillUnmount to ' +\n 'prevent memory leaks.',\n (this.constructor && this.constructor.displayName) ||\n this.name ||\n 'Component'\n );\n this.__didWarnIsMounted = true;\n }\n return !!this.__isMounted;\n }\n };\n\n var ReactClassComponent = function() {};\n _assign(\n ReactClassComponent.prototype,\n ReactComponent.prototype,\n ReactClassMixin\n );\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n function createClass(spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function(props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this instanceof Constructor,\n 'Something is calling a React component directly. Use a factory or ' +\n 'JSX instead. See: https://fb.me/react-legacyfactory'\n );\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (\n initialState === undefined &&\n this.getInitialState._isMockFunction\n ) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n _invariant(\n typeof initialState === 'object' && !Array.isArray(initialState),\n '%s.getInitialState(): must return an object or null',\n Constructor.displayName || 'ReactCompositeComponent'\n );\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, IsMountedPreMixin);\n mixSpecIntoComponent(Constructor, spec);\n mixSpecIntoComponent(Constructor, IsMountedPostMixin);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n _invariant(\n Constructor.prototype.render,\n 'createClass(...): Class specification must implement a `render` method.'\n );\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n !Constructor.prototype.componentShouldUpdate,\n '%s has a method called ' +\n 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n 'The name is phrased as a question because the function is ' +\n 'expected to return a value.',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.componentWillRecieveProps,\n '%s has a method called ' +\n 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.UNSAFE_componentWillRecieveProps,\n '%s has a method called UNSAFE_componentWillRecieveProps(). ' +\n 'Did you mean UNSAFE_componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n }\n\n return createClass;\n}\n\nmodule.exports = factory;\n","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _default = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nexports.default = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nexports.__esModule = true;\nvar loopAsync = exports.loopAsync = function loopAsync(turns, work, callback) {\n var currentTurn = 0,\n isDone = false;\n var isSync = false,\n hasNext = false,\n doneArgs = void 0;\n\n var done = function done() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n isDone = true;\n\n if (isSync) {\n // Iterate instead of recursing if possible.\n doneArgs = args;\n return;\n }\n\n callback.apply(undefined, args);\n };\n\n var next = function next() {\n if (isDone) return;\n\n hasNext = true;\n\n if (isSync) return; // Iterate instead of recursing if possible.\n\n isSync = true;\n\n while (!isDone && currentTurn < turns && hasNext) {\n hasNext = false;\n work(currentTurn++, next, done);\n }\n\n isSync = false;\n\n if (isDone) {\n // This means the loop finished synchronously.\n callback.apply(undefined, doneArgs);\n return;\n }\n\n if (currentTurn >= turns && hasNext) {\n isDone = true;\n callback();\n }\n };\n\n next();\n};","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar React = require('react');\nvar factory = require('./factory');\n\nif (typeof React === 'undefined') {\n throw Error(\n 'create-react-class could not find the React object. If you are using script tags, ' +\n 'make sure that React is being loaded before create-react-class.'\n );\n}\n\n// Hack to grab NoopUpdateQueue from isomorphic React\nvar ReactNoopUpdateQueue = new React.Component().updater;\n\nmodule.exports = factory(\n React.Component,\n React.isValidElement,\n ReactNoopUpdateQueue\n);\n","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _chainFunction = require('chain-function');\n\nvar _chainFunction2 = _interopRequireDefault(_chainFunction);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _ChildMapping = require('./utils/ChildMapping');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar propTypes = {\n component: _propTypes2.default.any,\n childFactory: _propTypes2.default.func,\n children: _propTypes2.default.node\n};\n\nvar defaultProps = {\n component: 'span',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n\nvar TransitionGroup = function (_React$Component) {\n _inherits(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n _classCallCheck(this, TransitionGroup);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n _this.performAppear = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillAppear) {\n component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key, component));\n } else {\n _this._handleDoneAppearing(key, component);\n }\n };\n\n _this._handleDoneAppearing = function (key, component) {\n if (component.componentDidAppear) {\n component.componentDidAppear();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully appeared. Remove it.\n _this.performLeave(key, component);\n }\n };\n\n _this.performEnter = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillEnter) {\n component.componentWillEnter(_this._handleDoneEntering.bind(_this, key, component));\n } else {\n _this._handleDoneEntering(key, component);\n }\n };\n\n _this._handleDoneEntering = function (key, component) {\n if (component.componentDidEnter) {\n component.componentDidEnter();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully entered. Remove it.\n _this.performLeave(key, component);\n }\n };\n\n _this.performLeave = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillLeave) {\n component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key, component));\n } else {\n // Note that this is somewhat dangerous b/c it calls setState()\n // again, effectively mutating the component before all the work\n // is done.\n _this._handleDoneLeaving(key, component);\n }\n };\n\n _this._handleDoneLeaving = function (key, component) {\n if (component.componentDidLeave) {\n component.componentDidLeave();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (currentChildMapping && currentChildMapping.hasOwnProperty(key)) {\n // This entered again before it fully left. Add it again.\n _this.keysToEnter.push(key);\n } else {\n _this.setState(function (state) {\n var newChildren = _extends({}, state.children);\n delete newChildren[key];\n return { children: newChildren };\n });\n }\n };\n\n _this.childRefs = Object.create(null);\n\n _this.state = {\n children: (0, _ChildMapping.getChildMapping)(props.children)\n };\n return _this;\n }\n\n TransitionGroup.prototype.componentWillMount = function componentWillMount() {\n this.currentlyTransitioningKeys = {};\n this.keysToEnter = [];\n this.keysToLeave = [];\n };\n\n TransitionGroup.prototype.componentDidMount = function componentDidMount() {\n var initialChildMapping = this.state.children;\n for (var key in initialChildMapping) {\n if (initialChildMapping[key]) {\n this.performAppear(key, this.childRefs[key]);\n }\n }\n };\n\n TransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n var nextChildMapping = (0, _ChildMapping.getChildMapping)(nextProps.children);\n var prevChildMapping = this.state.children;\n\n this.setState({\n children: (0, _ChildMapping.mergeChildMappings)(prevChildMapping, nextChildMapping)\n });\n\n for (var key in nextChildMapping) {\n var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key);\n if (nextChildMapping[key] && !hasPrev && !this.currentlyTransitioningKeys[key]) {\n this.keysToEnter.push(key);\n }\n }\n\n for (var _key in prevChildMapping) {\n var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(_key);\n if (prevChildMapping[_key] && !hasNext && !this.currentlyTransitioningKeys[_key]) {\n this.keysToLeave.push(_key);\n }\n }\n\n // If we want to someday check for reordering, we could do it here.\n };\n\n TransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() {\n var _this2 = this;\n\n var keysToEnter = this.keysToEnter;\n this.keysToEnter = [];\n keysToEnter.forEach(function (key) {\n return _this2.performEnter(key, _this2.childRefs[key]);\n });\n\n var keysToLeave = this.keysToLeave;\n this.keysToLeave = [];\n keysToLeave.forEach(function (key) {\n return _this2.performLeave(key, _this2.childRefs[key]);\n });\n };\n\n TransitionGroup.prototype.render = function render() {\n var _this3 = this;\n\n // TODO: we could get rid of the need for the wrapper node\n // by cloning a single child\n var childrenToRender = [];\n\n var _loop = function _loop(key) {\n var child = _this3.state.children[key];\n if (child) {\n var isCallbackRef = typeof child.ref !== 'string';\n var factoryChild = _this3.props.childFactory(child);\n var ref = function ref(r) {\n _this3.childRefs[key] = r;\n };\n\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(isCallbackRef, 'string refs are not supported on children of TransitionGroup and will be ignored. ' + 'Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute') : void 0;\n\n // Always chaining the refs leads to problems when the childFactory\n // wraps the child. The child ref callback gets called twice with the\n // wrapper and the child. So we only need to chain the ref if the\n // factoryChild is not different from child.\n if (factoryChild === child && isCallbackRef) {\n ref = (0, _chainFunction2.default)(child.ref, ref);\n }\n\n // You may need to apply reactive updates to a child as it is leaving.\n // The normal React way to do it won't work since the child will have\n // already been removed. In case you need this behavior you can provide\n // a childFactory function to wrap every child, even the ones that are\n // leaving.\n childrenToRender.push(_react2.default.cloneElement(factoryChild, {\n key: key,\n ref: ref\n }));\n }\n };\n\n for (var key in this.state.children) {\n _loop(key);\n }\n\n // Do not forward TransitionGroup props to primitive DOM nodes\n var props = _extends({}, this.props);\n delete props.transitionLeave;\n delete props.transitionName;\n delete props.transitionAppear;\n delete props.transitionEnter;\n delete props.childFactory;\n delete props.transitionLeaveTimeout;\n delete props.transitionEnterTimeout;\n delete props.transitionAppearTimeout;\n delete props.component;\n\n return _react2.default.createElement(this.props.component, props, childrenToRender);\n };\n\n return TransitionGroup;\n}(_react2.default.Component);\n\nTransitionGroup.displayName = 'TransitionGroup';\n\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nTransitionGroup.defaultProps = defaultProps;\n\nexports.default = TransitionGroup;\nmodule.exports = exports['default'];","'use strict';\n\nexports.__esModule = true;\n/**\n * Indicates that navigation was caused by a call to history.push.\n */\nvar PUSH = exports.PUSH = 'PUSH';\n\n/**\n * Indicates that navigation was caused by a call to history.replace.\n */\nvar REPLACE = exports.REPLACE = 'REPLACE';\n\n/**\n * Indicates that navigation was caused by some other action such\n * as using a browser's back/forward buttons and/or manually manipulating\n * the URL in a browser's location bar. This is the default.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate\n * for more information.\n */\nvar POP = exports.POP = 'POP';","/** @license React v16.14.0\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),n=require(\"object-assign\"),r=require(\"scheduler\");function u(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}var C={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){C[a]=new v(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];C[b]=new v(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){C[a]=new v(a,2,!1,a.toLowerCase(),null,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){C[a]=new v(a,2,!1,a,null,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){C[a]=new v(a,3,!1,a.toLowerCase(),null,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){C[a]=new v(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){C[a]=new v(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){C[a]=new v(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){C[a]=new v(a,5,!1,a.toLowerCase(),null,!1)});var Ua=/[\\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(Ua,\nVa);C[b]=new v(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!1)});\nC.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!0)});var Wa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty(\"ReactCurrentDispatcher\")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty(\"ReactCurrentBatchConfig\")||(Wa.ReactCurrentBatchConfig={suspense:null});\nfunction Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2=c.length))throw Error(u(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:rb(c)}}\nfunction Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function Lb(a){var b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==b&&null!==b&&(a.value=b)}var Mb={html:\"http://www.w3.org/1999/xhtml\",mathml:\"http://www.w3.org/1998/Math/MathML\",svg:\"http://www.w3.org/2000/svg\"};\nfunction Nb(a){switch(a){case \"svg\":return\"http://www.w3.org/2000/svg\";case \"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function Ob(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?Nb(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}\nvar Pb,Qb=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Mb.svg||\"innerHTML\"in a)a.innerHTML=b;else{Pb=Pb||document.createElement(\"div\");Pb.innerHTML=\"\"+b.valueOf().toString()+\"\";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction Rb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}var Tb={animationend:Sb(\"Animation\",\"AnimationEnd\"),animationiteration:Sb(\"Animation\",\"AnimationIteration\"),animationstart:Sb(\"Animation\",\"AnimationStart\"),transitionend:Sb(\"Transition\",\"TransitionEnd\")},Ub={},Vb={};\nya&&(Vb=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),\"TransitionEvent\"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}\nvar Xb=Wb(\"animationend\"),Yb=Wb(\"animationiteration\"),Zb=Wb(\"animationstart\"),$b=Wb(\"transitionend\"),ac=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),bc=new (\"function\"===typeof WeakMap?WeakMap:Map);function cc(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}\nfunction dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function ec(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function fc(a){if(dc(a)!==a)throw Error(u(188));}\nfunction gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===\nc){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}\nfunction ic(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var kc=null;\nfunction lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;dpc.length&&pc.push(a)}\nfunction rc(a,b,c,d){if(pc.length){var e=pc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}\nfunction sc(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=tc(d)}while(c);for(c=0;c=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ud(c)}}\nfunction wd(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wd(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xd(){for(var a=window,b=td();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=td(a.document)}return b}\nfunction yd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}var zd=\"$\",Ad=\"/$\",Bd=\"$?\",Cd=\"$!\",Dd=null,Ed=null;function Fd(a,b){switch(a){case \"button\":case \"input\":case \"select\":case \"textarea\":return!!b.autoFocus}return!1}\nfunction Gd(a,b){return\"textarea\"===a||\"option\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var Hd=\"function\"===typeof setTimeout?setTimeout:void 0,Id=\"function\"===typeof clearTimeout?clearTimeout:void 0;function Jd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}\nfunction Kd(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===zd||c===Cd||c===Bd){if(0===b)return a;b--}else c===Ad&&b++}a=a.previousSibling}return null}var Ld=Math.random().toString(36).slice(2),Md=\"__reactInternalInstance$\"+Ld,Nd=\"__reactEventHandlers$\"+Ld,Od=\"__reactContainere$\"+Ld;\nfunction tc(a){var b=a[Md];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Od]||c[Md]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kd(a);null!==a;){if(c=a[Md])return c;a=Kd(a)}return b}a=c;c=a.parentNode}return null}function Nc(a){a=a[Md]||a[Od];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pd(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function Qd(a){return a[Nd]||null}\nfunction Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}\nfunction Sd(a,b){var c=a.stateNode;if(!c)return null;var d=la(c);if(!d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==typeof c)throw Error(u(231,\nb,typeof c));return c}function Td(a,b,c){if(b=Sd(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a)}function Ud(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Rd(b);for(b=c.length;0this.eventPool.length&&this.eventPool.push(a)}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&\"CompositionEvent\"in window,ke=null;ya&&\"documentMode\"in document&&(ke=document.documentMode);\nvar le=ya&&\"TextEvent\"in window&&!ke,me=ya&&(!je||ke&&8=ke),ne=String.fromCharCode(32),oe={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\",\ncaptured:\"onCompositionStartCapture\"},dependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},pe=!1;\nfunction qe(a,b){switch(a){case \"keyup\":return-1!==ie.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"blur\":return!0;default:return!1}}function re(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var se=!1;function te(a,b){switch(a){case \"compositionend\":return re(b);case \"keypress\":if(32!==b.which)return null;pe=!0;return ne;case \"textInput\":return a=b.data,a===ne&&pe?null:a;default:return null}}\nfunction ue(a,b){if(se)return\"compositionend\"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},ef=null,ff=null,gf=null,hf=!1;\nfunction jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;\"selectionStart\"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type=\"select\",a.target=ef,Xd(a),a)}\nvar kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc(e);f=wa.onSelect;for(var g=0;gzf||(a.current=yf[zf],yf[zf]=null,zf--)}\nfunction I(a,b){zf++;yf[zf]=a.current;a.current=b}var Af={},J={current:Af},K={current:!1},Bf=Af;function Cf(a,b){var c=a.type.contextTypes;if(!c)return Af;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}\nfunction Df(){H(K);H(J)}function Ef(a,b,c){if(J.current!==Af)throw Error(u(168));I(J,b);I(K,c)}function Ff(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,pb(b)||\"Unknown\",e));return n({},c,{},d)}function Gf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Af;Bf=J.current;I(J,a);I(K,K.current);return!0}\nfunction Hf(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(a=Ff(a,b,Bf),d.__reactInternalMemoizedMergedChildContext=a,H(K),H(J),I(J,a)):H(K);I(K,c)}\nvar If=r.unstable_runWithPriority,Jf=r.unstable_scheduleCallback,Kf=r.unstable_cancelCallback,Lf=r.unstable_requestPaint,Mf=r.unstable_now,Nf=r.unstable_getCurrentPriorityLevel,Of=r.unstable_ImmediatePriority,Pf=r.unstable_UserBlockingPriority,Qf=r.unstable_NormalPriority,Rf=r.unstable_LowPriority,Sf=r.unstable_IdlePriority,Tf={},Uf=r.unstable_shouldYield,Vf=void 0!==Lf?Lf:function(){},Wf=null,Xf=null,Yf=!1,Zf=Mf(),$f=1E4>Zf?Mf:function(){return Mf()-Zf};\nfunction ag(){switch(Nf()){case Of:return 99;case Pf:return 98;case Qf:return 97;case Rf:return 96;case Sf:return 95;default:throw Error(u(332));}}function bg(a){switch(a){case 99:return Of;case 98:return Pf;case 97:return Qf;case 96:return Rf;case 95:return Sf;default:throw Error(u(332));}}function cg(a,b){a=bg(a);return If(a,b)}function dg(a,b,c){a=bg(a);return Jf(a,b,c)}function eg(a){null===Wf?(Wf=[a],Xf=Jf(Of,fg)):Wf.push(a);return Tf}function gg(){if(null!==Xf){var a=Xf;Xf=null;Kf(a)}fg()}\nfunction fg(){if(!Yf&&null!==Wf){Yf=!0;var a=0;try{var b=Wf;cg(99,function(){for(;a=b&&(rg=!0),a.firstContext=null)}\nfunction sg(a,b){if(mg!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)mg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===lg){if(null===kg)throw Error(u(308));lg=b;kg.dependencies={expirationTime:0,firstContext:b,responders:null}}else lg=lg.next=b}return a._currentValue}var tg=!1;function ug(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}\nfunction vg(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function wg(a,b){a={expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null};return a.next=a}function xg(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}\nfunction yg(a,b){var c=a.alternate;null!==c&&vg(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}\nfunction zg(a,b,c,d){var e=a.updateQueue;tg=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&(h.baseQueue=g))}if(null!==f){h=f.next;var k=e.baseState,l=0,m=null,p=null,x=null;if(null!==h){var z=h;do{g=z.expirationTime;if(gl&&(l=g)}else{null!==x&&(x=x.next={expirationTime:1073741823,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null});Ag(g,z.suspenseConfig);a:{var D=a,t=z;g=b;ca=c;switch(t.tag){case 1:D=t.payload;if(\"function\"===typeof D){k=D.call(ca,k,g);break a}k=D;break a;case 3:D.effectTag=D.effectTag&-4097|64;case 0:D=t.payload;g=\"function\"===typeof D?D.call(ca,k,g):D;if(null===g||void 0===g)break a;k=n({},k,g);break a;case 2:tg=!0}}null!==z.callback&&\n(a.effectTag|=32,g=e.effects,null===g?e.effects=[z]:g.push(z))}z=z.next;if(null===z||z===h)if(g=e.shared.pending,null===g)break;else z=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===x?m=k:x.next=p;e.baseState=m;e.baseQueue=x;Bg(l);a.expirationTime=l;a.memoizedState=k}}\nfunction Cg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;by?(A=m,m=null):A=m.sibling;var q=x(e,m,h[y],k);if(null===q){null===m&&(m=A);break}a&&\nm&&null===q.alternate&&b(e,m);g=f(q,g,y);null===t?l=q:t.sibling=q;t=q;m=A}if(y===h.length)return c(e,m),l;if(null===m){for(;yy?(A=t,t=null):A=t.sibling;var D=x(e,t,q.value,l);if(null===D){null===t&&(t=A);break}a&&t&&null===D.alternate&&b(e,t);g=f(D,g,y);null===m?k=D:m.sibling=D;m=D;t=A}if(q.done)return c(e,t),k;if(null===t){for(;!q.done;y++,q=h.next())q=p(e,q.value,l),null!==q&&(g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);return k}for(t=d(e,t);!q.done;y++,q=h.next())q=z(t,e,y,q.value,l),null!==q&&(a&&null!==\nq.alternate&&t.delete(null===q.key?y:q.key),g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);a&&t.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k=\"object\"===typeof f&&null!==f&&f.type===ab&&null===f.key;k&&(f=f.props.children);var l=\"object\"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Za:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ab){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,\nk.sibling);d=e(k,f.props);d.ref=Pg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===ab?(d=Wg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Ug(f.type,f.key,f.props,null,a.mode,h),h.ref=Pg(a,d,f),h.return=a,a=h)}return g(a);case $a:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=\nd.sibling}d=Vg(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===typeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Tg(f,a.mode,h),d.return=a,a=d),g(a);if(Og(f))return ca(a,d,f,h);if(nb(f))return D(a,d,f,h);l&&Qg(a,f);if(\"undefined\"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u(152,a.displayName||a.name||\"Component\"));}return c(a,d)}}var Xg=Rg(!0),Yg=Rg(!1),Zg={},$g={current:Zg},ah={current:Zg},bh={current:Zg};\nfunction ch(a){if(a===Zg)throw Error(u(174));return a}function dh(a,b){I(bh,b);I(ah,a);I($g,Zg);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ob(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ob(b,a)}H($g);I($g,b)}function eh(){H($g);H(ah);H(bh)}function fh(a){ch(bh.current);var b=ch($g.current);var c=Ob(b,a.type);b!==c&&(I(ah,a),I($g,c))}function gh(a){ah.current===a&&(H($g),H(ah))}var M={current:0};\nfunction hh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===Bd||c.data===Cd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ih(a,b){return{responder:a,props:b}}\nvar jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig,lh=0,N=null,O=null,P=null,mh=!1;function Q(){throw Error(u(321));}function nh(a,b){if(null===b)return!1;for(var c=0;cf))throw Error(u(301));f+=1;P=O=null;b.updateQueue=null;jh.current=rh;a=c(d,e)}while(b.expirationTime===lh)}jh.current=sh;b=null!==O&&null!==O.next;lh=0;P=O=N=null;mh=!1;if(b)throw Error(u(300));return a}\nfunction th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===P?N.memoizedState=P=a:P=P.next=a;return P}function uh(){if(null===O){var a=N.alternate;a=null!==a?a.memoizedState:null}else a=O.next;var b=null===P?N.memoizedState:P.next;if(null!==b)P=b,O=a;else{if(null===a)throw Error(u(310));O=a;a={memoizedState:O.memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null};null===P?N.memoizedState=P=a:P=P.next=a}return P}\nfunction vh(a,b){return\"function\"===typeof b?b(a):b}\nfunction wh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=O,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,k=e;do{var l=k.expirationTime;if(lN.expirationTime&&\n(N.expirationTime=l,Bg(l))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),Ag(l,k.suspenseConfig),d=k.eagerReducer===a?k.eagerState:a(d,k.action);k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;$e(d,b.memoizedState)||(rg=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,c.dispatch]}\nfunction xh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);$e(f,b.memoizedState)||(rg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}\nfunction yh(a){var b=th();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:vh,lastRenderedState:a};a=a.dispatch=zh.bind(null,N,a);return[b.memoizedState,a]}function Ah(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=N.updateQueue;null===b?(b={lastEffect:null},N.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}\nfunction Bh(){return uh().memoizedState}function Ch(a,b,c,d){var e=th();N.effectTag|=a;e.memoizedState=Ah(1|b,c,void 0,void 0===d?null:d)}function Dh(a,b,c,d){var e=uh();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&nh(d,g.deps)){Ah(b,c,f,d);return}}N.effectTag|=a;e.memoizedState=Ah(1|b,c,f,d)}function Eh(a,b){return Ch(516,4,a,b)}function Fh(a,b){return Dh(516,4,a,b)}function Gh(a,b){return Dh(4,2,a,b)}\nfunction Hh(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Ih(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Dh(4,2,Hh.bind(null,b,a),c)}function Jh(){}function Kh(a,b){th().memoizedState=[a,void 0===b?null:b];return a}function Lh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}\nfunction Mh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Nh(a,b,c){var d=ag();cg(98>d?98:d,function(){a(!0)});cg(97\\x3c/script>\",a=a.removeChild(a.firstChild)):\"string\"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),\"select\"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Md]=b;a[Nd]=d;ni(a,b,!1,!1);b.stateNode=a;g=pd(e,d);switch(e){case \"iframe\":case \"object\":case \"embed\":F(\"load\",\na);h=d;break;case \"video\":case \"audio\":for(h=0;hd.tailExpiration&&1b)&&tj.set(a,b)))}}\nfunction xj(a,b){a.expirationTimea?c:a;return 2>=a&&b!==a?0:a}\nfunction Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=eg(yj.bind(null,a));else{var b=zj(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=Gg();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Tf&&Kf(c)}a.callbackExpirationTime=\nb;a.callbackPriority=d;b=1073741823===b?eg(yj.bind(null,a)):dg(d,Bj.bind(null,a),{timeout:10*(1073741821-b)-$f()});a.callbackNode=b}}}\nfunction Bj(a,b){wj=0;if(b)return b=Gg(),Cj(a,b),Z(a),null;var c=zj(a);if(0!==c){b=a.callbackNode;if((W&(fj|gj))!==V)throw Error(u(327));Dj();a===T&&c===U||Ej(a,c);if(null!==X){var d=W;W|=fj;var e=Fj();do try{Gj();break}catch(h){Hj(a,h)}while(1);ng();W=d;cj.current=e;if(S===hj)throw b=kj,Ej(a,c),xi(a,c),Z(a),b;if(null===X)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=S,T=null,d){case ti:case hj:throw Error(u(345));case ij:Cj(a,2=c){a.lastPingedTime=c;Ej(a,c);break}}f=zj(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=Hd(Jj.bind(null,a),e);break}Jj(a);break;case vi:xi(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ij(e));if(oj&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Ej(a,c);break}e=zj(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=\nd;break}1073741823!==mj?d=10*(1073741821-mj)-$f():1073741823===lj?d=0:(d=10*(1073741821-lj)-5E3,e=$f(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*bj(d/1960))-d,c=d?d=0:(e=g.busyDelayMs|0,f=$f()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10 component higher in the tree to provide a loading indicator or placeholder to display.\"+qb(g))}S!==\njj&&(S=ij);h=Ai(h,g);p=f;do{switch(p.tag){case 3:k=h;p.effectTag|=4096;p.expirationTime=b;var B=Xi(p,k,b);yg(p,B);break a;case 1:k=h;var w=p.type,ub=p.stateNode;if(0===(p.effectTag&64)&&(\"function\"===typeof w.getDerivedStateFromError||null!==ub&&\"function\"===typeof ub.componentDidCatch&&(null===aj||!aj.has(ub)))){p.effectTag|=4096;p.expirationTime=b;var vb=$i(p,k,b);yg(p,vb);break a}}p=p.return}while(null!==p)}X=Pj(X)}catch(Xc){b=Xc;continue}break}while(1)}\nfunction Fj(){var a=cj.current;cj.current=sh;return null===a?sh:a}function Ag(a,b){awi&&(wi=a)}function Kj(){for(;null!==X;)X=Qj(X)}function Gj(){for(;null!==X&&!Uf();)X=Qj(X)}function Qj(a){var b=Rj(a.alternate,a,U);a.memoizedProps=a.pendingProps;null===b&&(b=Pj(a));dj.current=null;return b}\nfunction Pj(a){X=a;do{var b=X.alternate;a=X.return;if(0===(X.effectTag&2048)){b=si(b,X,U);if(1===U||1!==X.childExpirationTime){for(var c=0,d=X.child;null!==d;){var e=d.expirationTime,f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}X.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=X.firstEffect),null!==X.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=X.firstEffect),a.lastEffect=X.lastEffect),1a?b:a}function Jj(a){var b=ag();cg(99,Sj.bind(null,a,b));return null}\nfunction Sj(a,b){do Dj();while(null!==rj);if((W&(fj|gj))!==V)throw Error(u(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ij(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=\nd-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===T&&(X=T=null,U=0);1h&&(l=h,h=g,g=l),l=vd(q,g),m=vd(q,h),l&&m&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==m.node||w.focusOffset!==m.offset)&&(B=B.createRange(),B.setStart(l.node,l.offset),w.removeAllRanges(),g>h?(w.addRange(B),w.extend(m.node,m.offset)):(B.setEnd(m.node,m.offset),w.addRange(B))))));B=[];for(w=q;w=w.parentNode;)1===w.nodeType&&B.push({element:w,left:w.scrollLeft,\ntop:w.scrollTop});\"function\"===typeof q.focus&&q.focus();for(q=0;q=c)return ji(a,b,c);I(M,M.current&1);b=$h(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return mi(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current);if(!d)return null}return $h(a,b,c)}rg=!1}}else rg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Cf(b,J.current);qg(b,c);e=oh(null,\nb,d,a,e,c);b.effectTag|=1;if(\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(L(d)){var f=!0;Gf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ug(b);var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Fg(b,d,g,a);e.updater=Jg;b.stateNode=e;e._reactInternalFiber=b;Ng(b,d,a,c);b=gi(null,b,d,!0,f,c)}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=\nnull,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ob(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Xj(e);a=ig(e,a);switch(f){case 0:b=di(null,b,e,a,c);break a;case 1:b=fi(null,b,e,a,c);break a;case 11:b=Zh(null,b,e,a,c);break a;case 14:b=ai(null,b,e,ig(e.type,a),d,c);break a}throw Error(u(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),di(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),fi(a,b,d,e,c);\ncase 3:hi(b);d=b.updateQueue;if(null===a||null===d)throw Error(u(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;vg(a,b);zg(b,d,null,c);d=b.memoizedState.element;if(d===e)Xh(),b=$h(a,b,c);else{if(e=b.stateNode.hydrate)Ph=Jd(b.stateNode.containerInfo.firstChild),Oh=b,e=Qh=!0;if(e)for(c=Yg(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),Xh();b=b.child}return b;case 5:return fh(b),null===a&&Uh(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:\nnull,g=e.children,Gd(d,e)?g=null:null!==f&&Gd(d,f)&&(b.effectTag|=16),ei(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&Uh(b),null;case 13:return ji(a,b,c);case 4:return dh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Xg(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),Zh(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,\nb,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(jg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=$e(h,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!K.current){b=$h(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==\nk){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=wg(c,null),l.tag=2,xg(h,l));h.expirationTime=b&&a<=b}function xi(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;cb||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}\nfunction yi(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Cj(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}\nfunction bk(a,b,c,d){var e=b.current,f=Gg(),g=Dg.suspense;f=Hg(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(dc(c)!==c||1!==c.tag)throw Error(u(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(L(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(u(171));}if(1===c.tag){var k=c.type;if(L(k)){c=Ff(c,k,h);break a}}c=h}else c=Af;null===b.context?b.context=c:b.pendingContext=c;b=wg(f,g);b.payload={element:a};d=void 0===\nd?null:d;null!==d&&(b.callback=d);xg(e,b);Ig(e,f);return f}function ck(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function dk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime= 0 ? hashIndex : 0) + '#' + path);\n};\n\nvar getCurrentLocation = exports.getCurrentLocation = function getCurrentLocation(pathCoder, queryKey) {\n var path = pathCoder.decodePath(getHashPath());\n var key = (0, _PathUtils.getQueryStringValueFromPath)(path, queryKey);\n\n var state = void 0;\n if (key) {\n path = (0, _PathUtils.stripQueryStringValueFromPath)(path, queryKey);\n state = (0, _DOMStateStorage.readState)(key);\n }\n\n var init = (0, _PathUtils.parsePath)(path);\n init.state = state;\n\n return (0, _LocationUtils.createLocation)(init, undefined, key);\n};\n\nvar prevLocation = void 0;\n\nvar startListener = exports.startListener = function startListener(listener, pathCoder, queryKey) {\n var handleHashChange = function handleHashChange() {\n var path = getHashPath();\n var encodedPath = pathCoder.encodePath(path);\n\n if (path !== encodedPath) {\n // Always be sure we have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var currentLocation = getCurrentLocation(pathCoder, queryKey);\n\n if (prevLocation && currentLocation.key && prevLocation.key === currentLocation.key) return; // Ignore extraneous hashchange events\n\n prevLocation = currentLocation;\n\n listener(currentLocation);\n }\n };\n\n // Ensure the hash is encoded properly.\n var path = getHashPath();\n var encodedPath = pathCoder.encodePath(path);\n\n if (path !== encodedPath) replaceHashPath(encodedPath);\n\n (0, _DOMUtils.addEventListener)(window, HashChangeEvent, handleHashChange);\n\n return function () {\n return (0, _DOMUtils.removeEventListener)(window, HashChangeEvent, handleHashChange);\n };\n};\n\nvar updateLocation = function updateLocation(location, pathCoder, queryKey, updateHash) {\n var state = location.state,\n key = location.key;\n\n\n var path = pathCoder.encodePath((0, _PathUtils.createPath)(location));\n\n if (state !== undefined) {\n path = (0, _PathUtils.addQueryStringValueToPath)(path, queryKey, key);\n (0, _DOMStateStorage.saveState)(key, state);\n }\n\n prevLocation = location;\n\n updateHash(path);\n};\n\nvar pushLocation = exports.pushLocation = function pushLocation(location, pathCoder, queryKey) {\n return updateLocation(location, pathCoder, queryKey, function (path) {\n if (getHashPath() !== path) {\n pushHashPath(path);\n } else {\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'You cannot PUSH the same path using hash history') : void 0;\n }\n });\n};\n\nvar replaceLocation = exports.replaceLocation = function replaceLocation(location, pathCoder, queryKey) {\n return updateLocation(location, pathCoder, queryKey, function (path) {\n if (getHashPath() !== path) replaceHashPath(path);\n });\n};","'use strict';\n\nexports.__esModule = true;\nexports.getChildMapping = getChildMapping;\nexports.mergeChildMappings = mergeChildMappings;\n\nvar _react = require('react');\n\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\nfunction getChildMapping(children) {\n if (!children) {\n return children;\n }\n var result = {};\n _react.Children.map(children, function (child) {\n return child;\n }).forEach(function (child) {\n result[child.key] = child;\n });\n return result;\n}\n\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\nfunction mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n if (next.hasOwnProperty(key)) {\n return next[key];\n }\n\n return prev[key];\n }\n\n // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n var nextKeysPending = {};\n\n var pendingKeys = [];\n for (var prevKey in prev) {\n if (next.hasOwnProperty(prevKey)) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i = void 0;\n var childMapping = {};\n for (var nextKey in next) {\n if (nextKeysPending.hasOwnProperty(nextKey)) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n childMapping[nextKey] = getValueForKey(nextKey);\n }\n\n // Finally, add the keys which didn't appear before any key in `next`\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}","'use strict';\n\nexports.__esModule = true;\nvar addEventListener = exports.addEventListener = function addEventListener(node, event, listener) {\n return node.addEventListener ? node.addEventListener(event, listener, false) : node.attachEvent('on' + event, listener);\n};\n\nvar removeEventListener = exports.removeEventListener = function removeEventListener(node, event, listener) {\n return node.removeEventListener ? node.removeEventListener(event, listener, false) : node.detachEvent('on' + event, listener);\n};\n\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\nvar supportsHistory = exports.supportsHistory = function supportsHistory() {\n var ua = window.navigator.userAgent;\n\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n\n return window.history && 'pushState' in window.history;\n};\n\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\nvar supportsGoWithoutReloadUsingHash = exports.supportsGoWithoutReloadUsingHash = function supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n};\n\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\nvar supportsPopstateOnHashchange = exports.supportsPopstateOnHashchange = function supportsPopstateOnHashchange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n};\n\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\nvar isExtraneousPopstateEvent = exports.isExtraneousPopstateEvent = function isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n};","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = addClass;\n\nvar _hasClass = _interopRequireDefault(require(\"./hasClass\"));\n\nfunction addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!(0, _hasClass.default)(element, className)) if (typeof element.className === 'string') element.className = element.className + ' ' + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + ' ' + className);\n}\n\nmodule.exports = exports[\"default\"];","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar _BrowserProtocol = require('./BrowserProtocol');\n\nvar BrowserProtocol = _interopRequireWildcard(_BrowserProtocol);\n\nvar _RefreshProtocol = require('./RefreshProtocol');\n\nvar RefreshProtocol = _interopRequireWildcard(_RefreshProtocol);\n\nvar _DOMUtils = require('./DOMUtils');\n\nvar _createHistory = require('./createHistory');\n\nvar _createHistory2 = _interopRequireDefault(_createHistory);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Creates and returns a history object that uses HTML5's history API\n * (pushState, replaceState, and the popstate event) to manage history.\n * This is the recommended method of managing history in browsers because\n * it provides the cleanest URLs.\n *\n * Note: In browsers that do not support the HTML5 history API full\n * page reloads will be used to preserve clean URLs. You can force this\n * behavior using { forceRefresh: true } in options.\n */\nvar createBrowserHistory = function createBrowserHistory() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n !_ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'Browser history needs a DOM') : (0, _invariant2.default)(false) : void 0;\n\n var useRefresh = options.forceRefresh || !(0, _DOMUtils.supportsHistory)();\n var Protocol = useRefresh ? RefreshProtocol : BrowserProtocol;\n\n var getUserConfirmation = Protocol.getUserConfirmation,\n getCurrentLocation = Protocol.getCurrentLocation,\n pushLocation = Protocol.pushLocation,\n replaceLocation = Protocol.replaceLocation,\n go = Protocol.go;\n\n\n var history = (0, _createHistory2.default)(_extends({\n getUserConfirmation: getUserConfirmation }, options, {\n getCurrentLocation: getCurrentLocation,\n pushLocation: pushLocation,\n replaceLocation: replaceLocation,\n go: go\n }));\n\n var listenerCount = 0,\n stopListener = void 0;\n\n var startListener = function startListener(listener, before) {\n if (++listenerCount === 1) stopListener = BrowserProtocol.startListener(history.transitionTo);\n\n var unlisten = before ? history.listenBefore(listener) : history.listen(listener);\n\n return function () {\n unlisten();\n\n if (--listenerCount === 0) stopListener();\n };\n };\n\n var listenBefore = function listenBefore(listener) {\n return startListener(listener, true);\n };\n\n var listen = function listen(listener) {\n return startListener(listener, false);\n };\n\n return _extends({}, history, {\n listenBefore: listenBefore,\n listen: listen\n });\n};\n\nexports.default = createBrowserHistory;","export var NavigationActionType;\n(function (NavigationActionType) {\n NavigationActionType[NavigationActionType[\"Enter\"] = 0] = \"Enter\";\n})(NavigationActionType || (NavigationActionType = {}));\n","export class ObjectComparer {\n static arraysDiffer(a, b) {\n if (a == null || b == null) {\n return a == null && b == null;\n }\n return a.length !== b.length || a.some((item, index) => !ObjectComparer.isSame(item, b[index]));\n }\n static objectsDiffer(a, b) {\n var aProperties = Object.keys(a);\n var bProperties = Object.keys(b);\n return aProperties.length !== bProperties.length || aProperties.some(key => !ObjectComparer.isSame(a[key], b[key]));\n }\n static isSame(a, b) {\n if (a == null || b == null) {\n return a == null && b == null;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n // otherwise comparison as object always returned false\n if (typeof a === 'function') {\n return true;\n }\n if (Array.isArray(a)) {\n return !ObjectComparer.arraysDiffer(a, b);\n }\n if (a instanceof Date && b instanceof Date) {\n return a.getTime() - b.getTime() === 0;\n }\n if (typeof a === 'object' && a !== null && b !== null) {\n return !ObjectComparer.objectsDiffer(a, b);\n }\n return a === b;\n }\n}\n","export function Assert(condition, message, ...args) {\n if (condition) {\n return;\n }\n throw Error(message.replace(/{(\\d+)}/g, (match, matchIndex) => args[matchIndex] ? args[matchIndex] : match));\n}\n","import { Assert } from \"./../Utils/Assert\";\nexport class EventPublisher {\n _registrations = new Map();\n register(subscriber, onDispatch) {\n Assert(!this._registrations.has(subscriber), \"EventPublisher.register: This subscriber is already registered.\");\n this._registrations.set(subscriber, onDispatch);\n }\n unregister(subscriber) {\n Assert(this._registrations.has(subscriber), \"EventPublisher.unregister: This subscriber is not registered.\");\n this._registrations.delete(subscriber);\n }\n dispatch() {\n this._registrations.forEach((callback) => callback());\n }\n}\n","import { ObjectComparer } from \"./../Utils/ObjectComparer\";\nimport { EventPublisher } from \"./EventPublisher\";\nexport class BaseStore {\n _state;\n _eventPublisher;\n _stateChangeTimeout;\n debugEnabled;\n constructor() {\n this._eventPublisher = new EventPublisher();\n this._state = this.getDefaultState();\n this._stateChangeTimeout = null;\n this.debugEnabled = false;\n }\n onChange(listener, callback) {\n this._eventPublisher.register(listener, callback);\n }\n removeChangeListener(listener) {\n this._eventPublisher.unregister(listener);\n }\n subscribeToDispatcher(dispatcher, onDispatch) {\n dispatcher.register(this, (eventData) => {\n onDispatch(eventData);\n this.scheduleStateChangeAsync();\n });\n }\n /// Be wary of setState where you are trying to update an array. To replace an array first replace it \n /// by a null. To extend an array simply add the element to the newState. Replacing an array by an array \n /// will produce a merge, not replace as expected\n setState(newState) {\n this.modifyState(newState);\n }\n getState() {\n return this._state;\n }\n // since there is no elegant way to really reset the state using this.setState() due to jQuery.extend() shittyness\n resetState() {\n this._state = this.getDefaultState();\n this.debug('BaseStore: reset to default state', this._state);\n this.scheduleStateChangeAsync();\n }\n scheduleStateChangeAsync() {\n if (this._stateChangeTimeout) {\n this.debug(\"BaseStore: onChange already scheduled\");\n return;\n }\n else {\n this.debug(\"BaseStore: onChange scheduled\");\n const timeoutObj = setTimeout(() => { this._stateChangeTimeout = null; this.emitStateChanged(); }, 0);\n this._stateChangeTimeout = timeoutObj; //[Symbol.toPrimitive]();\n }\n }\n modifyState(newState) {\n this.debug(\"BaseStore: State change requested\", newState);\n var mergedState = $.extend(true, {}, this._state);\n mergedState = $.extend(true, {}, mergedState, newState);\n if (!this.statesEqual(this._state, mergedState)) {\n this.debug(\"BaseStore: State updated\", mergedState);\n this._state = mergedState;\n this.scheduleStateChangeAsync();\n }\n }\n emitStateChanged() {\n this.debug(\"BaseStore: onChange emitted\", this._state);\n this._eventPublisher.dispatch();\n }\n statesEqual(currentState, newState) {\n return ObjectComparer.isSame(currentState, newState);\n }\n debug(message, param) {\n if (this.debugEnabled) {\n console.debug(message, param);\n }\n }\n}\n","import { Assert } from \"./../Utils/Assert\";\nexport class RouteHelper {\n static insertRouteParameters(route, parameters) {\n var regEx = /:\\w+/g;\n var matches = route.match(regEx);\n if (!matches || matches.length < 1) {\n return route;\n }\n var matchesCount = matches.length;\n for (let i = 0; i < matchesCount; i++) {\n route = RouteHelper.replaceRouteParameter(route, matches[i], parameters);\n }\n return route;\n }\n static replaceRouteParameter(route, parameter, parametersObject) {\n var parameterName = parameter.trim().substr(1); // remove leading ':'\n var paramValue = parametersObject[parameterName];\n Assert(RouteHelper.isValidParamValue(paramValue), 'RouteHelper.insertRouteParameters: could not get parameter ' + parameterName + ' from parameters for route ' + route);\n return route.replace(parameter, paramValue);\n }\n static isValidParamValue(paramValue) {\n if (paramValue === 0 || paramValue === false) {\n return true;\n }\n else {\n return paramValue;\n }\n }\n}\n","export class UrlHelper {\n static getRootRouteUrl() {\n const rootUrl = UrlHelper.getRootRouteDataAttributeValue();\n return UrlHelper.addTrailingSlash(rootUrl);\n }\n static getRootRouteUrlWithoutSlash() {\n const rootUrl = UrlHelper.getRootRouteDataAttributeValue();\n return UrlHelper.removeTrailingSlash(rootUrl);\n }\n static getRootRouteDataAttributeValue() {\n const $javascriptSettings = $('[data-javascript-settings]');\n const rootUrl = $javascriptSettings.data('javascript-root-url');\n return rootUrl;\n }\n static addTrailingSlash(input) {\n const inputLength = input.length;\n if (inputLength > 1 && input.charAt(inputLength - 1) !== '/') {\n return input + '/';\n }\n return input;\n }\n static removeTrailingSlash(input) {\n const inputLength = input.length;\n if (inputLength > 1 && input.charAt(inputLength - 1) === '/') {\n return input.slice(0, inputLength - 1);\n }\n return input;\n }\n}\n","import { RouteHelper } from \"./RouteHelper\";\nimport { UrlHelper } from \"./UrlHelper\";\nexport class RouteFragment {\n constructor(component, indexComponent) {\n this.component = component;\n if (typeof indexComponent === \"string\") {\n this.indexRedirectUrl = indexComponent;\n }\n else {\n this.indexComponent = indexComponent;\n }\n }\n parent;\n indexComponent;\n indexRedirectUrl;\n children = [];\n component;\n route;\n getRoute() {\n return this.route;\n }\n registerChild(child) {\n this.children.push(child);\n }\n getFullRoutePath() {\n if (this.parent) {\n return this.parent.getFullRoutePath() + '/' + this.getRoute();\n }\n return this.getRoute();\n }\n getUrl() {\n if (this.parent) {\n return this.parent.getUrl() + '/' + this.formatUrl();\n }\n return this.formatUrl();\n }\n createParamPage(route, component, indexComponent) {\n var result = (params) => new ParametrizedRouteFragment(route, params, component, this);\n result(null);\n return result;\n }\n createCustomParamPage(route, component, classConstructor, indexComponent) {\n if (!classConstructor) {\n classConstructor = ParametrizedRouteFragment;\n }\n var result = (params) => new classConstructor(route, params, component, this, indexComponent);\n result(null);\n return result;\n }\n createPage(route, component, indexComponent) {\n return new NestedRouteFragment(route, component, this, indexComponent);\n }\n createCustomPage(route, component, classConstructor, indexComponent) {\n if (!classConstructor) {\n classConstructor = NestedRouteFragment;\n }\n return new classConstructor(route, component, this, indexComponent);\n }\n}\nexport class RootRoute extends RouteFragment {\n constructor(component, indexComponent) {\n super(component, indexComponent);\n }\n getRoute() {\n return UrlHelper.getRootRouteUrlWithoutSlash();\n }\n formatUrl() {\n return this.getRoute();\n }\n}\nexport class NestedRouteFragment extends RouteFragment {\n constructor(route, component, parent, indexComponent) {\n super(component, indexComponent);\n this.route = route;\n this.parent = parent;\n parent.registerChild(this);\n }\n formatUrl() {\n return this.getRoute();\n }\n}\nexport class ParametrizedRouteFragment extends RouteFragment {\n constructor(route, parameters, component, parent, indexComponent) {\n super(component, indexComponent);\n this.route = route;\n this.parent = parent;\n this._parameters = parameters;\n parent.registerChild(this);\n }\n _parameters;\n _onEnter;\n formatUrl() {\n var url = RouteHelper.insertRouteParameters(this.getRoute(), this._parameters);\n return url;\n }\n onEnter(callback) {\n this._onEnter = this._onEnter || [];\n this._onEnter.push(callback);\n }\n getOnEnterCallbacks() {\n return this._onEnter;\n }\n}\n","import { Assert } from \"./../Utils/Assert\";\nexport class Dispatcher {\n _isDispatching = false;\n _registrations = new Map();\n _pendingHandlers = [];\n _finishedHandlers = [];\n _lastEventPayload;\n register(subscriber, onDispatch) {\n Assert(!this._registrations.has(subscriber), \"Dispatcher.register: This subscriber is already registered.\");\n this._registrations.set(subscriber, onDispatch);\n }\n unregister(subscriber) {\n Assert(this._registrations.has(subscriber), \"Dispatcher.unregister: This subscriber is not registered.\");\n this._registrations.delete(subscriber);\n }\n dispatch(eventData) {\n Assert(!this._isDispatching, \"Dispatcher.dispatch: Already dispatching an event.\");\n this.startDispatching(eventData);\n this._registrations.forEach((callback, subscriber) => this.invokeCallback(subscriber, callback));\n this.stopDispatching();\n }\n waitFor(...subscribers) {\n Assert(this._isDispatching, 'Dispatcher.waitFor: Must be invoked while dispatching.');\n for (var ii = 0; ii < subscribers.length; ii++) {\n var subscriber = subscribers[ii];\n if (this.isPending(subscriber)) {\n Assert(this.isFinished(subscriber), 'Dispatcher.waitFor: Circular dependency detected while waiting for {0}.', subscriber);\n continue;\n }\n Assert(this._registrations.has(subscriber), 'Dispatcher.waitFor: Trying to wait for a not registered callback');\n this.invokeCallback(subscriber, this._registrations.get(subscriber));\n }\n }\n isDispatching() {\n return this._isDispatching;\n }\n invokeCallback(subscriber, subscriberCallback) {\n if (this.isPending(subscriber)) {\n return;\n }\n this._pendingHandlers.push(subscriber);\n subscriberCallback(this._lastEventPayload);\n this._finishedHandlers.push(subscriber);\n }\n startDispatching(eventData) {\n this._pendingHandlers = [];\n this._finishedHandlers = [];\n this._isDispatching = true;\n this._lastEventPayload = eventData;\n }\n stopDispatching() {\n Assert(this._pendingHandlers.length === this._finishedHandlers.length, \"Dispatcher.stopDispatching: Not all handlers finished dispatching.\");\n this._isDispatching = false;\n delete this._lastEventPayload;\n }\n isPending(subscriber) {\n return this._pendingHandlers.some(pendingHandler => pendingHandler === subscriber);\n }\n isFinished(subscriber) {\n return this._finishedHandlers.some(pendingHandler => pendingHandler === subscriber);\n }\n}\n","export class Actions {\n}\n","import invariant from 'invariant';\n\nfunction escapeRegExp(string) {\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction _compilePattern(pattern) {\n var regexpSource = '';\n var paramNames = [];\n var tokens = [];\n\n var match = void 0,\n lastIndex = 0,\n matcher = /:([a-zA-Z_$][a-zA-Z0-9_$]*)|\\*\\*|\\*|\\(|\\)|\\\\\\(|\\\\\\)/g;\n while (match = matcher.exec(pattern)) {\n if (match.index !== lastIndex) {\n tokens.push(pattern.slice(lastIndex, match.index));\n regexpSource += escapeRegExp(pattern.slice(lastIndex, match.index));\n }\n\n if (match[1]) {\n regexpSource += '([^/]+)';\n paramNames.push(match[1]);\n } else if (match[0] === '**') {\n regexpSource += '(.*)';\n paramNames.push('splat');\n } else if (match[0] === '*') {\n regexpSource += '(.*?)';\n paramNames.push('splat');\n } else if (match[0] === '(') {\n regexpSource += '(?:';\n } else if (match[0] === ')') {\n regexpSource += ')?';\n } else if (match[0] === '\\\\(') {\n regexpSource += '\\\\(';\n } else if (match[0] === '\\\\)') {\n regexpSource += '\\\\)';\n }\n\n tokens.push(match[0]);\n\n lastIndex = matcher.lastIndex;\n }\n\n if (lastIndex !== pattern.length) {\n tokens.push(pattern.slice(lastIndex, pattern.length));\n regexpSource += escapeRegExp(pattern.slice(lastIndex, pattern.length));\n }\n\n return {\n pattern: pattern,\n regexpSource: regexpSource,\n paramNames: paramNames,\n tokens: tokens\n };\n}\n\nvar CompiledPatternsCache = Object.create(null);\n\nexport function compilePattern(pattern) {\n if (!CompiledPatternsCache[pattern]) CompiledPatternsCache[pattern] = _compilePattern(pattern);\n\n return CompiledPatternsCache[pattern];\n}\n\n/**\n * Attempts to match a pattern on the given pathname. Patterns may use\n * the following special characters:\n *\n * - :paramName Matches a URL segment up to the next /, ?, or #. The\n * captured string is considered a \"param\"\n * - () Wraps a segment of the URL that is optional\n * - * Consumes (non-greedy) all characters up to the next\n * character in the pattern, or to the end of the URL if\n * there is none\n * - ** Consumes (greedy) all characters up to the next character\n * in the pattern, or to the end of the URL if there is none\n *\n * The function calls callback(error, matched) when finished.\n * The return value is an object with the following properties:\n *\n * - remainingPathname\n * - paramNames\n * - paramValues\n */\nexport function matchPattern(pattern, pathname) {\n // Ensure pattern starts with leading slash for consistency with pathname.\n if (pattern.charAt(0) !== '/') {\n pattern = '/' + pattern;\n }\n\n var _compilePattern2 = compilePattern(pattern),\n regexpSource = _compilePattern2.regexpSource,\n paramNames = _compilePattern2.paramNames,\n tokens = _compilePattern2.tokens;\n\n if (pattern.charAt(pattern.length - 1) !== '/') {\n regexpSource += '/?'; // Allow optional path separator at end.\n }\n\n // Special-case patterns like '*' for catch-all routes.\n if (tokens[tokens.length - 1] === '*') {\n regexpSource += '$';\n }\n\n var match = pathname.match(new RegExp('^' + regexpSource, 'i'));\n if (match == null) {\n return null;\n }\n\n var matchedPath = match[0];\n var remainingPathname = pathname.substr(matchedPath.length);\n\n if (remainingPathname) {\n // Require that the match ends at a path separator, if we didn't match\n // the full path, so any remaining pathname is a new path segment.\n if (matchedPath.charAt(matchedPath.length - 1) !== '/') {\n return null;\n }\n\n // If there is a remaining pathname, treat the path separator as part of\n // the remaining pathname for properly continuing the match.\n remainingPathname = '/' + remainingPathname;\n }\n\n return {\n remainingPathname: remainingPathname,\n paramNames: paramNames,\n paramValues: match.slice(1).map(function (v) {\n return v && decodeURIComponent(v);\n })\n };\n}\n\nexport function getParamNames(pattern) {\n return compilePattern(pattern).paramNames;\n}\n\nexport function getParams(pattern, pathname) {\n var match = matchPattern(pattern, pathname);\n if (!match) {\n return null;\n }\n\n var paramNames = match.paramNames,\n paramValues = match.paramValues;\n\n var params = {};\n\n paramNames.forEach(function (paramName, index) {\n params[paramName] = paramValues[index];\n });\n\n return params;\n}\n\n/**\n * Returns a version of the given pattern with params interpolated. Throws\n * if there is a dynamic segment of the pattern for which there is no param.\n */\nexport function formatPattern(pattern, params) {\n params = params || {};\n\n var _compilePattern3 = compilePattern(pattern),\n tokens = _compilePattern3.tokens;\n\n var parenCount = 0,\n pathname = '',\n splatIndex = 0,\n parenHistory = [];\n\n var token = void 0,\n paramName = void 0,\n paramValue = void 0;\n for (var i = 0, len = tokens.length; i < len; ++i) {\n token = tokens[i];\n\n if (token === '*' || token === '**') {\n paramValue = Array.isArray(params.splat) ? params.splat[splatIndex++] : params.splat;\n\n !(paramValue != null || parenCount > 0) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Missing splat #%s for path \"%s\"', splatIndex, pattern) : invariant(false) : void 0;\n\n if (paramValue != null) pathname += encodeURI(paramValue);\n } else if (token === '(') {\n parenHistory[parenCount] = '';\n parenCount += 1;\n } else if (token === ')') {\n var parenText = parenHistory.pop();\n parenCount -= 1;\n\n if (parenCount) parenHistory[parenCount - 1] += parenText;else pathname += parenText;\n } else if (token === '\\\\(') {\n pathname += '(';\n } else if (token === '\\\\)') {\n pathname += ')';\n } else if (token.charAt(0) === ':') {\n paramName = token.substring(1);\n paramValue = params[paramName];\n\n !(paramValue != null || parenCount > 0) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Missing \"%s\" parameter for path \"%s\"', paramName, pattern) : invariant(false) : void 0;\n\n if (paramValue == null) {\n if (parenCount) {\n parenHistory[parenCount - 1] = '';\n\n var curTokenIdx = tokens.indexOf(token);\n var tokensSubset = tokens.slice(curTokenIdx, tokens.length);\n var nextParenIdx = -1;\n\n for (var _i = 0; _i < tokensSubset.length; _i++) {\n if (tokensSubset[_i] == ')') {\n nextParenIdx = _i;\n break;\n }\n }\n\n !(nextParenIdx > 0) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Path \"%s\" is missing end paren at segment \"%s\"', pattern, tokensSubset.join('')) : invariant(false) : void 0;\n\n // jump to ending paren\n i = curTokenIdx + nextParenIdx - 1;\n }\n } else if (parenCount) parenHistory[parenCount - 1] += encodeURIComponent(paramValue);else pathname += encodeURIComponent(paramValue);\n } else {\n if (parenCount) parenHistory[parenCount - 1] += token;else pathname += token;\n }\n }\n\n !(parenCount <= 0) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Path \"%s\" is missing end paren', pattern) : invariant(false) : void 0;\n\n return pathname.replace(/\\/+/g, '/');\n}","import { getParamNames } from './PatternUtils';\n\nfunction routeParamsChanged(route, prevState, nextState) {\n if (!route.path) return false;\n\n var paramNames = getParamNames(route.path);\n\n return paramNames.some(function (paramName) {\n return prevState.params[paramName] !== nextState.params[paramName];\n });\n}\n\n/**\n * Returns an object of { leaveRoutes, changeRoutes, enterRoutes } determined by\n * the change from prevState to nextState. We leave routes if either\n * 1) they are not in the next state or 2) they are in the next state\n * but their params have changed (i.e. /users/123 => /users/456).\n *\n * leaveRoutes are ordered starting at the leaf route of the tree\n * we're leaving up to the common parent route. enterRoutes are ordered\n * from the top of the tree we're entering down to the leaf route.\n *\n * changeRoutes are any routes that didn't leave or enter during\n * the transition.\n */\nfunction computeChangedRoutes(prevState, nextState) {\n var prevRoutes = prevState && prevState.routes;\n var nextRoutes = nextState.routes;\n\n var leaveRoutes = void 0,\n changeRoutes = void 0,\n enterRoutes = void 0;\n if (prevRoutes) {\n var parentIsLeaving = false;\n leaveRoutes = prevRoutes.filter(function (route) {\n if (parentIsLeaving) {\n return true;\n } else {\n var isLeaving = nextRoutes.indexOf(route) === -1 || routeParamsChanged(route, prevState, nextState);\n if (isLeaving) parentIsLeaving = true;\n return isLeaving;\n }\n });\n\n // onLeave hooks start at the leaf route.\n leaveRoutes.reverse();\n\n enterRoutes = [];\n changeRoutes = [];\n\n nextRoutes.forEach(function (route) {\n var isNew = prevRoutes.indexOf(route) === -1;\n var paramsChanged = leaveRoutes.indexOf(route) !== -1;\n\n if (isNew || paramsChanged) enterRoutes.push(route);else changeRoutes.push(route);\n });\n } else {\n leaveRoutes = [];\n changeRoutes = [];\n enterRoutes = nextRoutes;\n }\n\n return {\n leaveRoutes: leaveRoutes,\n changeRoutes: changeRoutes,\n enterRoutes: enterRoutes\n };\n}\n\nexport default computeChangedRoutes;","export function loopAsync(turns, work, callback) {\n var currentTurn = 0,\n isDone = false;\n var sync = false,\n hasNext = false,\n doneArgs = void 0;\n\n function done() {\n isDone = true;\n if (sync) {\n // Iterate instead of recursing if possible.\n doneArgs = [].concat(Array.prototype.slice.call(arguments));\n return;\n }\n\n callback.apply(this, arguments);\n }\n\n function next() {\n if (isDone) {\n return;\n }\n\n hasNext = true;\n if (sync) {\n // Iterate instead of recursing if possible.\n return;\n }\n\n sync = true;\n\n while (!isDone && currentTurn < turns && hasNext) {\n hasNext = false;\n work.call(this, currentTurn++, next, done);\n }\n\n sync = false;\n\n if (isDone) {\n // This means the loop finished synchronously.\n callback.apply(this, doneArgs);\n return;\n }\n\n if (currentTurn >= turns && hasNext) {\n isDone = true;\n callback();\n }\n }\n\n next();\n}\n\nexport function mapAsync(array, work, callback) {\n var length = array.length;\n var values = [];\n\n if (length === 0) return callback(null, values);\n\n var isDone = false,\n doneCount = 0;\n\n function done(index, error, value) {\n if (isDone) return;\n\n if (error) {\n isDone = true;\n callback(error);\n } else {\n values[index] = value;\n\n isDone = ++doneCount === length;\n\n if (isDone) callback(null, values);\n }\n }\n\n array.forEach(function (item, index) {\n work(item, index, function (error, value) {\n done(index, error, value);\n });\n });\n}","function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nimport { loopAsync } from './AsyncUtils';\n\nvar PendingHooks = function PendingHooks() {\n var _this = this;\n\n _classCallCheck(this, PendingHooks);\n\n this.hooks = [];\n\n this.add = function (hook) {\n return _this.hooks.push(hook);\n };\n\n this.remove = function (hook) {\n return _this.hooks = _this.hooks.filter(function (h) {\n return h !== hook;\n });\n };\n\n this.has = function (hook) {\n return _this.hooks.indexOf(hook) !== -1;\n };\n\n this.clear = function () {\n return _this.hooks = [];\n };\n};\n\nexport default function getTransitionUtils() {\n var enterHooks = new PendingHooks();\n var changeHooks = new PendingHooks();\n\n function createTransitionHook(hook, route, asyncArity, pendingHooks) {\n var isSync = hook.length < asyncArity;\n\n var transitionHook = function transitionHook() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n hook.apply(route, args);\n\n if (isSync) {\n var callback = args[args.length - 1];\n // Assume hook executes synchronously and\n // automatically call the callback.\n callback();\n }\n };\n\n pendingHooks.add(transitionHook);\n\n return transitionHook;\n }\n\n function getEnterHooks(routes) {\n return routes.reduce(function (hooks, route) {\n if (route.onEnter) hooks.push(createTransitionHook(route.onEnter, route, 3, enterHooks));\n return hooks;\n }, []);\n }\n\n function getChangeHooks(routes) {\n return routes.reduce(function (hooks, route) {\n if (route.onChange) hooks.push(createTransitionHook(route.onChange, route, 4, changeHooks));\n return hooks;\n }, []);\n }\n\n function runTransitionHooks(length, iter, callback) {\n if (!length) {\n callback();\n return;\n }\n\n var redirectInfo = void 0;\n function replace(location) {\n redirectInfo = location;\n }\n\n loopAsync(length, function (index, next, done) {\n iter(index, replace, function (error) {\n if (error || redirectInfo) {\n done(error, redirectInfo); // No need to continue.\n } else {\n next();\n }\n });\n }, callback);\n }\n\n /**\n * Runs all onEnter hooks in the given array of routes in order\n * with onEnter(nextState, replace, callback) and calls\n * callback(error, redirectInfo) when finished. The first hook\n * to use replace short-circuits the loop.\n *\n * If a hook needs to run asynchronously, it may use the callback\n * function. However, doing so will cause the transition to pause,\n * which could lead to a non-responsive UI if the hook is slow.\n */\n function runEnterHooks(routes, nextState, callback) {\n enterHooks.clear();\n var hooks = getEnterHooks(routes);\n return runTransitionHooks(hooks.length, function (index, replace, next) {\n var wrappedNext = function wrappedNext() {\n if (enterHooks.has(hooks[index])) {\n next.apply(undefined, arguments);\n enterHooks.remove(hooks[index]);\n }\n };\n hooks[index](nextState, replace, wrappedNext);\n }, callback);\n }\n\n /**\n * Runs all onChange hooks in the given array of routes in order\n * with onChange(prevState, nextState, replace, callback) and calls\n * callback(error, redirectInfo) when finished. The first hook\n * to use replace short-circuits the loop.\n *\n * If a hook needs to run asynchronously, it may use the callback\n * function. However, doing so will cause the transition to pause,\n * which could lead to a non-responsive UI if the hook is slow.\n */\n function runChangeHooks(routes, state, nextState, callback) {\n changeHooks.clear();\n var hooks = getChangeHooks(routes);\n return runTransitionHooks(hooks.length, function (index, replace, next) {\n var wrappedNext = function wrappedNext() {\n if (changeHooks.has(hooks[index])) {\n next.apply(undefined, arguments);\n changeHooks.remove(hooks[index]);\n }\n };\n hooks[index](state, nextState, replace, wrappedNext);\n }, callback);\n }\n\n /**\n * Runs all onLeave hooks in the given array of routes in order.\n */\n function runLeaveHooks(routes, prevState) {\n for (var i = 0, len = routes.length; i < len; ++i) {\n if (routes[i].onLeave) routes[i].onLeave.call(routes[i], prevState);\n }\n }\n\n return {\n runEnterHooks: runEnterHooks,\n runChangeHooks: runChangeHooks,\n runLeaveHooks: runLeaveHooks\n };\n}","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nimport { matchPattern } from './PatternUtils';\n\nfunction deepEqual(a, b) {\n if (a == b) return true;\n\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {\n return deepEqual(item, b[index]);\n });\n }\n\n if ((typeof a === 'undefined' ? 'undefined' : _typeof(a)) === 'object') {\n for (var p in a) {\n if (!Object.prototype.hasOwnProperty.call(a, p)) {\n continue;\n }\n\n if (a[p] === undefined) {\n if (b[p] !== undefined) {\n return false;\n }\n } else if (!Object.prototype.hasOwnProperty.call(b, p)) {\n return false;\n } else if (!deepEqual(a[p], b[p])) {\n return false;\n }\n }\n\n return true;\n }\n\n return String(a) === String(b);\n}\n\n/**\n * Returns true if the current pathname matches the supplied one, net of\n * leading and trailing slash normalization. This is sufficient for an\n * indexOnly route match.\n */\nfunction pathIsActive(pathname, currentPathname) {\n // Normalize leading slash for consistency. Leading slash on pathname has\n // already been normalized in isActive. See caveat there.\n if (currentPathname.charAt(0) !== '/') {\n currentPathname = '/' + currentPathname;\n }\n\n // Normalize the end of both path names too. Maybe `/foo/` shouldn't show\n // `/foo` as active, but in this case, we would already have failed the\n // match.\n if (pathname.charAt(pathname.length - 1) !== '/') {\n pathname += '/';\n }\n if (currentPathname.charAt(currentPathname.length - 1) !== '/') {\n currentPathname += '/';\n }\n\n return currentPathname === pathname;\n}\n\n/**\n * Returns true if the given pathname matches the active routes and params.\n */\nfunction routeIsActive(pathname, routes, params) {\n var remainingPathname = pathname,\n paramNames = [],\n paramValues = [];\n\n // for...of would work here but it's probably slower post-transpilation.\n for (var i = 0, len = routes.length; i < len; ++i) {\n var route = routes[i];\n var pattern = route.path || '';\n\n if (pattern.charAt(0) === '/') {\n remainingPathname = pathname;\n paramNames = [];\n paramValues = [];\n }\n\n if (remainingPathname !== null && pattern) {\n var matched = matchPattern(pattern, remainingPathname);\n if (matched) {\n remainingPathname = matched.remainingPathname;\n paramNames = [].concat(paramNames, matched.paramNames);\n paramValues = [].concat(paramValues, matched.paramValues);\n } else {\n remainingPathname = null;\n }\n\n if (remainingPathname === '') {\n // We have an exact match on the route. Just check that all the params\n // match.\n // FIXME: This doesn't work on repeated params.\n return paramNames.every(function (paramName, index) {\n return String(paramValues[index]) === String(params[paramName]);\n });\n }\n }\n }\n\n return false;\n}\n\n/**\n * Returns true if all key/value pairs in the given query are\n * currently active.\n */\nfunction queryIsActive(query, activeQuery) {\n if (activeQuery == null) return query == null;\n\n if (query == null) return true;\n\n return deepEqual(query, activeQuery);\n}\n\n/**\n * Returns true if a to the given pathname/query combination is\n * currently active.\n */\nexport default function isActive(_ref, indexOnly, currentLocation, routes, params) {\n var pathname = _ref.pathname,\n query = _ref.query;\n\n if (currentLocation == null) return false;\n\n // TODO: This is a bit ugly. It keeps around support for treating pathnames\n // without preceding slashes as absolute paths, but possibly also works\n // around the same quirks with basenames as in matchRoutes.\n if (pathname.charAt(0) !== '/') {\n pathname = '/' + pathname;\n }\n\n if (!pathIsActive(pathname, currentLocation.pathname)) {\n // The path check is necessary and sufficient for indexOnly, but otherwise\n // we still need to check the routes.\n if (indexOnly || !routeIsActive(pathname, routes, params)) {\n return false;\n }\n }\n\n return queryIsActive(query, currentLocation.query);\n}","export function isPromise(obj) {\n return obj && typeof obj.then === 'function';\n}","import { mapAsync } from './AsyncUtils';\nimport { isPromise } from './PromiseUtils';\n\nfunction getComponentsForRoute(nextState, route, callback) {\n if (route.component || route.components) {\n callback(null, route.component || route.components);\n return;\n }\n\n var getComponent = route.getComponent || route.getComponents;\n if (getComponent) {\n var componentReturn = getComponent.call(route, nextState, callback);\n if (isPromise(componentReturn)) componentReturn.then(function (component) {\n return callback(null, component);\n }, callback);\n } else {\n callback();\n }\n}\n\n/**\n * Asynchronously fetches all components needed for the given router\n * state and calls callback(error, components) when finished.\n *\n * Note: This operation may finish synchronously if no routes have an\n * asynchronous getComponents method.\n */\nfunction getComponents(nextState, callback) {\n mapAsync(nextState.routes, function (route, index, callback) {\n getComponentsForRoute(nextState, route, callback);\n }, callback);\n}\n\nexport default getComponents;","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nimport React from 'react';\n\nfunction isValidChild(object) {\n return object == null || React.isValidElement(object);\n}\n\nexport function isReactChildren(object) {\n return isValidChild(object) || Array.isArray(object) && object.every(isValidChild);\n}\n\nfunction createRoute(defaultProps, props) {\n return _extends({}, defaultProps, props);\n}\n\nexport function createRouteFromReactElement(element) {\n var type = element.type;\n var route = createRoute(type.defaultProps, element.props);\n\n if (route.children) {\n var childRoutes = createRoutesFromReactChildren(route.children, route);\n\n if (childRoutes.length) route.childRoutes = childRoutes;\n\n delete route.children;\n }\n\n return route;\n}\n\n/**\n * Creates and returns a routes object from the given ReactChildren. JSX\n * provides a convenient way to visualize how routes in the hierarchy are\n * nested.\n *\n * import { Route, createRoutesFromReactChildren } from 'react-router'\n *\n * const routes = createRoutesFromReactChildren(\n * \n * \n * \n * \n * )\n *\n * Note: This method is automatically used when you provide children\n * to a component.\n */\nexport function createRoutesFromReactChildren(children, parentRoute) {\n var routes = [];\n\n React.Children.forEach(children, function (element) {\n if (React.isValidElement(element)) {\n // Component classes may have a static create* method.\n if (element.type.createRouteFromReactElement) {\n var route = element.type.createRouteFromReactElement(element, parentRoute);\n\n if (route) routes.push(route);\n } else {\n routes.push(createRouteFromReactElement(element));\n }\n }\n });\n\n return routes;\n}\n\n/**\n * Creates and returns an array of routes from the given object which\n * may be a JSX route, a plain object route, or an array of either.\n */\nexport function createRoutes(routes) {\n if (isReactChildren(routes)) {\n routes = createRoutesFromReactChildren(routes);\n } else if (routes && !Array.isArray(routes)) {\n routes = [routes];\n }\n\n return routes;\n}","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nimport { loopAsync } from './AsyncUtils';\nimport { isPromise } from './PromiseUtils';\nimport { matchPattern } from './PatternUtils';\nimport warning from './routerWarning';\nimport { createRoutes } from './RouteUtils';\n\nfunction getChildRoutes(route, location, paramNames, paramValues, callback) {\n if (route.childRoutes) {\n return [null, route.childRoutes];\n }\n if (!route.getChildRoutes) {\n return [];\n }\n\n var sync = true,\n result = void 0;\n\n var partialNextState = {\n location: location,\n params: createParams(paramNames, paramValues)\n };\n\n var childRoutesReturn = route.getChildRoutes(partialNextState, function (error, childRoutes) {\n childRoutes = !error && createRoutes(childRoutes);\n if (sync) {\n result = [error, childRoutes];\n return;\n }\n\n callback(error, childRoutes);\n });\n\n if (isPromise(childRoutesReturn)) childRoutesReturn.then(function (childRoutes) {\n return callback(null, createRoutes(childRoutes));\n }, callback);\n\n sync = false;\n return result; // Might be undefined.\n}\n\nfunction getIndexRoute(route, location, paramNames, paramValues, callback) {\n if (route.indexRoute) {\n callback(null, route.indexRoute);\n } else if (route.getIndexRoute) {\n var partialNextState = {\n location: location,\n params: createParams(paramNames, paramValues)\n };\n\n var indexRoutesReturn = route.getIndexRoute(partialNextState, function (error, indexRoute) {\n callback(error, !error && createRoutes(indexRoute)[0]);\n });\n\n if (isPromise(indexRoutesReturn)) indexRoutesReturn.then(function (indexRoute) {\n return callback(null, createRoutes(indexRoute)[0]);\n }, callback);\n } else if (route.childRoutes || route.getChildRoutes) {\n var onChildRoutes = function onChildRoutes(error, childRoutes) {\n if (error) {\n callback(error);\n return;\n }\n\n var pathless = childRoutes.filter(function (childRoute) {\n return !childRoute.path;\n });\n\n loopAsync(pathless.length, function (index, next, done) {\n getIndexRoute(pathless[index], location, paramNames, paramValues, function (error, indexRoute) {\n if (error || indexRoute) {\n var routes = [pathless[index]].concat(Array.isArray(indexRoute) ? indexRoute : [indexRoute]);\n done(error, routes);\n } else {\n next();\n }\n });\n }, function (err, routes) {\n callback(null, routes);\n });\n };\n\n var result = getChildRoutes(route, location, paramNames, paramValues, onChildRoutes);\n if (result) {\n onChildRoutes.apply(undefined, result);\n }\n } else {\n callback();\n }\n}\n\nfunction assignParams(params, paramNames, paramValues) {\n return paramNames.reduce(function (params, paramName, index) {\n var paramValue = paramValues && paramValues[index];\n\n if (Array.isArray(params[paramName])) {\n params[paramName].push(paramValue);\n } else if (paramName in params) {\n params[paramName] = [params[paramName], paramValue];\n } else {\n params[paramName] = paramValue;\n }\n\n return params;\n }, params);\n}\n\nfunction createParams(paramNames, paramValues) {\n return assignParams({}, paramNames, paramValues);\n}\n\nfunction matchRouteDeep(route, location, remainingPathname, paramNames, paramValues, callback) {\n var pattern = route.path || '';\n\n if (pattern.charAt(0) === '/') {\n remainingPathname = location.pathname;\n paramNames = [];\n paramValues = [];\n }\n\n // Only try to match the path if the route actually has a pattern, and if\n // we're not just searching for potential nested absolute paths.\n if (remainingPathname !== null && pattern) {\n try {\n var matched = matchPattern(pattern, remainingPathname);\n if (matched) {\n remainingPathname = matched.remainingPathname;\n paramNames = [].concat(paramNames, matched.paramNames);\n paramValues = [].concat(paramValues, matched.paramValues);\n } else {\n remainingPathname = null;\n }\n } catch (error) {\n callback(error);\n }\n\n // By assumption, pattern is non-empty here, which is the prerequisite for\n // actually terminating a match.\n if (remainingPathname === '') {\n var match = {\n routes: [route],\n params: createParams(paramNames, paramValues)\n };\n\n getIndexRoute(route, location, paramNames, paramValues, function (error, indexRoute) {\n if (error) {\n callback(error);\n } else {\n if (Array.isArray(indexRoute)) {\n var _match$routes;\n\n process.env.NODE_ENV !== 'production' ? warning(indexRoute.every(function (route) {\n return !route.path;\n }), 'Index routes should not have paths') : void 0;\n (_match$routes = match.routes).push.apply(_match$routes, indexRoute);\n } else if (indexRoute) {\n process.env.NODE_ENV !== 'production' ? warning(!indexRoute.path, 'Index routes should not have paths') : void 0;\n match.routes.push(indexRoute);\n }\n\n callback(null, match);\n }\n });\n\n return;\n }\n }\n\n if (remainingPathname != null || route.childRoutes) {\n // Either a) this route matched at least some of the path or b)\n // we don't have to load this route's children asynchronously. In\n // either case continue checking for matches in the subtree.\n var onChildRoutes = function onChildRoutes(error, childRoutes) {\n if (error) {\n callback(error);\n } else if (childRoutes) {\n // Check the child routes to see if any of them match.\n matchRoutes(childRoutes, location, function (error, match) {\n if (error) {\n callback(error);\n } else if (match) {\n // A child route matched! Augment the match and pass it up the stack.\n match.routes.unshift(route);\n callback(null, match);\n } else {\n callback();\n }\n }, remainingPathname, paramNames, paramValues);\n } else {\n callback();\n }\n };\n\n var result = getChildRoutes(route, location, paramNames, paramValues, onChildRoutes);\n if (result) {\n onChildRoutes.apply(undefined, result);\n }\n } else {\n callback();\n }\n}\n\n/**\n * Asynchronously matches the given location to a set of routes and calls\n * callback(error, state) when finished. The state object will have the\n * following properties:\n *\n * - routes An array of routes that matched, in hierarchical order\n * - params An object of URL parameters\n *\n * Note: This operation may finish synchronously if no routes have an\n * asynchronous getChildRoutes method.\n */\nexport default function matchRoutes(routes, location, callback, remainingPathname) {\n var paramNames = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];\n var paramValues = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];\n\n if (remainingPathname === undefined) {\n // TODO: This is a little bit ugly, but it works around a quirk in history\n // that strips the leading slash from pathnames when using basenames with\n // trailing slashes.\n if (location.pathname.charAt(0) !== '/') {\n location = _extends({}, location, {\n pathname: '/' + location.pathname\n });\n }\n remainingPathname = location.pathname;\n }\n\n loopAsync(routes.length, function (index, next, done) {\n matchRouteDeep(routes[index], location, remainingPathname, paramNames, paramValues, function (error, match) {\n if (error || match) {\n done(error, match);\n } else {\n next();\n }\n });\n }, callback);\n}","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nimport warning from './routerWarning';\nimport computeChangedRoutes from './computeChangedRoutes';\nimport getTransitionUtils from './TransitionUtils';\nimport _isActive from './isActive';\nimport getComponents from './getComponents';\nimport matchRoutes from './matchRoutes';\n\nfunction hasAnyProperties(object) {\n for (var p in object) {\n if (Object.prototype.hasOwnProperty.call(object, p)) return true;\n }return false;\n}\n\nexport default function createTransitionManager(history, routes) {\n var state = {};\n\n var _getTransitionUtils = getTransitionUtils(),\n runEnterHooks = _getTransitionUtils.runEnterHooks,\n runChangeHooks = _getTransitionUtils.runChangeHooks,\n runLeaveHooks = _getTransitionUtils.runLeaveHooks;\n\n // Signature should be (location, indexOnly), but needs to support (path,\n // query, indexOnly)\n\n\n function isActive(location, indexOnly) {\n location = history.createLocation(location);\n\n return _isActive(location, indexOnly, state.location, state.routes, state.params);\n }\n\n var partialNextState = void 0;\n\n function match(location, callback) {\n if (partialNextState && partialNextState.location === location) {\n // Continue from where we left off.\n finishMatch(partialNextState, callback);\n } else {\n matchRoutes(routes, location, function (error, nextState) {\n if (error) {\n callback(error);\n } else if (nextState) {\n finishMatch(_extends({}, nextState, { location: location }), callback);\n } else {\n callback();\n }\n });\n }\n }\n\n function finishMatch(nextState, callback) {\n var _computeChangedRoutes = computeChangedRoutes(state, nextState),\n leaveRoutes = _computeChangedRoutes.leaveRoutes,\n changeRoutes = _computeChangedRoutes.changeRoutes,\n enterRoutes = _computeChangedRoutes.enterRoutes;\n\n runLeaveHooks(leaveRoutes, state);\n\n // Tear down confirmation hooks for left routes\n leaveRoutes.filter(function (route) {\n return enterRoutes.indexOf(route) === -1;\n }).forEach(removeListenBeforeHooksForRoute);\n\n // change and enter hooks are run in series\n runChangeHooks(changeRoutes, state, nextState, function (error, redirectInfo) {\n if (error || redirectInfo) return handleErrorOrRedirect(error, redirectInfo);\n\n runEnterHooks(enterRoutes, nextState, finishEnterHooks);\n });\n\n function finishEnterHooks(error, redirectInfo) {\n if (error || redirectInfo) return handleErrorOrRedirect(error, redirectInfo);\n\n // TODO: Fetch components after state is updated.\n getComponents(nextState, function (error, components) {\n if (error) {\n callback(error);\n } else {\n // TODO: Make match a pure function and have some other API\n // for \"match and update state\".\n callback(null, null, state = _extends({}, nextState, { components: components }));\n }\n });\n }\n\n function handleErrorOrRedirect(error, redirectInfo) {\n if (error) callback(error);else callback(null, redirectInfo);\n }\n }\n\n var RouteGuid = 1;\n\n function getRouteID(route) {\n var create = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n return route.__id__ || create && (route.__id__ = RouteGuid++);\n }\n\n var RouteHooks = Object.create(null);\n\n function getRouteHooksForRoutes(routes) {\n return routes.map(function (route) {\n return RouteHooks[getRouteID(route)];\n }).filter(function (hook) {\n return hook;\n });\n }\n\n function transitionHook(location, callback) {\n matchRoutes(routes, location, function (error, nextState) {\n if (nextState == null) {\n // TODO: We didn't actually match anything, but hang\n // onto error/nextState so we don't have to matchRoutes\n // again in the listen callback.\n callback();\n return;\n }\n\n // Cache some state here so we don't have to\n // matchRoutes() again in the listen callback.\n partialNextState = _extends({}, nextState, { location: location });\n\n var hooks = getRouteHooksForRoutes(computeChangedRoutes(state, partialNextState).leaveRoutes);\n\n var result = void 0;\n for (var i = 0, len = hooks.length; result == null && i < len; ++i) {\n // Passing the location arg here indicates to\n // the user that this is a transition hook.\n result = hooks[i](location);\n }\n\n callback(result);\n });\n }\n\n /* istanbul ignore next: untestable with Karma */\n function beforeUnloadHook() {\n // Synchronously check to see if any route hooks want\n // to prevent the current window/tab from closing.\n if (state.routes) {\n var hooks = getRouteHooksForRoutes(state.routes);\n\n var message = void 0;\n for (var i = 0, len = hooks.length; typeof message !== 'string' && i < len; ++i) {\n // Passing no args indicates to the user that this is a\n // beforeunload hook. We don't know the next location.\n message = hooks[i]();\n }\n\n return message;\n }\n }\n\n var unlistenBefore = void 0,\n unlistenBeforeUnload = void 0;\n\n function removeListenBeforeHooksForRoute(route) {\n var routeID = getRouteID(route);\n if (!routeID) {\n return;\n }\n\n delete RouteHooks[routeID];\n\n if (!hasAnyProperties(RouteHooks)) {\n // teardown transition & beforeunload hooks\n if (unlistenBefore) {\n unlistenBefore();\n unlistenBefore = null;\n }\n\n if (unlistenBeforeUnload) {\n unlistenBeforeUnload();\n unlistenBeforeUnload = null;\n }\n }\n }\n\n /**\n * Registers the given hook function to run before leaving the given route.\n *\n * During a normal transition, the hook function receives the next location\n * as its only argument and can return either a prompt message (string) to show the user,\n * to make sure they want to leave the page; or `false`, to prevent the transition.\n * Any other return value will have no effect.\n *\n * During the beforeunload event (in browsers) the hook receives no arguments.\n * In this case it must return a prompt message to prevent the transition.\n *\n * Returns a function that may be used to unbind the listener.\n */\n function listenBeforeLeavingRoute(route, hook) {\n var thereWereNoRouteHooks = !hasAnyProperties(RouteHooks);\n var routeID = getRouteID(route, true);\n\n RouteHooks[routeID] = hook;\n\n if (thereWereNoRouteHooks) {\n // setup transition & beforeunload hooks\n unlistenBefore = history.listenBefore(transitionHook);\n\n if (history.listenBeforeUnload) unlistenBeforeUnload = history.listenBeforeUnload(beforeUnloadHook);\n }\n\n return function () {\n removeListenBeforeHooksForRoute(route);\n };\n }\n\n /**\n * This is the API for stateful environments. As the location\n * changes, we update state and call the listener. We can also\n * gracefully handle errors and redirects.\n */\n function listen(listener) {\n function historyListener(location) {\n if (state.location === location) {\n listener(null, state);\n } else {\n match(location, function (error, redirectLocation, nextState) {\n if (error) {\n listener(error);\n } else if (redirectLocation) {\n history.replace(redirectLocation);\n } else if (nextState) {\n listener(null, nextState);\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Location \"%s\" did not match any routes', location.pathname + location.search + location.hash) : void 0;\n }\n });\n }\n }\n\n // TODO: Only use a single history listener. Otherwise we'll end up with\n // multiple concurrent calls to match.\n\n // Set up the history listener first in case the initial match redirects.\n var unsubscribe = history.listen(historyListener);\n\n if (state.location) {\n // Picking up on a matchContext.\n listener(null, state);\n } else {\n historyListener(history.getCurrentLocation());\n }\n\n return unsubscribe;\n }\n\n return {\n isActive: isActive,\n match: match,\n listenBeforeLeavingRoute: listenBeforeLeavingRoute,\n listen: listen\n };\n}","import { func, object, arrayOf, oneOfType, element, shape, elementType } from 'prop-types';\n\nexport function falsy(props, propName, componentName) {\n if (props[propName]) return new Error('<' + componentName + '> should not have a \"' + propName + '\" prop');\n}\n\nexport var history = shape({\n listen: func.isRequired,\n push: func.isRequired,\n replace: func.isRequired,\n go: func.isRequired,\n goBack: func.isRequired,\n goForward: func.isRequired\n});\n\nexport var component = elementType;\nexport var components = oneOfType([component, object]);\nexport var route = oneOfType([object, element]);\nexport var routes = oneOfType([route, arrayOf(route)]);","import { getParamNames } from './PatternUtils';\n\n/**\n * Extracts an object of params the given route cares about from\n * the given params object.\n */\nfunction getRouteParams(route, params) {\n var routeParams = {};\n\n if (!route.path) return routeParams;\n\n getParamNames(route.path).forEach(function (p) {\n if (Object.prototype.hasOwnProperty.call(params, p)) {\n routeParams[p] = params[p];\n }\n });\n\n return routeParams;\n}\n\nexport default getRouteParams;","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Works around issues with context updates failing to propagate.\n// Caveat: the context value is expected to never change its identity.\n// https://github.com/facebook/react/issues/2517\n// https://github.com/reactjs/react-router/issues/470\n\nvar contextProviderShape = PropTypes.shape({\n subscribe: PropTypes.func.isRequired,\n eventIndex: PropTypes.number.isRequired\n});\n\nfunction makeContextName(name) {\n return '@@contextSubscriber/' + name;\n}\n\nvar prefixUnsafeLifecycleMethods = typeof React.forwardRef !== 'undefined';\n\nexport function ContextProvider(name) {\n var _childContextTypes, _config;\n\n var contextName = makeContextName(name);\n var listenersKey = contextName + '/listeners';\n var eventIndexKey = contextName + '/eventIndex';\n var subscribeKey = contextName + '/subscribe';\n\n var config = (_config = {\n childContextTypes: (_childContextTypes = {}, _childContextTypes[contextName] = contextProviderShape.isRequired, _childContextTypes),\n\n getChildContext: function getChildContext() {\n var _ref;\n\n return _ref = {}, _ref[contextName] = {\n eventIndex: this[eventIndexKey],\n subscribe: this[subscribeKey]\n }, _ref;\n },\n\n\n // this method will be updated to UNSAFE_componentWillMount below for React versions >= 16.3\n componentWillMount: function componentWillMount() {\n this[listenersKey] = [];\n this[eventIndexKey] = 0;\n },\n\n\n // this method will be updated to UNSAFE_componentWillReceiveProps below for React versions >= 16.3\n componentWillReceiveProps: function componentWillReceiveProps() {\n this[eventIndexKey]++;\n },\n componentDidUpdate: function componentDidUpdate() {\n var _this = this;\n\n this[listenersKey].forEach(function (listener) {\n return listener(_this[eventIndexKey]);\n });\n }\n }, _config[subscribeKey] = function (listener) {\n var _this2 = this;\n\n // No need to immediately call listener here.\n this[listenersKey].push(listener);\n\n return function () {\n _this2[listenersKey] = _this2[listenersKey].filter(function (item) {\n return item !== listener;\n });\n };\n }, _config);\n\n if (prefixUnsafeLifecycleMethods) {\n config.UNSAFE_componentWillMount = config.componentWillMount;\n config.UNSAFE_componentWillReceiveProps = config.componentWillReceiveProps;\n delete config.componentWillMount;\n delete config.componentWillReceiveProps;\n }\n return config;\n}\n\nexport function ContextSubscriber(name) {\n var _contextTypes, _config2;\n\n var contextName = makeContextName(name);\n var lastRenderedEventIndexKey = contextName + '/lastRenderedEventIndex';\n var handleContextUpdateKey = contextName + '/handleContextUpdate';\n var unsubscribeKey = contextName + '/unsubscribe';\n\n var config = (_config2 = {\n contextTypes: (_contextTypes = {}, _contextTypes[contextName] = contextProviderShape, _contextTypes),\n\n getInitialState: function getInitialState() {\n var _ref2;\n\n if (!this.context[contextName]) {\n return {};\n }\n\n return _ref2 = {}, _ref2[lastRenderedEventIndexKey] = this.context[contextName].eventIndex, _ref2;\n },\n componentDidMount: function componentDidMount() {\n if (!this.context[contextName]) {\n return;\n }\n\n this[unsubscribeKey] = this.context[contextName].subscribe(this[handleContextUpdateKey]);\n },\n\n\n // this method will be updated to UNSAFE_componentWillReceiveProps below for React versions >= 16.3\n componentWillReceiveProps: function componentWillReceiveProps() {\n var _setState;\n\n if (!this.context[contextName]) {\n return;\n }\n\n this.setState((_setState = {}, _setState[lastRenderedEventIndexKey] = this.context[contextName].eventIndex, _setState));\n },\n componentWillUnmount: function componentWillUnmount() {\n if (!this[unsubscribeKey]) {\n return;\n }\n\n this[unsubscribeKey]();\n this[unsubscribeKey] = null;\n }\n }, _config2[handleContextUpdateKey] = function (eventIndex) {\n if (eventIndex !== this.state[lastRenderedEventIndexKey]) {\n var _setState2;\n\n this.setState((_setState2 = {}, _setState2[lastRenderedEventIndexKey] = eventIndex, _setState2));\n }\n }, _config2);\n\n if (prefixUnsafeLifecycleMethods) {\n config.UNSAFE_componentWillReceiveProps = config.componentWillReceiveProps;\n delete config.componentWillReceiveProps;\n }\n return config;\n}","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nimport invariant from 'invariant';\nimport React from 'react';\nimport { isValidElementType } from 'react-is';\nimport createReactClass from 'create-react-class';\nimport { array, func, object } from 'prop-types';\n\nimport getRouteParams from './getRouteParams';\nimport { ContextProvider } from './ContextUtils';\nimport { isReactChildren } from './RouteUtils';\n\n/**\n * A renders the component tree for a given router state\n * and sets the history object and the current location in context.\n */\nvar RouterContext = createReactClass({\n displayName: 'RouterContext',\n\n mixins: [ContextProvider('router')],\n\n propTypes: {\n router: object.isRequired,\n location: object.isRequired,\n routes: array.isRequired,\n params: object.isRequired,\n components: array.isRequired,\n createElement: func.isRequired\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n createElement: React.createElement\n };\n },\n\n\n childContextTypes: {\n router: object.isRequired\n },\n\n getChildContext: function getChildContext() {\n return {\n router: this.props.router\n };\n },\n createElement: function createElement(component, props) {\n return component == null ? null : this.props.createElement(component, props);\n },\n render: function render() {\n var _this = this;\n\n var _props = this.props,\n location = _props.location,\n routes = _props.routes,\n params = _props.params,\n components = _props.components,\n router = _props.router;\n\n var element = null;\n\n if (components) {\n element = components.reduceRight(function (element, components, index) {\n if (components == null) return element; // Don't create new children; use the grandchildren.\n\n var route = routes[index];\n var routeParams = getRouteParams(route, params);\n var props = {\n location: location,\n params: params,\n route: route,\n router: router,\n routeParams: routeParams,\n routes: routes\n };\n\n if (isReactChildren(element)) {\n props.children = element;\n } else if (element) {\n for (var prop in element) {\n if (Object.prototype.hasOwnProperty.call(element, prop)) props[prop] = element[prop];\n }\n }\n\n // Handle components is object for { [name]: component } but not valid element\n // type of react, such as React.memo, React.lazy and so on.\n if ((typeof components === 'undefined' ? 'undefined' : _typeof(components)) === 'object' && !isValidElementType(components)) {\n var elements = {};\n\n for (var key in components) {\n if (Object.prototype.hasOwnProperty.call(components, key)) {\n // Pass through the key as a prop to createElement to allow\n // custom createElement functions to know which named component\n // they're rendering, for e.g. matching up to fetched data.\n elements[key] = _this.createElement(components[key], _extends({\n key: key }, props));\n }\n }\n\n return elements;\n }\n\n return _this.createElement(components, props);\n }, element);\n }\n\n !(element === null || element === false || React.isValidElement(element)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'The root route must render a single element') : invariant(false) : void 0;\n\n return element;\n }\n});\n\nexport default RouterContext;","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nexport function createRouterObject(history, transitionManager, state) {\n var router = _extends({}, history, {\n setRouteLeaveHook: transitionManager.listenBeforeLeavingRoute,\n isActive: transitionManager.isActive\n });\n\n return assignRouterState(router, state);\n}\n\nexport function assignRouterState(router, _ref) {\n var location = _ref.location,\n params = _ref.params,\n routes = _ref.routes;\n\n router.location = location;\n router.params = params;\n router.routes = routes;\n\n return router;\n}","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nimport invariant from 'invariant';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport { func, object } from 'prop-types';\n\nimport _createTransitionManager from './createTransitionManager';\nimport { routes } from './InternalPropTypes';\nimport RouterContext from './RouterContext';\nimport { createRoutes } from './RouteUtils';\nimport { createRouterObject as _createRouterObject, assignRouterState } from './RouterUtils';\nimport warning from './routerWarning';\n\nvar propTypes = {\n history: object,\n children: routes,\n routes: routes, // alias for children\n render: func,\n createElement: func,\n onError: func,\n onUpdate: func,\n\n // PRIVATE: For client-side rehydration of server match.\n matchContext: object\n};\n\nvar prefixUnsafeLifecycleMethods = typeof React.forwardRef !== 'undefined';\n\n/**\n * A is a high-level API for automatically setting up\n * a router that renders a with all the props\n * it needs each time the URL changes.\n */\nvar Router = createReactClass({\n displayName: 'Router',\n\n propTypes: propTypes,\n\n getDefaultProps: function getDefaultProps() {\n return {\n render: function render(props) {\n return React.createElement(RouterContext, props);\n }\n };\n },\n getInitialState: function getInitialState() {\n return {\n location: null,\n routes: null,\n params: null,\n components: null\n };\n },\n handleError: function handleError(error) {\n if (this.props.onError) {\n this.props.onError.call(this, error);\n } else {\n // Throw errors by default so we don't silently swallow them!\n throw error; // This error probably occurred in getChildRoutes or getComponents.\n }\n },\n createRouterObject: function createRouterObject(state) {\n var matchContext = this.props.matchContext;\n\n if (matchContext) {\n return matchContext.router;\n }\n\n var history = this.props.history;\n\n return _createRouterObject(history, this.transitionManager, state);\n },\n createTransitionManager: function createTransitionManager() {\n var matchContext = this.props.matchContext;\n\n if (matchContext) {\n return matchContext.transitionManager;\n }\n\n var history = this.props.history;\n var _props = this.props,\n routes = _props.routes,\n children = _props.children;\n\n\n !history.getCurrentLocation ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You have provided a history object created with history v4.x or v2.x ' + 'and earlier. This version of React Router is only compatible with v3 ' + 'history objects. Please change to history v3.x.') : invariant(false) : void 0;\n\n return _createTransitionManager(history, createRoutes(routes || children));\n },\n\n\n // this method will be updated to UNSAFE_componentWillMount below for React versions >= 16.3\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n this.transitionManager = this.createTransitionManager();\n this.router = this.createRouterObject(this.state);\n\n this._unlisten = this.transitionManager.listen(function (error, state) {\n if (error) {\n _this.handleError(error);\n } else {\n // Keep the identity of this.router because of a caveat in ContextUtils:\n // they only work if the object identity is preserved.\n assignRouterState(_this.router, state);\n _this.setState(state, _this.props.onUpdate);\n }\n });\n },\n\n\n // this method will be updated to UNSAFE_componentWillReceiveProps below for React versions >= 16.3\n /* istanbul ignore next: sanity check */\n componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n process.env.NODE_ENV !== 'production' ? warning(nextProps.history === this.props.history, 'You cannot change ; it will be ignored') : void 0;\n\n process.env.NODE_ENV !== 'production' ? warning((nextProps.routes || nextProps.children) === (this.props.routes || this.props.children), 'You cannot change ; it will be ignored') : void 0;\n },\n componentWillUnmount: function componentWillUnmount() {\n if (this._unlisten) this._unlisten();\n },\n render: function render() {\n var _state = this.state,\n location = _state.location,\n routes = _state.routes,\n params = _state.params,\n components = _state.components;\n\n var _props2 = this.props,\n createElement = _props2.createElement,\n render = _props2.render,\n props = _objectWithoutProperties(_props2, ['createElement', 'render']);\n\n if (location == null) return null; // Async match\n\n // Only forward non-Router-specific props to routing context, as those are\n // the only ones that might be custom routing context props.\n Object.keys(propTypes).forEach(function (propType) {\n return delete props[propType];\n });\n\n return render(_extends({}, props, {\n router: this.router,\n location: location,\n routes: routes,\n params: params,\n components: components,\n createElement: createElement\n }));\n }\n});\n\nif (prefixUnsafeLifecycleMethods) {\n Router.prototype.UNSAFE_componentWillReceiveProps = Router.prototype.componentWillReceiveProps;\n Router.prototype.UNSAFE_componentWillMount = Router.prototype.componentWillMount;\n delete Router.prototype.componentWillReceiveProps;\n delete Router.prototype.componentWillMount;\n}\n\nexport default Router;","import { func, object, shape, string } from 'prop-types';\n\nexport var routerShape = shape({\n push: func.isRequired,\n replace: func.isRequired,\n go: func.isRequired,\n goBack: func.isRequired,\n goForward: func.isRequired,\n setRouteLeaveHook: func.isRequired,\n isActive: func.isRequired\n});\n\nexport var locationShape = shape({\n pathname: string.isRequired,\n search: string.isRequired,\n state: object,\n action: string.isRequired,\n key: string\n});","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport { bool, object, string, func, oneOfType, shape, elementType } from 'prop-types';\nimport invariant from 'invariant';\nimport { routerShape } from './PropTypes';\nimport { ContextSubscriber } from './ContextUtils';\n\nfunction isLeftClickEvent(event) {\n return event.button === 0;\n}\n\nfunction isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\n\n// TODO: De-duplicate against hasAnyProperties in createTransitionManager.\nfunction isEmptyObject(object) {\n for (var p in object) {\n if (Object.prototype.hasOwnProperty.call(object, p)) return false;\n }return true;\n}\n\nfunction resolveToLocation(to, router) {\n return typeof to === 'function' ? to(router.location) : to;\n}\n\n/**\n * A is used to create an element that links to a route.\n * When that route is active, the link gets the value of its\n * activeClassName prop.\n *\n * For example, assuming you have the following route:\n *\n * \n *\n * You could use the following component to link to that route:\n *\n * \n */\nvar Link = createReactClass({\n displayName: 'Link',\n\n mixins: [ContextSubscriber('router')],\n\n contextTypes: {\n router: routerShape\n },\n\n propTypes: {\n to: oneOfType([string, object, func]),\n activeStyle: object,\n activeClassName: string,\n onlyActiveOnIndex: bool.isRequired,\n onClick: func,\n target: string,\n innerRef: oneOfType([string, func, shape({ current: elementType })])\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n onlyActiveOnIndex: false,\n style: {}\n };\n },\n handleClick: function handleClick(event) {\n if (this.props.onClick) this.props.onClick(event);\n\n if (event.defaultPrevented) return;\n\n var router = this.context.router;\n\n !router ? process.env.NODE_ENV !== 'production' ? invariant(false, 's rendered outside of a router context cannot navigate.') : invariant(false) : void 0;\n\n if (isModifiedEvent(event) || !isLeftClickEvent(event)) return;\n\n // If target prop is set (e.g. to \"_blank\"), let browser handle link.\n /* istanbul ignore if: untestable with Karma */\n if (this.props.target) return;\n\n event.preventDefault();\n\n router.push(resolveToLocation(this.props.to, router));\n },\n render: function render() {\n var _props = this.props,\n to = _props.to,\n activeClassName = _props.activeClassName,\n activeStyle = _props.activeStyle,\n onlyActiveOnIndex = _props.onlyActiveOnIndex,\n innerRef = _props.innerRef,\n props = _objectWithoutProperties(_props, ['to', 'activeClassName', 'activeStyle', 'onlyActiveOnIndex', 'innerRef']);\n\n // Ignore if rendered outside the context of router to simplify unit testing.\n\n\n var router = this.context.router;\n\n\n if (router) {\n // If user does not specify a `to` prop, return an empty anchor tag.\n if (!to) {\n return React.createElement('a', _extends({}, props, { ref: innerRef }));\n }\n\n var toLocation = resolveToLocation(to, router);\n props.href = router.createHref(toLocation);\n\n if (activeClassName || activeStyle != null && !isEmptyObject(activeStyle)) {\n if (router.isActive(toLocation, onlyActiveOnIndex)) {\n if (activeClassName) {\n if (props.className) {\n props.className += ' ' + activeClassName;\n } else {\n props.className = activeClassName;\n }\n }\n\n if (activeStyle) props.style = _extends({}, props.style, activeStyle);\n }\n }\n }\n\n return React.createElement('a', _extends({}, props, { onClick: this.handleClick, ref: innerRef }));\n }\n});\n\nexport default Link;","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Link from './Link';\n\n/**\n * An is used to link to an .\n */\nvar IndexLink = createReactClass({\n displayName: 'IndexLink',\n\n render: function render() {\n return React.createElement(Link, _extends({}, this.props, { onlyActiveOnIndex: true }));\n }\n});\n\nexport default IndexLink;","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nimport invariant from 'invariant';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport hoistStatics from 'hoist-non-react-statics';\nimport { ContextSubscriber } from './ContextUtils';\nimport { routerShape } from './PropTypes';\n\nfunction getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n}\n\nexport default function withRouter(WrappedComponent, options) {\n var withRef = options && options.withRef;\n\n var WithRouter = createReactClass({\n displayName: 'WithRouter',\n\n mixins: [ContextSubscriber('router')],\n\n contextTypes: { router: routerShape },\n propTypes: { router: routerShape },\n\n getWrappedInstance: function getWrappedInstance() {\n !withRef ? process.env.NODE_ENV !== 'production' ? invariant(false, 'To access the wrapped instance, you need to specify ' + '`{ withRef: true }` as the second argument of the withRouter() call.') : invariant(false) : void 0;\n\n return this.wrappedInstance;\n },\n render: function render() {\n var _this = this;\n\n var router = this.props.router || this.context.router;\n if (!router) {\n return React.createElement(WrappedComponent, this.props);\n }\n\n var params = router.params,\n location = router.location,\n routes = router.routes;\n\n var props = _extends({}, this.props, { router: router, params: params, location: location, routes: routes });\n\n if (withRef) {\n props.ref = function (c) {\n _this.wrappedInstance = c;\n };\n }\n\n return React.createElement(WrappedComponent, props);\n }\n });\n\n WithRouter.displayName = 'withRouter(' + getDisplayName(WrappedComponent) + ')';\n WithRouter.WrappedComponent = WrappedComponent;\n\n return hoistStatics(WithRouter, WrappedComponent);\n}","import createReactClass from 'create-react-class';\nimport { string, object } from 'prop-types';\nimport invariant from 'invariant';\nimport { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils';\nimport { formatPattern } from './PatternUtils';\nimport { falsy } from './InternalPropTypes';\n\n/**\n * A is used to declare another URL path a client should\n * be sent to when they request a given URL.\n *\n * Redirects are placed alongside routes in the route configuration\n * and are traversed in the same manner.\n */\n/* eslint-disable react/require-render-return */\nvar Redirect = createReactClass({\n displayName: 'Redirect',\n\n statics: {\n createRouteFromReactElement: function createRouteFromReactElement(element) {\n var route = _createRouteFromReactElement(element);\n\n if (route.from) route.path = route.from;\n\n route.onEnter = function (nextState, replace) {\n var location = nextState.location,\n params = nextState.params;\n\n\n var pathname = void 0;\n if (route.to.charAt(0) === '/') {\n pathname = formatPattern(route.to, params);\n } else if (!route.to) {\n pathname = location.pathname;\n } else {\n var routeIndex = nextState.routes.indexOf(route);\n var parentPattern = Redirect.getRoutePattern(nextState.routes, routeIndex - 1);\n var pattern = parentPattern.replace(/\\/*$/, '/') + route.to;\n pathname = formatPattern(pattern, params);\n }\n\n replace({\n pathname: pathname,\n query: route.query || location.query,\n state: route.state || location.state\n });\n };\n\n return route;\n },\n getRoutePattern: function getRoutePattern(routes, routeIndex) {\n var parentPattern = '';\n\n for (var i = routeIndex; i >= 0; i--) {\n var route = routes[i];\n var pattern = route.path || '';\n\n parentPattern = pattern.replace(/\\/*$/, '/') + parentPattern;\n\n if (pattern.indexOf('/') === 0) break;\n }\n\n return '/' + parentPattern;\n }\n },\n\n propTypes: {\n path: string,\n from: string, // Alias for path\n to: string.isRequired,\n query: object,\n state: object,\n onEnter: falsy,\n children: falsy\n },\n\n /* istanbul ignore next: sanity check */\n render: function render() {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, ' elements are for router configuration only and should not be rendered') : invariant(false) : void 0;\n }\n});\n\nexport default Redirect;","import createReactClass from 'create-react-class';\nimport { string, object } from 'prop-types';\nimport warning from './routerWarning';\nimport invariant from 'invariant';\nimport Redirect from './Redirect';\nimport { falsy } from './InternalPropTypes';\n\n/**\n * An is used to redirect from an indexRoute.\n */\n/* eslint-disable react/require-render-return */\nvar IndexRedirect = createReactClass({\n displayName: 'IndexRedirect',\n\n statics: {\n createRouteFromReactElement: function createRouteFromReactElement(element, parentRoute) {\n /* istanbul ignore else: sanity check */\n if (parentRoute) {\n parentRoute.indexRoute = Redirect.createRouteFromReactElement(element);\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'An does not make sense at the root of your route config') : void 0;\n }\n }\n },\n\n propTypes: {\n to: string.isRequired,\n query: object,\n state: object,\n onEnter: falsy,\n children: falsy\n },\n\n /* istanbul ignore next: sanity check */\n render: function render() {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, ' elements are for router configuration only and should not be rendered') : invariant(false) : void 0;\n }\n});\n\nexport default IndexRedirect;","import createReactClass from 'create-react-class';\nimport { func } from 'prop-types';\nimport warning from './routerWarning';\nimport invariant from 'invariant';\nimport { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils';\nimport { component, components, falsy } from './InternalPropTypes';\n\n/**\n * An is used to specify its parent's in\n * a JSX route config.\n */\n/* eslint-disable react/require-render-return */\nvar IndexRoute = createReactClass({\n displayName: 'IndexRoute',\n\n statics: {\n createRouteFromReactElement: function createRouteFromReactElement(element, parentRoute) {\n /* istanbul ignore else: sanity check */\n if (parentRoute) {\n parentRoute.indexRoute = _createRouteFromReactElement(element);\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'An does not make sense at the root of your route config') : void 0;\n }\n }\n },\n\n propTypes: {\n path: falsy,\n component: component,\n components: components,\n getComponent: func,\n getComponents: func\n },\n\n /* istanbul ignore next: sanity check */\n render: function render() {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, ' elements are for router configuration only and should not be rendered') : invariant(false) : void 0;\n }\n});\n\nexport default IndexRoute;","import createReactClass from 'create-react-class';\nimport { string, func } from 'prop-types';\nimport invariant from 'invariant';\nimport { createRouteFromReactElement } from './RouteUtils';\nimport { component, components } from './InternalPropTypes';\n\n/**\n * A is used to declare which components are rendered to the\n * page when the URL matches a given pattern.\n *\n * Routes are arranged in a nested tree structure. When a new URL is\n * requested, the tree is searched depth-first to find a route whose\n * path matches the URL. When one is found, all routes in the tree\n * that lead to it are considered \"active\" and their components are\n * rendered into the DOM, nested in the same order as in the tree.\n */\n/* eslint-disable react/require-render-return */\nvar Route = createReactClass({\n displayName: 'Route',\n\n statics: {\n createRouteFromReactElement: createRouteFromReactElement\n },\n\n propTypes: {\n path: string,\n component: component,\n components: components,\n getComponent: func,\n getComponents: func\n },\n\n /* istanbul ignore next: sanity check */\n render: function render() {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, ' elements are for router configuration only and should not be rendered') : invariant(false) : void 0;\n }\n});\n\nexport default Route;","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nimport { REPLACE } from 'history/lib/Actions';\nimport invariant from 'invariant';\n\nimport createMemoryHistory from './createMemoryHistory';\nimport createTransitionManager from './createTransitionManager';\nimport { createRoutes } from './RouteUtils';\nimport { createRouterObject } from './RouterUtils';\n\n/**\n * A high-level API to be used for server-side rendering.\n *\n * This function matches a location to a set of routes and calls\n * callback(error, redirectLocation, renderProps) when finished.\n *\n * Note: You probably don't want to use this in a browser unless you're using\n * server-side rendering with async routes.\n */\nfunction match(_ref, callback) {\n var history = _ref.history,\n routes = _ref.routes,\n location = _ref.location,\n options = _objectWithoutProperties(_ref, ['history', 'routes', 'location']);\n\n !(history || location) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'match needs a history or a location') : invariant(false) : void 0;\n\n history = history ? history : createMemoryHistory(options);\n var transitionManager = createTransitionManager(history, createRoutes(routes));\n\n if (location) {\n // Allow match({ location: '/the/path', ... })\n location = history.createLocation(location);\n } else {\n location = history.getCurrentLocation();\n }\n\n transitionManager.match(location, function (error, redirectLocation, nextState) {\n var renderProps = void 0;\n\n if (nextState) {\n var router = createRouterObject(history, transitionManager, nextState);\n renderProps = _extends({}, nextState, {\n router: router,\n matchContext: { transitionManager: transitionManager, router: router }\n });\n }\n\n callback(error, redirectLocation && history.createLocation(redirectLocation, REPLACE), renderProps);\n });\n}\n\nexport default match;","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nimport React, { createElement } from 'react';\nimport RouterContext from './RouterContext';\nimport warning from './routerWarning';\n\nexport default (function () {\n for (var _len = arguments.length, middlewares = Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n middlewares.forEach(function (middleware, index) {\n process.env.NODE_ENV !== 'production' ? warning(middleware.renderRouterContext || middleware.renderRouteComponent, 'The middleware specified at index ' + index + ' does not appear to be ' + 'a valid React Router middleware.') : void 0;\n });\n }\n\n var withContext = middlewares.map(function (middleware) {\n return middleware.renderRouterContext;\n }).filter(Boolean);\n var withComponent = middlewares.map(function (middleware) {\n return middleware.renderRouteComponent;\n }).filter(Boolean);\n\n var makeCreateElement = function makeCreateElement() {\n var baseCreateElement = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : createElement;\n return function (Component, props) {\n return withComponent.reduceRight(function (previous, renderRouteComponent) {\n return renderRouteComponent(previous, props);\n }, baseCreateElement(Component, props));\n };\n };\n\n return function (renderProps) {\n return withContext.reduceRight(function (previous, renderRouterContext) {\n return renderRouterContext(previous, renderProps);\n }, React.createElement(RouterContext, _extends({}, renderProps, {\n createElement: makeCreateElement(renderProps.createElement)\n })));\n };\n});","import useRouterHistory from './useRouterHistory';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nexport default function createRouterHistory(createHistory) {\n var history = void 0;\n if (canUseDOM) history = useRouterHistory(createHistory)();\n return history;\n}","import useQueries from 'history/lib/useQueries';\nimport useBasename from 'history/lib/useBasename';\n\nexport default function useRouterHistory(createHistory) {\n return function (options) {\n var history = useQueries(useBasename(createHistory))(options);\n return history;\n };\n}","import createBrowserHistory from 'history/lib/createBrowserHistory';\nimport createRouterHistory from './createRouterHistory';\nexport default createRouterHistory(createBrowserHistory);","import createHashHistory from 'history/lib/createHashHistory';\nimport createRouterHistory from './createRouterHistory';\nexport default createRouterHistory(createHashHistory);","import { ContextStoreStatic } from \"./Context/ContextStoreStatic\";\nimport { NavigationStoreStatic } from \"./Navigation/NavigationStoreStatic\";\nimport { Dispatcher } from \"./Dispatcher\";\nimport { NavigationActionsStatic } from \"./Navigation/NavigationActionsStatic\";\nimport { RoutingActionsStatic } from \"./Routes/RoutingActionsStatic\";\nexport var RoutingActions = new RoutingActionsStatic();\nexport var NavigationActions = new NavigationActionsStatic();\nexport var NavigationDispatcher = new Dispatcher();\nexport var NavigationStore = new NavigationStoreStatic(NavigationDispatcher);\nexport var ContextDispatcher = new Dispatcher();\nexport var ContextStore = new ContextStoreStatic();\n","export var PromiseResultType;\n(function (PromiseResultType) {\n PromiseResultType[PromiseResultType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PromiseResultType[PromiseResultType[\"Success\"] = 1] = \"Success\";\n PromiseResultType[PromiseResultType[\"Error\"] = 2] = \"Error\";\n})(PromiseResultType || (PromiseResultType = {}));\n","import { Assert } from \"./../Utils/Assert\";\nimport { PromiseResultType } from \"./IPromiseResult\";\nvar CallbackType;\n(function (CallbackType) {\n CallbackType[CallbackType[\"OnSuccess\"] = 0] = \"OnSuccess\";\n CallbackType[CallbackType[\"OnError\"] = 1] = \"OnError\";\n CallbackType[CallbackType[\"OnFinish\"] = 2] = \"OnFinish\";\n})(CallbackType || (CallbackType = {}));\nexport class Promise {\n constructor(func) {\n this._callbacks = [];\n func((data) => this.runSuccess(data), (data) => this.runError(data));\n }\n _callbacks;\n _isFinished = false;\n _result;\n runSuccess(data) {\n this._isFinished = true;\n this._result = { type: PromiseResultType.Success, result: data };\n this._callbacks.forEach((pair) => {\n if (pair.key === CallbackType.OnSuccess || pair.key === CallbackType.OnFinish) {\n pair.value(data);\n }\n });\n }\n runError(data) {\n this._isFinished = true;\n this._result = { type: PromiseResultType.Error, errors: data };\n this._callbacks.forEach((pair) => {\n if (pair.key === CallbackType.OnError || pair.key === CallbackType.OnFinish) {\n pair.value(data);\n }\n });\n }\n isFinished() {\n return this._isFinished;\n }\n getResult() {\n return this._result;\n }\n onSuccess(callback) {\n Assert(!this._isFinished, \"Attempting to assign onSuccess callback to finished Promise\");\n this._callbacks.push({ key: CallbackType.OnSuccess, value: callback });\n return this;\n }\n onError(callback) {\n Assert(!this._isFinished, \"Attempting to assign onError callback to finished Promise\");\n this._callbacks.push({ key: CallbackType.OnError, value: callback });\n return this;\n }\n onFinish(callback) {\n Assert(!this._isFinished, \"Attempting to assign onFinished callback to finished Promise\");\n this._callbacks.push({ key: CallbackType.OnFinish, value: callback });\n return this;\n }\n}\n","export var ActionType;\n(function (ActionType) {\n ActionType[ActionType[\"Update\"] = 0] = \"Update\";\n ActionType[ActionType[\"Loading\"] = 1] = \"Loading\";\n ActionType[ActionType[\"Success\"] = 2] = \"Success\";\n ActionType[ActionType[\"Error\"] = 3] = \"Error\";\n ActionType[ActionType[\"FlushStore\"] = 4] = \"FlushStore\";\n})(ActionType || (ActionType = {}));\n","export var ResponseState;\n(function (ResponseState) {\n ResponseState[ResponseState[\"Empty\"] = 0] = \"Empty\";\n ResponseState[ResponseState[\"Requested\"] = 1] = \"Requested\";\n ResponseState[ResponseState[\"Received\"] = 2] = \"Received\";\n})(ResponseState || (ResponseState = {}));\n","import { Actions } from \"./../Actions\";\nimport { browserHistory } from \"react-router\";\nexport class RoutingActionsStatic extends Actions {\n navigateTo(url, scroll) {\n if (scroll === undefined || scroll) {\n $(window).scrollTop(0);\n }\n setTimeout(() => browserHistory.push(url), 0);\n }\n}\n","import { NavigationActionType } from \"./NavigationActionType\";\nimport { NavigationDispatcher } from \"./../Variables\";\nimport { Actions } from \"./../Actions\";\nexport class NavigationActionsStatic extends Actions {\n enter(url) {\n NavigationDispatcher.dispatch({ actionType: NavigationActionType.Enter, url: url });\n }\n}\n","import { NavigationActionType } from \"./NavigationActionType\";\nimport { RouteFragment } from \"./../../Routing/RouteFragment\";\nimport { BaseStore } from \"./../BaseStore\";\nexport class NavigationStoreStatic extends BaseStore {\n constructor(navigationDispatcher) {\n super();\n this.debugEnabled = false;\n this._navigationDispatcher = navigationDispatcher;\n this.initializeBindings();\n }\n _navigationDispatcher;\n getActiveUrl() {\n const activeUrlData = this.getState().activeUrl;\n return Object.assign(Object.create(RouteFragment.prototype), activeUrlData);\n }\n statesEqual(currentState, newState) {\n if (currentState.activeUrl == null && newState.activeUrl == null) {\n return true;\n }\n if (currentState.activeUrl == null || newState.activeUrl == null) {\n return false;\n }\n if (currentState.activeUrl !== newState.activeUrl) {\n return false;\n }\n return true;\n }\n getDefaultState() {\n const defaultState = { activeUrl: null };\n return defaultState;\n }\n initializeBindings() {\n this.subscribeToDispatcher(this._navigationDispatcher, (eventData) => this.onNavigationDispatch(eventData));\n }\n onNavigationDispatch(navigationAction) {\n switch (navigationAction.actionType) {\n case NavigationActionType.Enter:\n this.appendUrl(navigationAction.url);\n break;\n default:\n throw new Error(\"NavigationStoreStatic.onNavigationDispatch: Unexpected navigation action type \" + navigationAction.actionType);\n }\n }\n appendUrl(urlFragment) {\n var newState = { activeUrl: urlFragment };\n this.setState(newState);\n }\n isLoading() {\n return false;\n }\n}\n","import { ContextDispatcher } from \"./../Variables\";\nimport { BaseStore } from \"./../BaseStore\";\nexport class ContextStoreStatic extends BaseStore {\n constructor() {\n super();\n this.subscribeToDispatcher(ContextDispatcher, action => this.onContextDispatch(action));\n }\n getDefaultState() {\n var $contextSettings = $('[data-javascript-context-settings]');\n var hierarchyId = $contextSettings.data('javascript-context-hierarchy-id');\n var culture = $contextSettings.data('javascript-context-culture');\n //var userType: Constants.Enums.Domain.UserType = $contextSettings.data('data-javascript-context-user-type') as any;\n return { hierarchyId: hierarchyId, culture: culture };\n }\n getContext() {\n return this.getState();\n }\n isLoading() { return false; }\n onContextDispatch(contextAction) {\n this.setState({ hierarchyId: contextAction.hierarchyId });\n }\n}\n","export class RoutesHelper {\n static culturePlaceholder = \"{culture}\";\n static replacePlaceholdersInUrl(url, culture) {\n if (culture == null || !culture.length) {\n culture = RoutesHelper.getDefaultCulture();\n }\n url = url.replace(RoutesHelper.culturePlaceholder, culture);\n return url;\n }\n static getDefaultCulture() {\n return \"en-gb\";\n }\n}\n","export class FnzWebPageContext {\n static _cachedContext = null;\n static provide() {\n if (!FnzWebPageContext._cachedContext) {\n const $fnzWebPageContextComponent = $('[data-fnz-web-page-context]');\n if ($fnzWebPageContextComponent == null) {\n throw 'Each FNZ page has to have context created.';\n }\n else {\n FnzWebPageContext._cachedContext = {\n Id: $fnzWebPageContextComponent.data('id'),\n IdHttpHeaderName: $fnzWebPageContextComponent.data('id-header-name')\n };\n }\n }\n return FnzWebPageContext._cachedContext;\n }\n}\n","export class Antiforgery {\n static jsSettings = null;\n static getAntiforgeryTokenValue() {\n const $jsSettings = Antiforgery.jsSettings || (Antiforgery.jsSettings = $('[data-javascript-settings]'));\n if (!$jsSettings || $jsSettings.length !== 1) {\n return undefined;\n }\n return ($jsSettings.data('javascript-antiforgery'));\n }\n static setAntiforgeryTokenValue(value) {\n const $jsSettings = Antiforgery.jsSettings || (Antiforgery.jsSettings = $('[data-javascript-settings]'));\n if (!$jsSettings || $jsSettings.length !== 1) {\n return;\n }\n $jsSettings.data('javascript-antiforgery', value);\n }\n}\n","import { FnzWebPageContext } from \"./../Utils/FnzWebPageContext\";\nimport { Antiforgery } from \"./../Utils/Antiforgery\";\nimport { Promise } from \"./Promise\";\nexport class AjaxWrapper {\n static post(url, data) {\n return AjaxWrapper.sendRequest('POST', url, JSON.stringify(data));\n }\n static put(url, data) {\n return AjaxWrapper.sendRequest('PUT', url, JSON.stringify(data));\n }\n static delete(url, data) {\n return AjaxWrapper.sendRequest('DELETE', url, JSON.stringify(data));\n }\n static get(url, data) {\n return AjaxWrapper.sendRequest('GET', url, data);\n }\n static sendRequest(methodType, url, data) {\n return new Promise((onSuccess, onError) => {\n $.ajax(AjaxWrapper.constructAjaxParams(methodType, url, data)).then((data) => {\n if (data.Errors && data.Errors.length && data.Errors.length > 0) {\n onError(data.Errors);\n }\n else {\n var httpStatusCode = data.Metadata.HttpStatusCode;\n if (httpStatusCode === 302) {\n window.location.replace(data.Metadata.RedirectUrl);\n return;\n }\n onSuccess(data.Result);\n }\n }, (request, status, errors) => {\n if (status === \"parsererror\" && request.status === 200) {\n var newDoc = document.open(\"text/html\", \"replace\");\n newDoc.write(request.responseText);\n newDoc.close();\n }\n });\n });\n }\n static constructAjaxParams(methodType, url, data) {\n var result = {\n type: methodType,\n url: url,\n data: data,\n accepts: 'application/json',\n dataType: 'json'\n };\n if (methodType !== 'GET') {\n result.contentType = \"application/json; charset=utf-8\";\n }\n if (methodType === 'GET') {\n result.traditional = true;\n }\n result.headers = result.headers == null ? {} : result.headers;\n const antiforgeryToken = Antiforgery.getAntiforgeryTokenValue();\n if (antiforgeryToken) {\n result.headers[\"anti-forgery-token\"] = antiforgeryToken;\n }\n const fnzPageContext = FnzWebPageContext.provide();\n result.headers[fnzPageContext.IdHttpHeaderName] = fnzPageContext.Id;\n return result;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserLatestOnlineTermsAcceptanceClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n put() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserLatestOnlineTermsAcceptance/Put';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.post(url, data);\n }\n}\n","import { CurrentPumaUserLatestOnlineTermsAcceptanceClient } from \"@/Puma/Api/User/CurrentPumaUserLatestOnlineTermsAcceptance\";\nexport class CurrentPumaUserLatestOnlineTermsAcceptanceActionsCreator {\n static accept() {\n const client = new CurrentPumaUserLatestOnlineTermsAcceptanceClient();\n return client.put();\n }\n}\n","import { BaseStore } from \"./BaseStore\";\nimport { ResponseState } from \"./ResponseState\";\nexport class BaseApiStore extends BaseStore {\n constructor(dispatcher) {\n super();\n this.subscribeToDispatcher(dispatcher, action => this.onDispatch(action));\n }\n isLoading() {\n return this.getState().responseState === ResponseState.Requested;\n }\n isEmpty() {\n return this.getState().responseState === ResponseState.Empty;\n }\n}\n","import { ActionType } from \"./ActionType\";\nimport { ResponseState } from \"./ResponseState\";\nimport { BaseApiStore } from \"./BaseApiStore\";\nexport class PayloadStore extends BaseApiStore {\n constructor(dispatcher) {\n super(dispatcher);\n }\n getDefaultState() {\n return { responseState: ResponseState.Empty };\n }\n getPayload() {\n return this.getState().payload;\n }\n onDispatch(action) {\n switch (action.actionType) {\n case ActionType.Loading:\n this.setState({ responseState: ResponseState.Requested });\n break;\n case ActionType.Success:\n this.setState({ payload: null });\n this.setState({ payload: action.payload, responseState: ResponseState.Received });\n break;\n case ActionType.Error:\n this.setState({ responseState: ResponseState.Received });\n break;\n case ActionType.FlushStore:\n this.setState({ payload: null, responseState: ResponseState.Empty });\n break;\n case ActionType.Update:\n this.setState({ payload: action.payload });\n break;\n default:\n throw new Error(\"PayloadStore.onDispatch: Unexpected action type\");\n }\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const CurrentPumaUserEncryptedLatestOnlineTermsActionsDispatcher = new Dispatcher();\nexport const CurrentPumaUserEncryptedLatestOnlineTermsStore = new PayloadStore(CurrentPumaUserEncryptedLatestOnlineTermsActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class EncryptedStaticDocumentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(encryptedDocumentId) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/StaticDocuments/EncryptedStaticDocument/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { encryptedDocumentId: encryptedDocumentId };\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserEncryptedLatestOnlineTermsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserEncryptedLatestOnlineTerms/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { CurrentPumaUserEncryptedLatestOnlineTermsActionsDispatcher } from \"./../Stores/CurrentPumaUserEncryptedLatestOnlineTermsStore\";\nimport { EncryptedStaticDocumentClient } from \"@/Puma/Api/StaticDocuments/EncryptedStaticDocument\";\nimport { CurrentPumaUserEncryptedLatestOnlineTermsClient } from \"@/Puma/Api/User/CurrentPumaUserEncryptedLatestOnlineTerms\";\nexport class CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator {\n static load() {\n CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator.startLoading();\n const client = new CurrentPumaUserEncryptedLatestOnlineTermsClient();\n client\n .get()\n .onSuccess(termsResult => {\n const staticDocumentClient = new EncryptedStaticDocumentClient();\n staticDocumentClient\n .get(termsResult.EncryptedStaticDocumentId)\n .onSuccess(termsDocument => {\n CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator.updateStoreOnSuccess({\n accepted: termsResult.Accepted,\n staticDocument: termsDocument\n });\n });\n });\n }\n static updateStoreOnSuccess(terms) {\n CurrentPumaUserEncryptedLatestOnlineTermsActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: terms });\n }\n static startLoading() {\n CurrentPumaUserEncryptedLatestOnlineTermsActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const CurrentPumaUserTypeStoreActionsDispatcher = new Dispatcher();\nexport const CurrentPumaUserTypeStore = new PayloadStore(CurrentPumaUserTypeStoreActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserTypeClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserType/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { CurrentPumaUserTypeStoreActionsDispatcher } from \"./../Stores/CurrentPumaUserTypeStore\";\nimport { CurrentPumaUserTypeClient } from \"@/Puma/Api/User/CurrentPumaUserType\";\nexport class CurrentPumaUserTypeActionsCreator {\n static load() {\n CurrentPumaUserTypeActionsCreator.startLoading();\n const client = new CurrentPumaUserTypeClient();\n client\n .get()\n .onSuccess(currentPumaUserType => {\n CurrentPumaUserTypeActionsCreator.updateStoreOnSuccess({\n userType: currentPumaUserType\n });\n });\n }\n static updateStoreOnSuccess(currentPumaUserType) {\n CurrentPumaUserTypeStoreActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: currentPumaUserType });\n }\n static startLoading() {\n CurrentPumaUserTypeStoreActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nexport class Button extends React.Component {\n _buttonRef;\n constructor(props) {\n super(props);\n }\n render() {\n return (React.createElement(\"button\", { type: this.props.type ? this.props.type : \"button\", className: this.props.className, disabled: this.props.disabled, onClick: (e) => this.onClick(e), ref: (btn) => this._buttonRef = btn, tabIndex: this.props.tabIndex, \"data-automation-id\": this.props.automationId, \"aria-expanded\": this.props.ariaExpanded }, this.props.children));\n }\n onClick(e) {\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n }\n}\n","export var CountryCode;\n(function (CountryCode) {\n CountryCode[CountryCode[\"NotSpecified\"] = 0] = \"NotSpecified\";\n CountryCode[CountryCode[\"ABW\"] = 1] = \"ABW\";\n CountryCode[CountryCode[\"AFG\"] = 2] = \"AFG\";\n CountryCode[CountryCode[\"AGO\"] = 3] = \"AGO\";\n CountryCode[CountryCode[\"AIA\"] = 4] = \"AIA\";\n CountryCode[CountryCode[\"ALA\"] = 5] = \"ALA\";\n CountryCode[CountryCode[\"ALB\"] = 6] = \"ALB\";\n CountryCode[CountryCode[\"AND\"] = 7] = \"AND\";\n CountryCode[CountryCode[\"ANT\"] = 8] = \"ANT\";\n CountryCode[CountryCode[\"ARE\"] = 9] = \"ARE\";\n CountryCode[CountryCode[\"ARG\"] = 10] = \"ARG\";\n CountryCode[CountryCode[\"ARM\"] = 11] = \"ARM\";\n CountryCode[CountryCode[\"ASM\"] = 12] = \"ASM\";\n CountryCode[CountryCode[\"ATA\"] = 13] = \"ATA\";\n CountryCode[CountryCode[\"ATF\"] = 14] = \"ATF\";\n CountryCode[CountryCode[\"ATG\"] = 15] = \"ATG\";\n CountryCode[CountryCode[\"AUS\"] = 16] = \"AUS\";\n CountryCode[CountryCode[\"AUT\"] = 17] = \"AUT\";\n CountryCode[CountryCode[\"AZE\"] = 18] = \"AZE\";\n CountryCode[CountryCode[\"BDI\"] = 19] = \"BDI\";\n CountryCode[CountryCode[\"BEL\"] = 20] = \"BEL\";\n CountryCode[CountryCode[\"BEN\"] = 21] = \"BEN\";\n CountryCode[CountryCode[\"BES\"] = 22] = \"BES\";\n CountryCode[CountryCode[\"BFA\"] = 23] = \"BFA\";\n CountryCode[CountryCode[\"BGD\"] = 24] = \"BGD\";\n CountryCode[CountryCode[\"BGR\"] = 25] = \"BGR\";\n CountryCode[CountryCode[\"BHR\"] = 26] = \"BHR\";\n CountryCode[CountryCode[\"BHS\"] = 27] = \"BHS\";\n CountryCode[CountryCode[\"BIH\"] = 28] = \"BIH\";\n CountryCode[CountryCode[\"BLM\"] = 29] = \"BLM\";\n CountryCode[CountryCode[\"BLR\"] = 30] = \"BLR\";\n CountryCode[CountryCode[\"BLZ\"] = 31] = \"BLZ\";\n CountryCode[CountryCode[\"BMU\"] = 32] = \"BMU\";\n CountryCode[CountryCode[\"BOL\"] = 33] = \"BOL\";\n CountryCode[CountryCode[\"BRA\"] = 34] = \"BRA\";\n CountryCode[CountryCode[\"BRB\"] = 35] = \"BRB\";\n CountryCode[CountryCode[\"BRN\"] = 36] = \"BRN\";\n CountryCode[CountryCode[\"BTN\"] = 37] = \"BTN\";\n CountryCode[CountryCode[\"BVT\"] = 38] = \"BVT\";\n CountryCode[CountryCode[\"BWA\"] = 39] = \"BWA\";\n CountryCode[CountryCode[\"CAF\"] = 40] = \"CAF\";\n CountryCode[CountryCode[\"CAN\"] = 41] = \"CAN\";\n CountryCode[CountryCode[\"CCK\"] = 42] = \"CCK\";\n CountryCode[CountryCode[\"CHE\"] = 43] = \"CHE\";\n CountryCode[CountryCode[\"CHL\"] = 44] = \"CHL\";\n CountryCode[CountryCode[\"CHN\"] = 45] = \"CHN\";\n CountryCode[CountryCode[\"CIV\"] = 46] = \"CIV\";\n CountryCode[CountryCode[\"CMR\"] = 47] = \"CMR\";\n CountryCode[CountryCode[\"COD\"] = 48] = \"COD\";\n CountryCode[CountryCode[\"COG\"] = 49] = \"COG\";\n CountryCode[CountryCode[\"COK\"] = 50] = \"COK\";\n CountryCode[CountryCode[\"COL\"] = 51] = \"COL\";\n CountryCode[CountryCode[\"COM\"] = 52] = \"COM\";\n CountryCode[CountryCode[\"CPV\"] = 53] = \"CPV\";\n CountryCode[CountryCode[\"CRI\"] = 54] = \"CRI\";\n CountryCode[CountryCode[\"CUB\"] = 55] = \"CUB\";\n CountryCode[CountryCode[\"CUW\"] = 56] = \"CUW\";\n CountryCode[CountryCode[\"CXR\"] = 57] = \"CXR\";\n CountryCode[CountryCode[\"CYM\"] = 58] = \"CYM\";\n CountryCode[CountryCode[\"CYP\"] = 59] = \"CYP\";\n CountryCode[CountryCode[\"CZE\"] = 60] = \"CZE\";\n CountryCode[CountryCode[\"DEU\"] = 61] = \"DEU\";\n CountryCode[CountryCode[\"DJI\"] = 62] = \"DJI\";\n CountryCode[CountryCode[\"DMA\"] = 63] = \"DMA\";\n CountryCode[CountryCode[\"DNK\"] = 64] = \"DNK\";\n CountryCode[CountryCode[\"DOM\"] = 65] = \"DOM\";\n CountryCode[CountryCode[\"DZA\"] = 66] = \"DZA\";\n CountryCode[CountryCode[\"ECU\"] = 67] = \"ECU\";\n CountryCode[CountryCode[\"EGY\"] = 68] = \"EGY\";\n CountryCode[CountryCode[\"ERI\"] = 69] = \"ERI\";\n CountryCode[CountryCode[\"ESH\"] = 70] = \"ESH\";\n CountryCode[CountryCode[\"ESP\"] = 71] = \"ESP\";\n CountryCode[CountryCode[\"EST\"] = 72] = \"EST\";\n CountryCode[CountryCode[\"ETH\"] = 73] = \"ETH\";\n CountryCode[CountryCode[\"FIN\"] = 74] = \"FIN\";\n CountryCode[CountryCode[\"FJI\"] = 75] = \"FJI\";\n CountryCode[CountryCode[\"FLK\"] = 76] = \"FLK\";\n CountryCode[CountryCode[\"FRA\"] = 77] = \"FRA\";\n CountryCode[CountryCode[\"FRO\"] = 78] = \"FRO\";\n CountryCode[CountryCode[\"FSM\"] = 79] = \"FSM\";\n CountryCode[CountryCode[\"GAB\"] = 80] = \"GAB\";\n CountryCode[CountryCode[\"GBR\"] = 81] = \"GBR\";\n CountryCode[CountryCode[\"GEO\"] = 82] = \"GEO\";\n CountryCode[CountryCode[\"GGY\"] = 83] = \"GGY\";\n CountryCode[CountryCode[\"GHA\"] = 84] = \"GHA\";\n CountryCode[CountryCode[\"GIB\"] = 85] = \"GIB\";\n CountryCode[CountryCode[\"GIN\"] = 86] = \"GIN\";\n CountryCode[CountryCode[\"GLP\"] = 87] = \"GLP\";\n CountryCode[CountryCode[\"GMB\"] = 88] = \"GMB\";\n CountryCode[CountryCode[\"GNB\"] = 89] = \"GNB\";\n CountryCode[CountryCode[\"GNQ\"] = 90] = \"GNQ\";\n CountryCode[CountryCode[\"GRC\"] = 91] = \"GRC\";\n CountryCode[CountryCode[\"GRD\"] = 92] = \"GRD\";\n CountryCode[CountryCode[\"GRL\"] = 93] = \"GRL\";\n CountryCode[CountryCode[\"GTM\"] = 94] = \"GTM\";\n CountryCode[CountryCode[\"GUF\"] = 95] = \"GUF\";\n CountryCode[CountryCode[\"GUM\"] = 96] = \"GUM\";\n CountryCode[CountryCode[\"GUY\"] = 97] = \"GUY\";\n CountryCode[CountryCode[\"HKG\"] = 98] = \"HKG\";\n CountryCode[CountryCode[\"HMD\"] = 99] = \"HMD\";\n CountryCode[CountryCode[\"HND\"] = 100] = \"HND\";\n CountryCode[CountryCode[\"HRV\"] = 101] = \"HRV\";\n CountryCode[CountryCode[\"HTI\"] = 102] = \"HTI\";\n CountryCode[CountryCode[\"HUN\"] = 103] = \"HUN\";\n CountryCode[CountryCode[\"IDN\"] = 104] = \"IDN\";\n CountryCode[CountryCode[\"IMN\"] = 105] = \"IMN\";\n CountryCode[CountryCode[\"IND\"] = 106] = \"IND\";\n CountryCode[CountryCode[\"IOT\"] = 107] = \"IOT\";\n CountryCode[CountryCode[\"IRL\"] = 108] = \"IRL\";\n CountryCode[CountryCode[\"IRN\"] = 109] = \"IRN\";\n CountryCode[CountryCode[\"IRQ\"] = 110] = \"IRQ\";\n CountryCode[CountryCode[\"ISL\"] = 111] = \"ISL\";\n CountryCode[CountryCode[\"ISR\"] = 112] = \"ISR\";\n CountryCode[CountryCode[\"ITA\"] = 113] = \"ITA\";\n CountryCode[CountryCode[\"JAM\"] = 114] = \"JAM\";\n CountryCode[CountryCode[\"JEY\"] = 115] = \"JEY\";\n CountryCode[CountryCode[\"JOR\"] = 116] = \"JOR\";\n CountryCode[CountryCode[\"JPN\"] = 117] = \"JPN\";\n CountryCode[CountryCode[\"KAZ\"] = 118] = \"KAZ\";\n CountryCode[CountryCode[\"KEN\"] = 119] = \"KEN\";\n CountryCode[CountryCode[\"KGZ\"] = 120] = \"KGZ\";\n CountryCode[CountryCode[\"KHM\"] = 121] = \"KHM\";\n CountryCode[CountryCode[\"KIR\"] = 122] = \"KIR\";\n CountryCode[CountryCode[\"KNA\"] = 123] = \"KNA\";\n CountryCode[CountryCode[\"KOR\"] = 124] = \"KOR\";\n CountryCode[CountryCode[\"KWT\"] = 125] = \"KWT\";\n CountryCode[CountryCode[\"LAO\"] = 126] = \"LAO\";\n CountryCode[CountryCode[\"LBN\"] = 127] = \"LBN\";\n CountryCode[CountryCode[\"LBR\"] = 128] = \"LBR\";\n CountryCode[CountryCode[\"LBY\"] = 129] = \"LBY\";\n CountryCode[CountryCode[\"LCA\"] = 130] = \"LCA\";\n CountryCode[CountryCode[\"LIE\"] = 131] = \"LIE\";\n CountryCode[CountryCode[\"LKA\"] = 132] = \"LKA\";\n CountryCode[CountryCode[\"LSO\"] = 133] = \"LSO\";\n CountryCode[CountryCode[\"LTU\"] = 134] = \"LTU\";\n CountryCode[CountryCode[\"LUX\"] = 135] = \"LUX\";\n CountryCode[CountryCode[\"LVA\"] = 136] = \"LVA\";\n CountryCode[CountryCode[\"MAC\"] = 137] = \"MAC\";\n CountryCode[CountryCode[\"MAF\"] = 138] = \"MAF\";\n CountryCode[CountryCode[\"MAR\"] = 139] = \"MAR\";\n CountryCode[CountryCode[\"MCO\"] = 140] = \"MCO\";\n CountryCode[CountryCode[\"MDA\"] = 141] = \"MDA\";\n CountryCode[CountryCode[\"MDG\"] = 142] = \"MDG\";\n CountryCode[CountryCode[\"MDV\"] = 143] = \"MDV\";\n CountryCode[CountryCode[\"MEX\"] = 144] = \"MEX\";\n CountryCode[CountryCode[\"MHL\"] = 145] = \"MHL\";\n CountryCode[CountryCode[\"MKD\"] = 146] = \"MKD\";\n CountryCode[CountryCode[\"MLI\"] = 147] = \"MLI\";\n CountryCode[CountryCode[\"MLT\"] = 148] = \"MLT\";\n CountryCode[CountryCode[\"MMR\"] = 149] = \"MMR\";\n CountryCode[CountryCode[\"MNE\"] = 150] = \"MNE\";\n CountryCode[CountryCode[\"MNG\"] = 151] = \"MNG\";\n CountryCode[CountryCode[\"MNP\"] = 152] = \"MNP\";\n CountryCode[CountryCode[\"MOZ\"] = 153] = \"MOZ\";\n CountryCode[CountryCode[\"MRT\"] = 154] = \"MRT\";\n CountryCode[CountryCode[\"MSR\"] = 155] = \"MSR\";\n CountryCode[CountryCode[\"MTQ\"] = 156] = \"MTQ\";\n CountryCode[CountryCode[\"MUS\"] = 157] = \"MUS\";\n CountryCode[CountryCode[\"MWI\"] = 158] = \"MWI\";\n CountryCode[CountryCode[\"MYS\"] = 159] = \"MYS\";\n CountryCode[CountryCode[\"MYT\"] = 160] = \"MYT\";\n CountryCode[CountryCode[\"NAM\"] = 161] = \"NAM\";\n CountryCode[CountryCode[\"NCL\"] = 162] = \"NCL\";\n CountryCode[CountryCode[\"NER\"] = 163] = \"NER\";\n CountryCode[CountryCode[\"NFK\"] = 164] = \"NFK\";\n CountryCode[CountryCode[\"NGA\"] = 165] = \"NGA\";\n CountryCode[CountryCode[\"NIC\"] = 166] = \"NIC\";\n CountryCode[CountryCode[\"NIU\"] = 167] = \"NIU\";\n CountryCode[CountryCode[\"NLD\"] = 168] = \"NLD\";\n CountryCode[CountryCode[\"NOR\"] = 169] = \"NOR\";\n CountryCode[CountryCode[\"NPL\"] = 170] = \"NPL\";\n CountryCode[CountryCode[\"NRU\"] = 171] = \"NRU\";\n CountryCode[CountryCode[\"NZL\"] = 172] = \"NZL\";\n CountryCode[CountryCode[\"OMN\"] = 173] = \"OMN\";\n CountryCode[CountryCode[\"PAK\"] = 174] = \"PAK\";\n CountryCode[CountryCode[\"PAN\"] = 175] = \"PAN\";\n CountryCode[CountryCode[\"PCN\"] = 176] = \"PCN\";\n CountryCode[CountryCode[\"PER\"] = 177] = \"PER\";\n CountryCode[CountryCode[\"PHL\"] = 178] = \"PHL\";\n CountryCode[CountryCode[\"PLW\"] = 179] = \"PLW\";\n CountryCode[CountryCode[\"PNG\"] = 180] = \"PNG\";\n CountryCode[CountryCode[\"POL\"] = 181] = \"POL\";\n CountryCode[CountryCode[\"PRI\"] = 182] = \"PRI\";\n CountryCode[CountryCode[\"PRK\"] = 183] = \"PRK\";\n CountryCode[CountryCode[\"PRT\"] = 184] = \"PRT\";\n CountryCode[CountryCode[\"PRY\"] = 185] = \"PRY\";\n CountryCode[CountryCode[\"PSE\"] = 186] = \"PSE\";\n CountryCode[CountryCode[\"PYF\"] = 187] = \"PYF\";\n CountryCode[CountryCode[\"QAT\"] = 188] = \"QAT\";\n CountryCode[CountryCode[\"REU\"] = 189] = \"REU\";\n CountryCode[CountryCode[\"ROU\"] = 190] = \"ROU\";\n CountryCode[CountryCode[\"RUS\"] = 191] = \"RUS\";\n CountryCode[CountryCode[\"RWA\"] = 192] = \"RWA\";\n CountryCode[CountryCode[\"SAU\"] = 193] = \"SAU\";\n CountryCode[CountryCode[\"SDN\"] = 194] = \"SDN\";\n CountryCode[CountryCode[\"SEN\"] = 195] = \"SEN\";\n CountryCode[CountryCode[\"SGP\"] = 196] = \"SGP\";\n CountryCode[CountryCode[\"SGS\"] = 197] = \"SGS\";\n CountryCode[CountryCode[\"SHN\"] = 198] = \"SHN\";\n CountryCode[CountryCode[\"SJM\"] = 199] = \"SJM\";\n CountryCode[CountryCode[\"SLB\"] = 200] = \"SLB\";\n CountryCode[CountryCode[\"SLE\"] = 201] = \"SLE\";\n CountryCode[CountryCode[\"SLV\"] = 202] = \"SLV\";\n CountryCode[CountryCode[\"SMR\"] = 203] = \"SMR\";\n CountryCode[CountryCode[\"SOM\"] = 204] = \"SOM\";\n CountryCode[CountryCode[\"SPM\"] = 205] = \"SPM\";\n CountryCode[CountryCode[\"SRB\"] = 206] = \"SRB\";\n CountryCode[CountryCode[\"SSD\"] = 207] = \"SSD\";\n CountryCode[CountryCode[\"STP\"] = 208] = \"STP\";\n CountryCode[CountryCode[\"SUR\"] = 209] = \"SUR\";\n CountryCode[CountryCode[\"SVK\"] = 210] = \"SVK\";\n CountryCode[CountryCode[\"SVN\"] = 211] = \"SVN\";\n CountryCode[CountryCode[\"SWE\"] = 212] = \"SWE\";\n CountryCode[CountryCode[\"SWZ\"] = 213] = \"SWZ\";\n CountryCode[CountryCode[\"SXM\"] = 214] = \"SXM\";\n CountryCode[CountryCode[\"SYC\"] = 215] = \"SYC\";\n CountryCode[CountryCode[\"SYR\"] = 216] = \"SYR\";\n CountryCode[CountryCode[\"TCA\"] = 217] = \"TCA\";\n CountryCode[CountryCode[\"TCD\"] = 218] = \"TCD\";\n CountryCode[CountryCode[\"TGO\"] = 219] = \"TGO\";\n CountryCode[CountryCode[\"THA\"] = 220] = \"THA\";\n CountryCode[CountryCode[\"TJK\"] = 221] = \"TJK\";\n CountryCode[CountryCode[\"TKL\"] = 222] = \"TKL\";\n CountryCode[CountryCode[\"TKM\"] = 223] = \"TKM\";\n CountryCode[CountryCode[\"TLS\"] = 224] = \"TLS\";\n CountryCode[CountryCode[\"TON\"] = 225] = \"TON\";\n CountryCode[CountryCode[\"TTO\"] = 226] = \"TTO\";\n CountryCode[CountryCode[\"TUN\"] = 227] = \"TUN\";\n CountryCode[CountryCode[\"TUR\"] = 228] = \"TUR\";\n CountryCode[CountryCode[\"TUV\"] = 229] = \"TUV\";\n CountryCode[CountryCode[\"TWN\"] = 230] = \"TWN\";\n CountryCode[CountryCode[\"TZA\"] = 231] = \"TZA\";\n CountryCode[CountryCode[\"UGA\"] = 232] = \"UGA\";\n CountryCode[CountryCode[\"UKR\"] = 233] = \"UKR\";\n CountryCode[CountryCode[\"UMI\"] = 234] = \"UMI\";\n CountryCode[CountryCode[\"URY\"] = 235] = \"URY\";\n CountryCode[CountryCode[\"USA\"] = 236] = \"USA\";\n CountryCode[CountryCode[\"UZB\"] = 237] = \"UZB\";\n CountryCode[CountryCode[\"VAT\"] = 238] = \"VAT\";\n CountryCode[CountryCode[\"VCT\"] = 239] = \"VCT\";\n CountryCode[CountryCode[\"VEN\"] = 240] = \"VEN\";\n CountryCode[CountryCode[\"VGB\"] = 241] = \"VGB\";\n CountryCode[CountryCode[\"VIR\"] = 242] = \"VIR\";\n CountryCode[CountryCode[\"VNM\"] = 243] = \"VNM\";\n CountryCode[CountryCode[\"VUT\"] = 244] = \"VUT\";\n CountryCode[CountryCode[\"WLF\"] = 245] = \"WLF\";\n CountryCode[CountryCode[\"WSM\"] = 246] = \"WSM\";\n CountryCode[CountryCode[\"YEM\"] = 247] = \"YEM\";\n CountryCode[CountryCode[\"ZAF\"] = 248] = \"ZAF\";\n CountryCode[CountryCode[\"ZMB\"] = 249] = \"ZMB\";\n CountryCode[CountryCode[\"ZWE\"] = 250] = \"ZWE\";\n})(CountryCode || (CountryCode = {}));\n","export class Guid {\n static next = 0;\n static getNext() {\n Guid.next++;\n return \"__GUID_\" + (Guid.next + 1000);\n }\n}\n","export const Postcode = /(GIR 0AA|[A-PR-UWYZ]([0-9]{1,2}|([A-HK-Y][0-9]|[A-HK-Y][0-9]([0-9]|[ABEHMNPRV-Y]))|[0-9][A-HJKS-UW])\\s?[0-9][ABD-HJLNP-UW-Z]{2})/;\nexport const Email = /^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*)?[a-zA-Z0-9]$/;\nexport const Password = /^(?=.{8,})(?=(.*\\d){2,})(?=.*[a-z])(?=.*[A-Z])(?!.*\\s)(?!.*\\W).*$/;\nexport const NationalInsuranceNumber = /^((A[ABEHKLMPRSTWXYZ])|(B[ABEHKLMT])|(C[ABEHKLR])|(E[ABEHKLMPRSTWXYZ])|(GY)|(H[ABEHKLMPRSTWXYZ])|(J[ABCEGHJKLMNPRSTWXYZ])|(K[ABCEHKLMPRSTWXYZ])|(L[ABEHKLMPRSTWXYZ])|(M[AWX])|(N[ABEHLMPRSWXYZ])|(O[ABEHKLMPRSX])|(P[ABCEGHJLMNPRSTWXY])|(R[ABEHKMPRSTWXYZ])|(S[ABCEGHJKLMNPRSTWXYZ])|(T[ABEHKLMPRSTWXYZ])|(W[ABEKLMP])|(Y[ABEHKLMPRSTWXYZ])|(Z[ABEHKLMPRSTWXY]))\\d{6}[A-D]?$/i;\nexport const Alphabetical = /^[A-Za-z]*$/;\nexport const AlphabeticalWithSpace = /^[A-Za-z ]*$/;\nexport const Numeric = /^[0-9]*$/;\nexport const GuidOrNumeric = /^([0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12})|([0-9]+)$/;\nexport const AlphanumericWithSpace = /^[A-Za-z0-9 ]*$/;\nexport const PersonalDetailsUserName = /^[a-zA-Z][A-Za-z0-9!-.,@&_= min;\n}\nexport function maxLength(value, max) {\n return isEmpty(value) || value.length <= max;\n}\nexport function isAddressPopulated(address) {\n if (address == null) {\n return false;\n }\n return address.CountryCode !== null &&\n address.CountryCode !== CountryCode.NotSpecified &&\n isNotEmpty(address.Line1) &&\n isNotEmpty(address.Postcode) &&\n isNotEmpty(address.Line4);\n}\n","export var Position;\n(function (Position) {\n Position[Position[\"Top\"] = 0] = \"Top\";\n Position[Position[\"Right\"] = 1] = \"Right\";\n Position[Position[\"Bottom\"] = 2] = \"Bottom\";\n Position[Position[\"Left\"] = 3] = \"Left\";\n})(Position || (Position = {}));\n","export var LabelPosition;\n(function (LabelPosition) {\n LabelPosition[LabelPosition[\"Left\"] = 0] = \"Left\";\n LabelPosition[LabelPosition[\"Right\"] = 1] = \"Right\";\n})(LabelPosition || (LabelPosition = {}));\n","export function isNullOrEmpty(array) {\n return array === null || array === undefined || array.length === 0;\n}\nexport function getUniqueValues(...arrays) {\n var result = [];\n if (!arrays || !arrays.length) {\n return result;\n }\n for (let i = 0; i < arrays.length; i++) {\n var currentArray = arrays[i];\n var newElems = currentArray.filter((a) => result.every(r => r !== a));\n result = result.concat(newElems);\n }\n return result;\n}\nexport function contains(array, value) {\n return array.indexOf(value) >= 0;\n}\nexport function insertAt(array, index, arrayToInsert) {\n const arrayCopy = array.slice();\n arrayCopy.splice(index, 0, ...arrayToInsert);\n //Array.prototype.splice.apply(array, [index, 0].concat(arrayToInsert));\n return arrayCopy;\n}\nexport function firstOrDefault(array, selector) {\n return array.filter(selector)[0];\n}\nexport function getNextItem(array, currentValue) {\n const indexOfCurrentValue = array.indexOf(currentValue);\n if (indexOfCurrentValue >= 0\n && array.length > indexOfCurrentValue + 1) {\n return array[indexOfCurrentValue + 1];\n }\n return null;\n}\nexport function getPreviousItem(array, currentValue) {\n const indexOfCurrentValue = array.indexOf(currentValue);\n if (indexOfCurrentValue >= 1) {\n return array[indexOfCurrentValue - 1];\n }\n return null;\n}\n","export class Validator {\n _validationRules = [];\n addFromCondition(condition, funct) {\n if (condition && condition.errorMessage) {\n const rule = {\n validator: (value) => funct(value, condition.value),\n errorMessage: condition.errorMessage\n };\n this._validationRules.push(rule);\n }\n }\n add(rule, errorMessage) {\n if (errorMessage) {\n this._validationRules.push({ validator: rule, errorMessage: errorMessage });\n }\n }\n addRange(rules) {\n if (rules) {\n this._validationRules = this._validationRules.concat(rules.filter(rule => rule != null));\n }\n }\n clear() {\n this._validationRules = [];\n }\n getValidationErrors(rawValue) {\n return this._validationRules.slice().filter(rule => !rule.validator(rawValue)).map(rule => rule.errorMessage);\n }\n}\n","export class Objects {\n static cloneObject(input) {\n if (input == undefined || input == null || typeof input !== \"object\") {\n return input;\n }\n if (Array.isArray(input)) {\n return input.map(x => Objects.cloneObject(x));\n }\n return $.extend(true, {}, input);\n }\n}\n","import { Assert } from \"./../Utils/Assert\";\nimport { Objects } from \"./../Utils/Objects\";\nimport { isNullOrEmpty } from \"./../Utils/Arrays\";\nimport React from \"react\";\nexport class BaseComponent extends React.Component {\n _subscribedStores;\n _storeSubscriptionsClosed;\n constructor(props) {\n super(props);\n this._subscribedStores = [];\n this._storeSubscriptionsClosed = false;\n }\n componentWillMount() {\n this._storeSubscriptionsClosed = true;\n this.subscribeToAllStores();\n }\n componentWillUnmount() {\n this.cancelAllStoresSubscriptions();\n }\n isAnyStoreLoading() {\n if (!isNullOrEmpty(this._subscribedStores)) {\n for (var i = 0; i < this._subscribedStores.length; i++) {\n if (this._subscribedStores[i].store.isLoading()) {\n return true;\n }\n }\n }\n return false;\n }\n updateStatePart(updateStatePartFunc, callback) {\n this.setState((prevState) => {\n const copiedState = Objects.cloneObject(prevState);\n updateStatePartFunc(copiedState);\n return copiedState;\n }, callback);\n }\n subscribeToStore(store, onChange) {\n Assert(!this._storeSubscriptionsClosed, \"Attempted to subscribe to a store after component is initialized. subscribeToStore can be called only in a constructor\");\n this._subscribedStores.push({ store: store, onChange: onChange });\n }\n subscribeToAllStores() {\n if (!isNullOrEmpty(this._subscribedStores)) {\n for (var i = 0; i < this._subscribedStores.length; i++) {\n this._subscribedStores[i].store.onChange(this, this._subscribedStores[i].onChange);\n }\n }\n }\n cancelAllStoresSubscriptions() {\n if (!isNullOrEmpty(this._subscribedStores)) {\n for (var i = 0; i < this._subscribedStores.length; i++) {\n this._subscribedStores[i].store.removeChangeListener(this);\n }\n }\n }\n}\n","import { isNullOrEmpty } from \"./../Utils/Arrays\";\nimport { ObjectComparer } from \"./../Utils/ObjectComparer\";\nimport { BaseComponent } from \"./BaseComponent\";\nimport PropTypes from \"prop-types\";\nexport class BaseFormElement extends BaseComponent {\n _lastValidationErrors = [];\n constructor(props) {\n super(props);\n }\n triggerValidationResultChange(validationErrors) {\n if (!this.props.onValidationResultChange) {\n return;\n }\n if (!ObjectComparer.arraysDiffer(this._lastValidationErrors, validationErrors)) {\n return;\n }\n this._lastValidationErrors = validationErrors;\n var isValid = isNullOrEmpty(validationErrors);\n this.props.onValidationResultChange(isValid, validationErrors);\n }\n static contextTypes = {\n formElement: PropTypes.object.isRequired\n };\n componentWillMount() {\n super.componentWillMount();\n if (this.context && this.context.formElement && this.context.formElement.attachToForm) {\n this.context.formElement.attachToForm(this);\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.context && this.context.formElement && this.context.formElement.detachFromForm) {\n this.context.formElement.detachFromForm(this);\n }\n }\n}\n","import React from \"react\";\nimport { isNullOrEmpty } from \"./../Utils/Arrays\";\nimport { ObjectComparer } from \"./../Utils/ObjectComparer\";\nimport { Validator } from \"./Validation/Validator\";\nimport { BaseFormElement } from \"./BaseFormElement\";\nexport class Checkbox extends BaseFormElement {\n validator;\n inputRef;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState(props);\n this.validator = new Validator();\n this.initValidation();\n }\n render() {\n return (React.createElement(\"input\", { type: 'checkbox', className: (this.props.cssInput || 'form-input'), checked: this.state.value, disabled: this.props.disabled, title: this.props.title, id: this.props.id, onChange: (event) => this.onChange(event), ref: (select) => this.inputRef = select, tabIndex: this.props.tabIndex, \"aria-describedby\": this.props.ariaDescribedby, \"aria-invalid\": !this.state.isValid ? \"true\" : undefined, \"data-automation-id\": this.props.automationId }));\n }\n initValidation() {\n this.validator.clear();\n this.validator.add((value) => value, this.props.required);\n this.validator.addRange(this.props.validationRules);\n }\n componentWillReceiveProps(nextProps) {\n // If the value passed has changed, set it. If value is not passed it will\n // internally update, and this will never run\n if (!ObjectComparer.isSame(this.props.value, nextProps.value) && !ObjectComparer.isSame(nextProps.value, this.state.value)) {\n this.setValue(nextProps.value, true);\n }\n }\n componentDidUpdate(prevProps, prevState) {\n if (!ObjectComparer.isSame(this.props.value, prevProps.value) && !this.state.isPristine) {\n this.isValid();\n }\n }\n shouldComponentUpdate(nextProps, nextState) {\n return ObjectComparer.objectsDiffer(this.props, nextProps) || ObjectComparer.objectsDiffer(this.state, nextState);\n }\n getDefaultState(props) {\n return {\n value: props.value,\n isValid: true,\n isPristine: true,\n pristineValue: props.value\n };\n }\n setValue(value, isPristine) {\n this.setState({\n value: value,\n isPristine: isPristine\n });\n }\n onChange(syntheticEvent) {\n var value = this.inputRef.checked;\n this.setValue(value, false);\n if (this.props.onChange) {\n this.runValidation(value);\n this.props.onChange(value);\n }\n }\n runValidation(value) {\n if ($(this.inputRef).is(':hidden')) {\n return true;\n }\n this.initValidation();\n var errors = this.validator.getValidationErrors(value);\n this.triggerValidationResultChange(errors);\n var isValid = isNullOrEmpty(errors);\n this.setState({ isValid: isValid });\n return isValid;\n }\n isValid() {\n var value = this.inputRef.checked;\n return this.runValidation(value);\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { isNullOrEmpty } from \"./../Utils/Arrays\";\nexport class ValidationErrorsContainer extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n validationErrors: props.validationErrors || []\n };\n }\n componentWillReceiveProps(nextProps) {\n var isHidden = isNullOrEmpty(nextProps.validationErrors);\n if (!isHidden) {\n this.setState({ validationErrors: nextProps.validationErrors });\n }\n }\n render() {\n var isHidden = isNullOrEmpty(this.props.validationErrors);\n var errors = this.state.validationErrors;\n var errorsCode;\n if (!isNullOrEmpty(errors)) {\n errorsCode = errors.map((e, index) => React.createElement(\"span\", { className: \"error\", key: index, dangerouslySetInnerHTML: { __html: e } }));\n }\n var className = classNames((this.props.isServerError) ? 'alert-error is-acc' : 'inline-error-message', { 'is-hidden': isHidden });\n return (React.createElement(\"div\", { className: className, id: this.props.id, \"aria-live\": \"polite\" },\n this.props.isServerError && React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n this.props.isServerError && React.createElement(\"div\", { className: \"sr-only\" }, \"Error alert\"),\n errorsCode));\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Assert } from \"./../../Utils/Assert\";\nimport { isNullOrEmpty } from \"./../../Utils/Arrays\";\nimport { Position } from \"./../../Enums/Position\";\nexport class TooltipContent extends React.Component {\n constructor(props) {\n super(props);\n }\n render() {\n var position = (this.props.position) ? Position[this.props.position] : Position[Position.Top];\n var classnames = classNames('tooltip-bubble', { 'is-hidden': !this.props.show }, 'position-' + position.toLocaleLowerCase());\n return (React.createElement(\"div\", { className: classnames }, this.getTooltipContent()));\n }\n getTooltipContent() {\n var hasChildren = !isNullOrEmpty(React.Children.toArray(this.props.children));\n Assert((hasChildren === true && this.props.htmlText == null) || (hasChildren === false && this.props.htmlText != null), \"InvariantViolationException: TooltipContent must have only one of this.props.children or this.props.htmlText defined.\");\n if (!hasChildren) {\n return (React.createElement(\"div\", { className: 'tooltip-content', id: this.props.id, dangerouslySetInnerHTML: { __html: this.props.htmlText } }));\n }\n else {\n return (React.createElement(\"div\", { className: 'tooltip-content', id: this.props.id }, this.props.children));\n }\n }\n}\n","import ReactDOM from \"react-dom\";\nimport React from \"react\";\n/**\n * The `` component renders its children into a new \"subtree\" outside of current component hierarchy.\n * You can think of it as a declarative `appendChild()`, or jQuery's `$.fn.appendTo()`.\n * The children of `` component will be appended to the `container` specified.\n */\nexport class Portal extends React.Component {\n _overlayTarget;\n _portalContainerNode;\n _overlayInstance;\n constructor(props) {\n super(props);\n }\n render() {\n return null;\n }\n componentDidMount() {\n this._renderOverlay();\n }\n componentDidUpdate() {\n this._renderOverlay();\n }\n componentWillReceiveProps(nextProps) {\n if (this._overlayTarget && nextProps.container !== this.props.container) {\n this._portalContainerNode.removeChild(this._overlayTarget);\n this._portalContainerNode = this.props.container;\n this._portalContainerNode.appendChild(this._overlayTarget);\n }\n }\n componentWillUnmount() {\n this._unrenderOverlay();\n this._unmountOverlayTarget();\n }\n _mountOverlayTarget() {\n if (!this._overlayTarget) {\n this._overlayTarget = document.createElement('div');\n this._portalContainerNode = this.props.container;\n this._portalContainerNode.appendChild(this._overlayTarget);\n }\n }\n _unmountOverlayTarget() {\n if (this._overlayTarget) {\n this._portalContainerNode.removeChild(this._overlayTarget);\n this._overlayTarget = null;\n }\n this._portalContainerNode = null;\n }\n _renderOverlay() {\n let overlay = !this.props.children\n ? null\n : React.Children.only(this.props.children);\n // Save reference for future access.\n if (overlay !== null) {\n this._mountOverlayTarget();\n this._overlayInstance = ReactDOM.unstable_renderSubtreeIntoContainer(this, overlay, this._overlayTarget);\n }\n else {\n // Unrender if the component is null for transitions to null\n this._unrenderOverlay();\n this._unmountOverlayTarget();\n }\n }\n _unrenderOverlay() {\n if (this._overlayTarget) {\n ReactDOM.unmountComponentAtNode(this._overlayTarget);\n this._overlayInstance = null;\n }\n }\n}\n","import React from \"react\";\nimport { Portal } from \"./Components/Portal\";\nimport { BindOnClickOutside, UnbindOnClickOutside } from \"./../Utils/OnClickOutside\";\nimport { Guid } from \"./../Utils/Guid\";\n/**\n * Pepa chtel, aby se to jmenoval LoadingWrapper. Nesouhlasim.\n */\nexport class Div extends React.Component {\n _divRef;\n _isMounted;\n _clickEventId = Guid.getNext().toString();\n constructor(props) {\n super(props);\n this.state = {};\n }\n componentDidMount() {\n this._isMounted = true;\n if (this.props.onClickOutside) {\n BindOnClickOutside($(this._divRef), this._clickEventId, (event) => this._isMounted && this.props.onClickOutside(event));\n }\n }\n componentWillUnmount() {\n this._isMounted = false;\n if (this.props.onClickOutside) {\n UnbindOnClickOutside(this._clickEventId);\n }\n }\n render() {\n var divProps = $.extend({}, this.props);\n divProps.ref = (div) => this._divRef = div;\n var targetLoadingContainer = this.getTargetLoadingContainer(this.props.isBlocking);\n return (React.createElement(\"div\", { ...divProps },\n React.createElement(Portal, { container: targetLoadingContainer }, this.props.isLoading && this.getLoadingIndicator(this.props.isBlocking)),\n this.props.children));\n }\n getTargetLoadingContainer(isBlocking) {\n return (isBlocking)\n ? document.getElementById('loading-div-container-blocking')\n : document.getElementById('loading-div-container-non-blocking');\n }\n getLoadingIndicator(isBlocking) {\n return (isBlocking) ? this.getBlockingIndicator() : this.getNonBlockingIndicator();\n }\n getBlockingIndicator() {\n return React.createElement(\"div\", { className: \"loading-overlay\" },\n React.createElement(\"div\", { className: \"dialog\" },\n React.createElement(\"div\", { className: \"symbol\" }),\n React.createElement(\"div\", { className: \"indicator\" },\n React.createElement(\"span\", { className: \"l-1\" }),\n React.createElement(\"span\", { className: \"l-2\" }),\n React.createElement(\"span\", { className: \"l-3\" }),\n React.createElement(\"span\", { className: \"l-4\" }),\n React.createElement(\"span\", { className: \"l-5\" }),\n React.createElement(\"span\", { className: \"l-6\" }))));\n }\n getNonBlockingIndicator() {\n return React.createElement(\"div\", { className: \"background-loading\" });\n }\n}\n","export function BindOnClickOutside($elem, id, handler) {\n var event = $('html').bind('click.' + id, (e) => {\n var $clickedElem = $(e.target);\n if (!$elem.find($clickedElem).length) {\n handler(e);\n }\n });\n return event;\n}\nexport function UnbindOnClickOutside(id) {\n $('html').unbind('.' + id);\n}\nexport function onClickOutside($elem, handler) {\n $(document.body).click((e) => {\n var $clickedElem = $(e.target);\n //if($.contains(e.target, elem))\n if ($clickedElem.find($elem).length > 0) {\n handler(e);\n }\n });\n}\nexport function onClickOutsideElems(handler, ...$elems) {\n $('html').click((e) => handler(e));\n $elems.forEach($elem => $elem.click(e => {\n e.stopPropagation();\n //console.log('ElementClicked', e);\n }));\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Div } from \"./../Div\";\nexport class OverlayTrigger extends React.Component {\n _triggerWrapper;\n constructor(props) {\n super(props);\n this.state = {};\n }\n render() {\n var trigger = React.Children.only(this.props.children);\n var props = {};\n props.onClick = () => {\n trigger.props.onClick();\n this.show();\n };\n props.ref = (wrapper) => this._triggerWrapper = wrapper;\n var overlay = this.getOverlay();\n var wrapperCss = classNames('tooltip-wrapper', this.props.messageCss);\n return (React.createElement(\"div\", { className: wrapperCss },\n React.cloneElement(trigger, props),\n React.createElement(Div, { onClickOutside: () => this.hide() }, overlay)));\n }\n getOverlay() {\n var overlay = this.props.overlay;\n var props = { show: this.state.show };\n return React.cloneElement(overlay, props);\n }\n show() {\n this.setState({ show: true });\n }\n hide() {\n this.setState({ show: false });\n }\n toggle() {\n this.setState({ show: !this.state.show });\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { TooltipContent } from \"./TooltipContent\";\nimport { OverlayTrigger } from \"./OverlayTrigger\";\nimport { Guid } from \"./../../Utils/Guid\";\nexport class Tooltip extends React.Component {\n _guid = Guid.getNext().toString();\n constructor(props) {\n super(props);\n }\n render() {\n var tooltip = this.getTooltipContent(this._guid);\n var triggerCss = classNames('tooltip-btn', this.props.triggerCss);\n return (React.createElement(OverlayTrigger, { messageCss: this.props.messageCss, overlay: tooltip },\n React.createElement(\"button\", { type: \"button\", \"aria-describedby\": this._guid, className: triggerCss, onClick: (e) => { } },\n this.props.triggerText && React.createElement(\"span\", { className: \"hyperlink\" }, this.props.triggerText),\n React.createElement(\"span\", { className: \"sr-only\" }, \"Click for more information\"))));\n }\n getTooltipContent(triggerId) {\n return (React.createElement(TooltipContent, { id: triggerId, htmlText: this.props.htmlText, position: this.props.position }, this.props.children));\n }\n}\n","import React from \"react\";\nimport { ValidationErrorsContainer } from \"./ValidationErrorsContainer\";\nimport { Tooltip } from \"./Components/Tooltip\";\nimport { Guid } from \"./../Utils/Guid\";\nimport { Position } from \"./../Enums/Position\";\nexport class BaseEditor extends React.Component {\n wrapperRef;\n _errorMessageId = Guid.getNext();\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n getDefaultState() {\n return {\n isValid: true,\n validationErrors: new Array()\n };\n }\n getTooltip() {\n if (!this.props.tooltip || !this.props.tooltip.length) {\n return null;\n }\n return (React.createElement(Tooltip, { htmlText: this.props.tooltip, position: this.props.tooltipPosition }));\n }\n onValidationResultChange(isValid, validationErrors) {\n var currentState = { ...this.state };\n currentState.isValid = isValid;\n currentState.validationErrors = validationErrors;\n this.setState(currentState);\n }\n getValidationErrorsContainer() {\n return (React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, id: this._errorMessageId }));\n }\n showErrorsAt(position) {\n if (!this.props.errorsPosition)\n return position === Position.Top;\n else\n return position === this.props.errorsPosition;\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Guid } from \"./../Utils/Guid\";\nimport { isNotEmpty } from \"./Validation/RawValueRules\";\nimport { Position } from \"./../Enums/Position\";\nimport { LabelPosition } from \"./LabelPosition\";\nimport { Checkbox } from \"./Checkbox\";\nimport { BaseEditor } from \"./BaseEditor\";\nexport class CheckboxEditor extends BaseEditor {\n constructor(props) {\n super(props);\n }\n render() {\n var wrapperCss = classNames('form-group', this.props.cssWrapper, { 'error': !this.state.isValid });\n var isLabelOnLeft = this.props.labelPosition !== null && this.props.labelPosition === LabelPosition.Left;\n return (React.createElement(\"div\", { className: wrapperCss, ref: (elem) => this.wrapperRef = elem },\n React.createElement(\"div\", { className: \"controls-checkbox\" },\n this.showErrorsAt(Position.Top) && this.getValidationErrorsContainer(),\n isLabelOnLeft ? this.getLabel() : null,\n this.getInput(),\n isLabelOnLeft ? null : this.getLabel(),\n this.getTooltip(),\n this.showErrorsAt(Position.Bottom) && this.getValidationErrorsContainer())));\n }\n componentDidMount() {\n this.bindLabelToInput();\n }\n getInput() {\n return (React.createElement(Checkbox, { ...this.props, id: this.state.inputGroupId, ariaDescribedby: !this.state.isValid ? this._errorMessageId : undefined, onValidationResultChange: (isValid, errors) => this.onValidationResultChange(isValid, errors) }));\n }\n getLabel() {\n if (!this.props.label) {\n return null;\n }\n return (React.createElement(\"label\", { htmlFor: this.state.inputGroupId }, this.props.label));\n }\n bindLabelToInput() {\n var id;\n var propId = null;\n if (this.props.hasOwnProperty('id')) {\n propId = this.props['id'];\n }\n id = (isNotEmpty(propId)) ? propId : Guid.getNext().toString();\n this.setState({ inputGroupId: id });\n }\n}\n","export class JsonDateParser {\n static toDate(value) {\n if (!value) {\n return null;\n }\n var date = new Date(value);\n return date;\n }\n static toJsonDate(value) {\n if (!value) {\n return null;\n }\n var offset = value.getTimezoneOffset();\n var utcDate = new Date(value.getTime() - offset * 60000);\n var jsonDate = utcDate.toISOString();\n return jsonDate;\n }\n static toUTCDate(value) {\n if (!value) {\n return null;\n }\n var date = new Date(value.toString());\n var offset = date.getTimezoneOffset();\n var utcDate = new Date(date.getTime() - offset * 60000);\n return utcDate;\n }\n}\n","export class Content {\n static common = {\n termsAndConditionsHeading: \"Terms and conditions\",\n adviserPleaseReadAndAccept: \"Please read and accept the terms and conditions.\",\n customerPleaseReadAndAccept: \"Our terms and conditions have changed and we need you to accept them before you can access the Customer Centre.\",\n lastUpdated: \"Last updated: \",\n adviserAcceptCheckboxLabel: \"I confirm I have read the attached Online Service Agreement for Quilter's Adviser Platform and I agree to be bound by it.\",\n customerAcceptCheckboxLabel: \"I confirm I have read the terms and conditions for Quilter's Online Customer Centre and I agree to be bound by them.\",\n continueLabel: \"Continue\",\n logOut: \"Log out\",\n pleaseAcceptTheTermsAndConditions: \"Please accept the terms and conditions\"\n };\n static pageTitles = {\n customer: {\n termsAndConditions: \"Terms and conditions | Quilter Customer Centre\"\n }\n };\n}\n","export class Content {\n static phoneNumbers = {\n phoneNumberWrongFormatMessage: \"Please, provide valid phone number\"\n };\n static nearlyThere = {\n header: \"Your registration is almost complete\",\n message: \"To make sure we set up your account correctly, we need to check some \" +\n \"final details for you. If we need any additional information, we’ll give you a quick call on \" +\n \"the next working day. If we have everything we need, we’ll send you a confirmation email. Rest \" +\n \"assured, you don’t need to do anything. We’ll make sure your online account is ready for you by \" +\n \"the end of the next working day.\",\n pleaseGiveUsACall: \"Please give us a call on\"\n };\n static helpSection = {\n needHelp: \"Need help?\",\n contactUs: \"Contact us\",\n adviserCustomSectionInfo: \"Please contact your master user or your platform specialist\"\n };\n static customerSiteHeader = {\n help: \"Help\",\n contactUs: \"Contact us\",\n signOut: \"Sign out\",\n userMenu: \"User menu\"\n };\n static publicHeader = {\n needHelp: \"Need help?\",\n contactUs: \"Contact us\"\n };\n static siteFooter = {\n help: \"Help\",\n termsOfUseLink: \"Terms of use\",\n legalAndRegulatoryLink: \"Legal and regulatory\",\n privacyAndCookiePolicyLink: \"Privacy and cookie policy\",\n accessibility: \"Accessibility\",\n contactUsLink: \"Contact us\",\n termsAndConditionsLink: \"Terms & conditions\"\n };\n static timeout = {\n getWarningMessage: (inactiveForMinutes, timeoutInMinutes) => {\n return \"You have been inactive for {0} minutes. You will be logged out in {1} minutes unless we detect further activity.\"\n .replace(\"{0}\", inactiveForMinutes.toString())\n .replace(\"{1}\", timeoutInMinutes.toString());\n }\n };\n static activationEmail = {\n resendButtonLabel: \"Resend\"\n };\n}\n","import React from \"react\";\nimport { Content } from \"./../../../../Resources/Content\";\nexport const CustomerSiteFooter = (props) => {\n const urlsHelper = new SharedUrlsHelper();\n return (React.createElement(\"footer\", { className: \"site-footer\" },\n React.createElement(\"nav\", null,\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.customerFooter.getOmwTermsOfUseUrl(), target: \"_blank\" }, Content.siteFooter.termsOfUseLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.customerFooter.getOmwPrivateAndCookiePolicyUrl(), target: \"_blank\" }, Content.siteFooter.privacyAndCookiePolicyLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.customerFooter.getOmwLegalAndRegulatoryUrl(), target: \"_blank\" }, Content.siteFooter.legalAndRegulatoryLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.customerFooter.getOmwAccessibilityUrl(), target: \"_blank\" }, Content.siteFooter.accessibility),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.customerFooter.getOmwTermsAndConditionsUrl(), target: \"_blank\" }, Content.siteFooter.termsAndConditionsLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.customerFooter.getOmwContactUsUrl(), target: \"_blank\" }, Content.siteFooter.contactUsLink))));\n};\n","import React from \"react\";\nimport { Content } from \"./../../../../Resources/Content\";\nexport const AdviserSiteFooter = (props) => {\n const urlsHelper = new SharedUrlsHelper();\n return (React.createElement(\"footer\", { className: \"site-footer\" },\n React.createElement(\"nav\", null,\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.adviserFooter.getOmwAdviserPlatformMigrationToolkitUrl(), target: \"_blank\" }, Content.siteFooter.help),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.adviserFooter.getOmwAdviserTermsOfUseUrl(), target: \"_blank\" }, Content.siteFooter.termsOfUseLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.adviserFooter.getOmwAdviserPrivateAndCookiePolicyUrl(), target: \"_blank\" }, Content.siteFooter.privacyAndCookiePolicyLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.adviserFooter.getOmwAdviserRegulatoryInformationUrl(), target: \"_blank\" }, Content.siteFooter.legalAndRegulatoryLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.adviserFooter.getOmwAdviserAccessibilityUrl(), target: \"_blank\" }, Content.siteFooter.accessibility),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.adviserFooter.getOmwAdviserTermsAndConditionsUrl(), target: \"_blank\" }, Content.siteFooter.termsAndConditionsLink),\n React.createElement(\"span\", null, \" | \"),\n React.createElement(\"a\", { className: \"hyperlink\", href: urlsHelper.adviserFooter.getOmwAdviserContactUsUrl(), target: \"_blank\" }, Content.siteFooter.contactUsLink))));\n};\n","export var PumaUserType;\n(function (PumaUserType) {\n PumaUserType[PumaUserType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaUserType[PumaUserType[\"Adviser\"] = 1] = \"Adviser\";\n PumaUserType[PumaUserType[\"Customer\"] = 2] = \"Customer\";\n})(PumaUserType || (PumaUserType = {}));\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport var CMSItemsDispatcher = new Dispatcher();\nexport var CMSItemsStore = new PayloadStore(CMSItemsDispatcher);\n","export var CMSStyle;\n(function (CMSStyle) {\n CMSStyle[CMSStyle[\"Warning\"] = 0] = \"Warning\";\n CMSStyle[CMSStyle[\"Hint\"] = 1] = \"Hint\";\n CMSStyle[CMSStyle[\"Success\"] = 2] = \"Success\";\n})(CMSStyle || (CMSStyle = {}));\nexport const CMSStyleMap = {\n [CMSStyle.Warning]: \"alert-warning-compact\",\n [CMSStyle.Hint]: \"alert-hint\",\n [CMSStyle.Success]: \"alert-success is-acc small\"\n};\nexport const StaticCMSItems = [\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"LandingPage.Register.Explain.Body\",\n Value: \"

Register

\\n

To activate your account, please take the link below.

\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.WarmOrCold.Main.Body\",\n Value: \"Hello

To help us with your registration, please answer the following question:\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.WarmOrCold.WarmOption.Body\",\n Value: \"I have received a letter with two registration codes\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.WarmOrCold.ColdOption.Body\",\n Value: \"I have NOT received any registration code letter\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.WarmToRegister.Main.Body\",\n Value: \"To register

You will need:\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.WarmToRegister.LetterWording.Body\",\n Value: \"your letter from Quilter inviting you to register for the app.\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.WarmToRegister.NINOWording.Body\",\n Value: \"your National Insurance number. (If we do not have your National Insurance number, we will ask for your account number.)\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OccWarmReg.LetterCodes.Main.Body\",\n Value: \"Excellent!

You have received a letter from us inviting you to register for the app. 
The letter contains a unique code in two parts.\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OccWarmReg.LetterCodes.FirstCode.Body\",\n Value: \"Please enter the first code\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OccWarmReg.LetterCodes.SecondCode.Body\",\n Value: \"Please enter the second code\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.NINO.Main.Body\",\n Value: \"Now please enter your National Insurance number\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.AccountNumber.Main.Body\",\n Value: \"Please enter your Quilter Account Number

You only need to type in the first 7 digits of your AC number\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmReg.EmailValidation.Main.Body\",\n Value: \"

Please enter your email address for us to validate.  

\\n

If you have used an email address for your username we will default to that, however you can overwrite this.

\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OCCWarmreg.PhoneValidation.Main.Body\",\n Value: \"Please enter a mobile phone for us to validate\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OccRegistration.ExistingAccountCheck.AccountFound.Body\",\n Value: \"Excellent news\",\n Group: null\n },\n {\n Tool: \"FNZAdviserPlatform\",\n Key: \"OccRegistration.ExistingAccountCheck.AccountFoundLogin.Body\",\n Value: `

It looks like you already have an account with us  

\\n

Please log in with your existing username and password. If you do not know these, select the I've forgotten links to recover your username or password.

`,\n Group: null\n },\n];\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CMSClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/HelpCenter/CMS/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { CMSItemsDispatcher } from \"./CMSActionStore\";\nimport { StaticCMSItems } from \"./Content\";\nimport { CMSClient } from \"@/Puma/Api/HelpCenter/CMS\";\nexport class LoadCMSActionCreators {\n static loadData() {\n const client = new CMSClient();\n const promise = client.get();\n promise.onSuccess(result => LoadCMSActionCreators.processData(result));\n }\n static GetFromLocalStorage(key) {\n const cmsStored = localStorage.getItem(\"CMSContent\");\n const cmsData = JSON.parse(cmsStored);\n return cmsData == null ? \"\" : cmsData[key];\n }\n static GetCMSText(key, cmsCotent) {\n let msg = \"\";\n if (cmsCotent == null || !cmsCotent[key]) {\n msg = LoadCMSActionCreators.GetFromLocalStorage(key);\n }\n else {\n msg = cmsCotent[key];\n }\n if (!msg) {\n msg = StaticCMSItems.filter(x => x.Key == key)[0].Value;\n }\n return msg;\n }\n static processData(data) {\n if (data && data.Succeeded) {\n const items = data.Results.reduce((prev, curr) => {\n prev[curr.Key] = curr.Value;\n return prev;\n }, {});\n const cmsStored = localStorage.getItem(\"CMSContent\");\n const cmsData = JSON.parse(cmsStored);\n const cmsUpdated = { ...cmsData, ...items };\n localStorage.setItem(\"CMSContent\", JSON.stringify(cmsUpdated));\n CMSItemsDispatcher.dispatch({ actionType: ActionType.Success, payload: cmsUpdated });\n }\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const HelpCenterContactDetailsActionsDispatcher = new Dispatcher();\nexport const HelpCenterContactDetailsStore = new PayloadStore(HelpCenterContactDetailsActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class HelpCenterContactDetailsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/HelpCenter/HelpCenterContactDetails/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { HelpCenterContactDetailsActionsDispatcher } from \"./../Stores/HelpCenterContactDetailsStore\";\nimport { HelpCenterContactDetailsClient } from \"@/Puma/Api/HelpCenter/HelpCenterContactDetails\";\nexport class HelpCenterContactDetailsActionsCreator {\n static reload() {\n const client = new HelpCenterContactDetailsClient();\n HelpCenterContactDetailsActionsCreator.startLoading();\n client\n .get()\n .onSuccess(HelpCenterContactDetailsActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(details) {\n HelpCenterContactDetailsActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: details });\n }\n static startLoading() {\n HelpCenterContactDetailsActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export function getUserType() {\n return (new window.UserTypeContextHelper()).getUserType();\n}\n","import React from \"react\";\nimport { LoadCMSActionCreators } from \"./../../../../../CMS/LoadCMSActionCreators\";\nimport { HelpCenterContactDetailsActionsCreator } from \"./../../../../ActionsCreators/HelpCenterContactDetailsActionsCreator\";\nimport { Content } from \"./../../../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { HelpCenterContactDetailsStore } from \"./../../../../Stores/HelpCenterContactDetailsStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { getUserType } from \"@/apps/Shared/User/getUserType\";\nexport class PublicHeader extends BaseComponent {\n constructor(props) {\n super(props);\n this.subscribeToStore(HelpCenterContactDetailsStore, () => this.onHelpCenterContactDetailsChange());\n this.state = { helpCenterContactDetails: {} };\n }\n render() {\n const contactUsLink = getUserType() === PumaUserType.Adviser\n ? new SharedUrlsHelper().getAdviserContactUsUrl()\n : new SharedUrlsHelper().getCustomerContactUsUrl();\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true, className: this.props.isForWizard ? \"public-wizard-site-header\" : \"public-site-header\" },\n React.createElement(\"div\", { className: \"container-header\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"div\", { className: \"logo-wrapper\" },\n React.createElement(\"div\", { className: \"logo-image\" }))),\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle col-right\" },\n React.createElement(\"div\", { className: \"mb-0\" },\n React.createElement(\"span\", { className: \"text-bold\" }, Content.publicHeader.needHelp),\n React.createElement(\"a\", { className: \"hyperlink ml-10\", href: contactUsLink, target: \"_blank\" }, Content.publicHeader.contactUs)))))))));\n }\n componentDidMount() {\n if (!HelpCenterContactDetailsStore.isLoading()) {\n if (HelpCenterContactDetailsStore.isEmpty()) {\n HelpCenterContactDetailsActionsCreator.reload();\n }\n else {\n this.updateStatePart(x => x.helpCenterContactDetails = HelpCenterContactDetailsStore.getPayload());\n }\n }\n this.loadCMSInfo();\n }\n loadCMSInfo() {\n LoadCMSActionCreators.loadData();\n }\n onHelpCenterContactDetailsChange() {\n if (!HelpCenterContactDetailsStore.isLoading()) {\n this.updateStatePart(x => {\n x.helpCenterContactDetails = HelpCenterContactDetailsStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading);\n }\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { CustomerSiteFooter } from \"./../Shared/Footers/CustomerSiteFooter\";\nimport { AdviserSiteFooter } from \"./../Shared/Footers/AdviserSiteFooter\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { PublicHeader } from \"./Headers/PublicHeader\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { getUserType } from \"@/apps/Shared/User/getUserType\";\nexport const PublicLayout = (props) => {\n const bodyCss = classNames({ \"layout-public\": !props.isForWizard }, { \"layout-public-wizard\": props.isForWizard });\n return (React.createElement(Div, null,\n React.createElement(PublicHeader, { isForWizard: props.isForWizard }),\n React.createElement(\"div\", { className: bodyCss }, props.children),\n getUserType() === PumaUserType.Adviser ? (React.createElement(AdviserSiteFooter, null)) : (React.createElement(CustomerSiteFooter, null))));\n};\n","import React from \"react\";\nimport { PublicLayout } from \"./PublicLayout\";\nexport const PublicSiteLayout = (props) => {\n return (React.createElement(PublicLayout, { isForWizard: false }, props.children));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { CheckboxEditor } from \"@/react-core/Html/CheckboxEditor\";\nimport { JsonDateParser } from \"@/react-core/Utils/JsonDateParser\";\nimport { Content } from \"./../Resources/Content\";\nimport { PublicSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicSiteLayout\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nexport const TermsAndConditionsUI = (props) => {\n return (React.createElement(PublicSiteLayout, null,\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.common.termsAndConditionsHeading),\n React.createElement(\"p\", { className: \"text-bold\" }, props.pumaUserType === PumaUserType.Customer\n ? Content.common.customerPleaseReadAndAccept\n : Content.common.adviserPleaseReadAndAccept),\n React.createElement(\"a\", { target: \"_blank\", className: \"icon-link-pdf mb-8\", href: props.termsAndConditionsDocument.ExternalUrl },\n props.termsAndConditionsDocument.Document.DisplayName,\n React.createElement(\"span\", null, \"\\u00A0\")),\n React.createElement(\"p\", { className: \"mb-24\" },\n Content.common.lastUpdated,\n React.createElement(\"span\", null, Globalize.format(JsonDateParser.toDate(props.termsAndConditionsDocument.Document.AddedOn), \"dd/MM/yyyy hh:mm\"))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xxs-12 col-sm-8\" },\n React.createElement(CheckboxEditor, { cssWrapper: \"confirmation-checkbox\", value: props.termsAndConditionsAccepted, label: props.pumaUserType === PumaUserType.Customer\n ? Content.common.customerAcceptCheckboxLabel\n : Content.common.adviserAcceptCheckboxLabel, required: Content.common.pleaseAcceptTheTermsAndConditions, onChange: props.onTermsAndConditionsAcceptedChanged }))),\n React.createElement(\"div\", { className: \"row mt-24\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn primary large\", onClick: props.onContinue },\n React.createElement(\"div\", { className: \"label\" }, Content.common.continueLabel))),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary large\", onClick: props.onLogOut },\n React.createElement(\"div\", { className: \"label\" }, Content.common.logOut))))));\n};\n","export class Scroll {\n static scrollTop() {\n $(\"html, body\").animate({ scrollTop: 0 }, \"fast\");\n }\n static focusElement(elem) {\n var $elem = $(elem);\n var scrollOffset = ($elem) ? $elem.offset().top - 40 : 0;\n $(\"html, body\").animate({\n scrollTop: scrollOffset\n }, \"fast\");\n $elem.find('input, select').focus();\n }\n}\n","import ReactDOM from \"react-dom\";\nimport { Scroll } from \"./../Utils/Scroll\";\nimport { BaseComponent } from \"./BaseComponent\";\nimport PropTypes from \"prop-types\";\nexport class FormComponent extends BaseComponent {\n constructor(props) {\n super(props);\n }\n _inputs = [];\n static childContextTypes = {\n formElement: PropTypes.object.isRequired\n };\n getChildContext() {\n return {\n formElement: {\n attachToForm: (input) => this.attachToForm(input),\n detachFromForm: (input) => this.detachFromForm(input)\n }\n };\n }\n isValid() {\n var valid = true;\n var firstError = null;\n this._inputs.forEach((input) => {\n if (!input.isValid()) {\n valid = false;\n if (firstError == null) {\n firstError = ReactDOM.findDOMNode(input);\n }\n }\n });\n if (firstError) {\n Scroll.focusElement(firstError);\n }\n return valid;\n }\n attachToForm(input) {\n if (this._inputs.indexOf(input) !== -1) {\n return;\n }\n this._inputs.push(input);\n }\n detachFromForm(input) {\n var inputPos = this._inputs.indexOf(input);\n if (inputPos === -1) {\n return;\n }\n this._inputs = [...this._inputs.slice(0, inputPos), ...this._inputs.slice(inputPos + 1)];\n }\n}\n","import React from \"react\";\nimport { CurrentPumaUserLatestOnlineTermsAcceptanceActionsCreator } from \"./../ActionsCreators/CurrentPumaUserLatestOnlineTermsAcceptanceActionsCreator\";\nimport { CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator } from \"./../ActionsCreators/CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator\";\nimport { CurrentPumaUserTypeActionsCreator } from \"./../ActionsCreators/CurrentPumaUserTypeActionsCreator\";\nimport { TermsAndConditionsUI } from \"./TermsAndConditionsUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CurrentPumaUserEncryptedLatestOnlineTermsStore } from \"./../Stores/CurrentPumaUserEncryptedLatestOnlineTermsStore\";\nimport { CurrentPumaUserTypeStore } from \"./../Stores/CurrentPumaUserTypeStore\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class TermsAndConditions extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(CurrentPumaUserTypeStore, this.onCurrentPumaUserTypeStore);\n this.subscribeToStore(CurrentPumaUserEncryptedLatestOnlineTermsStore, this.onPumaUserEncryptedLatestOnlineTermsStore);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(TermsAndConditionsUI, { pumaUserType: this.state.currentPumaUserType.userType, termsAndConditionsDocument: this.state.encryptedLatestOnlineTerms.staticDocument, termsAndConditionsAccepted: this.state.termsAccepted, onTermsAndConditionsAcceptedChanged: (accepted) => { this.updateStatePart(x => x.termsAccepted = accepted); }, onContinue: this.continue, onLogOut: this.logOut })));\n }\n componentDidMount() {\n CurrentPumaUserTypeActionsCreator.load();\n CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator.load();\n }\n onCurrentPumaUserTypeStore() {\n if (!CurrentPumaUserTypeStore.isLoading()) {\n this.updateStatePart(x => {\n x.currentPumaUserType = CurrentPumaUserTypeStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n onPumaUserEncryptedLatestOnlineTermsStore() {\n if (!CurrentPumaUserEncryptedLatestOnlineTermsStore.isLoading()) {\n const terms = CurrentPumaUserEncryptedLatestOnlineTermsStore.getPayload();\n if (terms.accepted) {\n window.location.assign((new TermsAndConditionsUrlsHelper()).getLoginSuccessUrl());\n return;\n }\n this.updateStatePart(x => {\n x.encryptedLatestOnlineTerms = terms;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n continue() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CurrentPumaUserLatestOnlineTermsAcceptanceActionsCreator.accept()\n .onSuccess(() => {\n window.location.assign((new TermsAndConditionsUrlsHelper()).getLoginSuccessUrl());\n });\n });\n }\n }\n logOut() {\n this.updateStatePart(x => x.isLoading = true, () => window.location.assign((new TermsAndConditionsUrlsHelper()).getLogoutUrl()));\n }\n getDefaultState() {\n return {\n currentPumaUserType: {},\n encryptedLatestOnlineTerms: {\n staticDocument: {\n Document: {}\n }\n },\n termsAccepted: false\n };\n }\n bindPrivateMethods() {\n this.onCurrentPumaUserTypeStore = this.onCurrentPumaUserTypeStore.bind(this);\n this.onPumaUserEncryptedLatestOnlineTermsStore = this.onPumaUserEncryptedLatestOnlineTermsStore.bind(this);\n this.continue = this.continue.bind(this);\n this.logOut = this.logOut.bind(this);\n }\n}\n","import React from \"react\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class PageTitleUpdateComponent extends BaseComponent {\n render() {\n return (React.createElement(\"div\", null));\n }\n componentDidMount() {\n this.updatePageTitle(this.props.title);\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.title !== nextProps.title) {\n this.updatePageTitle(nextProps.title);\n }\n }\n updatePageTitle(title) {\n if (!!title) {\n document.title = title;\n }\n }\n}\n","import React from \"react\";\nimport { TermsAndConditions } from \"./Components/TermsAndConditions\";\nimport { Content } from \"./Resources/Content\";\nimport { PageTitleUpdateComponent } from \"./../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { getUserType } from \"../Shared/User/getUserType\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null,\n getUserType() === PumaUserType.Customer &&\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.customer.termsAndConditions }),\n React.createElement(TermsAndConditions, null)));\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n }\n}\n","export class Content {\n static common = {\n resetPassword: \"Reset password\",\n authenticationFailed: \"Authentication failed\"\n };\n static authenticationWizardSection = {\n yourMemorableImageAndPhrase: \"Your memorable picture and phrase\"\n };\n static passwordResetWizardSection = {\n passwordRequirementsNotMet: \"Please ensure that password requirements are met. Your password has to be different from any password recently used, it can not contain forbidden words or be same as your user name.\"\n };\n static successPage = {\n success: \"Success\",\n message: \"Thanks, you have successfully reset your password\",\n logInToDashboard: \"Login\"\n };\n static invalidTokenPage = {\n invalidToken: \"Invalid token\",\n message: \"We are sorry but your token has expired.\",\n logInToDashboard: \"Login\"\n };\n static wizardStepper = {\n progress: \"Progress\",\n authenticationCode: \"Authentication code\",\n securityQuestion: \"Security question\",\n password: \"New password\"\n };\n static pageTitles = {\n customer: {\n passwordResetAuthentication: \"Password reset authentication | Quilter Customer Centre\",\n passwordReset: \"Password reset | Quilter Customer Centre\",\n passwordResetSuccess: \"Password reset success | Quilter Customer Centre\",\n passwordResetError: \"Password reset error | Quilter Customer Centre\"\n }\n };\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nimport { PageTitleUpdateComponent } from \"./../../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nexport const InvalidTokenWizardSection = (props) => {\n return (React.createElement(\"div\", { className: \"layout-page\" },\n props.wizardData.pumaUserType === PumaUserType.Customer &&\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.customer.passwordResetError }),\n React.createElement(\"h1\", { className: \"heading-failure mt-48\" }, Content.invalidTokenPage.invalidToken),\n React.createElement(\"hr\", { className: \"mt-0 mb-24\" }),\n React.createElement(\"p\", { className: \"lead mb-48\" }, Content.invalidTokenPage.message),\n React.createElement(Button, { className: \"btn primary large\", onClick: props.navigationActions.cancel }, Content.invalidTokenPage.logInToDashboard)));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nimport { PageTitleUpdateComponent } from \"./../../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nexport const SuccessWizardSection = (props) => {\n return (React.createElement(\"div\", { className: \"layout-public\" },\n props.wizardData.pumaUserType === PumaUserType.Customer &&\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.customer.passwordResetSuccess }),\n React.createElement(\"section\", null,\n React.createElement(\"h1\", { className: \"heading-success mt-48\" }, Content.successPage.success),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(\"hr\", { className: \"mt-0 mb-24\" }),\n React.createElement(\"p\", { className: \"lead mb-48\" }, Content.successPage.message),\n React.createElement(Button, { className: \"btn primary large\", onClick: props.navigationActions.cancel }, Content.successPage.logInToDashboard)),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-auto\", \"aria-hidden\": \"true\" },\n React.createElement(\"div\", { className: \"asset-almost\" }))))));\n};\n","export class BaseApiErrorDictionary {\n _errorsMap = this.getMap();\n getMessageFor(error) {\n return this._errorsMap.get(error.Error);\n }\n}\n","export var PumaUserPasswordResetErrors;\n(function (PumaUserPasswordResetErrors) {\n PumaUserPasswordResetErrors[PumaUserPasswordResetErrors[\"PasswordRequirementsWereNotMet\"] = 0] = \"PasswordRequirementsWereNotMet\";\n})(PumaUserPasswordResetErrors || (PumaUserPasswordResetErrors = {}));\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserPasswordResetErrors } from \"@/Wrap/Validation/Errors/Credentials/PumaUserPasswordResetErrors\";\nexport class PumaConfirmationTokenVerificationErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserPasswordResetErrors.PasswordRequirementsWereNotMet, Content.passwordResetWizardSection.passwordRequirementsNotMet);\n return map;\n }\n}\n","export class ApiValidationErrorsMapper {\n static mapApiErrors(validationErrors, errorsDictionary) {\n if (!validationErrors || !validationErrors.length || validationErrors.length < 1) {\n return [];\n }\n var dictionary = new errorsDictionary();\n return validationErrors.map(error => dictionary.getMessageFor(error));\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaUserPasswordResetClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n put(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Credentials/PumaUserPasswordReset/Put';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaUserPasswordResetClient } from \"@/Puma/Api/Credentials/PumaUserPasswordReset\";\nexport class PumaUserPasswordResetActionsCreator {\n static resetPassword(request) {\n const client = new PumaUserPasswordResetClient();\n return client.put(request);\n }\n}\n","export class Content {\n static common = {\n newPasswordRequired: \"New password is required\",\n createYourPasswordHeader: \"Create your password\",\n resetYourPasswordHeader: \"Reset your password\",\n confirmPasswordRequired: \"Confirm password is required\",\n passwordNotMatch: \"The passwords you have entered do not match\",\n yourPasswordMustContain: \"Your password must contain: \",\n passwordLength: \"at least 8 characters\",\n passwordMaximumLength: \"Password can not be longer than 64 characters\",\n passwordAtleastOneSpecialCharacter: \"at least one special character\",\n differentPassword: \"password must be different from existing password\",\n passwordAtleastOneNumber: \"at least one number\",\n passwordAtleastOneUpperCase: \"at least one uppercase letter\",\n passwordAtleastOneLowerCase: \"at least one lowercase letter\",\n password: \"New password\",\n confirmPassword: \"Confirm new password\"\n };\n static ariaLabel = {\n passwordCriteriaMet: (matchedCount, totalCount) => `${matchedCount} of ${totalCount} criteria met`\n };\n}\n","export class Strings {\n static isSame(a, b, ignoreCase = true) {\n if (a == null || b == null) {\n return a == null && b == null;\n }\n if (ignoreCase) {\n return a.localeCompare(b, \"en\", { sensitivity: \"base\" }) === 0;\n }\n return a.localeCompare(b) === 0;\n }\n static hasSubstring(text, subString, ignoreCase = true) {\n if (text == null || subString == null) {\n return false;\n }\n const lengthDifference = text.length - subString.length;\n if (lengthDifference < 0) {\n return false;\n }\n for (let i = 0; i <= lengthDifference; i++) {\n let textSubstring = text.substring(i, i + subString.length);\n if (Strings.isSame(textSubstring, subString, ignoreCase)) {\n return true;\n }\n }\n return false;\n }\n}\n","import React from \"react\";\nimport { isNullOrEmpty } from \"./../Utils/Arrays\";\nimport { ObjectComparer } from \"./../Utils/ObjectComparer\";\nimport { isNotEmpty, maxLength, minLength, matchesRegexp, isSameAs } from \"./Validation/RawValueRules\";\nimport { Validator } from \"./Validation/Validator\";\nimport { BaseFormElement } from \"./BaseFormElement\";\nexport class Password extends BaseFormElement {\n validator;\n inputRef;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState(props);\n this.validator = new Validator();\n this.initValidation();\n if (!props.onChange && !props.onBlur) {\n console.warn('Input \"onBlur\" and \"onChange\" are both not set. Validation will not be triggered', this);\n }\n }\n render() {\n return (React.createElement(\"input\", { type: 'password', className: (this.props.cssInput || 'form-input'), value: this.state.value, disabled: this.props.disabled, id: this.props.id, placeholder: this.props.placeholder, onChange: (event) => this.onChange(event), onBlur: (event) => this.onBlur(event), onKeyDown: (event) => this.onKeyDown(event), onPaste: (event) => this.onPaste(event), ref: (input) => this.inputRef = input, autoComplete: \"off\", tabIndex: this.props.tabIndex, \"aria-describedby\": this.props.ariaDescribedby, \"aria-invalid\": !this.state.isValid ? \"true\" : undefined, \"data-automation-id\": this.props.automationId }));\n }\n initValidation() {\n this.validator.clear();\n this.validator.add(isNotEmpty, this.props.required);\n this.validator.addFromCondition(this.props.maxLength, maxLength);\n this.validator.addFromCondition(this.props.minLength, minLength);\n this.validator.addFromCondition(this.props.regex, matchesRegexp);\n this.validator.addFromCondition(this.props.equals, isSameAs);\n this.validator.addRange(this.props.validationRules);\n }\n componentDidUpdate(prevProps, prevState) {\n if (!ObjectComparer.isSame(this.state.value, prevState.value)) {\n this.isValid();\n }\n else if (!ObjectComparer.isSame(this.props.isValid, prevProps.isValid)) {\n this.isValid();\n }\n }\n shouldComponentUpdate(nextProps, nextState) {\n return !ObjectComparer.isSame(this.props, nextProps) || !ObjectComparer.isSame(this.state, nextState);\n }\n componentDidMount() {\n $(this.inputRef).bind(\"cut copy\", (e) => e.preventDefault());\n }\n componentWillReceiveProps(nextProps) {\n // If the value passed has changed, set it. If value is not passed it will\n // internally update, and this will never run\n if (!ObjectComparer.isSame(this.props.value, nextProps.value) && !ObjectComparer.isSame(nextProps.value, this.state.value)) {\n this.setValue(nextProps.value);\n this.runValidation(nextProps.value);\n }\n }\n getDefaultState(props) {\n return {\n value: props.value,\n isValid: true,\n isPristine: true\n };\n }\n setValue(value) {\n this.setState({\n value: value,\n isPristine: false\n });\n }\n onChange(syntheticEvent) {\n var value = this.inputRef.value;\n this.setValue(value);\n if (this.props.onChange) {\n this.runValidation(value);\n this.props.onChange(value);\n }\n }\n onBlur(syntheticEvent) {\n if (this.props.onBlur) {\n var value = this.inputRef.value;\n this.runValidation(value);\n this.props.onBlur(value);\n }\n }\n onKeyDown(event) {\n if (this.props.onKeyDown) {\n this.props.onKeyDown(event);\n }\n if ((event.keyCode === 13 || event.key === 'Enter') &&\n this.props.onSubmit) {\n this.onSubmit();\n }\n }\n onPaste(event) {\n if (this.props.onPaste) {\n this.props.onPaste(event);\n }\n }\n onSubmit() {\n if (this.props.onSubmit) {\n var value = this.inputRef.value;\n var isValid = this.runValidation(value);\n if (isValid) {\n this.props.onSubmit(value);\n }\n }\n }\n runValidation(rawValue) {\n if ($(this.inputRef).is(':hidden')) {\n return true;\n }\n this.initValidation();\n var errors = this.validator.getValidationErrors(rawValue);\n this.triggerValidationResultChange(errors);\n var isValid = isNullOrEmpty(errors);\n this.setState({ isValid: isValid });\n return isValid;\n }\n isValid() {\n var value = this.inputRef.value;\n return this.runValidation(value);\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Guid } from \"./../Utils/Guid\";\nimport { isNotEmpty } from \"./Validation/RawValueRules\";\nimport { Position } from \"./../Enums/Position\";\nimport { BaseEditor } from \"./BaseEditor\";\nexport class BaseTextBoxEditor extends BaseEditor {\n constructor(props) {\n super(props);\n }\n render() {\n var wrapperCss = classNames('form-group', this.props.cssWrapper, { 'error': !this.state.isValid, 'large': this.props.large });\n return (React.createElement(\"div\", { className: wrapperCss, ref: (elem) => this.wrapperRef = elem },\n this.props.isLabelInside ? null : this.getLabel(),\n React.createElement(\"div\", { className: this.props.isSearchInput ? 'controls-search' : 'controls-text' },\n this.showErrorsAt(Position.Top) && this.getValidationErrorsContainer(),\n this.props.isLabelInside ? this.getLabel() : null,\n this.props.subLabel ? this.getSubLabel() : null,\n this.getInput(),\n this.props.includePrice && \" p\",\n this.showErrorsAt(Position.Bottom) && this.getValidationErrorsContainer())));\n }\n componentDidMount() {\n this.bindLabelToInput();\n }\n getLabel() {\n if (!this.props.label) {\n return null;\n }\n return (React.createElement(\"div\", { className: 'control-label' },\n React.createElement(\"label\", { htmlFor: this.state.inputGroupId }, this.props.label),\n this.getTooltip()));\n }\n getSubLabel() {\n return (React.createElement(\"div\", { className: 'control-label' },\n React.createElement(\"label\", { htmlFor: this.state.inputGroupId }, this.props.subLabel),\n React.createElement(\"span\", { className: \"icon-calendar\" })));\n }\n bindLabelToInput() {\n var id;\n var propId = null;\n if (this.props.hasOwnProperty('id')) {\n propId = this.props['id'];\n }\n id = (isNotEmpty(propId)) ? propId : Guid.getNext().toString();\n this.setState({ inputGroupId: id });\n }\n}\n","import React from \"react\";\nimport { Password } from \"./Password\";\nimport { BaseTextBoxEditor } from \"./BaseTextBoxEditor\";\nexport class PasswordEditor extends BaseTextBoxEditor {\n constructor(props) {\n super(props);\n }\n getInput() {\n return (React.createElement(Password, { ...this.props, id: this.state.inputGroupId, ariaDescribedby: !this.state.isValid ? this._errorMessageId : undefined, onValidationResultChange: (isValid, errors) => this.onValidationResultChange(isValid, errors) }));\n }\n}\n","import { isNotEmpty, matchesRegexp, minLength, isSameAs } from \"@/react-core/Html/Validation/RawValueRules\";\nimport { Content } from \"./../Resources/Content\";\nexport function providePasswordResetValidationRules(validateNewPasswordAgainstCurrent) {\n const rules = [];\n rules.push({\n errorMessage: Content.common.passwordAtleastOneLowerCase,\n validator: data => isNotEmpty(data.newPassword) && matchesRegexp(data.newPassword, /[a-z]/)\n });\n rules.push({\n errorMessage: Content.common.passwordAtleastOneUpperCase,\n validator: data => isNotEmpty(data.newPassword) && matchesRegexp(data.newPassword, /[A-Z]/)\n });\n rules.push({\n errorMessage: Content.common.passwordAtleastOneNumber,\n validator: (data) => isNotEmpty(data.newPassword) && matchesRegexp(data.newPassword, /[0-9]/)\n });\n rules.push({\n errorMessage: Content.common.passwordLength,\n validator: (data) => isNotEmpty(data.newPassword) && minLength(data.newPassword, 8)\n });\n if (validateNewPasswordAgainstCurrent) {\n rules.push({\n errorMessage: Content.common.differentPassword,\n validator: (data) => {\n if (data.currentPassword == null || data.newPassword == null) {\n return false;\n }\n return !isSameAs(data.newPassword, data.currentPassword);\n }\n });\n }\n return rules;\n}\n","import React from \"react\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { isEmpty } from \"@/react-core/Html/Validation/RawValueRules\";\nimport { PasswordEditor } from \"@/react-core/Html/PasswordEditor\";\nimport { Content } from \"./../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { providePasswordResetValidationRules } from \"./../Entities/PasswordValidationRulesProvider\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class PasswordCreation extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = { confirmPasswordAccepted: false };\n }\n render() {\n const passwordValidationRules = providePasswordResetValidationRules(this.props.validateNewPasswordAgainstCurrent);\n const passwordResetValidationRuleData = {\n currentPassword: this.props.currentPassword,\n newPassword: this.state.newPassword\n };\n const totalNumberOfCriteria = passwordValidationRules.length.toString();\n const matchedNumberOfCriteria = passwordValidationRules.filter(rule => rule.validator(passwordResetValidationRuleData)).length.toString();\n return (React.createElement(Div, null,\n this.props.header != null\n && React.createElement(\"h3\", { className: \"pr-48\" }, this.props.header),\n React.createElement(\"p\", { className: \"mb-8 text-bold\" }, Content.common.yourPasswordMustContain),\n React.createElement(\"div\", { className: \"sr-only\", \"aria-live\": \"polite\" }, Content.ariaLabel.passwordCriteriaMet(matchedNumberOfCriteria, totalNumberOfCriteria)),\n React.createElement(\"ul\", { className: \"validation-list\", role: \"alert\" }, passwordValidationRules.map((rule, index) => {\n return (React.createElement(\"li\", { key: index, className: (rule.validator(passwordResetValidationRuleData)) ? \"passed\" : \"\" },\n React.createElement(\"span\", { className: \"sr-only\" }, (rule.validator(passwordResetValidationRuleData)) ? \"Passed: \" : \"Not passed: \"),\n rule.errorMessage));\n })),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(PasswordEditor, { large: true, value: this.state.newPassword, label: Content.common.password, required: Content.common.newPasswordRequired, maxLength: { value: 64, errorMessage: Content.common.passwordMaximumLength }, onChange: this.updateNewPassword }),\n React.createElement(PasswordEditor, { large: true, value: this.state.confirmPassword, required: (isEmpty(this.state.newPassword)) ? null : Content.common.confirmPasswordRequired, validationRules: [{\n validator: (value) => !this.state.confirmPasswordAccepted || (this.state.newPassword === value),\n errorMessage: Content.common.passwordNotMatch\n }], isValid: !this.state.confirmPasswordAccepted || (this.state.newPassword === this.state.confirmPassword), label: Content.common.confirmPassword, onChange: (value) => this.updateConfirmPassword(value, false), onBlur: (value) => this.updateConfirmPassword(value, true), onPaste: e => { e.preventDefault(); return false; } })))));\n }\n componentDidMount() {\n if (this.props.newPassword && !Strings.isSame(this.props.newPassword, this.state.newPassword, false)) {\n this.updateStatePart(x => x.newPassword = this.props.newPassword, () => this.validateProps(this.props));\n }\n else {\n this.validateProps(this.props);\n }\n if (this.props.confirmPassword && !Strings.isSame(this.props.confirmPassword, this.state.confirmPassword, false)) {\n this.updateStatePart(x => x.confirmPassword = this.props.confirmPassword);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (nextProps.newPassword\n && !Strings.isSame(nextProps.newPassword, this.props.newPassword, false)\n && !Strings.isSame(nextProps.newPassword, this.state.newPassword, false)) {\n this.updateStatePart(x => x.newPassword = this.props.newPassword, () => this.validateProps(this.props));\n }\n else {\n this.validateProps(nextProps);\n }\n if (nextProps.confirmPassword\n && !Strings.isSame(nextProps.confirmPassword, this.props.confirmPassword, false)\n && !Strings.isSame(nextProps.confirmPassword, this.state.confirmPassword, false)) {\n this.updateStatePart(x => x.confirmPassword = this.props.confirmPassword);\n }\n }\n isValid() {\n const passwordValidationRules = providePasswordResetValidationRules(this.props.validateNewPasswordAgainstCurrent);\n const passwordResetValidationRuleData = {\n currentPassword: this.props.currentPassword,\n newPassword: this.state.newPassword\n };\n const allPasswordResetRulesAreValid = passwordValidationRules.map(x => x.validator(passwordResetValidationRuleData)).every(x => x);\n return allPasswordResetRulesAreValid;\n }\n updateNewPassword(newPassword) {\n this.updateStatePart(x => x.newPassword = newPassword, () => this.props.onNewPasswordChange(newPassword));\n }\n updateConfirmPassword(confirmPassword, isAccepted) {\n this.updateStatePart(x => {\n x.confirmPassword = confirmPassword;\n x.confirmPasswordAccepted = isAccepted;\n }, () => {\n if (this.props.onConfirmPasswordChange) {\n this.props.onConfirmPasswordChange(confirmPassword);\n }\n });\n }\n validateProps(props) {\n if (props.validateNewPasswordAgainstCurrent && props.currentPassword == null) {\n throw \"CurrentPassword has to be provided if validation against it is required\";\n }\n }\n bindPrivateMethods() {\n this.validateProps = this.validateProps.bind(this);\n this.updateNewPassword = this.updateNewPassword.bind(this);\n this.updateConfirmPassword = this.updateConfirmPassword.bind(this);\n }\n}\n","import React from \"react\";\nimport { Content } from \"./../../../../Resources/Content\";\nexport const HelpSection = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h2\", { className: \"mb-8 h3\" }, props.header),\n props.showCustomInfo &&\n React.createElement(\"p\", null, props.customInfoParagraph),\n React.createElement(\"a\", { className: \"hyperlink\", target: \"_blank\", href: new SharedUrlsHelper().getCustomerContactUsUrl() }, Content.helpSection.contactUs)));\n};\n","import React from \"react\";\nimport { Content } from \"./../../../../Resources/Content\";\nimport { HelpSection } from \"./HelpSection\";\nexport const CustomerHelpSection = (props) => {\n return (React.createElement(HelpSection, { header: Content.helpSection.needHelp, showCustomInfo: false, customInfoParagraph: null }));\n};\n","import React from \"react\";\nimport { Content } from \"./../../../../Resources/Content\";\nimport { HelpSection } from \"./HelpSection\";\nexport const AdviserHelpSection = (props) => {\n return (React.createElement(HelpSection, { header: Content.helpSection.needHelp, showCustomInfo: true, customInfoParagraph: Content.helpSection.adviserCustomSectionInfo }));\n};\n","export var WizardStepStatus;\n(function (WizardStepStatus) {\n WizardStepStatus[WizardStepStatus[\"NotSpecified\"] = 0] = \"NotSpecified\";\n WizardStepStatus[WizardStepStatus[\"Pending\"] = 1] = \"Pending\";\n WizardStepStatus[WizardStepStatus[\"Current\"] = 2] = \"Current\";\n WizardStepStatus[WizardStepStatus[\"Visited\"] = 3] = \"Visited\";\n})(WizardStepStatus || (WizardStepStatus = {}));\n","export var WizardStepDetailsVisibilityMode;\n(function (WizardStepDetailsVisibilityMode) {\n WizardStepDetailsVisibilityMode[WizardStepDetailsVisibilityMode[\"NotSpecified\"] = 0] = \"NotSpecified\";\n WizardStepDetailsVisibilityMode[WizardStepDetailsVisibilityMode[\"Hidden\"] = 1] = \"Hidden\";\n WizardStepDetailsVisibilityMode[WizardStepDetailsVisibilityMode[\"ShownPreviewOnly\"] = 2] = \"ShownPreviewOnly\";\n WizardStepDetailsVisibilityMode[WizardStepDetailsVisibilityMode[\"Shown\"] = 3] = \"Shown\";\n})(WizardStepDetailsVisibilityMode || (WizardStepDetailsVisibilityMode = {}));\n","import React from \"react\";\nimport CSSTransitionGroup from 'react-transition-group';\nexport class Toggle extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n render() {\n return (React.createElement(CSSTransitionGroup.TransitionGroup, { transitionName: \"anim-toggle\", transitionEnterTimeout: 500, transitionLeaveTimeout: 500, component: \"div\", className: \"expandable-panel\" }, this.props.children));\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Toggle } from \"@/react-core/Anim/AnimToggle\";\nimport { WizardStepStatus } from \"./../Entities/WizardStepStatus\";\nimport { WizardStepDetailsVisibilityMode } from \"./../Entities/WizardStepDetailsVisibilityMode\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class DetailedSideWizardStepUI extends BaseComponent {\n _modesInWhichDetailsAreShown = [\n WizardStepDetailsVisibilityMode.ShownPreviewOnly,\n WizardStepDetailsVisibilityMode.Shown\n ];\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = {};\n }\n render() {\n const className = classNames(\"step\", ({\n \"expanded\": this._modesInWhichDetailsAreShown.some(x => x === this.props.step.detailsVisibilityMode)\n }), ({ \"todo\": this.props.step.status === WizardStepStatus.Pending }), ({ \"current-step\": this.props.step.status === WizardStepStatus.Current }), ({ \"done\": this.props.step.status === WizardStepStatus.Visited }));\n return (React.createElement(\"div\", { className: className },\n React.createElement(\"button\", { type: \"button\", className: \"step-button\", onClick: this.clicked, \"aria-current\": this.props.step.status === WizardStepStatus.Current ? \"step\" : undefined, \"aria-disabled\": this.props.step.status === WizardStepStatus.Pending ? \"true\" : undefined }, this.props.step.definition.title),\n React.createElement(Toggle, null, this._modesInWhichDetailsAreShown.some(x => x === this.props.step.detailsVisibilityMode) &&\n this.props.step.getDetails(this.props))));\n }\n componentDidUpdate() {\n if (this.props.step.status === WizardStepStatus.Pending\n && this.props.step.detailsVisibilityMode !== WizardStepDetailsVisibilityMode.Hidden) {\n this.props.onWizardStepDetailsVisibilityModeChanged(this.props.step, WizardStepDetailsVisibilityMode.Hidden);\n }\n }\n clicked() {\n const statusesOfClickabledSteps = [\n WizardStepStatus.Current,\n WizardStepStatus.Visited\n ];\n if (statusesOfClickabledSteps.some(x => x === this.props.step.status)) {\n const nextVisibilityMode = this.props.step.detailsVisibilityMode === WizardStepDetailsVisibilityMode.Hidden\n ? WizardStepDetailsVisibilityMode.ShownPreviewOnly\n : WizardStepDetailsVisibilityMode.Hidden;\n this.props.onWizardStepDetailsVisibilityModeChanged(this.props.step, nextVisibilityMode);\n }\n }\n bindPrivateMethods() {\n this.clicked = this.clicked.bind(this);\n }\n}\n","import React from \"react\";\nimport { DetailedSideWizardStepUI } from \"./DetailedSideWizardStepUI\";\nexport const DetailedSideWizardStepperUI = (props) => {\n return (React.createElement(\"div\", { className: \"wizard-progress-panel\" },\n React.createElement(\"div\", { className: \"row vspace-8\" },\n React.createElement(\"div\", { className: \"col-auto col-bottom\" },\n React.createElement(\"h2\", { className: \"heading\" }, props.header))),\n props.wizardSteps.map(wizardStep => React.createElement(DetailedSideWizardStepUI, { key: wizardStep.definition.id, step: wizardStep, onWizardStepDetailsVisibilityModeChanged: props.onWizardStepDetailsVisibilityModeChanged }))));\n};\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { WizardStepStatus } from \"./../Entities/WizardStepStatus\";\nexport const TopWizardStepUI = (props) => {\n function getClassName() {\n return classNames(\"step\", ({ \"todo\": props.step.status === WizardStepStatus.Pending }), ({\n \"done\": props.step.status === WizardStepStatus.Visited || props.step.status === WizardStepStatus.Current\n }));\n }\n function clicked() {\n if (props.step.status === WizardStepStatus.Visited) {\n props.step.definition.onVisit();\n }\n }\n return (React.createElement(\"li\", { className: getClassName() },\n React.createElement(\"a\", { href: \"javascript:void(0)\", onClick: clicked, \"aria-current\": props.step.status === WizardStepStatus.Current ? \"step\" : undefined, \"aria-disbaled\": props.step.status === WizardStepStatus.Pending ? \"true\" : undefined }, props.step.definition.title)));\n};\n","export class Content {\n static wizardStepper = {\n step_number_of_maxNumber_separator: \"Step {0} of {1}{2}\",\n separatorBetweenStepsNumberAndStepName: \" — \"\n };\n static navigation = {\n cancel: \"Cancel\",\n previousStep: \"Previous\",\n back: \"Back\",\n saveAndStop: \"Save & exit\",\n next: \"Next\",\n confirm: \"Confirm\"\n };\n}\n","import React from \"react\";\nimport { TopWizardStepUI } from \"./TopWizardStepUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Content } from \"./../Resources/Content\";\nimport { WizardStepStatus } from \"./../Entities/WizardStepStatus\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class TopWizardStepperUI extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n const currentStep = this.props.wizardSteps.filter(x => x.status === WizardStepStatus.Current)[0] || { definition: {} };\n const informationAboutCurrentProgress = Content.wizardStepper.step_number_of_maxNumber_separator\n .replace(\"{0}\", (1 + this.props.wizardSteps.indexOf(currentStep)).toString())\n .replace(\"{1}\", this.props.wizardSteps.length.toString())\n .replace(\"{2}\", Content.wizardStepper.separatorBetweenStepsNumberAndStepName);\n return (React.createElement(\"div\", { className: \"wizard-stepper\" },\n React.createElement(\"h1\", null, this.props.header),\n React.createElement(Div, { className: \"wizard-dropdown\", onClickOutside: this.collapse },\n React.createElement(\"button\", { className: \"dropdown-button\", onClick: this.toggleIsExpanded, \"aria-expanded\": this.state.isExpanded, \"aria-has-popup\": true },\n React.createElement(\"span\", { className: \"hyperlink\" },\n React.createElement(\"span\", null, informationAboutCurrentProgress),\n React.createElement(\"b\", null, currentStep.definition.title))),\n React.createElement(\"div\", { className: \"dropdown-panel\" }, this.state.isExpanded &&\n React.createElement(\"div\", { className: \"content\" },\n React.createElement(\"div\", { className: \"inner\" },\n React.createElement(\"ul\", { className: \"dropdown-list\" }, this.props.wizardSteps.map(wizardStep => React.createElement(TopWizardStepUI, { key: wizardStep.definition.id, step: wizardStep })))))))));\n }\n toggleIsExpanded() {\n this.setState((prevState) => { return { isExpanded: !prevState.isExpanded }; });\n }\n collapse() {\n this.setState({ isExpanded: false });\n }\n getDefaultState() {\n return { isExpanded: false };\n }\n bindPrivateMethods() {\n this.getDefaultState = this.getDefaultState.bind(this);\n this.toggleIsExpanded = this.toggleIsExpanded.bind(this);\n this.collapse = this.collapse.bind(this);\n }\n}\n","export var PasswordResetWizardStepperId;\n(function (PasswordResetWizardStepperId) {\n PasswordResetWizardStepperId[\"NotSpecified\"] = \"NotSpecified\";\n PasswordResetWizardStepperId[\"Top\"] = \"Top\";\n PasswordResetWizardStepperId[\"Side\"] = \"Side\";\n})(PasswordResetWizardStepperId || (PasswordResetWizardStepperId = {}));\n","import React from \"react\";\nexport class Form extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n render() {\n return (React.createElement(\"form\", { onSubmit: e => this.onSubmit(e) }, this.props.children));\n }\n onSubmit(e) {\n e.preventDefault();\n this.props.onSubmit();\n }\n}\n","import { WizardStepStatus } from \"./../Entities/WizardStepStatus\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nexport class WizardStepperContainerHelper {\n static resetStepStatuses(wizardSteps, currentRouteFragment) {\n if (wizardSteps.length <= 0) {\n return [];\n }\n const copiedSteps = Objects.cloneObject(wizardSteps);\n const currentStep = copiedSteps.filter(x => x.definition.url.routeFragment?.getFullRoutePath && currentRouteFragment?.getFullRoutePath && x.definition.url.routeFragment.getFullRoutePath() === currentRouteFragment.getFullRoutePath())[0] || copiedSteps[0];\n let nextStepStatus = WizardStepStatus.Visited;\n copiedSteps.map(step => {\n if (step.definition.id === currentStep.definition.id) {\n step.status = WizardStepStatus.Current;\n nextStepStatus = WizardStepStatus.Pending;\n }\n else {\n step.status = nextStepStatus;\n }\n });\n return copiedSteps;\n }\n static setCurrentStepComplete(wizardSteps, currentRouteFragment) {\n if (wizardSteps.length <= 0) {\n return [];\n }\n const copiedSteps = Objects.cloneObject(wizardSteps);\n const currentStep = copiedSteps.filter(x => x.definition.url.routeFragment?.getFullRoutePath && currentRouteFragment?.getFullRoutePath && x.definition.url.routeFragment.getFullRoutePath() === currentRouteFragment.getFullRoutePath())[0] || copiedSteps[0];\n copiedSteps.map(step => {\n if (step.definition.id === currentStep.definition.id) {\n step.status = WizardStepStatus.Visited;\n }\n });\n return copiedSteps;\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const ContainersWizardStepsActionsDispatcher = new Dispatcher();\nexport const ContainersWizardStepsStore = new PayloadStore(ContainersWizardStepsActionsDispatcher);\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { WizardStepStatus } from \"./../Entities/WizardStepStatus\";\nimport { WizardStepDetailsVisibilityMode } from \"./../Entities/WizardStepDetailsVisibilityMode\";\nimport { WizardStepperContainerHelper } from \"./../Components/WizardStepperContainerHelper\";\nimport { ContainersWizardStepsStore, ContainersWizardStepsActionsDispatcher } from \"./../Stores/ContainersWizardStepsStore\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nexport class ContainersWizardStepsActionsCreator {\n static setContainerSteps(containerId, wizardSteps) {\n const copiedCurrentContainersSteps = Objects.cloneObject(ContainersWizardStepsStore.getPayload()) || [];\n const copiedCurrentContainerSteps = copiedCurrentContainersSteps.filter(x => x.containerId === containerId)[0];\n if (copiedCurrentContainerSteps) {\n copiedCurrentContainerSteps.wizardSteps = wizardSteps;\n }\n else {\n copiedCurrentContainersSteps.push({\n containerId: containerId,\n wizardSteps: wizardSteps\n });\n }\n ContainersWizardStepsActionsCreator.updateContainersWizardSteps(copiedCurrentContainersSteps);\n }\n static resetStepStatuses(containerId, currentRouteFragment) {\n const copiedCurrentContainersSteps = Objects.cloneObject(ContainersWizardStepsStore.getPayload()) || [];\n const copiedCurrentContainerSteps = copiedCurrentContainersSteps.filter(x => x.containerId === containerId)[0];\n if (!copiedCurrentContainerSteps) {\n return;\n }\n const resetSteps = WizardStepperContainerHelper.resetStepStatuses(copiedCurrentContainerSteps.wizardSteps, currentRouteFragment);\n copiedCurrentContainerSteps.wizardSteps = resetSteps;\n ContainersWizardStepsActionsCreator.updateContainersWizardSteps(copiedCurrentContainersSteps);\n }\n static setCurrentStepComplete(currentRouteFragment) {\n const copiedCurrentContainersSteps = Objects.cloneObject(ContainersWizardStepsStore.getPayload()) || [];\n if (!copiedCurrentContainersSteps) {\n return;\n }\n copiedCurrentContainersSteps.map(containerStep => {\n const resetSteps = WizardStepperContainerHelper.setCurrentStepComplete(containerStep.wizardSteps, currentRouteFragment);\n containerStep.wizardSteps = resetSteps;\n });\n ContainersWizardStepsActionsCreator.updateContainersWizardSteps(copiedCurrentContainersSteps);\n }\n static updateStepDefinitions(containerId, wizardStepDefinitions, currentRouteFragment, stepDetailsProvider) {\n const copiedCurrentContainersSteps = Objects.cloneObject(ContainersWizardStepsStore.getPayload()) || [];\n if (!copiedCurrentContainersSteps.some(x => x.containerId === containerId)) {\n copiedCurrentContainersSteps.push({ containerId: containerId, wizardSteps: [] });\n }\n const copiedCurrentContainerSteps = copiedCurrentContainersSteps.filter(x => x.containerId === containerId)[0];\n const newSteps = [];\n wizardStepDefinitions.map(x => {\n const currentStep = copiedCurrentContainerSteps.wizardSteps.filter(y => y.definition.id === x.id)[0];\n if (currentStep) {\n currentStep.definition = x;\n newSteps.push(currentStep);\n }\n else {\n newSteps.push({\n definition: x,\n detailsVisibilityMode: WizardStepDetailsVisibilityMode.Hidden,\n status: WizardStepStatus.Pending,\n getDetails: stepDetailsProvider\n });\n }\n });\n const resetSteps = WizardStepperContainerHelper.resetStepStatuses(newSteps, currentRouteFragment);\n copiedCurrentContainerSteps.wizardSteps = resetSteps;\n ContainersWizardStepsActionsCreator.updateContainersWizardSteps(copiedCurrentContainersSteps);\n }\n static updateContainersWizardSteps(containersWizardSteps) {\n ContainersWizardStepsActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: containersWizardSteps });\n }\n}\n","export const DefaultValues = {\n WizardStepDefinition: {},\n ContainerWizardSteps: {\n containerId: null,\n wizardSteps: []\n }\n};\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const WizardStepDefinitionsActionsDispatcher = new Dispatcher();\nexport const WizardStepDefinitionsStore = new PayloadStore(WizardStepDefinitionsActionsDispatcher);\n","import React from \"react\";\nimport { ContainersWizardStepsActionsCreator } from \"./../ActionsCreators/ContainersWizardStepsActionsCreator\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { DefaultValues } from \"./../Entities/DefaultValues\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { WizardStepDefinitionsStore } from \"./../Stores/WizardStepDefinitionsStore\";\nimport { ContainersWizardStepsStore } from \"./../Stores/ContainersWizardStepsStore\";\nimport { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class WizardStepperContainer extends BaseComponent {\n _defaultStepDetailsProvider = (stepProps) => { throw \"Step Details are not available\"; };\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(NavigationStore, this.onNavigationStoreChange);\n this.subscribeToStore(ContainersWizardStepsStore, this.onContainersWizardStepsStoreChange);\n this.subscribeToStore(WizardStepDefinitionsStore, this.onWizardStepDefinitionsStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(this.props.wizardStepperUI, { header: this.props.wizardStepperUIHeader, wizardSteps: this.state.steps, onWizardStepDetailsVisibilityModeChanged: this.changeWizardStepDetailsVisibilityMode })));\n }\n componentDidMount() {\n if (!ContainersWizardStepsStore.isLoading()) {\n const containersWizardSteps = ContainersWizardStepsStore.getPayload() || [];\n const containerWizardSteps = containersWizardSteps.filter(x => x.containerId === this.props.id)[0] || DefaultValues.ContainerWizardSteps;\n this.updateStatePart(x => x.steps = containerWizardSteps.wizardSteps);\n }\n }\n changeWizardStepDetailsVisibilityMode(wizardStep, detailsVisibilityMode) {\n const copiedSteps = Objects.cloneObject(this.state.steps);\n copiedSteps.filter(x => x.definition.id === wizardStep.definition.id).map(x => x.detailsVisibilityMode = detailsVisibilityMode);\n ContainersWizardStepsActionsCreator.setContainerSteps(this.props.id, copiedSteps);\n }\n onWizardStepDefinitionsStoreChange() {\n if (!WizardStepDefinitionsStore.isLoading()) {\n const stepDefinitions = WizardStepDefinitionsStore.getPayload() || [];\n ContainersWizardStepsActionsCreator.updateStepDefinitions(this.props.id, stepDefinitions, NavigationStore.getActiveUrl(), this.props.stepDetailsProvider);\n this.updateStatePart(x => x.isLoading = this.isAnyStoreLoading());\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n steps: [],\n isLoading: false\n };\n }\n onNavigationStoreChange() {\n if (!NavigationStore.isLoading()) {\n ContainersWizardStepsActionsCreator.resetStepStatuses(this.props.id, NavigationStore.getActiveUrl());\n this.updateStatePart(x => x.isLoading = this.isAnyStoreLoading());\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n onContainersWizardStepsStoreChange() {\n if (!ContainersWizardStepsStore.isLoading()) {\n const containersWizardSteps = ContainersWizardStepsStore.getPayload() || [];\n const containerWizardSteps = containersWizardSteps.filter(x => x.containerId === this.props.id)[0] || DefaultValues.ContainerWizardSteps;\n this.updateStatePart(x => {\n x.steps = containerWizardSteps.wizardSteps;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n bindPrivateMethods() {\n this.getDefaultState = this.getDefaultState.bind(this);\n this.onNavigationStoreChange = this.onNavigationStoreChange.bind(this);\n this.onContainersWizardStepsStoreChange = this.onContainersWizardStepsStoreChange.bind(this);\n this.changeWizardStepDetailsVisibilityMode = this.changeWizardStepDetailsVisibilityMode.bind(this);\n this.onWizardStepDefinitionsStoreChange = this.onWizardStepDefinitionsStoreChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nexport const WizardSectionBottomNavigation = (props) => {\n return (React.createElement(\"div\", { className: \"row vspace-top-24\" },\n props.canContinue &&\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { type: \"submit\", className: \"btn primary large\" }, Content.navigation.next)),\n props.canConfirm &&\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { type: \"submit\", className: \"btn primary large\" }, props.confirmButtonLabel || Content.navigation.confirm)),\n props.canSaveAndExit &&\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary large\", onClick: props.onSaveAndExit }, Content.navigation.saveAndStop))));\n};\n","import React from \"react\";\nimport { Content } from \"./../../Resources/Content\";\nexport const WizardSectionSideNavigation = (props) => {\n return (React.createElement(\"div\", null,\n props.canCancel &&\n React.createElement(\"div\", { className: \"layout-panel-item\" },\n React.createElement(\"button\", { onClick: props.onCancel, className: \"bubble-button-cancel\" },\n React.createElement(\"span\", { className: \"icon\", \"aria-hidden\": true }),\n React.createElement(\"span\", { className: \"label\" }, Content.navigation.cancel))),\n props.canNavigateBack &&\n React.createElement(\"div\", { className: \"layout-panel-item\" },\n React.createElement(\"button\", { onClick: props.onNavigateBack, className: \"bubble-button-previous vspace-top-36\" },\n React.createElement(\"span\", { className: \"icon\", \"aria-hidden\": true }),\n React.createElement(\"span\", { className: \"label\" }, Content.navigation.previousStep)))));\n};\n","import React from \"react\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { PageTitleUpdateComponent } from \"./../../../Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { WizardStepperContainer } from \"./../../Components/WizardStepperContainer\";\nimport { WizardSectionBottomNavigation } from \"./../../Components/Navigation/WizardSectionBottomNavigation\";\nimport { WizardSectionSideNavigation } from \"./../../Components/Navigation/WizardSectionSideNavigation\";\nexport const WizardSectionLayout = (props) => {\n function submitForm() {\n if (props.canContinue) {\n props.onContinue();\n }\n else if (props.canConfirm) {\n props.onConfirm();\n }\n }\n return (React.createElement(\"div\", null,\n !!props.pageTitle &&\n React.createElement(PageTitleUpdateComponent, { title: props.pageTitle }),\n React.createElement(\"div\", { className: \"layout-panel\" },\n React.createElement(WizardSectionSideNavigation, { ...props })),\n React.createElement(\"div\", { className: \"layout-page\" },\n React.createElement(\"div\", { className: \"layout-aside underlined\" },\n React.createElement(\"div\", { className: \"layout-aside-content col-bottom\" },\n props.showTopStepper &&\n React.createElement(WizardStepperContainer, { id: props.topStepperId, wizardStepperUIHeader: props.topStepperHeader, wizardStepperUI: props.topStepperUI }),\n !props.showTopStepper &&\n React.createElement(\"div\", { className: \"wizard-stepper\" },\n React.createElement(\"h1\", null, props.topStepperHeader))),\n React.createElement(\"aside\", { className: \"layout-aside-panel col-bottom\" },\n React.createElement(\"div\", { className: \"wizard-aside-heading\" }, props.sidePanelHeader && React.createElement(\"h2\", { className: \"heading\" }, props.sidePanelHeader)))),\n React.createElement(\"div\", { className: \"layout-aside\" },\n React.createElement(\"div\", { className: \"layout-aside-content\" },\n React.createElement(Form, { onSubmit: submitForm },\n props.children,\n React.createElement(WizardSectionBottomNavigation, { ...props }))),\n React.createElement(\"aside\", { className: \"layout-aside-panel\" },\n props.showSideStepper &&\n React.createElement(WizardStepperContainer, { id: props.sideStepperId, wizardStepperUIHeader: props.sideStepperHeader, wizardStepperUI: props.sideStepperUI, stepDetailsProvider: () => { return React.createElement(\"div\", { className: \"hidden\" }); } }),\n props.helpSection &&\n React.createElement(\"div\", { className: \"pt-1 mb-24\" },\n props.showSideStepper &&\n React.createElement(\"hr\", { className: \"divider-subtle\" }),\n React.createElement(props.helpSection, null)))))));\n};\n","import React from \"react\";\nimport { CustomerHelpSection } from \"./../../Shared/Common/Components/Layout/Shared/HelpSections/CustomerHelpSection\";\nimport { AdviserHelpSection } from \"./../../Shared/Common/Components/Layout/Shared/HelpSections/AdviserHelpSection\";\nimport { DetailedSideWizardStepperUI } from \"./../../Shared/WizardSteppers/Components/DetailedSideWizardStepperUI\";\nimport { Content } from \"./../Resources/Content\";\nimport { TopWizardStepperUI } from \"./../../Shared/WizardSteppers/Components/TopWizardStepperUI\";\nimport { PasswordResetWizardStepperId } from \"./../Entities/WizardStepper/PasswordResetWizardStepperId\";\nimport { WizardSectionLayout as WizardSectionLayout__alias1 } from \"./../../Shared/WizardSteppers/OMW/Components/WizardSectionLayout\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nexport const WizardSectionLayout = (props) => {\n return (React.createElement(WizardSectionLayout__alias1, { ...props, topStepperId: PasswordResetWizardStepperId.Top, topStepperUI: TopWizardStepperUI, showTopStepper: true, sideStepperId: PasswordResetWizardStepperId.Side, sideStepperHeader: Content.wizardStepper.progress, sideStepperUI: DetailedSideWizardStepperUI, showSideStepper: true, sidePanelHeader: null, helpSection: props.pumaUserType === PumaUserType.Adviser\n ? AdviserHelpSection : CustomerHelpSection }));\n};\n","export var PasswordResetWizardStepType;\n(function (PasswordResetWizardStepType) {\n PasswordResetWizardStepType[\"NotSpecified\"] = \"NotSpecified\";\n PasswordResetWizardStepType[\"Authentication\"] = \"Authentication\";\n PasswordResetWizardStepType[\"PasswordReset\"] = \"PasswordReset\";\n})(PasswordResetWizardStepType || (PasswordResetWizardStepType = {}));\n","export var PumaConfirmationTokenVerificationErrors;\n(function (PumaConfirmationTokenVerificationErrors) {\n PumaConfirmationTokenVerificationErrors[PumaConfirmationTokenVerificationErrors[\"PumaUserHasBeenLockedOut\"] = 0] = \"PumaUserHasBeenLockedOut\";\n PumaConfirmationTokenVerificationErrors[PumaConfirmationTokenVerificationErrors[\"NumberOfVerificationAttemptsExceeded\"] = 1] = \"NumberOfVerificationAttemptsExceeded\";\n})(PumaConfirmationTokenVerificationErrors || (PumaConfirmationTokenVerificationErrors = {}));\n","export var AuthenticationMethod;\n(function (AuthenticationMethod) {\n AuthenticationMethod[AuthenticationMethod[\"NotSpecified\"] = 0] = \"NotSpecified\";\n AuthenticationMethod[AuthenticationMethod[\"Password\"] = 1] = \"Password\";\n AuthenticationMethod[AuthenticationMethod[\"SecurityQuestion\"] = 2] = \"SecurityQuestion\";\n AuthenticationMethod[AuthenticationMethod[\"Sms\"] = 3] = \"Sms\";\n AuthenticationMethod[AuthenticationMethod[\"Email\"] = 4] = \"Email\";\n AuthenticationMethod[AuthenticationMethod[\"AuthorisationId\"] = 5] = \"AuthorisationId\";\n AuthenticationMethod[AuthenticationMethod[\"TransitionSecurityQuestion\"] = 6] = \"TransitionSecurityQuestion\";\n})(AuthenticationMethod || (AuthenticationMethod = {}));\n","export var PumaVerificationResultStatus;\n(function (PumaVerificationResultStatus) {\n PumaVerificationResultStatus[PumaVerificationResultStatus[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaVerificationResultStatus[PumaVerificationResultStatus[\"VerificationFailed\"] = 1] = \"VerificationFailed\";\n PumaVerificationResultStatus[PumaVerificationResultStatus[\"VerificationSucceeded\"] = 2] = \"VerificationSucceeded\";\n})(PumaVerificationResultStatus || (PumaVerificationResultStatus = {}));\n","export var PumaConfirmationTokenSupportedAction;\n(function (PumaConfirmationTokenSupportedAction) {\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserActivation\"] = 1] = \"PumaUserActivation\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserLoginAntiPhishingAmendment\"] = 2] = \"PumaUserLoginAntiPhishingAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserPersonalNamesAmendment\"] = 3] = \"PumaUserPersonalNamesAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserEmailAddressAmendment\"] = 4] = \"PumaUserEmailAddressAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserPhoneNumberAmendment\"] = 5] = \"PumaUserPhoneNumberAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserSecurityQuestionAmendment\"] = 6] = \"PumaUserSecurityQuestionAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaCustomerUserIdentityVerificationAmendment\"] = 7] = \"PumaCustomerUserIdentityVerificationAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaCustomerUserPersonalDetailsAmendment\"] = 8] = \"PumaCustomerUserPersonalDetailsAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaCustomerUserSystemIdentifiersAmendment\"] = 9] = \"PumaCustomerUserSystemIdentifiersAmendment\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserPasswordReset\"] = 10] = \"PumaUserPasswordReset\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaAdviserUserSecurityReset\"] = 11] = \"PumaAdviserUserSecurityReset\";\n PumaConfirmationTokenSupportedAction[PumaConfirmationTokenSupportedAction[\"PumaUserTransitionCompletion\"] = 12] = \"PumaUserTransitionCompletion\";\n})(PumaConfirmationTokenSupportedAction || (PumaConfirmationTokenSupportedAction = {}));\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaConfirmationTokenVerificationErrorsDictionary } from \"./../Entities/ErrorsDictionaries/PumaUserPasswordResetErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaUserPasswordResetActionsCreator } from \"./../ActionsCreators/PumaUserPasswordResetActionsCreator\";\nimport { Content as Content__alias1 } from \"./../../Shared/Password/Resources/Content\";\nimport { PasswordCreation } from \"./../../Shared/Password/Components/PasswordCreation\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Content } from \"./../Resources/Content\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { PasswordResetWizardStepType } from \"./../Entities/WizardStepper/PasswordResetWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class PasswordResetWizardSection extends FormComponent {\n _currentStepId = PasswordResetWizardStepType.PasswordReset;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n let pageTitle = null;\n if (this.props.wizardData.pumaUserType === PumaUserType.Customer) {\n pageTitle = Content.pageTitles.customer.passwordResetAuthentication;\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.resetPassword, pumaUserType: this.props.wizardData.pumaUserType, canCancel: true, canNavigateBack: true, canConfirm: true, canContinue: false, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), onConfirm: this.confirm, pageTitle: pageTitle },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(PasswordCreation, { header: Content__alias1.common.createYourPasswordHeader, validateNewPasswordAgainstCurrent: false, onNewPasswordChange: (newPassword) => this.updateStatePart(x => x.newPassword = newPassword) }))))));\n }\n confirm() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaUserPasswordResetActionsCreator.resetPassword({\n ConfirmationToken: {\n TokenValue: this.props.wizardData.authenticationConfirmationToken.tokenValue\n },\n PumaUserStateToken: this.props.wizardData.resetTokenVerificationResult.PumaUserStateToken,\n NewPassword: this.state.newPassword\n })\n .onSuccess(() => {\n this.props.navigationActions.confirm();\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaConfirmationTokenVerificationErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n });\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.confirm = this.confirm.bind(this);\n }\n}\n","export class Content {\n static common = {\n userHasBeenLockedOut: \"For your security, we have locked your online account as your verification failed five times in a row. Please use the forgotten password journey to unlock your account\",\n numberOfVerificationAttemptsExceeded: \"Your verification failed five times in a row. Please request new email link.\"\n };\n static availableOptions = {\n authenticationMethod: {\n password: \"Password\",\n securityQuestion: \"Answer to current security question\"\n }\n };\n}\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaConfirmationTokenVerificationErrors } from \"@/Wrap/Validation/Errors/Credentials/PumaConfirmationTokenVerificationErrors\";\nexport class PumaConfirmationTokenVerificationErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaConfirmationTokenVerificationErrors.PumaUserHasBeenLockedOut, Content.common.userHasBeenLockedOut);\n map.set(PumaConfirmationTokenVerificationErrors.NumberOfVerificationAttemptsExceeded, Content.common.numberOfVerificationAttemptsExceeded);\n return map;\n }\n}\n","import { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nexport class Content {\n static password = {\n heading: \"Password\",\n editHeading: \"Update your password\",\n passwordContent: \"Change your password here.\",\n enterExistingPassword: \"Current password\",\n existingPasswordRequired: \"Existing password is required\",\n createYourPasswordHeader: \"Create your new password\",\n changeOfPasswordNotSuccessful: \"The password you have entered either doesn't meet the requirement listed below, or contains a restricted word. Please try a different password.\",\n passwordRequirementsWereNotMet: \"Your password either does not meet one or more requirements or contains a restricted word. Please try a different password. The password must not contain your first name, your surname, or any parts of your username. It must contain at least 8 characters, including at least one uppercase letter, at least one lower case letter and a number.\",\n invalidCurrentPassword: \"Invalid current password\"\n };\n static emailAddress = {\n heading: \"Email address\",\n editHeading: \"Update your email address\",\n newEmailAddress: \"Your new email address\",\n confirmEmailAddress: \"Confirm your new email address\",\n existingEmailAddress: \"Your current email address:\",\n validation: {\n inValidEmail: \"InValid Email.\",\n enterValidEmail: \"Enter Valid Email.\",\n reEnterEmail: \"ReEnter Email.\",\n valueDoNotMatch: \"Value do not match.\"\n }\n };\n static antiPhishing = {\n heading: \"Memorable picture and phrase\",\n editHeading: \"Update memorable picture and phrase\",\n editExplanation: \"Change your memorable picture and phrase here.\",\n validation: {\n yourAuthorisationHasExpired: \"Your authorisation has expired, please try again.\",\n pumaUserSecurityQuestionAnswerRequirementsNotMet: \"Security answer does not meet required complexity\",\n pumaUserIdInvalid: \"The user id is invalid\"\n }\n };\n static securityQuestion = {\n editHeading: \"Update security question\"\n };\n static phoneNumber = {\n editHomePhoneNumberHeading: \"Update your home phone number\",\n editMobilePhoneNumberHeading: \"Update your mobile phone number\"\n };\n static editConfirmation = {\n backToUserProfile: \"BACK TO YOUR DETAILS\",\n passwordUpdated: \"You have updated your password.\",\n emailAddressUpdated: \"You have updated your email address.\",\n antiPhishingUpdated: \"You have updated your memorable picture and phrase.\",\n phoneNumberUpdated: \"You have updated your phone number.\",\n securityQuestionUpdated: \"You have updated your security question.\"\n };\n static shared = {\n edit: \"Edit\",\n next: \"Next\",\n update: \"Update\",\n verify: \"Verify\",\n invalidTokenVerificationCode: {\n getByConfirmationToken: (token) => {\n switch (token.kind) {\n case AuthenticationMethod.Password:\n return Content.shared.invalidTokenVerificationCode.password;\n case AuthenticationMethod.SecurityQuestion:\n return Content.shared.invalidTokenVerificationCode.securityQuestion;\n case AuthenticationMethod.Sms:\n return Content.shared.invalidTokenVerificationCode.sms;\n case AuthenticationMethod.TransitionSecurityQuestion:\n return Content.shared.invalidTokenVerificationCode.transitionSecurityQuestion;\n }\n return \"\";\n },\n password: \"Incorrect Password.\",\n securityQuestion: \"Entered answer is not valid.\",\n sms: \"The code may have expired or be incorrect. Please check and, if you need to, request a new code by using the link at the bottom of this page.\",\n transitionSecurityQuestion: \"Entered answer is not valid.\"\n }\n };\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaConfirmationTokenVerificationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n put(tokenValue, authenticationMethod, request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaConfirmationTokenVerification/Put';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { tokenValue: tokenValue, authenticationMethod: authenticationMethod, request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaConfirmationTokenVerificationClient } from \"@/Puma/Api/Security/PumaConfirmationTokenVerification\";\nexport class PumaConfirmationTokenVerificationActionsCreator {\n static verifyToken(token, request) {\n const client = new PumaConfirmationTokenVerificationClient();\n return client.put(token.tokenValue, token.kind, request);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaTransitionSecurityQuestionConfirmationTokenActionsDispatcher = new Dispatcher();\nexport const PumaTransitionSecurityQuestionConfirmationTokenStore = new PayloadStore(PumaTransitionSecurityQuestionConfirmationTokenActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCurrentUserTransitionSecurityQuestionConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaCurrentUserTransitionSecurityQuestionConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaUserTransitionSecurityQuestionConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(pumaUserId, request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaUserTransitionSecurityQuestionConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { pumaUserId: pumaUserId, request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaTransitionSecurityQuestionConfirmationTokenActionsDispatcher } from \"./../Stores/PumaTransitionSecurityQuestionConfirmationTokenStore\";\nimport { PumaCurrentUserTransitionSecurityQuestionConfirmationTokenRequestsClient } from \"@/Puma/Api/Security/PumaCurrentUserTransitionSecurityQuestionConfirmationTokenRequests\";\nimport { PumaUserTransitionSecurityQuestionConfirmationTokenRequestsClient } from \"@/Puma/Api/Security/PumaUserTransitionSecurityQuestionConfirmationTokenRequests\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaTransitionSecurityQuestionConfirmationTokenActionsCreator extends Actions {\n static request(pumaUserId, request) {\n PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.startLoading();\n const client = new PumaUserTransitionSecurityQuestionConfirmationTokenRequestsClient();\n return client\n .post(pumaUserId, request)\n .onSuccess(PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.updateStoreOnSuccess);\n }\n static requestForCurrentUser(request) {\n PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.startLoading();\n const client = new PumaCurrentUserTransitionSecurityQuestionConfirmationTokenRequestsClient();\n return client\n .post(request)\n .onSuccess(PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(token) {\n PumaTransitionSecurityQuestionConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: token });\n }\n static startLoading() {\n PumaTransitionSecurityQuestionConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import { Validator } from \"./Validator\";\nexport class TypedValueValidator {\n _parseValue;\n rawValidator;\n parsedValidator;\n constructor(parseValue) {\n this._parseValue = parseValue;\n this.rawValidator = new Validator();\n this.parsedValidator = new Validator();\n }\n getValidationErrors(rawValue) {\n var rawErrors = this.rawValidator.getValidationErrors(rawValue);\n if (rawErrors && rawErrors.length && rawErrors.length > 0) {\n return rawErrors;\n }\n var parsedValue = this._parseValue(rawValue);\n var parsedErrors = this.parsedValidator.getValidationErrors(parsedValue);\n return parsedErrors;\n }\n}\n","import React from \"react\";\nimport { isNullOrEmpty } from \"./../Utils/Arrays\";\nimport { ObjectComparer } from \"./../Utils/ObjectComparer\";\nimport { isNotEmpty, maxLength, minLength } from \"./Validation/RawValueRules\";\nimport { TypedValueValidator } from \"./Validation/TypedValueValidator\";\nimport { BaseFormElement } from \"./BaseFormElement\";\n// TODO: straslivy hack \"IBaseTextBoxProps\"\nexport class BaseTextBox extends BaseFormElement {\n validator;\n inputRef;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState(props);\n this.validator = new TypedValueValidator(this.parseValue);\n this.initRawValidation();\n this.initParsedValidation();\n if (this.state.value && this.props.triggerInitialValidation) {\n this.runValidation(this.state.value);\n }\n if (!props.onChange && !props.onBlur) {\n console.warn('Input \"onBlur\" and \"onChange\" are both not set. Validation will not be triggered', this);\n }\n }\n render() {\n var autocompleteAttribute = {};\n var maxLengthAttribute = {};\n var tabIndexAttribute = {};\n if (this.props.autocomplete !== undefined) {\n autocompleteAttribute.autoComplete = this.props.autocomplete ? 'on' : 'off';\n }\n if (this.props.maxLength !== undefined && this.props.maxLength !== null) {\n maxLengthAttribute.maxLength = this.props.maxLength;\n }\n if (this.props.tabIndex !== undefined && this.props.tabIndex !== null) {\n tabIndexAttribute.tabIndex = this.props.tabIndex;\n }\n return (React.createElement(\"input\", { type: 'text', className: (this.props.cssInput || 'form-input'), value: this.state.value, disabled: this.props.disabled, id: this.props.id, placeholder: this.props.placeholder, onChange: (event) => this.onChange(event), onBlur: (event) => this.onBlur(event), onFocus: (event) => this.onFocus(event), onKeyDown: (event) => this.onKeyDown(event), onClick: (event) => this.onClick(event), onPaste: (event) => this.onPaste(event), ref: (input) => this.inputRef = input, \"data-automation-id\": this.props.automationId, \"aria-labelledby\": this.props.ariaLabelledby, \"aria-describedby\": this.props.ariaDescribedby, \"aria-invalid\": !this.state.isValid ? \"true\" : undefined, ...maxLengthAttribute, ...autocompleteAttribute, ...tabIndexAttribute }));\n }\n getDisplayValue(value) {\n return (value === null || value === undefined) ? '' : value.toString();\n }\n initRawValidation() {\n this.validator.rawValidator.clear();\n this.validator.rawValidator.add(isNotEmpty, this.props.required);\n this.validator.rawValidator.addFromCondition(this.props.maxLengthValidation, maxLength);\n this.validator.rawValidator.addFromCondition(this.props.minLengthValidation, minLength);\n }\n initParsedValidation() {\n this.validator.parsedValidator.clear();\n }\n componentWillReceiveProps(nextProps) {\n // If the value passed has changed, set it. If value is not passed it will\n // internally update, and this will never run\n if (!ObjectComparer.isSame(this.props.value, nextProps.value) && !ObjectComparer.isSame(nextProps.value, this.parseValue(this.state.value))) {\n this.setValue(this.getDisplayValue(nextProps.value), false);\n // TODO: Zuzka, is this right?\n this.runValidation(this.getDisplayValue(nextProps.value));\n }\n }\n componentDidUpdate(prevProps, prevState) {\n if (!ObjectComparer.isSame(this.props.value, prevProps.value) && !ObjectComparer.isSame(this.props.value, this.parseValue(this.state.value)) && !this.state.isPristine) {\n this.runValidation(this.state.value);\n }\n else if ((!ObjectComparer.isSame(this.props.required, prevProps.required) || !ObjectComparer.isSame(this.props.isValid, prevProps.isValid)) && !this.state.isPristine) {\n this.runValidation(this.state.value);\n }\n }\n shouldComponentUpdate(nextProps, nextState) {\n return !ObjectComparer.isSame(this.props, nextProps) || !ObjectComparer.isSame(this.state, nextState);\n }\n componentDidMount() {\n if (this.props.disableCopyPaste) {\n $(this.inputRef).bind(\"cut copy paste\", (e) => e.preventDefault());\n }\n }\n getDefaultState(props) {\n return {\n value: this.getDisplayValue(props.value),\n isValid: true,\n isPristine: true,\n pristineValue: props.value\n };\n }\n setValue(value, isPristine) {\n this.setState({\n value: value,\n isPristine: isPristine\n });\n }\n onChange(event) {\n var value = this.inputRef.value;\n if (ObjectComparer.isSame(this.state.value, value)) {\n return;\n }\n this.setValue(value, false);\n if (this.props.onChange) {\n var isValid = this.runValidation(value);\n if (isValid || this.isParsable(value)) {\n var parsedValue = this.parseValue(value);\n this.props.onChange(parsedValue);\n }\n }\n }\n onBlur(event) {\n if (this.props.onBlur) {\n var value = this.inputRef.value;\n var isValid = this.runValidation(value);\n if (isValid || this.isParsable(value)) {\n var parsedValue = this.parseValue(value);\n this.props.onBlur(parsedValue);\n }\n }\n }\n onFocus(event) {\n if (this.props.onFocus) {\n this.props.onFocus(event);\n }\n }\n onKeyDown(event) {\n if (this.props.onKeyDown) {\n this.props.onKeyDown(event);\n }\n if ((event.keyCode === 13 || event.key === 'Enter') &&\n this.props.onSubmit) {\n this.onSubmit();\n }\n }\n onSubmit() {\n if (this.props.onSubmit) {\n var value = this.inputRef.value;\n var isValid = this.runValidation(value);\n if (isValid || this.isParsable(value)) {\n var parsedValue = this.parseValue(value);\n this.props.onSubmit(parsedValue);\n }\n }\n }\n onClick(event) {\n if (this.props.onClick) {\n this.props.onClick(event);\n }\n }\n onPaste(event) {\n if (this.props.onPaste) {\n this.props.onPaste(event);\n }\n }\n runValidation(rawValue) {\n if ($(this.inputRef).is(':hidden')) {\n return true;\n }\n this.initRawValidation();\n this.initParsedValidation();\n var errors = this.validator.getValidationErrors(rawValue);\n this.triggerValidationResultChange(errors);\n var isValid = isNullOrEmpty(errors);\n this.setState({ isValid: isValid });\n return isValid;\n }\n isValid() {\n var value = this.inputRef.value;\n return this.runValidation(value);\n }\n}\n","import { matchesRegexp, isSameAs, isEmail } from \"./Validation/RawValueRules\";\nimport { BaseTextBox } from \"./BaseTextBox\";\nexport class TextBox extends BaseTextBox {\n constructor(props) {\n super(props);\n }\n isParsable(input) {\n return true;\n }\n parseValue(input) {\n return input;\n }\n initRawValidation() {\n super.initRawValidation();\n this.validator.rawValidator.addFromCondition(this.props.regex, matchesRegexp);\n this.validator.rawValidator.addFromCondition(this.props.equals, isSameAs);\n }\n initParsedValidation() {\n super.initParsedValidation();\n this.validator.parsedValidator.add(isEmail, this.props.isEmail);\n this.validator.parsedValidator.addRange(this.props.validationRules);\n }\n}\n","import React from \"react\";\nimport { TextBox } from \"./TextBox\";\nimport { BaseTextBoxEditor } from \"./BaseTextBoxEditor\";\nexport class TextBoxEditor extends BaseTextBoxEditor {\n constructor(props) {\n super(props);\n }\n getInput() {\n return (React.createElement(TextBox, { ...this.props, id: this.state.inputGroupId, ariaDescribedby: !this.state.isValid ? this._errorMessageId : undefined, onValidationResultChange: (isValid, errors) => this.onValidationResultChange(isValid, errors) }));\n }\n}\n","export class Content {\n static common = {\n question: \"Question\",\n answer: \"Answer\",\n validationAnswerIsRequired: \"You must enter the answer to your security question\"\n };\n}\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../Resources/Content\";\nexport const TransitionSecurityQuestionAuthenticationUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"h3\", null, Content.common.question),\n React.createElement(\"p\", { className: \"text-bold\" }, props.securityQuestion),\n React.createElement(TextBoxEditor, { label: Content.common.answer, large: true, value: props.securityAnswer, required: Content.common.validationAnswerIsRequired, onChange: props.onSecurityAnswerChange })))));\n};\n","import React from \"react\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { PumaTransitionSecurityQuestionConfirmationTokenActionsCreator } from \"./../ActionsCreators/PumaTransitionSecurityQuestionConfirmationTokenActionsCreator\";\nimport { TransitionSecurityQuestionAuthenticationUI } from \"./TransitionSecurityQuestionAuthenticationUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaTransitionSecurityQuestionConfirmationTokenStore } from \"./../Stores/PumaTransitionSecurityQuestionConfirmationTokenStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class TransitionSecurityQuestionAuthentication extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaTransitionSecurityQuestionConfirmationTokenStore, this.onPumaTransitionSecurityQuestionConfirmationTokenStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(TransitionSecurityQuestionAuthenticationUI, { securityQuestion: this.state.confirmationToken.Question, securityAnswer: this.props.securityAnswer, onSecurityAnswerChange: this.props.onSecurityAnswerChange })));\n }\n componentDidMount() {\n if (this.props.useCurrentUser) {\n PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.requestForCurrentUser({\n ProcessIdentifier: this.props.pumaProcessIdentifier,\n RequiredAction: this.props.actionToConfirm\n });\n }\n else if (this.props.pumaUserId) {\n PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.request(this.props.pumaUserId, {\n ProcessIdentifier: this.props.pumaProcessIdentifier,\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.pumaUserId !== nextProps.pumaUserId || this.props.useCurrentUser != nextProps.useCurrentUser) {\n if (nextProps.useCurrentUser) {\n PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.requestForCurrentUser({\n RequiredAction: nextProps.actionToConfirm\n });\n }\n else if (nextProps.pumaUserId) {\n PumaTransitionSecurityQuestionConfirmationTokenActionsCreator.request(nextProps.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n }\n isValid() {\n return true;\n }\n onPumaTransitionSecurityQuestionConfirmationTokenStoreChange() {\n if (!PumaTransitionSecurityQuestionConfirmationTokenStore.isLoading()) {\n const confirmationToken = PumaTransitionSecurityQuestionConfirmationTokenStore.getPayload();\n this.updateStatePart(x => {\n x.confirmationToken = confirmationToken;\n x.isLoading = this.isAnyStoreLoading();\n }, () => {\n this.props.onConfirmationTokenChange({\n kind: AuthenticationMethod.TransitionSecurityQuestion,\n question: confirmationToken.Question,\n tokenValue: confirmationToken.TokenValue\n });\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n confirmationToken: {}\n };\n }\n bindPrivateMethods() {\n this.onPumaTransitionSecurityQuestionConfirmationTokenStoreChange = this.onPumaTransitionSecurityQuestionConfirmationTokenStoreChange.bind(this);\n }\n}\n","export class Content {\n static common = {\n weHaveSentAuthenticationCodeViaSms_PhoneNumber: \"We've sent you a verification code to \",\n weHaveSentAuthenticationCodeViaSms_ScreenReaderText: \"phone number ending \",\n enterAuthCode: \"Please enter the code below\",\n didNotGetCode: \"Didn't get a code, or code expired?\",\n pleaseEnterAuthCode: \"Please enter verification code\",\n pleaseEnterValidAuthCode: \"Please enter valid verification code\",\n resendAuthCodeHeader: \"Re-send verification code\",\n resendAuthCodeMessage: \"If you have not received a registration code within a minute or two please click the button below to re-send.\",\n cancel: \"Cancel\",\n resend: \"Re-send\",\n authCodeSuccessfullyResent: \"Verification code has been successfully resent\",\n success: \"Success\",\n ok: \"Ok\",\n alphabetRestriction: \"Please enter the six digit registration number sent to your phone\",\n smsAuthenticationNotEnabled: \"Sms authentication is not enabled\",\n numberOfRequestedCodesExceeded: \"An SMS message was recently sent. Please wait 30 seconds before trying again.\",\n initialValidationNumberOfRequestedCodesExceeded: \"We recently sent an SMS message for account activation. If you require a new link please wait up to 30 seconds and click the URL in your Account activation email.\",\n smsServiceExperiencingIssues: \"Looks like our SMS service is experiencing an issue. Please try again later.\"\n };\n}\n","export var PumaUserSmsConfirmationTokenRequestsErrors;\n(function (PumaUserSmsConfirmationTokenRequestsErrors) {\n PumaUserSmsConfirmationTokenRequestsErrors[PumaUserSmsConfirmationTokenRequestsErrors[\"SmsServiceExperiencingIssues\"] = 0] = \"SmsServiceExperiencingIssues\";\n PumaUserSmsConfirmationTokenRequestsErrors[PumaUserSmsConfirmationTokenRequestsErrors[\"SmsAuthenticationIsNotActivated\"] = 1] = \"SmsAuthenticationIsNotActivated\";\n PumaUserSmsConfirmationTokenRequestsErrors[PumaUserSmsConfirmationTokenRequestsErrors[\"NumberOfAuthenticationExceeded\"] = 2] = \"NumberOfAuthenticationExceeded\";\n})(PumaUserSmsConfirmationTokenRequestsErrors || (PumaUserSmsConfirmationTokenRequestsErrors = {}));\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserSmsConfirmationTokenRequestsErrors } from \"@/Puma/Site/Models/Onboarding/Customer/ValidationErrors/PumaUserSmsConfirmationTokenRequestsErrors\";\nexport class PumaUserSmsConfirmationTokenRequestsErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserSmsConfirmationTokenRequestsErrors.SmsAuthenticationIsNotActivated, Content.common.smsAuthenticationNotEnabled);\n map.set(PumaUserSmsConfirmationTokenRequestsErrors.NumberOfAuthenticationExceeded, Content.common.numberOfRequestedCodesExceeded);\n map.set(PumaUserSmsConfirmationTokenRequestsErrors.SmsServiceExperiencingIssues, Content.common.smsServiceExperiencingIssues);\n return map;\n }\n}\n","import { ActionType } from \"./ActionType\";\nimport { ApiValidationErrorsMapper } from \"./../Utils/ApiValidationErrorsMapper\";\nimport { ResponseState } from \"./ResponseState\";\nimport { BaseApiStore } from \"./BaseApiStore\";\nexport class InstructionStore extends BaseApiStore {\n _errorsDictionary;\n constructor(dispatcher, errorsDictionary) {\n super(dispatcher);\n this.debugEnabled = false;\n this._errorsDictionary = errorsDictionary;\n }\n getDefaultState() {\n return { responseState: ResponseState.Empty };\n }\n getInstruction() {\n var instruction = this.getState().instruction;\n return instruction;\n }\n getRawValidationErrors() {\n return this.getState().errors.map(e => e.Error);\n }\n getValidationErrors() {\n var errors = this.getState().errors;\n var messages = ApiValidationErrorsMapper.mapApiErrors(errors, this._errorsDictionary);\n return messages;\n }\n onDispatch(action) {\n switch (action.actionType) {\n case ActionType.Success:\n this.setState({ instruction: null, errors: null });\n this.setState({ instruction: action.instruction, errors: null, responseState: ResponseState.Received });\n break;\n case ActionType.Update:\n this.setState({ instruction: action.instruction });\n break;\n case ActionType.Error:\n this.setState({ errors: null }); // flush the original array first otherwise there could be leftovers\n this.setState({ errors: action.errors, responseState: ResponseState.Received });\n break;\n case ActionType.Loading:\n this.setState({ responseState: ResponseState.Requested });\n break;\n case ActionType.FlushStore:\n this.setState({ errors: null, instruction: null, responseState: ResponseState.Empty });\n break;\n default:\n throw new Error(\"InstructionStore.onDispatch: Unexpected action type\");\n }\n }\n}\n","import { PumaUserSmsConfirmationTokenRequestsErrorsDictionary } from \"./../Entities/ErrorsDictionaries/PumaUserSmsConfirmationTokenRequestsErrorsDictionary\";\nimport { InstructionStore } from \"@/react-core/Flux/InstructionStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const EncryptedPumaSmsConfirmationTokenActionsDispatcher = new Dispatcher();\nexport const EncryptedPumaSmsConfirmationTokenStore = new InstructionStore(EncryptedPumaSmsConfirmationTokenActionsDispatcher, PumaUserSmsConfirmationTokenRequestsErrorsDictionary);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class EncryptedPumaUserSmsConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(pumaUserId, request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/EncryptedPumaUserSmsConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { pumaUserId: pumaUserId, request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { EncryptedPumaSmsConfirmationTokenActionsDispatcher } from \"./../Stores/EncryptedPumaSmsConfirmationTokenStore\";\nimport { EncryptedPumaUserSmsConfirmationTokenRequestsClient } from \"@/Puma/Api/Security/EncryptedPumaUserSmsConfirmationTokenRequests\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class EncryptedPumaSmsConfirmationTokenActionsCreator extends Actions {\n static request(pumaUserId, request) {\n EncryptedPumaSmsConfirmationTokenActionsCreator.startLoading();\n const client = new EncryptedPumaUserSmsConfirmationTokenRequestsClient();\n return client\n .post(pumaUserId, request)\n .onSuccess(EncryptedPumaSmsConfirmationTokenActionsCreator.updateStoreOnSuccess)\n .onError(EncryptedPumaSmsConfirmationTokenActionsCreator.updateStoreOnErrors);\n }\n static updateStoreOnSuccess(token) {\n EncryptedPumaSmsConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Success, instruction: token });\n }\n static updateStoreOnErrors(errors) {\n EncryptedPumaSmsConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Error, errors: errors });\n }\n static startLoading() {\n EncryptedPumaSmsConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nexport const ResendConfirmation = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: \"heading-success\" }, Content.common.success),\n React.createElement(\"p\", null, Content.common.authCodeSuccessfullyResent),\n React.createElement(Button, { className: \"btn primary\", onClick: props.onClose }, Content.common.ok)));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nexport const SmsAuthenticationResendUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: props.validationErrors }),\n React.createElement(\"h1\", { className: \"pr-48\" }, Content.common.resendAuthCodeHeader),\n React.createElement(\"p\", null, Content.common.resendAuthCodeMessage),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn primary\", onClick: props.onAuthenticationCodeResendConfirmed }, Content.common.resend)),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary\", onClick: props.onResendCanceled }, Content.common.cancel)))));\n};\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Portal } from \"./Portal\";\nexport class Lightbox extends React.Component {\n _hasLightboxOpenCssClass = 'has-lightbox-open';\n _modalRef;\n _exitBtnRef;\n _tabbableElements = 'a[href], area[href], input:not([disabled]),' +\n 'select:not([disabled]), textarea:not([disabled]),' +\n 'button:not([disabled]), iframe, object, embed, *[tabindex],' +\n '*[contenteditable]';\n constructor(props) {\n super(props);\n }\n static defaultProps = {\n closeOnEsc: true\n };\n componentDidMount() {\n if (this.props.show) {\n this.focusLightbox();\n this.addOpenClassToBody();\n }\n }\n render() {\n return (React.createElement(Portal, { container: this.props.targetContainer || document.body }, this.props.show && this.getLightBoxContent()));\n }\n getLightBoxContent() {\n var wrapperClassnames = classNames(\"lighbox-wrapper\", this.props.cssWrapper);\n return (React.createElement(\"div\", { ref: (divElement) => this._modalRef = divElement, className: wrapperClassnames },\n React.createElement(\"div\", { className: \"lightbox-layer\", onClick: () => this.props.onClose() }),\n React.createElement(\"div\", { className: \"lightbox-container-wrap\" },\n React.createElement(\"div\", { className: \"lightbox-container\", role: \"dialog\" },\n React.createElement(\"div\", { className: \"lightbox\" },\n React.createElement(\"div\", { className: \"lightbox-close-container\" },\n React.createElement(\"a\", { href: '', className: 'lightbox-close', onClick: (e) => this.closeLightbox(e), ref: (exitBtnRef) => this._exitBtnRef = exitBtnRef },\n React.createElement(\"span\", { className: \"sr-only\" }, \"Close window\"))),\n this.props.children)))));\n }\n componentDidUpdate(prevProps) {\n if (this.props.show && !prevProps.show) {\n this.addOpenClassToBody();\n this.focusLightbox();\n this.bindEscKey();\n }\n if (!this.props.show && prevProps.show) {\n this.removeOpenClassFromBody();\n this.removeEventListeners();\n }\n }\n bindEscKey() {\n $('body').on(\"keydown\", (event) => {\n if ((this.props.show) && (event.keyCode === 27) && this.props.closeOnEsc) {\n this.closeLightbox(event);\n }\n });\n }\n closeLightbox(event) {\n event.preventDefault();\n this.props.onClose();\n this.removeOpenClassFromBody();\n }\n focusLightbox() {\n var keyListener = this.keepFocusWithinCallback();\n this._exitBtnRef?.focus();\n $('body').on('keydown', keyListener);\n }\n removeEventListeners() {\n $('body').off('keydown');\n }\n addOpenClassToBody() {\n document.body.classList.add(this._hasLightboxOpenCssClass);\n }\n removeOpenClassFromBody() {\n document.body.classList.remove(this._hasLightboxOpenCssClass);\n }\n /**\n * Keeping focus within lightbox, when it is opened.\n * Solution derived form https://gist.github.com/gustavpursche/5907263\n **/\n keepFocusWithinCallback() {\n return (event) => {\n var keyCode = event.which || event.keyCode; // Get the current keycode\n // Polyfill to prevent the default behavior of events\n event.preventDefault = event.preventDefault || function () {\n event.returnValue = false;\n };\n // If it is TAB\n if (keyCode === 9) {\n var $tabbableElements = $(this._modalRef).find(this._tabbableElements);\n var $firstTabbableElement = $tabbableElements[0];\n var $lastTabbableElement = $tabbableElements[$tabbableElements.length - 1];\n var focused = $(':focus');\n if ($tabbableElements.index(focused) < 0) {\n $firstTabbableElement.focus();\n }\n if (!$firstTabbableElement || !$lastTabbableElement) {\n event.preventDefault();\n }\n // Move focus to first element that can be tabbed if Shift isn't used\n if (event.target === $lastTabbableElement && !event.shiftKey) {\n event.preventDefault();\n $firstTabbableElement.focus();\n // Move focus to last element that can be tabbed if Shift is used\n }\n else if (event.target === $firstTabbableElement && event.shiftKey) {\n event.preventDefault();\n $lastTabbableElement.focus();\n }\n }\n };\n }\n}\n","import React from \"react\";\nimport { Numeric } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nexport const SmsAuthenticationUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n props.header &&\n React.createElement(\"p\", { className: \"text-bold\" }, props.header),\n props.enterAuthCodeLabel &&\n React.createElement(\"p\", null, props.enterAuthCodeLabel),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"div\", { className: \"row mb-6\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" }),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Button, { className: \"hyperlink\", onClick: props.onResendCodeRequested }, Content.common.didNotGetCode))),\n React.createElement(TextBoxEditor, { cssWrapper: \"label-sr-only\", value: props.authCode ? props.authCode : null, label: \"AuthCode\", large: true, maxLength: 6, minLengthValidation: { value: 6, errorMessage: Content.common.pleaseEnterValidAuthCode }, regex: { value: Numeric, errorMessage: Content.common.alphabetRestriction }, required: Content.common.pleaseEnterAuthCode, onChange: (value) => props.onAuthCodeChange(value.toString()) })))))));\n};\n","import React from \"react\";\nimport { ResendConfirmation } from \"./ResendConfirmation\";\nimport { SmsAuthenticationResendUI } from \"./SmsAuthenticationResendUI\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { SmsAuthenticationUI } from \"./SmsAuthenticationUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class SmsAuthenticationBase extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(SmsAuthenticationUI, { header: this.props.header, enterAuthCodeLabel: this.props.enterAuthCodeLabel, authCode: this.props.authCode, onAuthCodeChange: this.props.onAuthCodeChange, onResendCodeRequested: this.toggleResendLightboxVisibility }),\n React.createElement(Lightbox, { show: this.state.isResendAuthenticationCodeLightboxOpened, onClose: this.toggleResendLightboxVisibility },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(SmsAuthenticationResendUI, { validationErrors: this.state.authenticationResendValidationErrors, onResendCanceled: this.toggleResendLightboxVisibility, onAuthenticationCodeResendConfirmed: this.onAuthenticationCodeResendConfirmed }))),\n React.createElement(Lightbox, { show: this.state.isResendConfirmationLightboxOpened, onClose: this.toggleConfirmationLightboxVisiblity },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(ResendConfirmation, { onClose: this.toggleConfirmationLightboxVisiblity })))));\n }\n isValid() {\n return true;\n }\n onAuthenticationCodeResendConfirmed() {\n this.props.onAuthenticationCodeResendConfirmed(() => {\n this.updateStatePart(x => {\n x.isResendAuthenticationCodeLightboxOpened = false;\n x.authenticationResendValidationErrors = [];\n }, this.toggleConfirmationLightboxVisiblity);\n }, (errors) => {\n this.updateStatePart(x => x.authenticationResendValidationErrors = errors);\n });\n }\n toggleResendLightboxVisibility() {\n this.updateStatePart(x => {\n x.isResendAuthenticationCodeLightboxOpened = !x.isResendAuthenticationCodeLightboxOpened;\n x.authenticationResendValidationErrors = [];\n });\n }\n toggleConfirmationLightboxVisiblity() {\n this.updateStatePart(x => x.isResendConfirmationLightboxOpened = !x.isResendConfirmationLightboxOpened);\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.toggleConfirmationLightboxVisiblity = this.toggleConfirmationLightboxVisiblity.bind(this);\n this.toggleResendLightboxVisibility = this.toggleResendLightboxVisibility.bind(this);\n this.onAuthenticationCodeResendConfirmed = this.onAuthenticationCodeResendConfirmed.bind(this);\n }\n}\n","export class EncryptedPhoneNumberExtensions {\n static toDisplayValue(encryptedPhoneNumber) {\n if (encryptedPhoneNumber == null\n || encryptedPhoneNumber.CharactersCount == 0) {\n return null;\n }\n const encryptedPhoneNumberStars = encryptedPhoneNumber.CharactersCount >= 3 ? Array(encryptedPhoneNumber.CharactersCount - 2).join(\"*\") : \"\";\n const encryptedPhoneNumberString = encryptedPhoneNumberStars + encryptedPhoneNumber.LastThreeCharacters;\n return encryptedPhoneNumberString;\n }\n}\n","import React from \"react\";\nimport { PumaUserSmsConfirmationTokenRequestsErrorsDictionary } from \"./../Entities/ErrorsDictionaries/PumaUserSmsConfirmationTokenRequestsErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { EncryptedPumaSmsConfirmationTokenActionsCreator } from \"./../ActionsCreators/EncryptedPumaSmsConfirmationTokenActionsCreator\";\nimport { Content } from \"./../Resources/Content\";\nimport { SmsAuthenticationBase } from \"./SmsAuthenticationBase\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { EncryptedPhoneNumberExtensions } from \"./../../../Common/Entities/PhoneNumbers/EncryptedPhoneNumberExtensions\";\nimport { EncryptedPumaSmsConfirmationTokenStore } from \"./../Stores/EncryptedPumaSmsConfirmationTokenStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class SmsAuthentication extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(EncryptedPumaSmsConfirmationTokenStore, this.onEncryptedPumaSecurityQuestionConfirmationTokenStoreChange);\n }\n render() {\n const encryptedPhoneNumberString = EncryptedPhoneNumberExtensions.toDisplayValue(this.state.confirmationToken.EncryptedPhoneNumber);\n const phoneNumberLastThreeDigits = this.state.confirmationToken.EncryptedPhoneNumber ? this.state.confirmationToken.EncryptedPhoneNumber.LastThreeCharacters : null;\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(SmsAuthenticationBase, { header: encryptedPhoneNumberString != null &&\n React.createElement(\"span\", null,\n Content.common.weHaveSentAuthenticationCodeViaSms_PhoneNumber,\n React.createElement(\"span\", { \"aria-hidden\": true }, encryptedPhoneNumberString),\n React.createElement(\"span\", { className: \"sr-only\" },\n Content.common.weHaveSentAuthenticationCodeViaSms_ScreenReaderText,\n \" \",\n phoneNumberLastThreeDigits)), enterAuthCodeLabel: Content.common.enterAuthCode, authCode: this.props.authCode, confirmationToken: this.state.confirmationToken, onAuthCodeChange: this.props.onAuthCodeChange, onAuthenticationCodeResendConfirmed: this.resendAuthenticationCode })));\n }\n componentDidMount() {\n if (this.props.pumaUserId) {\n EncryptedPumaSmsConfirmationTokenActionsCreator.request(this.props.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.pumaUserId !== nextProps.pumaUserId) {\n EncryptedPumaSmsConfirmationTokenActionsCreator.request(nextProps.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n isValid() {\n return true;\n }\n onEncryptedPumaSecurityQuestionConfirmationTokenStoreChange() {\n if (!EncryptedPumaSmsConfirmationTokenStore.isLoading()) {\n const errors = EncryptedPumaSmsConfirmationTokenStore.getValidationErrors();\n if (errors.length > 0) {\n this.updateStatePart(x => {\n x.validationErrors = errors;\n x.isLoading = this.isAnyStoreLoading();\n });\n return;\n }\n const confirmationToken = EncryptedPumaSmsConfirmationTokenStore.getInstruction();\n this.updateStatePart(x => {\n x.confirmationToken = confirmationToken;\n x.isLoading = this.isAnyStoreLoading();\n x.validationErrors = [];\n }, () => {\n this.props.onConfirmationTokenChange({\n kind: AuthenticationMethod.Sms,\n encryptedPhoneNumber: confirmationToken.EncryptedPhoneNumber,\n tokenValue: confirmationToken.TokenValue\n });\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n resendAuthenticationCode(onResendSuccess, onResendError) {\n EncryptedPumaSmsConfirmationTokenActionsCreator.request(this.props.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n }).onSuccess(x => {\n onResendSuccess();\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserSmsConfirmationTokenRequestsErrorsDictionary);\n onResendError(validationErrors);\n });\n }\n getDefaultState() {\n return {\n validationErrors: [],\n confirmationToken: {\n EncryptedPhoneNumber: { CharactersCount: 0, LastThreeCharacters: \"\" }\n }\n };\n }\n bindPrivateMethods() {\n this.resendAuthenticationCode = this.resendAuthenticationCode.bind(this);\n this.onEncryptedPumaSecurityQuestionConfirmationTokenStoreChange = this.onEncryptedPumaSecurityQuestionConfirmationTokenStoreChange.bind(this);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaSecurityQuestionConfirmationTokenActionsDispatcher = new Dispatcher();\nexport const PumaSecurityQuestionConfirmationTokenStore = new PayloadStore(PumaSecurityQuestionConfirmationTokenActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaUserSecurityQuestionConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(pumaUserId, request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaUserSecurityQuestionConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { pumaUserId: pumaUserId, request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaSecurityQuestionConfirmationTokenActionsDispatcher } from \"./../Stores/PumaSecurityQuestionConfirmationTokenStore\";\nimport { PumaUserSecurityQuestionConfirmationTokenRequestsClient } from \"@/Puma/Api/Security/PumaUserSecurityQuestionConfirmationTokenRequests\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaSecurityQuestionConfirmationTokenActionsCreator extends Actions {\n static request(pumaUserId, request) {\n PumaSecurityQuestionConfirmationTokenActionsCreator.startLoading();\n const client = new PumaUserSecurityQuestionConfirmationTokenRequestsClient();\n return client\n .post(pumaUserId, request)\n .onSuccess(PumaSecurityQuestionConfirmationTokenActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(token) {\n PumaSecurityQuestionConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: token });\n }\n static startLoading() {\n PumaSecurityQuestionConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export class Content {\n static common = {\n question: \"Question\",\n answer: \"Answer\",\n validationAnswerIsRequired: \"You must enter the answer to your security question\"\n };\n}\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../Resources/Content\";\nexport const SecurityQuestionAuthenticationUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"h3\", null, Content.common.question),\n React.createElement(\"p\", { className: \"text-bold\" }, props.securityQuestion),\n React.createElement(TextBoxEditor, { label: Content.common.answer, large: true, value: props.securityAnswer, required: Content.common.validationAnswerIsRequired, onChange: props.onSecurityAnswerChange })))));\n};\n","import React from \"react\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { PumaSecurityQuestionConfirmationTokenActionsCreator } from \"./../ActionsCreators/PumaSecurityQuestionConfirmationTokenActionsCreator\";\nimport { SecurityQuestionAuthenticationUI } from \"./SecurityQuestionAuthenticationUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaSecurityQuestionConfirmationTokenStore } from \"./../Stores/PumaSecurityQuestionConfirmationTokenStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class SecurityQuestionAuthentication extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaSecurityQuestionConfirmationTokenStore, this.onPumaSecurityQuestionConfirmationTokenStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(SecurityQuestionAuthenticationUI, { securityQuestion: this.state.confirmationToken.Question, securityAnswer: this.props.securityAnswer, onSecurityAnswerChange: this.props.onSecurityAnswerChange })));\n }\n componentDidMount() {\n if (this.props.pumaUserId) {\n PumaSecurityQuestionConfirmationTokenActionsCreator.request(this.props.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.pumaUserId !== nextProps.pumaUserId) {\n PumaSecurityQuestionConfirmationTokenActionsCreator.request(nextProps.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n isValid() {\n return true;\n }\n onPumaSecurityQuestionConfirmationTokenStoreChange() {\n if (!PumaSecurityQuestionConfirmationTokenStore.isLoading()) {\n const confirmationToken = PumaSecurityQuestionConfirmationTokenStore.getPayload();\n this.updateStatePart(x => {\n x.confirmationToken = confirmationToken;\n x.isLoading = this.isAnyStoreLoading();\n }, () => {\n this.props.onConfirmationTokenChange({\n kind: AuthenticationMethod.SecurityQuestion,\n question: confirmationToken.Question,\n tokenValue: confirmationToken.TokenValue\n });\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n confirmationToken: {}\n };\n }\n bindPrivateMethods() {\n this.onPumaSecurityQuestionConfirmationTokenStoreChange = this.onPumaSecurityQuestionConfirmationTokenStoreChange.bind(this);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaPasswordConfirmationTokenActionsDispatcher = new Dispatcher();\nexport const PumaPasswordConfirmationTokenStore = new PayloadStore(PumaPasswordConfirmationTokenActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCurrentUserPasswordConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaCurrentUserPasswordConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaPasswordConfirmationTokenActionsDispatcher } from \"./../Stores/PumaPasswordConfirmationTokenStore\";\nimport { PumaCurrentUserPasswordConfirmationTokenRequestsClient } from \"@/Puma/Api/Security/PumaCurrentUserPasswordConfirmationTokenRequests\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaPasswordConfirmationTokenActionsCreator extends Actions {\n static requestForCurrentUser(request) {\n PumaPasswordConfirmationTokenActionsCreator.startLoading();\n const client = new PumaCurrentUserPasswordConfirmationTokenRequestsClient();\n return client\n .post(request)\n .onSuccess(PumaPasswordConfirmationTokenActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(token) {\n PumaPasswordConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: token });\n }\n static startLoading() {\n PumaPasswordConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export class Content {\n static common = {\n enterCurrentPassword: \"Enter current password\",\n validationCurrentPasswordIsRequired: \"Please enter current password\"\n };\n}\n","import React from \"react\";\nimport { Content } from \"./../Resources/Content\";\nimport { PasswordEditor } from \"@/react-core/Html/PasswordEditor\";\nexport const PasswordAuthenticationUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(PasswordEditor, { label: Content.common.enterCurrentPassword, large: true, required: Content.common.validationCurrentPasswordIsRequired, onChange: props.onPasswordChange })))));\n};\n","import React from \"react\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { PumaPasswordConfirmationTokenActionsCreator } from \"./../ActionsCreators/PumaPasswordConfirmationTokenActionsCreator\";\nimport { PasswordAuthenticationUI } from \"./PasswordAuthenticationUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaPasswordConfirmationTokenStore } from \"./../Stores/PumaPasswordConfirmationTokenStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class PasswordAuthentication extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaPasswordConfirmationTokenStore, this.onPumaPasswordConfirmationTokenStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(PasswordAuthenticationUI, { onPasswordChange: this.props.onPasswordChange })));\n }\n componentDidMount() {\n PumaPasswordConfirmationTokenActionsCreator.requestForCurrentUser({\n RequiredAction: this.props.actionToConfirm,\n ProcessIdentifier: this.props.pumaProcessIdentifier\n });\n }\n isValid() {\n return true;\n }\n onPumaPasswordConfirmationTokenStoreChange() {\n if (!PumaPasswordConfirmationTokenStore.isLoading()) {\n const confirmationToken = PumaPasswordConfirmationTokenStore.getPayload();\n this.updateStatePart(x => {\n x.confirmationToken = confirmationToken;\n x.isLoading = this.isAnyStoreLoading();\n }, () => {\n this.props.onConfirmationTokenChange({\n kind: AuthenticationMethod.Password,\n tokenValue: confirmationToken.TokenValue\n });\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n confirmationToken: {}\n };\n }\n bindPrivateMethods() {\n this.onPumaPasswordConfirmationTokenStoreChange = this.onPumaPasswordConfirmationTokenStoreChange.bind(this);\n }\n}\n","import { PumaConfirmationTokenSupportedAction as ConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nexport class Content {\n static common = {\n pleaseSelectAnOption: \"You must select an option.\",\n getAuthenticationMethodPickerLabel: (actionToConfirm) => {\n switch (actionToConfirm) {\n case ConfirmationTokenSupportedAction.PumaUserEmailAddressAmendment: {\n return \"Confirm one of the following to update your email address\";\n }\n case ConfirmationTokenSupportedAction.PumaUserLoginAntiPhishingAmendment: {\n return \"Confirm one of the following to update your memorable picture and phrase\";\n }\n case ConfirmationTokenSupportedAction.PumaUserSecurityQuestionAmendment: {\n return \"Confirm one of the following to update your security question\";\n }\n }\n return \"\";\n }\n };\n}\n","import React from \"react\";\nimport { Guid } from \"./../Utils/Guid\";\nimport { isNotEmpty } from \"./Validation/RawValueRules\";\nimport { Position } from \"./../Enums/Position\";\nimport { BaseEditor } from \"./BaseEditor\";\nexport class RadioPanelWithSubItemsEditor extends BaseEditor {\n constructor(props) {\n super(props);\n }\n render() {\n return (React.createElement(\"label\", null,\n this.showErrorsAt(Position.Top) && this.getValidationErrorsContainer(),\n this.getInput(),\n React.createElement(\"span\", { className: \"label\" }, this.getLabel()),\n this.getTooltip(),\n this.showErrorsAt(Position.Bottom) && this.getValidationErrorsContainer()));\n }\n componentDidMount() {\n this.bindLabelToInput();\n }\n getInput() {\n return (React.createElement(\"input\", { ...this.props, type: 'radio', className: \"radio\", id: this.props.groupId, checked: this.props.selected, onChange: (event) => this.props.onChange() }));\n }\n getLabel() {\n if (!this.props.label) {\n return null;\n }\n return (React.createElement(\"span\", null, this.props.label));\n }\n bindLabelToInput() {\n var id;\n var propId = null;\n if (this.props.hasOwnProperty('id')) {\n propId = this.props['id'];\n }\n id = (isNotEmpty(propId)) ? propId : Guid.getNext().toString();\n this.setState({ inputGroupId: id });\n }\n}\n","import React from \"react\";\nimport { RadioPanelWithSubItemsEditor } from \"@/react-core/Html/RadioPanelWithSubItemsEditor\";\nimport { getAllAuthenticationMethodOptions } from \"./../../Shared/Entities/AvailableOptions/AllAuthenticationMethodOptions\";\nexport const AuthenticationMethodPicker = (props) => {\n const options = getAllAuthenticationMethodOptions();\n const availableOptions = options.filter(x => props.availableMethods.some(y => y === x.Value));\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, props.label),\n availableOptions.map((option, i) => {\n return (React.createElement(\"div\", { className: \"radio-panel\", key: i },\n React.createElement(RadioPanelWithSubItemsEditor, { label: option.DisplayName, selected: option.Value === props.selectedMethod, onChange: () => props.onSelectedMethodChange(option.Value), groupId: \"AuthenticationMethod_RadioGroup\" })));\n })));\n};\n","import { Content } from \"./../../Resources/Content\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nexport function getAllAuthenticationMethodOptions(defaultOptionDisplayName = \"\") {\n return [\n {\n Value: AuthenticationMethod.NotSpecified,\n DisplayName: defaultOptionDisplayName\n },\n {\n Value: AuthenticationMethod.Password,\n DisplayName: Content.availableOptions.authenticationMethod.password\n },\n {\n Value: AuthenticationMethod.SecurityQuestion,\n DisplayName: Content.availableOptions.authenticationMethod.securityQuestion\n }\n ];\n}\n","import React from \"react\";\nimport { ObjectComparer } from \"@/react-core/Utils/ObjectComparer\";\nimport { TransitionSecurityQuestionAuthentication } from \"./../../TransitionSecurityQuestion/Components/TransitionSecurityQuestionAuthentication\";\nimport { SmsAuthentication } from \"./../../Sms/Components/SmsAuthentication\";\nimport { SecurityQuestionAuthentication } from \"./../../SecurityQuestion/Components/SecurityQuestionAuthentication\";\nimport { PasswordAuthentication } from \"./../../Password/Components/PasswordAuthentication\";\nimport { Content } from \"./../Resources/Content\";\nimport { AuthenticationMethodPicker } from \"./AuthenticationMethodPicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class UserSelectableAuthentication extends BaseFormElement {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, isServerError: false }),\n this.props.availableAuthenticationMethods.length > 1 &&\n React.createElement(AuthenticationMethodPicker, { label: Content.common.getAuthenticationMethodPickerLabel(this.props.actionToConfirm), selectedMethod: this.state.authenticationMethod, availableMethods: this.props.availableAuthenticationMethods, onSelectedMethodChange: method => this.changeSelectedMethod(method) }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 vspace-top-24\" },\n this.state.authenticationMethod === AuthenticationMethod.Password &&\n React.createElement(PasswordAuthentication, { pumaProcessIdentifier: null, actionToConfirm: this.props.actionToConfirm, onConfirmationTokenChange: this.props.onConfirmationTokenChange, onPasswordChange: this.props.onTokenVerificationCodeChange }),\n this.state.authenticationMethod === AuthenticationMethod.SecurityQuestion &&\n React.createElement(SecurityQuestionAuthentication, { pumaUserId: this.props.pumaUserId, actionToConfirm: this.props.actionToConfirm, securityAnswer: this.props.tokenVerificationCode, onConfirmationTokenChange: this.props.onConfirmationTokenChange, onSecurityAnswerChange: this.props.onTokenVerificationCodeChange }),\n this.state.authenticationMethod === AuthenticationMethod.Sms &&\n React.createElement(SmsAuthentication, { pumaUserId: this.props.pumaUserId, actionToConfirm: this.props.actionToConfirm, authCode: this.props.tokenVerificationCode, onAuthCodeChange: this.props.onTokenVerificationCodeChange, onConfirmationTokenChange: this.props.onConfirmationTokenChange }),\n this.state.authenticationMethod === AuthenticationMethod.TransitionSecurityQuestion &&\n React.createElement(TransitionSecurityQuestionAuthentication, { pumaUserId: this.props.pumaUserId, pumaProcessIdentifier: null, actionToConfirm: this.props.actionToConfirm, useCurrentUser: false, securityAnswer: this.props.tokenVerificationCode, onConfirmationTokenChange: this.props.onConfirmationTokenChange, onSecurityAnswerChange: this.props.onTokenVerificationCodeChange })))));\n }\n componentDidMount() {\n if (this.props.availableAuthenticationMethods.length === 1) {\n this.updateStatePart(x => x.authenticationMethod = this.props.availableAuthenticationMethods[0]);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (ObjectComparer.arraysDiffer(this.props.availableAuthenticationMethods, nextProps.availableAuthenticationMethods)) {\n if (nextProps.availableAuthenticationMethods.length === 1) {\n this.updateStatePart(x => x.authenticationMethod = nextProps.availableAuthenticationMethods[0]);\n }\n }\n }\n isValid() {\n const authenticationMethodIsSelected = this.state.authenticationMethod !== AuthenticationMethod.NotSpecified;\n if (!authenticationMethodIsSelected) {\n this.updateStatePart(s => s.validationErrors = [Content.common.pleaseSelectAnOption]);\n }\n return authenticationMethodIsSelected;\n }\n changeSelectedMethod(method) {\n this.updateStatePart(s => {\n s.authenticationMethod = method;\n s.validationErrors = [];\n }, () => this.props.onTokenVerificationCodeChange(null));\n }\n getDefaultState() {\n return {\n authenticationMethod: AuthenticationMethod.NotSpecified,\n confirmationToken: {},\n validationErrors: []\n };\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const AntiPhishingDataDispatcher = new Dispatcher();\nexport const AntiPhishingDataStore = new PayloadStore(AntiPhishingDataDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class RandomAntiPhishingImageEncryptedStaticDocumentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/StaticDocuments/RandomAntiPhishingImageEncryptedStaticDocument/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class RandomPumaAntiPhishingPhraseClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/RandomPumaAntiPhishingPhrase/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.post(url, data);\n }\n}\n","import { Assert } from \"./../Utils/Assert\";\nexport class LazyAsynchronousFunction {\n _underlyingFunc;\n _result;\n constructor(func) {\n this._underlyingFunc = func;\n }\n run() {\n Assert(!this.hasAlreadyStarted(), \"Attempting to run already started LazyAsynchronouseFunction\");\n this._result = this._underlyingFunc();\n return this._result;\n }\n getResult() {\n Assert(this.hasAlreadyFinished(), \"Attempting to get result of not finished LazyAsynchronouseFunction\");\n return this._result;\n }\n hasAlreadyFinished() {\n return this._result != null && this._result.isFinished();\n }\n hasAlreadyStarted() {\n return this._result != null;\n }\n}\n","import { PromiseResultType } from \"./IPromiseResult\";\nimport { Assert } from \"./../Utils/Assert\";\nimport { LazyAsynchronousFunction } from \"./LazyAsyncronousFunction\";\nvar CallbackType;\n(function (CallbackType) {\n CallbackType[CallbackType[\"OnSuccess\"] = 0] = \"OnSuccess\";\n CallbackType[CallbackType[\"OnError\"] = 1] = \"OnError\";\n CallbackType[CallbackType[\"OnFinish\"] = 2] = \"OnFinish\";\n})(CallbackType || (CallbackType = {}));\nexport class PromisesGroup {\n _result;\n _errors;\n _callbacks;\n _underlyingAsyncFunctions;\n constructor(currentResult) {\n this._callbacks = [];\n this._result = currentResult || {};\n this._errors = {};\n this._underlyingAsyncFunctions = [];\n }\n addPromiseFunction(asyncFunction, resultPopulator = () => { }, errorsPopulator = () => { }) {\n this._underlyingAsyncFunctions.push({\n lazyFunction: new LazyAsynchronousFunction(asyncFunction),\n resultPopulator: resultPopulator,\n errorsPopulator: errorsPopulator\n });\n return this;\n }\n run() {\n Assert(this._underlyingAsyncFunctions.length > 0, \"At least one function has to be added to PromisesGroup before it's run.\");\n Assert(!this.isFinished(), \"Attempting to run promise group that has already run\");\n this._underlyingAsyncFunctions.map(underlyingAsyncFunction => {\n underlyingAsyncFunction.lazyFunction\n .run()\n .onSuccess(funcResult => {\n underlyingAsyncFunction.resultPopulator(funcResult, this._result);\n this.onUnderlyingPromiseFinished();\n })\n .onError(funcErrors => {\n underlyingAsyncFunction.errorsPopulator(funcErrors, this._errors);\n this.onUnderlyingPromiseFinished();\n });\n });\n }\n getResult() {\n Assert(this.isFinished(), \"Attempting to get result of not finished promises group\");\n return {\n type: this._underlyingAsyncFunctions.every(x => x.lazyFunction.getResult().getResult().type === PromiseResultType.Success)\n ? PromiseResultType.Success\n : PromiseResultType.Error,\n errors: this._errors,\n result: this._result\n };\n }\n isFinished() {\n return this._underlyingAsyncFunctions.every(x => x.lazyFunction.hasAlreadyFinished());\n }\n onSuccess(callback) {\n Assert(!this.isFinished(), \"Attempting to assign onSuccess callback to finished PromisesGroup\");\n this._callbacks.push({ key: CallbackType.OnSuccess, value: callback });\n return this;\n }\n onError(callback) {\n Assert(!this.isFinished(), \"Attempting to assign onError callback to finished PromisesGroup\");\n this._callbacks.push({ key: CallbackType.OnError, value: callback });\n return this;\n }\n onFinish(callback) {\n Assert(!this.isFinished(), \"Attempting to assign onFinished callback to finished PromisesGroup\");\n this._callbacks.push({ key: CallbackType.OnFinish, value: callback });\n return this;\n }\n onUnderlyingPromiseFinished() {\n if (!this.isFinished()) {\n return;\n }\n const result = this.getResult();\n result.type === PromiseResultType.Success\n ? this._callbacks.filter(x => [CallbackType.OnSuccess, CallbackType.OnFinish].some(y => y === x.key)).forEach(x => x.value(result.result))\n : this._callbacks.filter(x => [CallbackType.OnError, CallbackType.OnFinish].some(y => y === x.key)).forEach(x => x.value(result.errors));\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaLoginAntiPhishingClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(query) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/PumaLogin/PumaLoginAntiPhishing/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { query: query };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { AntiPhishingDataStore, AntiPhishingDataDispatcher } from \"./../Stores/AntiPhishingDataStore\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { RandomAntiPhishingImageEncryptedStaticDocumentClient } from \"@/Puma/Api/StaticDocuments/RandomAntiPhishingImageEncryptedStaticDocument\";\nimport { RandomPumaAntiPhishingPhraseClient } from \"@/Puma/Api/Security/RandomPumaAntiPhishingPhrase\";\nimport { PromisesGroup } from \"@/react-core/Async/PromisesGroup\";\nimport { EncryptedStaticDocumentClient } from \"@/Puma/Api/StaticDocuments/EncryptedStaticDocument\";\nimport { PumaLoginAntiPhishingClient } from \"@/Puma/Api/PumaLogin/PumaLoginAntiPhishing\";\nexport class AntiPhishingDataActionsCreator {\n static loadByUserName(userName, userType) {\n AntiPhishingDataActionsCreator.startLoading();\n const client = new PumaLoginAntiPhishingClient();\n client\n .get({ Username: userName, UserType: userType })\n .onSuccess(antiPhishingResult => {\n const client = new EncryptedStaticDocumentClient();\n const promise = client.get(antiPhishingResult.AntiPhishingImageEncryptedDocumentId);\n promise.onSuccess(imageDocument => {\n AntiPhishingDataActionsCreator.updateStoreOnSuccess({\n antiPhishingPhrase: antiPhishingResult.AntiPhishingPhrase,\n antiPhishingImageDocument: imageDocument\n });\n });\n });\n }\n static loadByPumaUserId(pumaUserId, userType) {\n AntiPhishingDataActionsCreator.startLoading();\n const client = new PumaLoginAntiPhishingClient();\n client\n .get({ PumaUserId: pumaUserId, UserType: userType })\n .onSuccess(antiPhishingResult => {\n const client = new EncryptedStaticDocumentClient();\n const promise = client.get(antiPhishingResult.AntiPhishingImageEncryptedDocumentId);\n promise.onSuccess(imageDocument => {\n AntiPhishingDataActionsCreator.updateStoreOnSuccess({\n antiPhishingPhrase: antiPhishingResult.AntiPhishingPhrase,\n antiPhishingImageDocument: imageDocument\n });\n });\n });\n }\n static loadRandom() {\n AntiPhishingDataActionsCreator.startLoading();\n const promisesGroup = new PromisesGroup();\n promisesGroup.addPromiseFunction(() => {\n const client = new RandomPumaAntiPhishingPhraseClient();\n return client.post();\n }, (phrase, currentResult) => currentResult.antiPhishingPhrase = phrase);\n promisesGroup.addPromiseFunction(() => {\n const client = new RandomAntiPhishingImageEncryptedStaticDocumentClient();\n return client.get();\n }, (imageDocuments, currentResult) => currentResult.antiPhishingImageDocument = imageDocuments[0]);\n promisesGroup.onSuccess(AntiPhishingDataActionsCreator.updateStoreOnSuccess);\n promisesGroup.run();\n }\n static updateImage(imageDocument) {\n const copiedData = Objects.cloneObject(AntiPhishingDataStore.getPayload());\n copiedData.antiPhishingImageDocument = imageDocument;\n AntiPhishingDataActionsCreator.updateStoreOnSuccess(copiedData);\n }\n static updatePhrase(phrase) {\n const copiedData = Objects.cloneObject(AntiPhishingDataStore.getPayload());\n copiedData.antiPhishingPhrase = phrase;\n AntiPhishingDataActionsCreator.updateStoreOnSuccess(copiedData);\n }\n static updateStoreOnSuccess(data) {\n AntiPhishingDataDispatcher.dispatch({ actionType: ActionType.Success, payload: data });\n }\n static startLoading() {\n AntiPhishingDataDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nexport const AntiPhishingPhrase = (props) => {\n return (React.createElement(\"div\", { className: \"memorable-phrase\" },\n React.createElement(\"div\", { className: \"memorable-phrase-body\" },\n React.createElement(\"span\", { className: \"text-wordbreak\" }, props.phrase))));\n};\n","import React from \"react\";\nexport const AntiPhishingImage = (props) => {\n return (React.createElement(\"img\", { className: \"block\", src: props.imageUrl, alt: props.displayName }));\n};\n","import React from \"react\";\nimport { AntiPhishingPhrase } from \"./AntiPhishingPhrase\";\nimport { AntiPhishingImage } from \"./AntiPhishingImage\";\nimport { Div } from \"@/react-core/Html/Div\";\nexport const AntiPhishingUI = (props) => {\n return (React.createElement(Div, null,\n React.createElement(\"h2\", { className: \"h3\" }, props.header),\n React.createElement(\"div\", { className: \"mb-24\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-6\" },\n React.createElement(AntiPhishingImage, { imageUrl: props.antiPhishingData.antiPhishingImageDocument && props.antiPhishingData.antiPhishingImageDocument.ExternalUrl, displayName: props.antiPhishingData.antiPhishingImageDocument && props.antiPhishingData.antiPhishingImageDocument.Document.DisplayName })),\n React.createElement(\"div\", { className: \"col-xs-6 col-equalise\" },\n React.createElement(AntiPhishingPhrase, { phrase: props.antiPhishingData.antiPhishingPhrase }))))));\n};\n","import React from \"react\";\nimport { AntiPhishingDataActionsCreator } from \"./../ActionsCreators/AntiPhishingDataActionsCreator\";\nimport { AntiPhishingUI } from \"./AntiPhishingUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AntiPhishingDataStore } from \"./../Stores/AntiPhishingDataStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class AntiPhishing extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(AntiPhishingDataStore, this.onAntiPhishingDataStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(AntiPhishingUI, { header: this.props.header, antiPhishingData: this.state.antiPhishingData })));\n }\n componentDidMount() {\n if (this.props.pumaUserId\n || this.props.userName) {\n this.loadAntiPhishingData(this.props);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.userName !== nextProps.userName\n || this.props.pumaUserId !== nextProps.pumaUserId\n || this.props.userType !== nextProps.userType) {\n this.loadAntiPhishingData(nextProps);\n }\n }\n onAntiPhishingDataStoreChange() {\n if (!AntiPhishingDataStore.isLoading()) {\n const antiPhishingData = AntiPhishingDataStore.getPayload();\n this.updateStatePart(x => {\n x.antiPhishingData = antiPhishingData;\n x.isLoading = this.isAnyStoreLoading();\n }, () => {\n if (this.props.onAntiPhishingDataChange) {\n this.props.onAntiPhishingDataChange(antiPhishingData);\n }\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = this.isAnyStoreLoading());\n }\n }\n loadAntiPhishingData(props) {\n if (props.pumaUserId !== null) {\n AntiPhishingDataActionsCreator.loadByPumaUserId(props.pumaUserId, props.userType);\n }\n else if (props.userName !== null) {\n AntiPhishingDataActionsCreator.loadByUserName(props.userName, props.userType);\n }\n }\n getDefaultState() {\n return {\n antiPhishingData: {\n antiPhishingImageDocument: {\n Document: {}\n }\n }\n };\n }\n bindPrivateMethods() {\n this.onAntiPhishingDataStoreChange = this.onAntiPhishingDataStoreChange.bind(this);\n this.loadAntiPhishingData = this.loadAntiPhishingData.bind(this);\n }\n}\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaConfirmationTokenVerificationErrors } from \"@/Wrap/Validation/Errors/Credentials/PumaConfirmationTokenVerificationErrors\";\nimport { PumaConfirmationTokenVerificationErrorsDictionary } from \"./../../Shared/Authentication/Shared/Entities/ErrorsDictionaries/PumaConfirmationTokenVerificationErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { Content as Content__alias1 } from \"./../../Shared/UserDetails/Resources/Content\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { UserSelectableAuthentication } from \"./../../Shared/Authentication/Combined/Components/UserSelectableAuthentication\";\nimport { AntiPhishing } from \"./../../Shared/AntiPhishing/Components/AntiPhishing\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Content } from \"./../Resources/Content\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { PasswordResetWizardStepType } from \"./../Entities/WizardStepper/PasswordResetWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class AuthenticationWizardSection extends FormComponent {\n _currentStepId = PasswordResetWizardStepType.Authentication;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const migrationDetailsLoaded = this.props.wizardData.resetTokenVerificationResult.User.MigrationDetails != null;\n const requiresMigration = migrationDetailsLoaded &&\n this.props.wizardData.resetTokenVerificationResult.User.MigrationDetails.IsMigrated\n && !this.props.wizardData.resetTokenVerificationResult.User.MigrationDetails.IsTransitionCompleted;\n let verificationMethod = AuthenticationMethod.NotSpecified;\n if (migrationDetailsLoaded) {\n if (requiresMigration) {\n verificationMethod = AuthenticationMethod.TransitionSecurityQuestion;\n }\n else {\n if (this.props.wizardData.pumaUserType === PumaUserType.Adviser) {\n verificationMethod = AuthenticationMethod.SecurityQuestion;\n }\n else {\n verificationMethod = AuthenticationMethod.Sms;\n }\n }\n }\n let pageTitle = null;\n if (this.props.wizardData.pumaUserType === PumaUserType.Customer) {\n pageTitle = Content.pageTitles.customer.passwordResetAuthentication;\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.resetPassword, pumaUserType: this.props.wizardData.pumaUserType, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: !this.state.userHasBeenLockedOutDuringProcess, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.navigateNext, pageTitle: pageTitle },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(AntiPhishing, { header: Content.authenticationWizardSection.yourMemorableImageAndPhrase, pumaUserId: this.props.wizardData.resetTokenVerificationResult.User.PumaUser.PumaUserId, userName: null, userType: this.props.wizardData.pumaUserType, onAntiPhishingDataChange: null }))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" }, verificationMethod !== AuthenticationMethod.NotSpecified &&\n React.createElement(UserSelectableAuthentication, { availableAuthenticationMethods: [verificationMethod], actionToConfirm: PumaConfirmationTokenSupportedAction.PumaUserPasswordReset, pumaUserId: this.props.wizardData.resetTokenVerificationResult.User.PumaUser.PumaUserId, tokenVerificationCode: this.state.verificationCode, onConfirmationTokenChange: this.props.onAuthenticationConfirmationTokenChange, onTokenVerificationCodeChange: this.updateVerificationCode }))))));\n }\n updateVerificationCode(verificationCode) {\n this.updateStatePart(x => x.verificationCode = verificationCode);\n }\n navigateNext() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.props.wizardData.authenticationConfirmationToken, { VerificationCode: this.state.verificationCode })\n .onSuccess((result) => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n return;\n }\n this.updateStatePart(x => {\n x.validationErrors = [\n Content__alias1.shared.invalidTokenVerificationCode.getByConfirmationToken(this.props.wizardData.authenticationConfirmationToken)\n ];\n x.isLoading = this.isAnyStoreLoading();\n });\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaConfirmationTokenVerificationErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = this.isAnyStoreLoading();\n x.userHasBeenLockedOutDuringProcess = errors.some(x => x.Error === PumaConfirmationTokenVerificationErrors.PumaUserHasBeenLockedOut);\n });\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n getDefaultState() {\n return {\n validationErrors: [],\n userHasBeenLockedOutDuringProcess: false\n };\n }\n bindPrivateMethods() {\n this.updateVerificationCode = this.updateVerificationCode.bind(this);\n this.navigateNext = this.navigateNext.bind(this);\n }\n}\n","export class WizardNavigator {\n static navigateToWizardStep(stepDefinition) {\n stepDefinition.onVisit();\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { WizardStepDefinitionsActionsDispatcher } from \"./../Stores/WizardStepDefinitionsStore\";\nexport class WizardStepDefinitionsActionsCreator {\n static update(wizardStepDefinitions) {\n WizardStepDefinitionsActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: wizardStepDefinitions });\n }\n}\n","import { RoutingActions } from \"@/react-core/Flux/Variables\";\nexport class Navigator {\n static navigateTo(routeFragment, navigationData = { scrollAfterNavigating: false, queryParamsObject: {} }) {\n const url = routeFragment.getUrl();\n const queryParameters = [];\n for (let queryParamName in navigationData.queryParamsObject) {\n const queryParamValue = navigationData.queryParamsObject[queryParamName];\n if (queryParamValue) {\n queryParameters.push(queryParamName + \"=\" + navigationData.queryParamsObject[queryParamName]);\n }\n }\n queryParameters.length > 0\n ? RoutingActions.navigateTo(url + \"?\" + queryParameters.join(\"&\"), navigationData.scrollAfterNavigating)\n : RoutingActions.navigateTo(url, navigationData.scrollAfterNavigating);\n }\n static navigateToAndPreserveQueryParameters(routeFragment, scrollAfterNavigating = true) {\n const url = routeFragment.getUrl();\n RoutingActions.navigateTo(url + window.location.search, scrollAfterNavigating);\n }\n}\n","import { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Urls } from \"./../../Urls\";\nimport { Content } from \"./../../Resources/Content\";\nimport { PasswordResetWizardStepType } from \"./PasswordResetWizardStepType\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { firstOrDefault, getNextItem, getPreviousItem } from \"@/react-core/Utils/Arrays\";\nexport class WizardStepsProvider {\n static getNextStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getNextItem(stepDefinitions, currentStep);\n }\n static getPreviousStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getPreviousItem(stepDefinitions, currentStep);\n }\n static getAllStepDefinitions(pumaUserType) {\n const stepDefinitions = [];\n stepDefinitions.push({\n id: PasswordResetWizardStepType.Authentication,\n title: pumaUserType === PumaUserType.Customer\n ? Content.wizardStepper.authenticationCode\n : Content.wizardStepper.securityQuestion,\n url: {\n routeFragment: Urls.get().authenticationSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: PasswordResetWizardStepType.PasswordReset,\n title: Content.wizardStepper.password,\n url: {\n routeFragment: Urls.get().passwordResetSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.map(x => {\n x.onVisit = () => Navigator.navigateToAndPreserveQueryParameters(x.url.routeFragment);\n });\n return stepDefinitions;\n }\n}\n","export var PumaEmailTokenType;\n(function (PumaEmailTokenType) {\n PumaEmailTokenType[PumaEmailTokenType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaEmailTokenType[PumaEmailTokenType[\"PasswordResetToken\"] = 1] = \"PasswordResetToken\";\n PumaEmailTokenType[PumaEmailTokenType[\"SecurityResetToken\"] = 2] = \"SecurityResetToken\";\n})(PumaEmailTokenType || (PumaEmailTokenType = {}));\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaEmailTokenVerificationActionsDispatcher = new Dispatcher();\nexport const PumaEmailTokenVerificationStore = new PayloadStore(PumaEmailTokenVerificationActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaEmailTokenVerificationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(token) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaEmailTokenVerification/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { token: token };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaEmailTokenVerificationActionsDispatcher } from \"./../Stores/PumaEmailTokenVerificationStore\";\nimport { PumaEmailTokenVerificationClient } from \"@/Puma/Api/Security/PumaEmailTokenVerification\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaEmailTokenVerificationActionsCreator extends Actions {\n static verify(token) {\n PumaEmailTokenVerificationActionsCreator.startLoading();\n const client = new PumaEmailTokenVerificationClient();\n return client\n .post(token)\n .onSuccess(PumaEmailTokenVerificationActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(result) {\n PumaEmailTokenVerificationActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: result });\n }\n static startLoading() {\n PumaEmailTokenVerificationActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { PublicLayout } from \"./PublicLayout\";\nexport const PublicWizardSiteLayout = (props) => {\n return (React.createElement(PublicLayout, { isForWizard: true }, props.children));\n};\n","import React from \"react\";\nimport { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { WizardNavigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/WizardNavigator\";\nimport { WizardStepDefinitionsActionsCreator } from \"./../../Shared/WizardSteppers/ActionsCreators/WizardStepDefinitionsActionsCreator\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { PumaEmailTokenType } from \"@/Puma/Site/Models/Security/EmailTokens/PumaEmailTokenType\";\nimport { PumaEmailTokenVerificationActionsCreator } from \"./../ActionsCreators/PumaEmailTokenVerificationActionsCreator\";\nimport { Urls } from \"./../Urls\";\nimport { Navigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { PublicWizardSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicWizardSiteLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaEmailTokenVerificationStore } from \"./../Stores/PumaEmailTokenVerificationStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nexport class Wizard extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n this.subscribeToStore(PumaEmailTokenVerificationStore, this.onPumaEmailTokenVerificationStoreChange);\n }\n render() {\n if (this.shouldRedirectToFirstSection()) {\n return React.createElement(\"div\", null);\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(PublicWizardSiteLayout, null, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n wizardData: {\n pumaUserType: this.props.pumaUserType,\n resetTokenVerificationResult: this.state.resetTokenVerificationResult,\n authenticationConfirmationToken: this.state.authenticationConfirmationToken\n },\n navigationActions: {\n navigateNext: this.navigateNext,\n navigateBack: this.navigateBack,\n cancel: this.cancelWizard,\n confirm: this.confirmWizard\n },\n onAuthenticationConfirmationTokenChange: this.updateAuthenticationConfirmationToken\n }))));\n }\n componentWillMount() {\n super.componentWillMount();\n if (this.shouldRedirectToFirstSection()) {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().authenticationSectionPage);\n }\n }\n componentDidMount() {\n PumaEmailTokenVerificationActionsCreator.verify({\n TokenValue: this.props.resetToken,\n TokenType: PumaEmailTokenType.PasswordResetToken\n });\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions(this.props.pumaUserType);\n this.updateStepDefinitions(stepDefinitions);\n }\n onPumaEmailTokenVerificationStoreChange() {\n if (!PumaEmailTokenVerificationStore.isLoading()) {\n const result = PumaEmailTokenVerificationStore.getPayload();\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationFailed) {\n this.updateStatePart(x => x.isLoading = false, () => {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().invalidTokenSectionPage);\n });\n return;\n }\n this.updateStatePart(x => {\n x.resetTokenVerificationResult = result;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n updateAuthenticationConfirmationToken(authenticationConfirmationToken) {\n this.updateStatePart(x => {\n x.authenticationConfirmationToken = authenticationConfirmationToken;\n });\n }\n updateStepDefinitions(stepDefinitions) {\n WizardStepDefinitionsActionsCreator.update(stepDefinitions);\n }\n navigateNext(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions(this.props.pumaUserType);\n const nextStep = WizardStepsProvider.getNextStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(nextStep);\n }\n navigateBack(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions(this.props.pumaUserType);\n const previousStep = WizardStepsProvider.getPreviousStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(previousStep);\n }\n cancelWizard() {\n const urlsHelper = new PasswordResetUrlsHelper();\n const loginUrl = this.props.pumaUserType === PumaUserType.Customer\n ? urlsHelper.getCustomerLoginUrl()\n : urlsHelper.getAdviserLoginUrl();\n window.location.assign(loginUrl);\n }\n confirmWizard() {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().successSectionPage);\n }\n shouldRedirectToFirstSection() {\n if (this.state.resetTokenVerificationResult.ResultStatus === PumaVerificationResultStatus.NotSpecified) {\n const activeUrl = NavigationStore.getActiveUrl();\n if (activeUrl.getFullRoutePath() !== Urls.get().authenticationSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().invalidTokenSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().getFullRoutePath()) {\n return true;\n }\n }\n return false;\n }\n getDefaultState() {\n return {\n resetTokenVerificationResult: {\n ResultStatus: PumaVerificationResultStatus.NotSpecified,\n User: {\n PumaUser: {}\n }\n },\n authenticationConfirmationToken: {\n encryptedPhoneNumber: {}\n }\n };\n }\n bindPrivateMethods() {\n this.updateStepDefinitions = this.updateStepDefinitions.bind(this);\n this.navigateBack = this.navigateBack.bind(this);\n this.navigateNext = this.navigateNext.bind(this);\n this.cancelWizard = this.cancelWizard.bind(this);\n this.confirmWizard = this.confirmWizard.bind(this);\n this.onPumaEmailTokenVerificationStoreChange = this.onPumaEmailTokenVerificationStoreChange.bind(this);\n this.updateAuthenticationConfirmationToken = this.updateAuthenticationConfirmationToken.bind(this);\n this.shouldRedirectToFirstSection = this.shouldRedirectToFirstSection.bind(this);\n }\n}\n","import React from \"react\";\nimport { Wizard } from \"./Components/Wizard\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Wizard, { pumaUserType: this.state.appModel.PumaUserType, resetToken: this.state.appModel.ResetToken }, this.props.children));\n }\n getDefaultState() {\n const appModel = $(\"[data-view-model]\").data(\"value\");\n return { appModel: appModel };\n }\n}\n","import { InvalidTokenWizardSection } from \"./Components/InvalidTokenWizardSection\";\nimport { SuccessWizardSection } from \"./Components/SuccessWizardSection\";\nimport { PasswordResetWizardSection } from \"./Components/PasswordResetWizardSection\";\nimport { AuthenticationWizardSection } from \"./Components/AuthenticationWizardSection\";\nimport { App } from \"./App\";\nimport { RootRoute } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, AuthenticationWizardSection);\n }\n authenticationSectionPage = this.createPage(\"authentication\", AuthenticationWizardSection);\n passwordResetSectionPage = this.createPage(\"passwordreset\", PasswordResetWizardSection);\n successSectionPage = this.createPage(\"success\", SuccessWizardSection);\n invalidTokenSectionPage = this.createPage(\"error\", InvalidTokenWizardSection);\n}\n","/* import React, { useEffect } from \"react\";\nimport { NavigationActions } from \"./../Flux/Variables\";\nimport { UrlHelper } from \"./UrlHelper\";\nimport {\n RootRoute,\n RouteFragment,\n ParametrizedRouteFragment,\n} from \"./RouteFragment\";\nimport { BrowserRouter, Redirect, Route, Switch, Router as R } from \"react-router-dom\";\n\nexport interface IRouteConfig extends React.ClassAttributes {\n rootRoute: RootRoute;\n}\n\nexport function NotFoundRoute() {\n useEffect(() => {\n window.location.replace(\"/PageNotFound.aspx\")\n }, [])\n\n return ;\n}\n\nexport function Router(props: IRouteConfig) {\n const routes = buildRoute(\n props.rootRoute,\n );\n console.log(props.rootRoute);\n return (\n \n \n {routes}\n \n \n \n )\n}\n\nfunction buildRoute(\n config: RouteFragment\n): JSX.Element[] {\n const rootUrl = UrlHelper.getRootRouteUrlWithoutSlash();\n\n return [\n getComponentRoute(config, rootUrl),\n getIndexRoute(config)\n ].concat(\n getChildRoutes(config, rootUrl)\n ).filter((val) => val);\n}\n\nfunction getIndexRoute(config: RouteFragment): JSX.Element {\n let indexRoute: JSX.Element;\n const url = UrlHelper.getRootRouteDataAttributeValue() + (config.getRoute() !== UrlHelper.getRootRouteUrlWithoutSlash() ? config.getRoute() : \"\");\n if (config.indexComponent) {\n indexRoute = (\n \n );\n }\n if (config.indexRedirectUrl) {\n indexRoute = ;\n }\n return indexRoute;\n}\n\nfunction getChildRoutes(config: RouteFragment, path?: string): JSX.Element[] {\n let childRoutes: JSX.Element[];\n if (\n config.children &&\n config.children.length &&\n config.children.length >= 1\n ) {\n for (let i = 0; i < config.children.length; i++) {\n childRoutes = [\n getComponentRoute(config.children[i], config.children[i].getFullRoutePath()),\n getIndexRoute(config.children[i])\n ].concat(\n getChildRoutes(config.children[i], config.children[i].getFullRoutePath())\n );\n }\n }\n return childRoutes;\n}\n\nfunction getComponentRoute(config: RouteFragment, path: string): JSX.Element {\n if (config.indexComponent) {\n return (\n \n {getIndexRoute(config)}\n \n )\n }\n return (\n \n )\n}\n\n*/\nimport React from \"react\";\nimport { ParametrizedRouteFragment } from \"./RouteFragment\";\nimport { Router as Router_Alias, Route, IndexRoute, IndexRedirect, browserHistory } from \"react-router\";\nimport { UrlHelper } from \"./UrlHelper\";\nimport { NavigationActions } from \"../Flux/Variables\";\nexport class Router extends React.Component {\n render() {\n const routes = this.buildRoute(this.props.rootRoute, () => UrlHelper.getRootRouteUrlWithoutSlash());\n return (React.createElement(Router_Alias, { history: browserHistory, onError: (error) => console.warn(\"Routing.Router: error in routing\", error) },\n routes,\n React.createElement(Route, { path: \"*\", onEnter: () => window.location.replace(\"/PageNotFound.aspx\") })));\n }\n buildRoute(config, pathFunction) {\n if (!config) {\n return null;\n }\n let childRoutes = [];\n let indexRoute = null;\n if (config.children &&\n config.children.length &&\n config.children.length >= 1) {\n for (let i = 0; i < config.children.length; i++) {\n childRoutes.push(this.buildRoute(config.children[i], (routeConfig) => routeConfig.getRoute()));\n }\n }\n if (config.indexComponent) {\n indexRoute = (React.createElement(IndexRoute, { component: config.indexComponent }));\n }\n if (config.indexRedirectUrl) {\n indexRoute = (React.createElement(IndexRedirect, { to: config.indexRedirectUrl }));\n }\n var onEnter = () => {\n NavigationActions.enter(config);\n };\n var onLeave = () => {\n NavigationActions.enter(config.parent);\n };\n if (config instanceof ParametrizedRouteFragment) {\n if (config.getOnEnterCallbacks()) {\n onEnter = (newState) => {\n config\n .getOnEnterCallbacks()\n .forEach((x) => x(newState.params));\n NavigationActions.enter(config);\n };\n }\n }\n return (React.createElement(Route, { path: pathFunction(config), key: pathFunction(config), component: config.component, onEnter: onEnter, onLeave: onLeave },\n indexRoute,\n childRoutes));\n }\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Router extends BaseComponent {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export var PumaUserLoginAntiPhishingAmendmentErrors;\n(function (PumaUserLoginAntiPhishingAmendmentErrors) {\n PumaUserLoginAntiPhishingAmendmentErrors[PumaUserLoginAntiPhishingAmendmentErrors[\"OneTimeTokenIsInvalid\"] = 0] = \"OneTimeTokenIsInvalid\";\n PumaUserLoginAntiPhishingAmendmentErrors[PumaUserLoginAntiPhishingAmendmentErrors[\"PumaUserIdInvalid\"] = 1] = \"PumaUserIdInvalid\";\n})(PumaUserLoginAntiPhishingAmendmentErrors || (PumaUserLoginAntiPhishingAmendmentErrors = {}));\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserLoginAntiPhishingAmendmentErrors } from \"@/Wrap/Validation/Errors/Security/AntiPhishing/PumaUserLoginAntiPhishingAmendmentErrors\";\nexport class PumaUserLoginAntiPhishingAmendmentErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserLoginAntiPhishingAmendmentErrors.OneTimeTokenIsInvalid, Content.antiPhishing.validation.yourAuthorisationHasExpired);\n map.set(PumaUserLoginAntiPhishingAmendmentErrors.PumaUserIdInvalid, Content.antiPhishing.validation.pumaUserIdInvalid);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaWarmRegistrationSecurityCodeStateClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(firstCode, secondCode, pumaUserOnboardingId) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaWarmRegistrationSecurityCodeState/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { firstCode: firstCode, secondCode: secondCode, pumaUserOnboardingId: pumaUserOnboardingId };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaWarmRegistrationSecurityCodeStateClient } from \"@/Puma/Api/Onboarding/PumaWarmRegistrationSecurityCodeState\";\nexport class PumaWarmRegistrationSecurityCodeStateActionsCreator {\n static SetCodeUsed(firstCode, secondCode, requestId) {\n const client = new PumaWarmRegistrationSecurityCodeStateClient();\n var pumaUserOnboardingId = requestId !== null ? requestId : \"0\";\n return client.post(firstCode, secondCode, requestId);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaUserAntiPhishingAmendmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(onboardingId, request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaUserAntiPhishingAmendment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { onboardingId: onboardingId, request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","export class Content {\n static common = {\n pickOneOfTheSecurityImagesBelow: \"Pick one of the memorable pictures below\",\n enterAntiPhishingPhrase: \"Enter a memorable phrase\",\n antiPhishingPhrasePlaceholder: \"A phrase that is displayed when you sign in\",\n pleaseSelectAntiPhishingImage: \"You will need to select an image before confirming\",\n antiPhishingPhraseLengthNotValid: \"You will need to select a phrase that has from 4 to 100 characters\",\n pleaseSelectAntiPhishingPhrase: \"You will need to select an anti-phishing phrase before confirming\",\n memorablePicture: \"Memorable picture\",\n memorablePhrase: \"Memorable phrase\",\n pickMyOwn: \"Pick my own\",\n ok: \"Ok\"\n };\n}\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../Resources/Content\";\nexport const AntiPhishingPhrasePicker = (props) => {\n return (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"h3\", null, Content.common.enterAntiPhishingPhrase),\n React.createElement(TextBoxEditor, { large: true, value: props.phrase, required: Content.common.pleaseSelectAntiPhishingPhrase, placeholder: Content.common.antiPhishingPhrasePlaceholder, maxLengthValidation: { value: 100, errorMessage: Content.common.antiPhishingPhraseLengthNotValid }, minLengthValidation: { value: 4, errorMessage: Content.common.antiPhishingPhraseLengthNotValid }, onChange: props.onPhraseChange }))));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { AntiPhishingPhrasePicker } from \"./AntiPhishingPhrasePicker\";\nimport { Content } from \"./../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class IAntiPhishingPhrasePickerLightboxState {\n selectedPhrase;\n}\nexport class AntiPhishingPhrasePickerLightbox extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Lightbox, { show: this.props.isOpened, onClose: this.props.onClose },\n React.createElement(Form, { onSubmit: this.confirmSelectedPhrase },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(\"h1\", null, Content.common.memorablePhrase),\n React.createElement(AntiPhishingPhrasePicker, { phrase: this.state.selectedPhrase, onPhraseChange: phrase => this.updateStatePart(x => x.selectedPhrase = phrase) }),\n React.createElement(Button, { type: \"submit\", className: \"btn primary\" }, Content.common.ok)))));\n }\n confirmSelectedPhrase() {\n if (this.isValid()) {\n const selectedPhrase = this.state.selectedPhrase;\n this.updateStatePart(x => x.selectedPhrase = null, () => this.props.onSelectedPhraseConfirmed(selectedPhrase));\n }\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.confirmSelectedPhrase = this.confirmSelectedPhrase.bind(this);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaAntiPhishingImagesDispatcher = new Dispatcher();\nexport const PumaAntiPhishingImagesStore = new PayloadStore(PumaAntiPhishingImagesDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class RandomAntiPhishingImageEncryptedStaticDocumentsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/StaticDocuments/RandomAntiPhishingImageEncryptedStaticDocuments/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaAntiPhishingImagesDispatcher } from \"./../Stores/PumaAntiPhishingImagesStore\";\nimport { RandomAntiPhishingImageEncryptedStaticDocumentsClient } from \"@/Puma/Api/StaticDocuments/RandomAntiPhishingImageEncryptedStaticDocuments\";\nexport class PumaAntiPhishingImagesActionsCreator {\n static load() {\n const client = new RandomAntiPhishingImageEncryptedStaticDocumentsClient();\n PumaAntiPhishingImagesActionsCreator.startLoading();\n client.get().onSuccess(PumaAntiPhishingImagesActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(images) {\n PumaAntiPhishingImagesDispatcher.dispatch({ actionType: ActionType.Success, payload: images });\n }\n static startLoading() {\n PumaAntiPhishingImagesDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { PumaAntiPhishingImagesActionsCreator } from \"./../ActionsCreators/PumaAntiPhishingImagesActionsCreator\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaAntiPhishingImagesStore } from \"./../Stores/PumaAntiPhishingImagesStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class AntiPhishingImagePicker extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaAntiPhishingImagesStore, this.onPumaAntiPhishingImagesStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"h3\", null, Content.common.pickOneOfTheSecurityImagesBelow),\n React.createElement(ValidationErrorsContainer, { isServerError: false, validationErrors: this.state.validationErrors }),\n React.createElement(\"div\", { className: \"asset-antiphishing-selector\" }, this.state.images.map(image => {\n const cssClassNames = classNames(\"item\", { \"selected\": this.props.selectedEncryptedImageDocumentId === image.Document.EncryptedDocumentId });\n return (React.createElement(Button, { key: image.Document.EncryptedDocumentId, className: cssClassNames, onClick: () => this.props.onSelectedEncryptedImageDocumentChange(image) },\n React.createElement(\"img\", { className: \"block\", src: image.ExternalUrl, alt: image.Document.DisplayName })));\n }))))));\n }\n componentDidMount() {\n PumaAntiPhishingImagesActionsCreator.load();\n }\n isValid() {\n const validationErrors = this.validate();\n if (validationErrors.length > 0) {\n this.updateStatePart(x => x.validationErrors = validationErrors);\n }\n return validationErrors.length <= 0;\n }\n validate() {\n if (!this.props.selectedEncryptedImageDocumentId) {\n return [Content.common.pleaseSelectAntiPhishingImage];\n }\n return [];\n }\n onPumaAntiPhishingImagesStoreChange() {\n if (!PumaAntiPhishingImagesStore.isLoading()) {\n this.updateStatePart(x => {\n x.images = PumaAntiPhishingImagesStore.getPayload() || [];\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n images: []\n };\n }\n bindPrivateMethods() {\n this.onPumaAntiPhishingImagesStoreChange = this.onPumaAntiPhishingImagesStoreChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { AntiPhishingImagePicker } from \"./AntiPhishingImagePicker\";\nimport { Content } from \"./../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class IAntiPhishingImagePickerLightboxState {\n selectedImageDocument;\n}\nexport class AntiPhishingImagePickerLightbox extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Lightbox, { show: this.props.isOpened, onClose: this.props.onClose },\n React.createElement(Form, { onSubmit: this.confirmSelectedImage },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(\"h1\", null, Content.common.memorablePicture),\n React.createElement(AntiPhishingImagePicker, { selectedEncryptedImageDocumentId: this.state.selectedImageDocument\n ? this.state.selectedImageDocument.Document.EncryptedDocumentId\n : null, onSelectedEncryptedImageDocumentChange: document => this.updateStatePart(x => x.selectedImageDocument = document) }),\n React.createElement(Button, { type: \"submit\", className: \"btn primary\" }, Content.common.ok)))));\n }\n confirmSelectedImage() {\n if (this.isValid()) {\n const selectedImageDocument = this.state.selectedImageDocument;\n this.updateStatePart(x => x.selectedImageDocument = null, () => this.props.onSelectedEncryptedImageDocumentChangeConfirmed(selectedImageDocument));\n }\n }\n getDefaultState() {\n return {\n selectedImageDocument: null\n };\n }\n bindPrivateMethods() {\n this.confirmSelectedImage = this.confirmSelectedImage.bind(this);\n }\n}\n","import React from \"react\";\nimport { AntiPhishingDataActionsCreator } from \"./../ActionsCreators/AntiPhishingDataActionsCreator\";\nimport { AntiPhishingPhrasePickerLightbox } from \"./AntiPhishingPhrasePickerLightbox\";\nimport { AntiPhishingImagePickerLightbox } from \"./AntiPhishingImagePickerLightbox\";\nimport { AntiPhishingPhrase } from \"./AntiPhishingPhrase\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { AntiPhishingImage } from \"./AntiPhishingImage\";\nimport { Content } from \"./../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AntiPhishingDataStore } from \"./../Stores/AntiPhishingDataStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class AnonymousAntiPhishing extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(AntiPhishingDataStore, this.onAntiPhishingDataStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"div\", { className: \"mb-48\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-6\" },\n React.createElement(\"h2\", { className: \"mb-8 h3\" }, Content.common.memorablePicture),\n React.createElement(AntiPhishingImage, { imageUrl: this.props.antiPhishingData.antiPhishingImageDocument.ExternalUrl, displayName: this.props.antiPhishingData.antiPhishingImageDocument.Document.DisplayName }),\n this.props.allowUserPickOwnImageAndPhrase &&\n React.createElement(Button, { className: \"hyperlink\", onClick: () => this.updateStatePart(x => x.isImagePickerLightboxOpened = true) }, Content.common.pickMyOwn)),\n React.createElement(\"div\", { className: \"col-xs-6\" },\n React.createElement(\"h2\", { className: \"mb-8 h3\" }, Content.common.memorablePhrase),\n React.createElement(AntiPhishingPhrase, { phrase: this.props.antiPhishingData.antiPhishingPhrase }),\n this.props.allowUserPickOwnImageAndPhrase &&\n React.createElement(Button, { className: \"hyperlink\", onClick: () => this.updateStatePart(x => x.isPhrasePickerLightboxOpened = true) }, Content.common.pickMyOwn))),\n React.createElement(AntiPhishingImagePickerLightbox, { isOpened: this.state.isImagePickerLightboxOpened, onClose: () => this.updateStatePart(x => x.isImagePickerLightboxOpened = false), onSelectedEncryptedImageDocumentChangeConfirmed: this.confirmImageChange }),\n React.createElement(AntiPhishingPhrasePickerLightbox, { isOpened: this.state.isPhrasePickerLightboxOpened, onClose: () => this.updateStatePart(x => x.isPhrasePickerLightboxOpened = false), onSelectedPhraseConfirmed: this.confirmPhraseChange }))));\n }\n componentDidMount() {\n if (!this.props.antiPhishingData.antiPhishingImageDocument.Document.EncryptedDocumentId\n || !this.props.antiPhishingData.antiPhishingPhrase) {\n AntiPhishingDataActionsCreator.loadRandom();\n }\n }\n confirmImageChange(imageDocument) {\n this.updateStatePart(x => {\n x.isImagePickerLightboxOpened = false;\n }, () => AntiPhishingDataActionsCreator.updateImage(imageDocument));\n }\n confirmPhraseChange(phrase) {\n this.updateStatePart(x => {\n x.isPhrasePickerLightboxOpened = false;\n }, () => AntiPhishingDataActionsCreator.updatePhrase(phrase));\n }\n onAntiPhishingDataStoreChange() {\n if (!AntiPhishingDataStore.isLoading()) {\n const antiPhishingData = AntiPhishingDataStore.getPayload();\n this.updateStatePart(x => {\n x.isLoading = this.isAnyStoreLoading();\n }, () => this.props.onAntiPhishingDataChange(antiPhishingData));\n }\n else {\n this.updateStatePart(x => x.isLoading = this.isAnyStoreLoading());\n }\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.onAntiPhishingDataStoreChange = this.onAntiPhishingDataStoreChange.bind(this);\n this.confirmImageChange = this.confirmImageChange.bind(this);\n this.confirmPhraseChange = this.confirmPhraseChange.bind(this);\n }\n}\n","export class Content {\n static home = {\n pageHeading: \"Welcome to your Customer Centre\",\n perex: \"This is a site-wide change. All references to our 'platform' for Customer should be changed to 'online Customer Centre'.\",\n sectionHeading: \"Before you start\",\n pleaseHaveIdentificationToHand: \"Please have one of the following forms of identification to hand.\",\n ifYouDoNotHaveIdentification: \"If you don't have any of these we'll need to verify your identity manually.\",\n learnMore: \"Learn more\",\n learnMoreCopy: \"If you don't have any of the forms of identification, you will be prompted to contact us at the end of this process so we can verify your identity manually.\",\n your: \"Your\"\n };\n static identificationMethods = {\n ukDrivingLicence: \"Your UK driving licence\",\n ukDrivingLicenceFurtherInfo: \" (excluding Northern Ireland)\",\n ukPassport: \"Your UK Passport\",\n ukPassportFurtherInfo: \"(valid and up to date)\",\n electricityBill: \"Your electricity bill\",\n electricityBillFurtherInfo: \"(addressed to a UK property)\"\n };\n static common = {\n learnMore: \"Learn more\",\n learnMoreCopy: \"The information entered is only used to validate your identity and for no other purpose. The check that is carried out is not a credit check and does not affect your credit rating. All personal information that is collected, held and used complies with the Data Protection Act 1998. If you have any questions about this check, please contact us and someone in our team will be happy to help.\",\n start: \"Start\",\n accountRegistration: \"Account registration\",\n thankYouForYourInformation: \"Thank you for your information\"\n };\n static availableOptions = {\n pumaIdentityVerificationDocumentType: {\n drivingLicence: \"Driving licence\",\n passport: \"Passport\",\n electricBill: \"Electric bill\"\n }\n };\n static wizardStepper = {\n progress: \"Progress\",\n personalDetails: \"Personal details\",\n accountMatched: \"Account matched\",\n verificationOfIdentity: \"Verification of identity\",\n userNameAndPassword: \"Username & password\",\n extraSecurity: \"Extra security\",\n activateYourAccount: \"Activate your account\",\n VerifyYourEmail: \"4. Verify your email and mobile number\",\n getStarted: \"1. Get started\",\n unlockAccount: \"2. Unlock your account\",\n warmuserNameAndPassword: \"3. Set username and password\",\n extraSecurityForWarm: \"5. Extra security\"\n };\n static wizard = {\n personalDetails: {\n personalDetails: \"Personal details\",\n firstName: \"First name\",\n surname: \"Surname\",\n dateOfBirth: \"Date of birth\",\n date: \"Date\",\n month: \"Month\",\n year: \"Year\",\n addressDetails: \"Address details\",\n addressSearchPlaceholder: \"Start typing address or postcode...\",\n manuallyEnterAddress: \"+ Or manually enter address\",\n addressNote: \"Please note that we can only accept your residential address. Please don't enter a 'care of' address, a PO Box or your financial adviser's address.\",\n phoneNumber: \"Phone number\",\n mfaExplanation: \"For your security, during your registration we will send a registration code to your phone which you’ll then need to enter later in this process. Please provide one or both of your mobile and home phone numbers and then pick which one you want us to send the code to. We recommend using a mobile phone but if you choose your home number then the message containing the code will be read out to you in a short automated phone call. For the best experience, we strongly recommend you use your mobile phone to receive the security codes.\",\n mobilePhoneNumber: \"Mobile phone number\",\n homePhoneNumber: \"Home phone number\",\n sendMyCodeToThisPhone: \"Send my code to this phone\",\n sendMyCodeToMobilePhone: \"Send my code to mobile phone\",\n sendMyCodeToHomePhone: \"Send my code to home phone\",\n emailAddress: \"Email address\",\n confirmEmailAddress: \"Confirm email address\",\n firstNameIsMandatory: \"First name is mandatory\",\n firstNameHasWrongFormat: \"Enter valid first name\",\n surnameIsMandatory: \"Surname is mandatory\",\n surnameHasWrongFormat: \"Enter valid surname\",\n dateOfBirthMandatory: \"Date of birth is mandatory\",\n dateOfBirthMustBeInPast: \"Date of birth cannot be in present or future\",\n userMustBeAtLeast18: \"You must be 18 or older\",\n mobilePhoneNumberHasWrongFormat: \"Please, provide mobile phone number in an international format, i.e. +442079460954\",\n homePhoneNumberHasWrongFormat: \"Please, provide home phone number in an international format, i.e. +442079460954\",\n emailAddressHasWrongFormat: \"Enter valid email address\",\n emailAddressIsMandatory: \"Email address is mandatory\",\n confirmEmailAddressIsMandatory: \"Please confirm the email address\",\n confirmEmailAddressDoesNotMatchEmailAddres: \"The email addresses you have entered do not match. Please try again.\",\n addressIsMandatory: \"Address is mandatory\",\n addressLookupFailedMessage: \"Address lookup failed. Try again or enter the address below\",\n eitherMobileOrHomePhoneNumberIsMandatory: \"Please provide mobile or home phone number\",\n mfaIsMandatory: \"Please pick phone number to which authorisation code should be sent\",\n mfaNumberIsMandatory: \"Phone number, that should be used for sending authorisation code must be entered\",\n phoneNumbersMustBeDifferent: \"Mobile and home phone number must be different\"\n },\n identityVerification: {\n verificationOfIdentity: \"Verification of identity\",\n verificationOfIdentityExplanation: \"In order to comply with regulations and to protect your data, we will check your identity through a third party service.\",\n pleaseSelectDocument: \"Please select which document you would like to use to verify your identity.\",\n doNotHaveAnyFormOfIdentification: \"I don't have any of the forms of identification. I understand that I'll need to contact Quilter in order to verify my identity at the end of this registration process.\",\n drivingLicence: \"Driving licence\",\n ukDrivingLicence: \"UK driving licence\",\n licenceNumber: \"Licence number\",\n passport: \"Passport\",\n ukPassport: \"UK Passport\",\n passportNumber: \"Passport number\",\n electricBill: \"Electric bill\",\n verificationDocumentIsMandatory: \"Verification document is mandatory\",\n noFormOfIdentification: \"I don't have any of the forms of identification. I understand that I'll need to contact Quilter in order to verify my identity at the end of this registration process.\",\n valueMustBeAlphaNumeric: \"Value must be alphanumeric\",\n valueMustBeNumeric: \"Value must be numeric\",\n valueMustBeAlpha: \"Value must contain only letters\",\n invalidLengthOneCharacter: \"Value must have 1 character\",\n invalidLength_length: \"Value must have {0} characters\",\n drivingLicenceAlt: \"Your driving license number\",\n passportAlt: \"Your machine readable passport number, found at the bottom of the passport identity page.\",\n electricityBillAlt: \"Your electricity supply number, found on your electricity bill\"\n },\n credentials: {\n createYourUserName: \"Create your username\",\n userNameFormatExplanation: \"Your username must contain at least six characters\",\n userName: \"Username\",\n userNameIsMandatory: \"User name is mandatory\",\n userNameHasWrongFormat: \"You must enter a valid username\",\n userNameLengthValidationMessage: \"Please enter username which length is between 6 and 35 characters\",\n createYourPassword: \"Create your password\",\n userNameMustBeDifferentFromOtherSecurityItems: \"Username must be different from password and anti-phishing phrase\",\n passwordMustNotContainOtherSecurityItems: \"Password must not contain username and anti-phishing phrase\",\n passwordMustNotContainFirstNameAndSurname: \"Password must not contain first name or surname.\"\n },\n antiPhishing: {\n securityIsImportantToUs: \"Your security is really important to us.\",\n antiPhishingExplanation: \"As an extra security measure to help keep you safe each time you log in, we’ll show you a memorable picture and phrase to prove you’re on our platform before you enter your password.\",\n useDefaultOrPickOwn: \"You can use the picture and phrase we've provided or pick your own.\",\n antiPhishingPhraseMutBeDifferentFromOtherSecurityItems: \"Anti-phishing phrase must be different from username and password\",\n learnMoreCopy: \"The memorable picture and phrase are an added security measure to assure you that the site is a genuine Quilter site. If you do not see this image whenever you sign in, please do not proceed but contact us immediately.\"\n },\n accountActivation: {\n emailConfirmationMessage_Email: \"We've sent an activation email to {0}. Please click the link in this email to activate your account.\",\n phoneConfirmationMessage_PhoneNumber: \"When you click the link, a registration page displaying your memorable picture and phrase will open. At the same time, we’ll send a registration code to your phone {0}. You’ll need to enter this code and then you should be all set. If we need to check anything else with you then we’ll let you know.\",\n phoneConfirmationMessage_PhoneNumberPart1: \"When you click the link, a registration page displaying your memorable picture and phrase will open. At the same time, we’ll send a registration code to your phone \",\n phoneConfirmationMessage_PhoneNumberPart2: \". You’ll need to enter this code and then you should be all set. If we need to check anything else with you then we’ll let you know.\",\n backToHome: \"Back to our website\",\n numberEnding: \"number ending \",\n yourMemorableImageandPhrase: \"Your memorable picture and phrase\",\n emailVerifiedSmsSentMessage_PhoneNumber: \"Your email has been verified. We have just sent you an authorisation code via SMS to {0}\",\n emailVerifiedSmsSentMessage_PhoneNumberPart1: \"Your email has been verified. We have just sent you an authorisation code via SMS to \",\n enterSmsAuthCode: \"Please enter the code below and click 'Next'.\",\n smsAuthenticationFailed: \"The code may have expired or be incorrect. Please check and, if you need to, request a new code by using the link at the bottom of this page.\",\n activationTokenExpired: \"Your activation token has expired. Do you want us to send you a new one?\",\n activationTokenExpiredDueToVerificationAttemptsExceeded: \"For your security, we have expired your activation token as your sms authorisation code has been entered incorrectly five times in a row. Do you want us to sent you a new one?\",\n activationTokenResent: \"We have resent activation token to email address you used during registration process.\",\n resend: \"Resend\",\n registrationAlreadyCompletedMessage: \"You have already completed registration process. Please proceed to login screen to access the site.\",\n login: \"Login\"\n },\n success: {\n successHeading: \"Registration successful\",\n successMessage: \"You're now registered to use our online customer centre and you can login below.\",\n successMessageEmail_EmailAddress: \"We've sent a confirmation email to {0}\",\n successButtonLabel: \"Login\",\n nearlyThereHeading: \"Your registration is almost complete\",\n nearlyThereButtonLabel: \"Back to our website\"\n }\n };\n static validation = {\n emailVerificationTokenHasExpired: \"Your email verification token has expired\",\n passwordRequirementsWereNotMet: \"Your password either does not meet one or more requirements or contains a restricted word. Please try a different password. The password must not contain your first name, your surname, or any parts of your username. It must contain at least 8 characters, including at least one uppercase letter, at least one lower case letter and a number.\",\n pumaSmsAuthenticationPhoneNumberHasInvalidFormat: \"Phone number you want to use for sending authentication codes does not have valid format\",\n authenticationCodeIsNotValid: \"Authentication code is not valid\",\n usernameAlreadyExists: \"The username you have chosen already exists. Please choose a different username.\",\n usernameContainsInvalidCharacters: \"Selected username contains some invalid characters\",\n genericValidationFailure: \"User data validation was not successful. Please review information entered in previous steps.\",\n numbericOnly: \"Please only input numbers for the first code\",\n alphabetical: \"Please only input letters for the second code\",\n nino: \"This National Insurance number is not in a valid format.\\nPlease ensure you have entered your National Insurance number correctly\",\n requiredParameter: \"Required parameter was not given\",\n invalidDates: \"Date parameters are not valid\",\n };\n static pageTitles = {\n welcome: \"Before you start | Account Registration | Quilter Customer Centre\",\n personalDetails: \"Personal details | Account Registration | Quilter Customer Centre\",\n identityVerification: \"Identity verification | Account Registration | Quilter Customer Centre\",\n credentials: \"Credentials | Account Registration | Quilter Customer Centre\",\n antiphishing: \"Antiphishing | Account Registration | Quilter Customer Centre\",\n accountActivation: \"Account activation | Account Registration | Quilter Customer Centre\",\n success: \"Success | Account Registration | Quilter Customer Centre\",\n emailVerification: \"Verify your email | Account Registration | Quilter Customer Centre\",\n getStarted: \"Get started | Account Registration | Quilter Customer Centre\",\n unlockAccount: \"Unlock your account | Account Registration | Quilter Customer Centre\",\n extraSecurity: \"Extra Security | Account Registration | Quilter Customer Centre\",\n congratulations: \"Congratulations | Account Registration | Quilter Customer Centre\"\n };\n static warmWizard = {\n securityCodeWizard: {\n terms: \"Quilter Terms of Use.\",\n acceptAgreement: \"In order to continue you will need to accept Quilter's Online Service Agreement.\",\n viewTerms: \"View terms and conditions\",\n externalLink: \"External link, opens a new window\",\n acceptTerms: \"ACCEPT TERMS AND CONDITIONS\",\n infoAlert: \"Info alert\",\n invalidCodeMessage: \"This code is invalid.\",\n ensureInfo: \"Please ensure that you have entered the information correctly.\",\n needHelpRemind: \"If you are experiencing difficulty please view the Need Help? content\",\n inputCodeRemind: \"Please input all parts of the code\",\n codeBlock: \"Your code is blocked\",\n toContinue: \"To continue with your registration you will need to contact Quilter:\",\n acountUsed: \"This account has been used\",\n codeUsed: \"The code has already been used for a completed registration.\",\n loginInfo: \"If you already registered please log in. If you still need help contact Quilter.\",\n loginButonText: \"LOG IN\",\n contact: \"Contact Quilter\",\n codeExpiredMsg: \"This code has expired\",\n choose: \"You can either choose to:\",\n sendCodePost: \"Send new codes to be posted(allow up to 10 working days)\",\n registerNoCode: \"Register without the codes(you will need your driving license or passport)\",\n newCodeButton: \"SEND NEW CODES\",\n registerWithoutCodes: \"REGISTER WITHOUT CODES\",\n newCodeSentMsg: \"New codes have been sent\",\n newCodeGenerateMsg: \"New codes have been generated for you and should be with you in the next 10 working days\",\n problem: \"There has been a problem\",\n systemError: \" Due to a system error no new codes were generated\",\n retrySendCode: \"Retry sending new codes to be posted (allow up to 10 working days)\",\n registerWithoutCode: \"Register without the codes (you will need your driving license or passport)\",\n retrySendNewCode: \"RETRY SENDING NEW CODES\",\n codeBlockedMsg: \"This code is blocked. Code has been blocked after multiple attempts, please contact us\",\n ninoNotMatch: \"This National Insurance number does not match.\",\n ninoNotMatchDetail: \"This does not match the number we hold for you.Please ensure you have entered your National Insurance number correctly.If you believe it is correct, please contact us\",\n acountNotMatch: \"This account number does not match.\",\n acountNotMatchContact: \"This does not match the account number we hold for you. Please ensure you have entered your account number correctly. If you believe it is correct, please contact us\",\n noAccountNo: \"Please enter the account number\"\n }\n };\n}\n","export var CustomerRegistrationWizardStepperId;\n(function (CustomerRegistrationWizardStepperId) {\n CustomerRegistrationWizardStepperId[\"NotSpecified\"] = \"NotSpecified\";\n CustomerRegistrationWizardStepperId[\"Top\"] = \"Top\";\n CustomerRegistrationWizardStepperId[\"Side\"] = \"Side\";\n})(CustomerRegistrationWizardStepperId || (CustomerRegistrationWizardStepperId = {}));\n","import React from \"react\";\nimport { CustomerHelpSection } from \"./../../../Shared/Common/Components/Layout/Shared/HelpSections/CustomerHelpSection\";\nimport { DetailedSideWizardStepperUI } from \"./../../../Shared/WizardSteppers/Components/DetailedSideWizardStepperUI\";\nimport { Content } from \"./../../Resources/Content\";\nimport { TopWizardStepperUI } from \"./../../../Shared/WizardSteppers/Components/TopWizardStepperUI\";\nimport { CustomerRegistrationWizardStepperId } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepperId\";\nimport { WizardSectionLayout as WizardSectionLayout__alias1 } from \"./../../../Shared/WizardSteppers/OMW/Components/WizardSectionLayout\";\nexport const WizardSectionLayout = (props) => {\n return (React.createElement(WizardSectionLayout__alias1, { ...props, topStepperId: CustomerRegistrationWizardStepperId.Top, topStepperUI: TopWizardStepperUI, sideStepperHeader: Content.wizardStepper.progress, sideStepperId: CustomerRegistrationWizardStepperId.Side, sideStepperUI: DetailedSideWizardStepperUI, sidePanelHeader: null, helpSection: CustomerHelpSection }));\n};\n","export var CustomerRegistrationWizardStepType;\n(function (CustomerRegistrationWizardStepType) {\n CustomerRegistrationWizardStepType[\"NotSpecified\"] = \"NotSpecified\";\n CustomerRegistrationWizardStepType[\"PersonalDetails\"] = \"PersonalDetails\";\n CustomerRegistrationWizardStepType[\"VerificationOfIdentity\"] = \"VerificationOfIdentity\";\n CustomerRegistrationWizardStepType[\"Credentials\"] = \"Credentials\";\n CustomerRegistrationWizardStepType[\"AntiPhishing\"] = \"AntiPhishing\";\n CustomerRegistrationWizardStepType[\"AccountActivation\"] = \"AccountActivation\";\n CustomerRegistrationWizardStepType[\"EmailVerification\"] = \"EmailVerification\";\n CustomerRegistrationWizardStepType[\"GetStarted\"] = \"GetStarted\";\n CustomerRegistrationWizardStepType[\"SecurityCodes\"] = \"SecurityCodes\";\n CustomerRegistrationWizardStepType[\"WarmCredentials\"] = \"WarmCredentials\";\n CustomerRegistrationWizardStepType[\"ExtraSecurity\"] = \"ExtraSecurity\";\n CustomerRegistrationWizardStepType[\"ColdAccountMatched\"] = \"ColdAccountMatched\";\n CustomerRegistrationWizardStepType[\"WarmAccountMatched\"] = \"WarmAccountMatched\";\n})(CustomerRegistrationWizardStepType || (CustomerRegistrationWizardStepType = {}));\n","export var WarmExtraSecurityStep;\n(function (WarmExtraSecurityStep) {\n WarmExtraSecurityStep[\"NotSpecified\"] = \"NotSpecified\";\n WarmExtraSecurityStep[\"ExtraSecurity\"] = \"ExtraSecurity\";\n WarmExtraSecurityStep[\"Congratulations\"] = \"Congratulations\";\n})(WarmExtraSecurityStep || (WarmExtraSecurityStep = {}));\n","import React from \"react\";\nimport { PumaUserLoginAntiPhishingAmendmentErrorsDictionary } from \"./../../../Shared/UserDetails/Entities/ErrorDictionaries/PumaUserLoginAntiPhishingAmendmentErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaWarmRegistrationSecurityCodeStateActionsCreator } from \"./../../ActionsCreators/PumaWarmRegistrationSecurityCodeStateActionsCreator\";\nimport { PumaUserAntiPhishingAmendmentClient } from \"@/Puma/Api/Security/PumaUserAntiPhishingAmendment\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { AnonymousAntiPhishing } from \"./../../../Shared/AntiPhishing/Components/AnonymousAntiPhishing\";\nimport { Tooltip } from \"@/react-core/Html/Components/Tooltip\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { WarmExtraSecurityStep } from \"./../../Entities/WizardStepper/WarmExtraSecurityStep\";\nexport class WarmExtraSecurityWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.ExtraSecurity;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading() || this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: this.state.currentStep == WarmExtraSecurityStep.ExtraSecurity, canCancel: this.state.currentStep == WarmExtraSecurityStep.ExtraSecurity, canNavigateBack: this.state.currentStep == WarmExtraSecurityStep.ExtraSecurity, canConfirm: false, canContinue: this.state.currentStep == WarmExtraSecurityStep.ExtraSecurity, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), pageTitle: this.state.currentStep == WarmExtraSecurityStep.ExtraSecurity ? Content.pageTitles.extraSecurity : Content.pageTitles.congratulations },\n this.state.currentStep == WarmExtraSecurityStep.ExtraSecurity ?\n React.createElement(\"div\", null,\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n this.state.showCongratulationPageError ? React.createElement(\"div\", { className: \"alert-error is-acc small\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n \"Security code update fail\") : null,\n React.createElement(\"p\", { className: \"mb-8\" }, Content.wizard.antiPhishing.securityIsImportantToUs),\n React.createElement(\"p\", { className: \"mb-8\" },\n React.createElement(\"strong\", null, Content.wizard.antiPhishing.antiPhishingExplanation)),\n React.createElement(\"div\", { className: \"row narrow-gutter mb-48\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"span\", null,\n Content.wizard.antiPhishing.useDefaultOrPickOwn,\n \" \")),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Tooltip, { htmlText: Content.wizard.antiPhishing.learnMoreCopy, triggerText: Content.common.learnMore, messageCss: \"text\" }))),\n React.createElement(AnonymousAntiPhishing, { antiPhishingData: creationData.antiPhishingData, allowUserPickOwnImageAndPhrase: true, onAntiPhishingDataChange: data => onCreationDataPartChange(x => x.antiPhishingData = data) })) : null,\n this.state.currentStep == WarmExtraSecurityStep.Congratulations ?\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, \"Congratulations\"),\n React.createElement(\"div\", { className: \"alert-success small\" }, \" Your account has been successfully created.\"),\n React.createElement(Button, { className: \"btn primary large\", onClick: () => this.props.navigationActions.navigateToLoginPage() }, \"LOG IN\")) : null)));\n }\n componentDidMount() {\n }\n continue() {\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n const creationData = this.props.wizardData.customerCreationData;\n if (this.isValid()) {\n if (this.state.currentStep == WarmExtraSecurityStep.ExtraSecurity) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const request = {\n Amendment: {\n AntiPhishingImageEncryptedDocumentId: creationData.antiPhishingData.antiPhishingImageDocument.Document.EncryptedDocumentId,\n AntiPhishingPhrase: creationData.antiPhishingData.antiPhishingPhrase\n }\n };\n const client = new PumaUserAntiPhishingAmendmentClient();\n var requestId = creationData.requestId ? creationData.requestId : \"\";\n client.post(requestId, request)\n .onSuccess(() => {\n //set code used and go Congratulations page\n PumaWarmRegistrationSecurityCodeStateActionsCreator.SetCodeUsed(creationData.firstCode, creationData.secondCode, creationData.requestId)\n .onSuccess(result => {\n onCreationDataPartChange(x => x.letterCodesStatus = \"Used\");\n this.updateStatePart(x => x.currentStep = WarmExtraSecurityStep.Congratulations);\n //do not remove below line, if the next step is null, then will set the current step as completed\n this.props.navigationActions.navigateNext(this._currentStepId);\n this.updateStatePart(x => x.isLoading = false);\n })\n .onError(result => {\n this.updateStatePart(x => {\n x.showCongratulationPageError = true;\n x.isLoading = false;\n });\n });\n })\n .onError(errors => {\n const rawServerErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserLoginAntiPhishingAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = rawServerErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n }\n getDefaultState() {\n return {\n currentStep: WarmExtraSecurityStep.ExtraSecurity,\n validationErrors: [],\n showCongratulationPageError: false\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CustomerPumaUsernameAvailabilityChecksClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Customer/CustomerPumaUsernameAvailabilityChecks/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { CustomerPumaUsernameAvailabilityChecksClient } from \"@/Puma/Api/Customer/CustomerPumaUsernameAvailabilityChecks\";\nexport class CustomerPumaUsernameAvailabilityChecksActionsCreator {\n static checkUsernameAvailability(availabilityCheck) {\n const client = new CustomerPumaUsernameAvailabilityChecksClient();\n return client.post(availabilityCheck);\n }\n}\n","import React from \"react\";\nimport { Content } from \"./../../../Shared/Password/Resources/Content\";\nimport { PasswordCreation } from \"./../../../Shared/Password/Components/PasswordCreation\";\nexport const PasswordPicker = (props) => {\n return (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(PasswordCreation, { header: Content.common.createYourPasswordHeader, validateNewPasswordAgainstCurrent: false, newPassword: props.password, confirmPassword: props.confirmPassword, onNewPasswordChange: props.onPasswordChange, onConfirmPasswordChange: props.onConfirmPasswordChange }))));\n};\n","import React from \"react\";\nimport { NewCustomerUserName } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../../Resources/Content\";\nexport const UserNamePicker = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.credentials.createYourUserName),\n React.createElement(\"p\", null, Content.wizard.credentials.userNameFormatExplanation),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, label: Content.wizard.credentials.userName, value: props.userName, onChange: props.onUserNameChange, required: Content.wizard.credentials.userNameIsMandatory, minLengthValidation: { value: 6, errorMessage: Content.wizard.credentials.userNameLengthValidationMessage }, maxLengthValidation: { value: 35, errorMessage: Content.wizard.credentials.userNameLengthValidationMessage }, regex: {\n value: NewCustomerUserName, errorMessage: Content.wizard.credentials.userNameHasWrongFormat\n } })))));\n};\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { CustomerPumaUsernameAvailabilityChecksActionsCreator } from \"./../../ActionsCreators/CustomerPumaUsernameAvailabilityChecksActionsCreator\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { PasswordPicker } from \"./../Credentials/PasswordPIcker\";\nimport { UserNamePicker } from \"./../Credentials/UserNamePicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class WarmCredentialsWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.WarmCredentials;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n const urlsHelper = new CustomerRegistrationUrlsHelper();\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), pageTitle: Content.pageTitles.credentials },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(UserNamePicker, { userName: creationData.userName, onUserNameChange: userName => onCreationDataPartChange(x => x.userName = userName) }),\n React.createElement(\"hr\", { className: \"divider-subtle mt-12 mb-24\" }),\n React.createElement(PasswordPicker, { password: this.props.wizardData.customerCreationData.password, confirmPassword: this.props.wizardData.customerCreationData.confirmPassword, onPasswordChange: password => onCreationDataPartChange(x => x.password = password), onConfirmPasswordChange: confirmPassword => onCreationDataPartChange(x => x.confirmPassword = confirmPassword) }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n componentDidMount() {\n }\n validate() {\n const { userName, password, firstName, lastName, antiPhishingData } = this.props.wizardData.customerCreationData;\n if (userName !== \"\") {\n if (Strings.isSame(userName, password)\n || (antiPhishingData && Strings.isSame(userName, antiPhishingData.antiPhishingPhrase))) {\n const validationErrors = [Content.wizard.credentials.userNameMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n if (password !== \"\") {\n if (Strings.hasSubstring(password, userName)\n || antiPhishingData && Strings.hasSubstring(antiPhishingData.antiPhishingPhrase, password)) {\n const validationErrors = [Content.wizard.credentials.passwordMustNotContainOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n if (Strings.hasSubstring(password, firstName)\n || Strings.hasSubstring(password, lastName)) {\n const validationErrors = [Content.wizard.credentials.passwordMustNotContainFirstNameAndSurname];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n continue() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CustomerPumaUsernameAvailabilityChecksActionsCreator.checkUsernameAvailability({\n Username: this.props.wizardData.customerCreationData.userName\n })\n .onSuccess(result => {\n this.updateStatePart(x => x.isLoading = false, () => {\n if (result.IsAvailable) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n return;\n }\n this.updateStatePart(x => x.validationErrors = [Content.validation.usernameAlreadyExists], Scroll.scrollTop);\n });\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n this.validate = this.validate.bind(this);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaHotRegistrationCodeRequestClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(firstCode, secondCode) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaHotRegistrationCodeRequest/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { firstCode: firstCode, secondCode: secondCode };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaWarmRegistrationUserCreationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(userName, password, clAccountId, email, firstCode, nino, phiningPharse) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaWarmRegistrationUserCreation/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { userName: userName, password: password, clAccountId: clAccountId, email: email, firstCode: firstCode, nino: nino, phiningPharse: phiningPharse };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaHotRegistrationCodeRequestClient } from \"@/Puma/Api/Onboarding/PumaHotRegistrationCodeRequest\";\nimport { PumaWarmRegistrationUserCreationClient } from \"@/Puma/Api/Onboarding/PumaWarmRegistrationUserCreation\";\nexport class PumaWarmRegistrationCustomerUserCreationActionsCreator {\n static post(userName, password, clAccountId, email, firstCode, nino) {\n const client = new PumaWarmRegistrationUserCreationClient();\n return client.post(userName, password, clAccountId, email, firstCode, nino, \"\");\n }\n static sendNewCode(firstCode, secondCode) {\n const client = new PumaHotRegistrationCodeRequestClient();\n return client.post(firstCode, secondCode);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCustomerUserEmailExistsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(email) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaCustomerUserEmailExists/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { email: email };\n return AjaxWrapper.get(url, data);\n }\n}\n","import { PumaCustomerUserEmailExistsClient } from \"@/Puma/Api/Onboarding/PumaCustomerUserEmailExists\";\nexport class PumaCustomerUserEmailExistsActionsCreator {\n static verify(email) {\n const client = new PumaCustomerUserEmailExistsClient();\n return client.get(email);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaWarmRegistrationUpdatePhoneNumberClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(onBoardingId, phoneNumber) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaWarmRegistrationUpdatePhoneNumber/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { onBoardingId: onBoardingId, phoneNumber: phoneNumber };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaWarmRegistrationUserPhoneNumberConfirmationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(processIdentifier, phoneCode) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaWarmRegistrationUserPhoneNumberConfirmation/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { processIdentifier: processIdentifier, phoneCode: phoneCode };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaUserEmailConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(processIdentifier) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaUserEmailConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { processIdentifier: processIdentifier };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaWarmRegistrationUserEmailConfirmationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(processIdentifier, emailVerificationCode) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaWarmRegistrationUserEmailConfirmation/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { processIdentifier: processIdentifier, emailVerificationCode: emailVerificationCode };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaWarmRegistrationUpdatePhoneNumberClient } from \"@/Puma/Api/Onboarding/PumaWarmRegistrationUpdatePhoneNumber\";\nimport { PumaWarmRegistrationUserPhoneNumberConfirmationClient } from \"@/Puma/Api/Onboarding/PumaWarmRegistrationUserPhoneNumberConfirmation\";\nimport { PumaUserEmailConfirmationTokenRequestsClient } from \"@/Puma/Api/Onboarding/PumaUserEmailConfirmationTokenRequests\";\nimport { PumaWarmRegistrationUserEmailConfirmationClient } from \"@/Puma/Api/Onboarding/PumaWarmRegistrationUserEmailConfirmation\";\nexport class PumaWarmRegistrationVerificationActionsCreator {\n static verifyEmail(processIdentifier, emailVerificationCode) {\n const client = new PumaWarmRegistrationUserEmailConfirmationClient();\n return client.post(processIdentifier, emailVerificationCode);\n }\n static reSendEmail(processIdentifier) {\n const client = new PumaUserEmailConfirmationTokenRequestsClient();\n return client.post(processIdentifier);\n }\n static verifyPhone(processIdentifier, phoneCode) {\n const client = new PumaWarmRegistrationUserPhoneNumberConfirmationClient();\n return client.post(processIdentifier, phoneCode);\n }\n static updatePhoneAndSendSms(onBoardingId, phoneNumber) {\n const client = new PumaWarmRegistrationUpdatePhoneNumberClient();\n return client.post(onBoardingId, phoneNumber);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const CountryCodeAvailableOptionsActionsDispatcher = new Dispatcher();\nexport const CountryCodeAvailableOptionsStore = new PayloadStore(CountryCodeAvailableOptionsActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CountryCodeAvailableOptionsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Address/CountryCodeAvailableOptions/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { CountryCodeAvailableOptionsActionsDispatcher } from \"./../Stores/CountryCodeAvailableOptionsStore\";\nimport { CountryCodeAvailableOptionsClient } from \"@/Puma/Api/Address/CountryCodeAvailableOptions\";\nexport class CountryCodeAvailableOptionsActionsCreator {\n static load() {\n const client = new CountryCodeAvailableOptionsClient();\n CountryCodeAvailableOptionsActionsCreator.startLoading();\n client\n .get()\n .onSuccess(CountryCodeAvailableOptionsActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(options) {\n CountryCodeAvailableOptionsActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: options });\n }\n static startLoading() {\n CountryCodeAvailableOptionsActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import { ObjectComparer } from \"./../Utils/ObjectComparer\";\nimport { isNullOrEmpty } from \"./../Utils/Arrays\";\nimport { Validator } from \"./Validation/Validator\";\nimport { BaseFormElement } from \"./BaseFormElement\";\nexport class BaseListInput extends BaseFormElement {\n validator;\n options = [];\n constructor(props) {\n super(props);\n this.state = this.getDefaultState(props);\n this.options = this.props.options.slice();\n this.validator = new Validator();\n this.initValidation();\n }\n initValidation() {\n this.validator.clear();\n this.validator.add((value) => value != null && value != undefined, this.props.required);\n this.validator.addRange(this.props.validationRules);\n }\n onChange(syntheticEvent) {\n var selectedIndexString = syntheticEvent.target.value;\n var selectedIndex = Globalize.parseInt(selectedIndexString);\n var value = this.getSelectedOption(selectedIndex);\n this.setSelected(selectedIndex, false);\n if (this.props.onChange) {\n this.runValidation(value);\n this.props.onChange(value);\n }\n }\n runValidation(value) {\n if (this.isHidden()) {\n return true;\n }\n this.initValidation();\n var errors = this.validator.getValidationErrors(value);\n this.triggerValidationResultChange(errors);\n var isValid = isNullOrEmpty(errors);\n this.setState({ isValid: isValid });\n return isValid;\n }\n isValid() {\n var value = this.getSelectedOption();\n return this.runValidation(value);\n }\n componentWillReceiveProps(nextProps) {\n // If the value passed has changed, set it. If value is not passed it will\n // internally update, and this will never run\n if (!ObjectComparer.isSame(this.props.selected, nextProps.selected) && !ObjectComparer.isSame(nextProps.selected, this.getSelectedOption(this.state.selectedIndex))) {\n let selectedIndex = this.options.indexOf(nextProps.selected);\n this.setSelected(selectedIndex, false);\n // TODO: Zuzka, is this right?\n this.runValidation(this.getSelectedOption(selectedIndex));\n }\n if (ObjectComparer.arraysDiffer(this.options, nextProps.options)) {\n this.options = nextProps.options.slice();\n let selectedIndex = this.options.indexOf(nextProps.selected);\n this.setSelected(selectedIndex, false);\n // TODO: Zuzka, is this right?\n this.runValidation(this.getSelectedOption(selectedIndex));\n }\n }\n componentDidUpdate(prevProps, prevState) {\n if (!ObjectComparer.isSame(this.props.selected, prevProps.selected) && !this.state.isPristine) {\n this.isValid();\n }\n }\n shouldComponentUpdate(nextProps, nextState) {\n return ObjectComparer.objectsDiffer(this.props, nextProps)\n || ObjectComparer.objectsDiffer(this.options, nextProps.options)\n || ObjectComparer.objectsDiffer(this.state, nextState);\n }\n getDefaultState(props) {\n var selectedIndex = this.props.options.indexOf(this.props.selected);\n return {\n selectedIndex: selectedIndex,\n isValid: true,\n isPristine: true,\n pristineValue: props.selected\n };\n }\n setSelected(index, isPristine) {\n this.setState({\n selectedIndex: index,\n isPristine: isPristine\n });\n }\n}\n","import React from \"react\";\nimport { BaseListInput } from \"./BaseListInput\";\nexport class Select extends BaseListInput {\n _select;\n constructor(props) {\n super(props);\n }\n render() {\n var defaultOption = this.getDefaultOption();\n var options = this.getOptions();\n var selectedIndex = (this.state.selectedIndex !== null && this.state.selectedIndex !== undefined) ? this.state.selectedIndex.toString() : null;\n return (React.createElement(\"select\", { disabled: this.props.disabled, value: selectedIndex, onChange: (event) => this.onChange(event), className: (this.props.cssInput || 'form-input'), ref: (select) => this._select = select, id: this.props.id, tabIndex: this.props.tabIndex, \"data-automation-id\": this.props.automationId, \"aria-label\": this.props.ariaLabel, \"aria-describedby\": this.props.ariaDescribedby, \"aria-invalid\": !this.state.isValid ? \"true\" : undefined },\n defaultOption,\n options));\n }\n getSelectedOption(selectedIndex) {\n if (selectedIndex === null || selectedIndex === undefined) {\n selectedIndex = this._select.selectedIndex;\n if (this.props.placeholder) {\n selectedIndex--;\n }\n }\n if (selectedIndex < 0 || selectedIndex >= this.options.length) {\n return null;\n }\n return this.options[selectedIndex];\n }\n isHidden() {\n return $(this._select).is(':hidden');\n }\n getOptions() {\n return this.options.map((option, index) => this.getOption(option, index));\n }\n getOption(option, index) {\n var text = this.props.getText(option);\n return React.createElement(\"option\", { value: index.toString(), key: index.toString() },\n \" \",\n text);\n }\n getDefaultOption() {\n return (this.props.placeholder) ? React.createElement(\"option\", { value: '-1' }, this.props.placeholder) : null;\n }\n}\n","import { Select } from \"./../Select\";\nexport class SelectFactory {\n static create() {\n var instance = Select;\n return instance;\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Guid } from \"./../Utils/Guid\";\nimport { isNotEmpty } from \"./Validation/RawValueRules\";\nimport { SelectFactory } from \"./Factories/SelectFactory\";\nimport { Position } from \"./../Enums/Position\";\nimport { BaseEditor } from \"./BaseEditor\";\nexport class SelectEditor extends BaseEditor {\n constructor(props) {\n super(props);\n }\n componentDidMount() {\n this.bindLabelToInput();\n }\n render() {\n var wrapperCss = classNames('form-group', this.props.cssWrapper, { 'error': !this.state.isValid, 'large': this.props.large });\n return (React.createElement(\"div\", { className: wrapperCss, ref: (elem) => this.wrapperRef = elem },\n this.getLabel(),\n this.getTooltip(),\n React.createElement(\"div\", { className: 'controls-select' },\n this.showErrorsAt(Position.Top) && this.getValidationErrorsContainer(),\n this.getInput(),\n this.showErrorsAt(Position.Bottom) && this.getValidationErrorsContainer())));\n }\n getInput() {\n var Select = SelectFactory.create();\n return (React.createElement(\"div\", { className: 'controls' },\n React.createElement(Select, { ...this.props, id: this.state.inputGroupId, ariaDescribedby: !this.state.isValid ? this._errorMessageId : undefined, onValidationResultChange: (isValid, errors) => this.onValidationResultChange(isValid, errors) })));\n }\n getLabel() {\n if (!this.props.label) {\n return null;\n }\n return (React.createElement(\"div\", { className: 'control-label' },\n React.createElement(\"label\", { htmlFor: this.state.inputGroupId }, this.props.label)));\n }\n bindLabelToInput() {\n var id;\n var propId = null;\n if (this.props.hasOwnProperty('id')) {\n propId = this.props['id'];\n }\n id = (isNotEmpty(propId)) ? propId : Guid.getNext().toString();\n this.setState({ inputGroupId: id });\n }\n}\n","import { SelectEditor } from \"./../SelectEditor\";\nexport class SelectEditorFactory {\n static create() {\n var instance = SelectEditor;\n return instance;\n }\n}\n","export class BaseDictionary {\n map = this.getMap();\n getTextFor(key) {\n return this.map.get(key);\n }\n getKeys() {\n const keys = [];\n this.map.forEach((value, key) => keys.push(key));\n return keys;\n }\n}\n","import { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { BaseDictionary } from \"./../../Core/BaseDictionary\";\nexport class CountryCodeDictionary extends BaseDictionary {\n getMap() {\n var map = new Map();\n map.set(CountryCode.NotSpecified, \"NotSpecified\");\n map.set(CountryCode.ABW, \"ABW\");\n map.set(CountryCode.AFG, \"AFG\");\n map.set(CountryCode.AGO, \"AGO\");\n map.set(CountryCode.AIA, \"AIA\");\n map.set(CountryCode.ALA, \"ALA\");\n map.set(CountryCode.ALB, \"ALB\");\n map.set(CountryCode.AND, \"AND\");\n map.set(CountryCode.ANT, \"ANT\");\n map.set(CountryCode.ARE, \"ARE\");\n map.set(CountryCode.ARG, \"ARG\");\n map.set(CountryCode.ARM, \"ARM\");\n map.set(CountryCode.ASM, \"ASM\");\n map.set(CountryCode.ATA, \"ATA\");\n map.set(CountryCode.ATF, \"ATF\");\n map.set(CountryCode.ATG, \"ATG\");\n map.set(CountryCode.AUS, \"AUS\");\n map.set(CountryCode.AUT, \"AUT\");\n map.set(CountryCode.AZE, \"AZE\");\n map.set(CountryCode.BDI, \"BDI\");\n map.set(CountryCode.BEL, \"BEL\");\n map.set(CountryCode.BEN, \"BEN\");\n map.set(CountryCode.BES, \"BES\");\n map.set(CountryCode.BFA, \"BFA\");\n map.set(CountryCode.BGD, \"BGD\");\n map.set(CountryCode.BGR, \"BGR\");\n map.set(CountryCode.BHR, \"BHR\");\n map.set(CountryCode.BHS, \"BHS\");\n map.set(CountryCode.BIH, \"BIH\");\n map.set(CountryCode.BLM, \"BLM\");\n map.set(CountryCode.BLR, \"BLR\");\n map.set(CountryCode.BLZ, \"BLZ\");\n map.set(CountryCode.BMU, \"BMU\");\n map.set(CountryCode.BOL, \"BOL\");\n map.set(CountryCode.BRA, \"BRA\");\n map.set(CountryCode.BRB, \"BRB\");\n map.set(CountryCode.BRN, \"BRN\");\n map.set(CountryCode.BTN, \"BTN\");\n map.set(CountryCode.BVT, \"BVT\");\n map.set(CountryCode.BWA, \"BWA\");\n map.set(CountryCode.CAF, \"CAF\");\n map.set(CountryCode.CAN, \"CAN\");\n map.set(CountryCode.CCK, \"CCK\");\n map.set(CountryCode.CHE, \"CHE\");\n map.set(CountryCode.CHL, \"CHL\");\n map.set(CountryCode.CHN, \"CHN\");\n map.set(CountryCode.CIV, \"CIV\");\n map.set(CountryCode.CMR, \"CMR\");\n map.set(CountryCode.COD, \"COD\");\n map.set(CountryCode.COG, \"COG\");\n map.set(CountryCode.COK, \"COK\");\n map.set(CountryCode.COL, \"COL\");\n map.set(CountryCode.COM, \"COM\");\n map.set(CountryCode.CPV, \"CPV\");\n map.set(CountryCode.CRI, \"CRI\");\n map.set(CountryCode.CUB, \"CUB\");\n map.set(CountryCode.CUW, \"CUW\");\n map.set(CountryCode.CXR, \"CXR\");\n map.set(CountryCode.CYM, \"CYM\");\n map.set(CountryCode.CYP, \"CYP\");\n map.set(CountryCode.CZE, \"CZE\");\n map.set(CountryCode.DEU, \"DEU\");\n map.set(CountryCode.DJI, \"DJI\");\n map.set(CountryCode.DMA, \"DMA\");\n map.set(CountryCode.DNK, \"DNK\");\n map.set(CountryCode.DOM, \"DOM\");\n map.set(CountryCode.DZA, \"DZA\");\n map.set(CountryCode.ECU, \"ECU\");\n map.set(CountryCode.EGY, \"EGY\");\n map.set(CountryCode.ERI, \"ERI\");\n map.set(CountryCode.ESH, \"ESH\");\n map.set(CountryCode.ESP, \"ESP\");\n map.set(CountryCode.EST, \"EST\");\n map.set(CountryCode.ETH, \"ETH\");\n map.set(CountryCode.FIN, \"FIN\");\n map.set(CountryCode.FJI, \"FJI\");\n map.set(CountryCode.FLK, \"FLK\");\n map.set(CountryCode.FRA, \"FRA\");\n map.set(CountryCode.FRO, \"FRO\");\n map.set(CountryCode.FSM, \"FSM\");\n map.set(CountryCode.GAB, \"GAB\");\n map.set(CountryCode.GBR, \"GBR\");\n map.set(CountryCode.GEO, \"GEO\");\n map.set(CountryCode.GGY, \"GGY\");\n map.set(CountryCode.GHA, \"GHA\");\n map.set(CountryCode.GIB, \"GIB\");\n map.set(CountryCode.GIN, \"GIN\");\n map.set(CountryCode.GLP, \"GLP\");\n map.set(CountryCode.GMB, \"GMB\");\n map.set(CountryCode.GNB, \"GNB\");\n map.set(CountryCode.GNQ, \"GNQ\");\n map.set(CountryCode.GRC, \"GRC\");\n map.set(CountryCode.GRD, \"GRD\");\n map.set(CountryCode.GRL, \"GRL\");\n map.set(CountryCode.GTM, \"GTM\");\n map.set(CountryCode.GUF, \"GUF\");\n map.set(CountryCode.GUM, \"GUM\");\n map.set(CountryCode.GUY, \"GUY\");\n map.set(CountryCode.HKG, \"HKG\");\n map.set(CountryCode.HMD, \"HMD\");\n map.set(CountryCode.HND, \"HND\");\n map.set(CountryCode.HRV, \"HRV\");\n map.set(CountryCode.HTI, \"HTI\");\n map.set(CountryCode.HUN, \"HUN\");\n map.set(CountryCode.IDN, \"IDN\");\n map.set(CountryCode.IMN, \"IMN\");\n map.set(CountryCode.IND, \"IND\");\n map.set(CountryCode.IOT, \"IOT\");\n map.set(CountryCode.IRL, \"IRL\");\n map.set(CountryCode.IRN, \"IRN\");\n map.set(CountryCode.IRQ, \"IRQ\");\n map.set(CountryCode.ISL, \"ISL\");\n map.set(CountryCode.ISR, \"ISR\");\n map.set(CountryCode.ITA, \"ITA\");\n map.set(CountryCode.JAM, \"JAM\");\n map.set(CountryCode.JEY, \"JEY\");\n map.set(CountryCode.JOR, \"JOR\");\n map.set(CountryCode.JPN, \"JPN\");\n map.set(CountryCode.KAZ, \"KAZ\");\n map.set(CountryCode.KEN, \"KEN\");\n map.set(CountryCode.KGZ, \"KGZ\");\n map.set(CountryCode.KHM, \"KHM\");\n map.set(CountryCode.KIR, \"KIR\");\n map.set(CountryCode.KNA, \"KNA\");\n map.set(CountryCode.KOR, \"KOR\");\n map.set(CountryCode.KWT, \"KWT\");\n map.set(CountryCode.LAO, \"LAO\");\n map.set(CountryCode.LBN, \"LBN\");\n map.set(CountryCode.LBR, \"LBR\");\n map.set(CountryCode.LBY, \"LBY\");\n map.set(CountryCode.LCA, \"LCA\");\n map.set(CountryCode.LIE, \"LIE\");\n map.set(CountryCode.LKA, \"LKA\");\n map.set(CountryCode.LSO, \"LSO\");\n map.set(CountryCode.LTU, \"LTU\");\n map.set(CountryCode.LUX, \"LUX\");\n map.set(CountryCode.LVA, \"LVA\");\n map.set(CountryCode.MAC, \"MAC\");\n map.set(CountryCode.MAF, \"MAF\");\n map.set(CountryCode.MAR, \"MAR\");\n map.set(CountryCode.MCO, \"MCO\");\n map.set(CountryCode.MDA, \"MDA\");\n map.set(CountryCode.MDG, \"MDG\");\n map.set(CountryCode.MDV, \"MDV\");\n map.set(CountryCode.MEX, \"MEX\");\n map.set(CountryCode.MHL, \"MHL\");\n map.set(CountryCode.MKD, \"MKD\");\n map.set(CountryCode.MLI, \"MLI\");\n map.set(CountryCode.MLT, \"MLT\");\n map.set(CountryCode.MMR, \"MMR\");\n map.set(CountryCode.MNE, \"MNE\");\n map.set(CountryCode.MNG, \"MNG\");\n map.set(CountryCode.MNP, \"MNP\");\n map.set(CountryCode.MOZ, \"MOZ\");\n map.set(CountryCode.MRT, \"MRT\");\n map.set(CountryCode.MSR, \"MSR\");\n map.set(CountryCode.MTQ, \"MTQ\");\n map.set(CountryCode.MUS, \"MUS\");\n map.set(CountryCode.MWI, \"MWI\");\n map.set(CountryCode.MYS, \"MYS\");\n map.set(CountryCode.MYT, \"MYT\");\n map.set(CountryCode.NAM, \"NAM\");\n map.set(CountryCode.NCL, \"NCL\");\n map.set(CountryCode.NER, \"NER\");\n map.set(CountryCode.NFK, \"NFK\");\n map.set(CountryCode.NGA, \"NGA\");\n map.set(CountryCode.NIC, \"NIC\");\n map.set(CountryCode.NIU, \"NIU\");\n map.set(CountryCode.NLD, \"NLD\");\n map.set(CountryCode.NOR, \"NOR\");\n map.set(CountryCode.NPL, \"NPL\");\n map.set(CountryCode.NRU, \"NRU\");\n map.set(CountryCode.NZL, \"NZL\");\n map.set(CountryCode.OMN, \"OMN\");\n map.set(CountryCode.PAK, \"PAK\");\n map.set(CountryCode.PAN, \"PAN\");\n map.set(CountryCode.PCN, \"PCN\");\n map.set(CountryCode.PER, \"PER\");\n map.set(CountryCode.PHL, \"PHL\");\n map.set(CountryCode.PLW, \"PLW\");\n map.set(CountryCode.PNG, \"PNG\");\n map.set(CountryCode.POL, \"POL\");\n map.set(CountryCode.PRI, \"PRI\");\n map.set(CountryCode.PRK, \"PRK\");\n map.set(CountryCode.PRT, \"PRT\");\n map.set(CountryCode.PRY, \"PRY\");\n map.set(CountryCode.PSE, \"PSE\");\n map.set(CountryCode.PYF, \"PYF\");\n map.set(CountryCode.QAT, \"QAT\");\n map.set(CountryCode.REU, \"REU\");\n map.set(CountryCode.ROU, \"ROU\");\n map.set(CountryCode.RUS, \"RUS\");\n map.set(CountryCode.RWA, \"RWA\");\n map.set(CountryCode.SAU, \"SAU\");\n map.set(CountryCode.SDN, \"SDN\");\n map.set(CountryCode.SEN, \"SEN\");\n map.set(CountryCode.SGP, \"SGP\");\n map.set(CountryCode.SGS, \"SGS\");\n map.set(CountryCode.SHN, \"SHN\");\n map.set(CountryCode.SJM, \"SJM\");\n map.set(CountryCode.SLB, \"SLB\");\n map.set(CountryCode.SLE, \"SLE\");\n map.set(CountryCode.SLV, \"SLV\");\n map.set(CountryCode.SMR, \"SMR\");\n map.set(CountryCode.SOM, \"SOM\");\n map.set(CountryCode.SPM, \"SPM\");\n map.set(CountryCode.SRB, \"SRB\");\n map.set(CountryCode.SSD, \"SSD\");\n map.set(CountryCode.STP, \"STP\");\n map.set(CountryCode.SUR, \"SUR\");\n map.set(CountryCode.SVK, \"SVK\");\n map.set(CountryCode.SVN, \"SVN\");\n map.set(CountryCode.SWE, \"SWE\");\n map.set(CountryCode.SWZ, \"SWZ\");\n map.set(CountryCode.SXM, \"SXM\");\n map.set(CountryCode.SYC, \"SYC\");\n map.set(CountryCode.SYR, \"SYR\");\n map.set(CountryCode.TCA, \"TCA\");\n map.set(CountryCode.TCD, \"TCD\");\n map.set(CountryCode.TGO, \"TGO\");\n map.set(CountryCode.THA, \"THA\");\n map.set(CountryCode.TJK, \"TJK\");\n map.set(CountryCode.TKL, \"TKL\");\n map.set(CountryCode.TKM, \"TKM\");\n map.set(CountryCode.TLS, \"TLS\");\n map.set(CountryCode.TON, \"TON\");\n map.set(CountryCode.TTO, \"TTO\");\n map.set(CountryCode.TUN, \"TUN\");\n map.set(CountryCode.TUR, \"TUR\");\n map.set(CountryCode.TUV, \"TUV\");\n map.set(CountryCode.TWN, \"TWN\");\n map.set(CountryCode.TZA, \"TZA\");\n map.set(CountryCode.UGA, \"UGA\");\n map.set(CountryCode.UKR, \"UKR\");\n map.set(CountryCode.UMI, \"UMI\");\n map.set(CountryCode.URY, \"URY\");\n map.set(CountryCode.USA, \"USA\");\n map.set(CountryCode.UZB, \"UZB\");\n map.set(CountryCode.VAT, \"VAT\");\n map.set(CountryCode.VCT, \"VCT\");\n map.set(CountryCode.VEN, \"VEN\");\n map.set(CountryCode.VGB, \"VGB\");\n map.set(CountryCode.VIR, \"VIR\");\n map.set(CountryCode.VNM, \"VNM\");\n map.set(CountryCode.VUT, \"VUT\");\n map.set(CountryCode.WLF, \"WLF\");\n map.set(CountryCode.WSM, \"WSM\");\n map.set(CountryCode.YEM, \"YEM\");\n map.set(CountryCode.ZAF, \"ZAF\");\n map.set(CountryCode.ZMB, \"ZMB\");\n map.set(CountryCode.ZWE, \"ZWE\");\n return map;\n }\n}\n","import { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { CountryCodeDictionary } from \"@/react-core/Enums/Dictionaries/CountryCodeDictionary\";\nexport class InternationalDialingCodesAvailableOptionsFactory {\n createForAll(codes) {\n const options = codes.reduce((currentOptions, nextCode) => {\n const countryCodeLabel = nextCode.CountryCode !== CountryCode.GBR\n ? new CountryCodeDictionary().getTextFor(nextCode.CountryCode)\n : \"UK\";\n currentOptions.push({ Value: nextCode, DisplayName: [countryCodeLabel, \" (\", nextCode.Code, \")\"].join('') });\n return currentOptions;\n }, []);\n return options;\n }\n}\n","import React from \"react\";\nimport { SelectEditorFactory } from \"@/react-core/Html/Factories/SelectEditorFactory\";\nimport { InternationalDialingCodesAvailableOptionsFactory } from \"./../../Entities/PhoneNumbers/InternationalDialingCodesAvailableOptionsFactory\";\nexport const InternationalDialingCodePicker = (props) => {\n function changeDialingCode(selectedCountryCode) {\n const selectDialingCode = props.dialingCodes.filter(x => x.CountryCode === selectedCountryCode)[0];\n props.onSelectedDialingCodeChange(selectDialingCode);\n }\n const optionsFactory = new InternationalDialingCodesAvailableOptionsFactory();\n const options = optionsFactory.createForAll(props.dialingCodes);\n const sortedOptions = options.concat().sort((first, second) => first.DisplayName < second.DisplayName ? -1 : 1);\n const InternationalDialingCodeDropdown = SelectEditorFactory.create();\n const internationalDialingCodeDropdownProps = {\n options: sortedOptions.map(x => x.Value.CountryCode),\n label: props.label,\n large: true,\n onChange: changeDialingCode,\n getText: (option) => options.filter(x => x.Value.CountryCode === option)[0].DisplayName,\n selected: props.selectedDialingCode.CountryCode\n };\n return (React.createElement(InternationalDialingCodeDropdown, { ...internationalDialingCodeDropdownProps }));\n};\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const InternationalDialingCodesActionsDispatcher = new Dispatcher();\nexport const InternationalDialingCodesStore = new PayloadStore(InternationalDialingCodesActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class InternationalDialingCodesClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(query) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Common/InternationalDialingCodes/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { query: query };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { InternationalDialingCodesActionsDispatcher } from \"./../Stores/InternationalDialingCodesStore\";\nimport { InternationalDialingCodesClient } from \"@/Puma/Api/Common/InternationalDialingCodes\";\nexport class InternationalDialingCodesActionsCreator {\n static load() {\n const client = new InternationalDialingCodesClient();\n InternationalDialingCodesActionsCreator.startLoading();\n client\n .get({})\n .onSuccess(InternationalDialingCodesActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(codes) {\n InternationalDialingCodesActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: codes });\n }\n static startLoading() {\n InternationalDialingCodesActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { InternationalDialingCodePicker } from \"./../../../Shared/Common/Components/PhoneNumbers/InternationalDialingCodePicker\";\nimport { InternationalDialingCodesActionsCreator } from \"./../../../Shared/Common/ActionsCreators/InternationalDialingCodesActionsCreator\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { InternationalDialingCodesStore } from \"./../../../Shared/Common/Stores/InternationalDialingCodesStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class Phone extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(InternationalDialingCodesStore, this.onInternationalDialingCodesStoreChange);\n }\n isValid() {\n return true;\n }\n onInternationalDialingCodesStoreChange() {\n if (!InternationalDialingCodesStore.isLoading()) {\n this.updateStatePart(x => {\n x.dialingCodes = InternationalDialingCodesStore.getPayload() || [];\n x.isLoading = this.isAnyStoreLoading();\n }, () => this.setDefaultDialingCode());\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n setDefaultDialingCode() {\n if (this.props.mobilePhoneNumber.internationalDialingCode.CountryCode != null) {\n return;\n }\n const dialingCodeToSet = this.state.dialingCodes.filter(x => x.CountryCode === this.props.defaultDialingCodeCountry)[0];\n if (!dialingCodeToSet) {\n return;\n }\n this.updateDialingCode(dialingCodeToSet);\n }\n updateDialingCode(dialingCode) {\n const copiedPumaPhoneNumber = Objects.cloneObject(this.props.mobilePhoneNumber);\n copiedPumaPhoneNumber.internationalDialingCode = dialingCode;\n this.props.onMobilePhoneNumberChange(copiedPumaPhoneNumber);\n }\n getDefaultState() {\n return {\n dialingCodes: [],\n isLoading: false\n };\n }\n bindPrivateMethods() {\n this.updateNumber = this.updateNumber.bind(this);\n this.updateDialingCode = this.updateDialingCode.bind(this);\n this.setDefaultDialingCode = this.setDefaultDialingCode.bind(this);\n this.onInternationalDialingCodesStoreChange = this.onInternationalDialingCodesStoreChange.bind(this);\n }\n componentDidMount() {\n if (!InternationalDialingCodesStore.isLoading()) {\n if (InternationalDialingCodesStore.isEmpty()) {\n InternationalDialingCodesActionsCreator.load();\n }\n else {\n this.updateStatePart(x => {\n x.dialingCodes = InternationalDialingCodesStore.getPayload() || [];\n }, () => this.setDefaultDialingCode());\n }\n }\n }\n updateNumber(phoneNumber) {\n const copiedPumaPhoneNumber = Objects.cloneObject(this.props.mobilePhoneNumber);\n copiedPumaPhoneNumber.phoneNumber = phoneNumber;\n this.props.onMobilePhoneNumberChange(copiedPumaPhoneNumber);\n }\n render() {\n return (React.createElement(\"div\", null,\n this.props.hideDefaultHeaderText ? React.createElement(\"h3\", null, this.props.headerText) : React.createElement(\"h3\", null, \"Please enter a mobile phone number for us to validate\"),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(\"div\", { className: \"control-label\" }, \"Mobile number\"),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-5\" },\n React.createElement(InternationalDialingCodePicker, { label: null, dialingCodes: this.state.dialingCodes, selectedDialingCode: this.props.mobilePhoneNumber.internationalDialingCode, onSelectedDialingCodeChange: this.updateDialingCode })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-7\" },\n React.createElement(TextBoxEditor, { large: true, label: null, onChange: this.updateNumber, value: this.props.mobilePhoneNumber.phoneNumber, required: \"please input a moblie number\" }))))));\n }\n}\n","import { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Urls } from \"./../../Urls\";\nimport { Content } from \"./../../Resources/Content\";\nimport { CustomerRegistrationWizardStepType } from \"./CustomerRegistrationWizardStepType\";\nimport { firstOrDefault, getNextItem, getPreviousItem } from \"@/react-core/Utils/Arrays\";\nexport class WizardStepsProvider {\n static getAllStepDefinitions() {\n const definitions = {\n [CustomerRegistrationWizardStepType.PersonalDetails]: {\n id: CustomerRegistrationWizardStepType.PersonalDetails,\n title: Content.wizardStepper.personalDetails,\n url: {\n routeFragment: Urls.get().wizard.personalDetailsSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.VerificationOfIdentity]: {\n id: CustomerRegistrationWizardStepType.VerificationOfIdentity,\n title: Content.wizardStepper.verificationOfIdentity,\n url: {\n routeFragment: Urls.get().wizard.identityVerificationSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.Credentials]: {\n id: CustomerRegistrationWizardStepType.Credentials,\n title: Content.wizardStepper.userNameAndPassword,\n url: {\n routeFragment: Urls.get().wizard.credentialsSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.AntiPhishing]: {\n id: CustomerRegistrationWizardStepType.AntiPhishing,\n title: Content.wizardStepper.extraSecurity,\n url: {\n routeFragment: Urls.get().wizard.antiphishingSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.AccountActivation]: {\n id: CustomerRegistrationWizardStepType.AccountActivation,\n title: Content.wizardStepper.activateYourAccount,\n url: {\n routeFragment: Urls.get().wizard.accountActivationSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.GetStarted]: {\n id: CustomerRegistrationWizardStepType.GetStarted,\n title: Content.wizardStepper.getStarted,\n url: {\n routeFragment: Urls.get().warmWizard.warmOrCodeWizardSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.SecurityCodes]: {\n id: CustomerRegistrationWizardStepType.SecurityCodes,\n title: Content.wizardStepper.unlockAccount,\n url: {\n routeFragment: Urls.get().warmWizard.warmSecurityCodeWizardSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.WarmCredentials]: {\n id: CustomerRegistrationWizardStepType.WarmCredentials,\n title: Content.wizardStepper.warmuserNameAndPassword,\n url: {\n routeFragment: Urls.get().warmWizard.credentialsSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.EmailVerification]: {\n id: CustomerRegistrationWizardStepType.EmailVerification,\n title: Content.wizardStepper.VerifyYourEmail,\n url: {\n routeFragment: Urls.get().warmWizard.emailVerificationSection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.ExtraSecurity]: {\n id: CustomerRegistrationWizardStepType.ExtraSecurity,\n title: Content.wizardStepper.extraSecurityForWarm,\n url: {\n routeFragment: Urls.get().warmWizard.extraSecuritySection,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.ColdAccountMatched]: {\n id: CustomerRegistrationWizardStepType.ColdAccountMatched,\n title: Content.wizardStepper.accountMatched,\n url: {\n routeFragment: Urls.get().wizard.accountMatched,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.WarmAccountMatched]: {\n id: CustomerRegistrationWizardStepType.WarmAccountMatched,\n title: Content.wizardStepper.accountMatched,\n url: {\n routeFragment: Urls.get().warmWizard.accountMatched,\n queryParameters: null\n },\n onVisit: null\n },\n [CustomerRegistrationWizardStepType.NotSpecified]: null\n };\n Object.values(definitions).map(def => {\n if (def !== null) {\n def.onVisit = () => Navigator.navigateToAndPreserveQueryParameters(def.url.routeFragment);\n }\n });\n return definitions;\n }\n ;\n static getNextStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getNextItem(stepDefinitions, currentStep);\n }\n static getPreviousStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getPreviousItem(stepDefinitions, currentStep);\n }\n static getColdStepDefinitions() {\n const allStepDefinitions = this.getAllStepDefinitions();\n const stepDefinitions = [];\n stepDefinitions.push(allStepDefinitions.PersonalDetails);\n stepDefinitions.push(allStepDefinitions.VerificationOfIdentity);\n stepDefinitions.push(allStepDefinitions.Credentials);\n stepDefinitions.push(allStepDefinitions.AntiPhishing);\n stepDefinitions.push(allStepDefinitions.AccountActivation);\n return stepDefinitions;\n }\n static getWramStepDefinitions() {\n const allStepDefinitions = this.getAllStepDefinitions();\n const stepDefinitions = [];\n stepDefinitions.push(allStepDefinitions.GetStarted);\n stepDefinitions.push(allStepDefinitions.SecurityCodes);\n stepDefinitions.push(allStepDefinitions.WarmCredentials);\n stepDefinitions.push(allStepDefinitions.EmailVerification);\n stepDefinitions.push(allStepDefinitions.ExtraSecurity);\n return stepDefinitions;\n }\n static getColdAccountMatchedDefinitions() {\n const allStepDefinitions = this.getAllStepDefinitions();\n const stepDefinitions = [];\n stepDefinitions.push(allStepDefinitions.PersonalDetails);\n stepDefinitions.push(allStepDefinitions.ColdAccountMatched);\n return stepDefinitions;\n }\n static getWarmAccountMatchedDefinitions() {\n const allStepDefinitions = this.getAllStepDefinitions();\n const stepDefinitions = [];\n stepDefinitions.push(allStepDefinitions.GetStarted);\n stepDefinitions.push(allStepDefinitions.SecurityCodes);\n stepDefinitions.push(allStepDefinitions.WarmAccountMatched);\n return stepDefinitions;\n }\n}\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nexport const Code = (props) => {\n let chars = props.contactDetail.split(\"\");\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, props.header),\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null,\n props.contactDetail,\n \" \",\n React.createElement(\"span\", { className: \"hyperlink\", onClick: () => props.onEditClick() }, \"EDIT\"))),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(\"div\", { className: \"row\", style: { marginTop: \"15px\" } },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: \"\", onChange: (code) => props.onCodeChange(code, 1), required: props.required, maxLength: 1, cssInput: \"input-large\", regex: props.regex })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: \"\", onChange: (code) => props.onCodeChange(code, 2), required: props.required, maxLength: 1, cssInput: \"input-large\", regex: props.regex })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: \"\", onChange: (code) => props.onCodeChange(code, 3), required: props.required, maxLength: 1, cssInput: \"input-large\", regex: props.regex })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: \"\", onChange: (code) => props.onCodeChange(code, 4), required: props.required, maxLength: 1, cssInput: \"input-large\", regex: props.regex })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: \"\", onChange: (code) => props.onCodeChange(code, 5), required: props.required, maxLength: 1, cssInput: \"input-large\", regex: props.regex })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: \"\", onChange: (code) => props.onCodeChange(code, 6), required: props.required, maxLength: 1, cssInput: \"input-large\", regex: props.regex }))))));\n};\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../../Resources/Content\";\nexport const Email = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.personalDetails.emailAddress),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: props.emailAddress.Email, onChange: emailAddress => props.onEmailAddressChange({ Email: emailAddress }), label: Content.wizard.personalDetails.emailAddress, required: Content.wizard.personalDetails.emailAddressIsMandatory, maxLength: 50, cssInput: \"input-large\", isEmail: Content.wizard.personalDetails.emailAddressHasWrongFormat }))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: props.confirmEmailAddress.Email, label: Content.wizard.personalDetails.confirmEmailAddress, required: Content.wizard.personalDetails.confirmEmailAddressIsMandatory, maxLength: 50, cssInput: \"input-large\", isEmail: Content.wizard.personalDetails.emailAddressHasWrongFormat, onPaste: (e) => { e.preventDefault(); return false; }, equals: props.emailAddress.Email && { value: props.emailAddress.Email, errorMessage: Content.wizard.personalDetails.confirmEmailAddressDoesNotMatchEmailAddres }, onChange: emailAddress => props.onConfirmEmailAddressChange({ Email: emailAddress }) })))));\n};\n","export class IntervalManager {\n _intervalId;\n _onTick;\n constructor(onTick) {\n this._onTick = onTick;\n }\n restart(intervalInSeconds) {\n this.stop();\n this.startInterval(intervalInSeconds);\n }\n stop() {\n clearInterval(this._intervalId);\n }\n startInterval(intervalInSeconds) {\n const timeoutObj = setInterval(() => this.tick(), intervalInSeconds * 1000);\n this._intervalId = timeoutObj[Symbol.toPrimitive]();\n }\n tick() {\n if (this._onTick) {\n this._onTick();\n }\n }\n}\n","export var VerificiationStep;\n(function (VerificiationStep) {\n VerificiationStep[\"NotSpecified\"] = \"NotSpecified\";\n VerificiationStep[\"InputEmail\"] = \"InputEmail\";\n VerificiationStep[\"VerifyEmail\"] = \"VerifyEmail\";\n VerificiationStep[\"InputPhoneNo\"] = \"InputPhoneNo\";\n VerificiationStep[\"VerifyPhoneNo\"] = \"VerifyPhoneNo\";\n})(VerificiationStep || (VerificiationStep = {}));\n","import React from \"react\";\nimport { PumaWarmRegistrationCustomerUserCreationActionsCreator } from \"./../../ActionsCreators/PumaWarmRegistrationCustomerUserCreationActionsCreator\";\nimport { PumaCustomerUserEmailExistsActionsCreator } from \"./../../ActionsCreators/PumaCustomerUserEmailExistsActionsCreator\";\nimport { PumaWarmRegistrationVerificationActionsCreator } from \"./../../ActionsCreators/PumaWarmRegistrationVerificationActionsCreator\";\nimport { CountryCodeAvailableOptionsActionsCreator } from \"./../../../Shared/Common/ActionsCreators/CountryCodeAvailableOptionsActionsCreator\";\nimport { Phone } from \"./../Verifications/Phone\";\nimport { Content as Content__alias1 } from \"./../../../Shared/WizardSteppers/Resources/Content\";\nimport { WizardNavigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/WizardNavigator\";\nimport { WizardStepsProvider } from \"./../../Entities/WizardStepper/WizardStepsProvider\";\nimport { Code } from \"./../Verifications/Code\";\nimport { Email } from \"./../Verifications/Email\";\nimport { LoadCMSActionCreators } from \"./../../../Shared/CMS/LoadCMSActionCreators\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CountryCodeAvailableOptionsStore } from \"./../../../Shared/Common/Stores/CountryCodeAvailableOptionsStore\";\nimport { CMSItemsStore } from \"./../../../Shared/CMS/CMSActionStore\";\nimport { IntervalManager } from \"@/react-core/Helpers/IntervalManager\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { VerificiationStep } from \"./../../Entities/WizardStepper/VerificiationStep\";\nexport class WarmVerificationWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.EmailVerification;\n _intervalFrame = 1; // seconds\n _intervalId;\n _interval;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n this.bindPrivateMethods();\n this._interval = new IntervalManager(() => this.tick());\n this.subscribeToStore(CountryCodeAvailableOptionsStore, this.onCountryCodeAvailableOptionsStoreChange);\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading() || this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: this.state.currentStep != VerificiationStep.VerifyEmail &&\n this.state.currentStep != VerificiationStep.VerifyPhoneNo, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), pageTitle: Content.pageTitles.emailVerification },\n creationData.contactDetails.emailUsedByOtherUser == true && (this.state.currentStep == VerificiationStep.InputEmail || this.state.currentStep == VerificiationStep.VerifyEmail) ?\n React.createElement(\"div\", { className: \"alert-info is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n \"There is an account already associated with this email address, however you are able to set up a new account with the same email address.\") : null,\n this.state.currentStep == VerificiationStep.InputEmail ?\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.EmailValidation.Main.Body\", this.state.cmsContent) } }),\n React.createElement(Email, { emailAddress: creationData.contactDetails.emailAddress, confirmEmailAddress: creationData.contactDetails.confirmEmailAddress, onEmailAddressChange: emailAddress => onCreationDataPartChange(x => x.contactDetails.emailAddress = emailAddress), onConfirmEmailAddressChange: emailAddress => onCreationDataPartChange(x => x.contactDetails.confirmEmailAddress = emailAddress) })) : null,\n this.state.currentStep == VerificiationStep.VerifyEmail ? React.createElement(\"div\", null,\n this.state.showError ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n \"Incorrect code. Please check the SIX digit code you have entered\") : null,\n React.createElement(Code, { header: \"Please enter the code we have just emailed you at:\", contactDetail: creationData.contactDetails.emailAddress.Email, onEditClick: () => {\n const stepDefinitions = WizardStepsProvider.getWramStepDefinitions();\n const step = stepDefinitions.filter(x => x.id === CustomerRegistrationWizardStepType.WarmCredentials)[0];\n WizardNavigator.navigateToWizardStep(step);\n }, onCodeChange: (code, index) => {\n onCreationDataPartChange(x => x.emailCode = this.reConstructCode(this.props.wizardData.customerCreationData.emailCode, code, index));\n }, required: \"please input the code\" }),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"button\", { style: { margin: \"15px\" }, type: \"submit\", className: \"btn primary large\", onClick: () => this.continue() }, Content__alias1.navigation.next),\n React.createElement(\"button\", { style: { margin: \"15px\" }, className: \"btn secondary large\", onClick: () => this.reSendCode() }, \"Resend\"))) : null,\n this.state.currentStep == VerificiationStep.InputPhoneNo ?\n React.createElement(\"div\", null,\n React.createElement(Phone, { hideDefaultHeaderText: true, headerText: LoadCMSActionCreators.GetCMSText(\"OCCWarmreg.PhoneValidation.Main.Body\", this.state.cmsContent), mobilePhoneNumber: creationData.contactDetails.mobilePhoneNumber, defaultDialingCodeCountry: CountryCode.GBR, onMobilePhoneNumberChange: (phoneNumber) => { onCreationDataPartChange(x => x.contactDetails.mobilePhoneNumber = phoneNumber); } })) : null,\n this.state.currentStep == VerificiationStep.VerifyPhoneNo ? React.createElement(\"div\", null,\n this.state.showError ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n \"Incorrect code. Please check the code you have entered NEED HELP?\") : null,\n React.createElement(Code, { header: \"Please enter the code we have sent you on:\", contactDetail: creationData.contactDetails.mobilePhoneNumber.internationalDialingCode.Code + creationData.contactDetails.mobilePhoneNumber.phoneNumber, onEditClick: () => {\n onCreationDataPartChange(x => x.smsCode = \" \");\n this.updateStatePart(x => x.currentStep = VerificiationStep.InputPhoneNo);\n }, onCodeChange: (code, index) => {\n onCreationDataPartChange(x => x.smsCode = this.reConstructCode(this.props.wizardData.customerCreationData.smsCode, code, index));\n }, required: \"please input the code\" }),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"button\", { style: { margin: \"15px\" }, type: \"submit\", className: \"btn primary large\", onClick: () => this.continue() }, Content__alias1.navigation.next),\n this.state.timer > 0 ? React.createElement(\"button\", { style: { margin: \"15px\" }, disabled: true, className: \"btn secondary large\" }, this.state.timer > 0 ? \"Resend in \" + this.state.timer + \" second\" : \"Resend\") : React.createElement(\"button\", { style: { margin: \"15px\" }, className: \"btn secondary large\", onClick: () => this.reSendCodeWithTimer() }, \"Resend\"))) : null)));\n }\n componentDidMount() {\n if (!CountryCodeAvailableOptionsStore.isLoading()) {\n if (CountryCodeAvailableOptionsStore.isEmpty()) {\n CountryCodeAvailableOptionsActionsCreator.load();\n }\n else {\n this.updateStatePart(x => x.countryCodeAvailableOptions = CountryCodeAvailableOptionsStore.getPayload() || []);\n }\n }\n }\n reSendCode() {\n PumaWarmRegistrationVerificationActionsCreator.reSendEmail(this.props.wizardData.customerCreationData.requestId);\n }\n reSendCodeWithTimer() {\n PumaWarmRegistrationVerificationActionsCreator.updatePhoneAndSendSms(this.props.wizardData.customerCreationData.requestId, this.props.wizardData.customerCreationData.contactDetails.mobilePhoneNumber.internationalDialingCode.Code + this.props.wizardData.customerCreationData.contactDetails.mobilePhoneNumber.phoneNumber);\n this.updateStatePart(x => x.timer = 60);\n const timeoutObj = setInterval(() => this.tick(), 1000);\n this._intervalId = timeoutObj[Symbol.toPrimitive]();\n }\n tick() {\n if (this.state.timer <= 0) {\n clearInterval(this._intervalId);\n return;\n }\n this.updateStatePart(x => x.timer = x.timer - this._intervalFrame);\n }\n continue() {\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n if (this.isValid()) {\n if (this.state.currentStep == VerificiationStep.InputEmail) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaCustomerUserEmailExistsActionsCreator.verify(this.props.wizardData.customerCreationData.contactDetails.emailAddress.Email)\n .onSuccess(result => {\n onCreationDataPartChange(x => x.contactDetails.emailUsedByOtherUser = result.HaveOktaUserWithTheEmail);\n PumaWarmRegistrationCustomerUserCreationActionsCreator.post(this.props.wizardData.customerCreationData.userName, this.props.wizardData.customerCreationData.password, this.props.wizardData.customerCreationData.clAccountId, this.props.wizardData.customerCreationData.contactDetails.emailAddress.Email, this.props.wizardData.customerCreationData.firstCode + this.props.wizardData.customerCreationData.secondCode, this.props.wizardData.customerCreationData.nino)\n .onSuccess(result => {\n onCreationDataPartChange(x => x.fnzUserId = result.FnzUserId);\n onCreationDataPartChange(x => x.requestId = result.RequestId);\n this.updateStatePart(x => {\n x.currentStep = VerificiationStep.VerifyEmail;\n x.isLoading = false;\n });\n });\n });\n });\n }\n else if (this.state.currentStep == VerificiationStep.VerifyEmail) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaWarmRegistrationVerificationActionsCreator.verifyEmail(this.props.wizardData.customerCreationData.requestId, this.props.wizardData.customerCreationData.emailCode)\n .onSuccess(result => {\n if (result.Success) {\n this.updateStatePart(x => {\n x.currentStep = VerificiationStep.InputPhoneNo;\n x.showError = false;\n x.isLoading = false;\n });\n }\n else {\n this.updateStatePart(x => {\n x.showError = true;\n x.isLoading = false;\n });\n }\n });\n });\n }\n else if (this.state.currentStep == VerificiationStep.InputPhoneNo) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaWarmRegistrationVerificationActionsCreator.updatePhoneAndSendSms(this.props.wizardData.customerCreationData.requestId, this.props.wizardData.customerCreationData.contactDetails.mobilePhoneNumber.internationalDialingCode.Code + this.props.wizardData.customerCreationData.contactDetails.mobilePhoneNumber.phoneNumber)\n .onSuccess(result => {\n this.updateStatePart(x => {\n x.currentStep = VerificiationStep.VerifyPhoneNo;\n x.isLoading = false;\n });\n });\n });\n }\n else if (this.state.currentStep == VerificiationStep.VerifyPhoneNo) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaWarmRegistrationVerificationActionsCreator.verifyPhone(this.props.wizardData.customerCreationData.requestId, this.props.wizardData.customerCreationData.smsCode)\n .onSuccess(result => {\n if (result.Success) {\n this.updateStatePart(x => {\n x.showError = false;\n x.isLoading = false;\n });\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n else {\n this.updateStatePart(x => {\n x.showError = true;\n x.isLoading = false;\n });\n }\n });\n });\n }\n }\n }\n reConstructCode(oldCode, newCode, index) {\n let chars = oldCode.split(\"\");\n if (chars.length > index - 1) {\n chars[index - 1] = newCode;\n }\n else if (chars.length > 0) {\n chars.push(newCode);\n }\n else {\n return newCode;\n }\n return chars.join(\"\");\n }\n onCountryCodeAvailableOptionsStoreChange() {\n if (!CountryCodeAvailableOptionsStore.isLoading()) {\n this.updateStatePart(x => {\n x.isLoading = this.isAnyStoreLoading();\n x.countryCodeAvailableOptions = CountryCodeAvailableOptionsStore.getPayload() || [];\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n currentStep: VerificiationStep.InputEmail,\n showError: false,\n isLoading: false,\n countryCodeAvailableOptions: [],\n timer: 0,\n cmsContent: CMSItemsStore.getPayload()\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n this.reConstructCode = this.reConstructCode.bind(this);\n this.reSendCode = this.reSendCode.bind(this);\n this.tick = this.tick.bind(this);\n this.reSendCodeWithTimer = this.reSendCodeWithTimer.bind(this);\n this.onCountryCodeAvailableOptionsStoreChange = this.onCountryCodeAvailableOptionsStoreChange.bind(this);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaWarmRegistrationSecurityCodeVerificationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(firstCode, secondCode, nino, clAccountId) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaWarmRegistrationSecurityCodeVerification/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { firstCode: firstCode, secondCode: secondCode, nino: nino, clAccountId: clAccountId };\n return AjaxWrapper.get(url, data);\n }\n}\n","import { PumaWarmRegistrationSecurityCodeVerificationClient } from \"@/Puma/Api/Onboarding/PumaWarmRegistrationSecurityCodeVerification\";\nexport class PumaWarmRegistrationSecurityCodeVerificationActionsCreator {\n static verify(firstCode, secondCode, nino, clAccountId) {\n const client = new PumaWarmRegistrationSecurityCodeVerificationClient();\n return client.get(firstCode, secondCode, nino, clAccountId);\n }\n}\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nexport const SecurityCodeInput = (props) => {\n let chars = props.code.split(\"\");\n return (React.createElement(\"div\", { style: { borderStyle: \"groove\" }, className: \"col-xs-12 col-sm-7\" },\n React.createElement(\"div\", { className: \"row\", style: { marginTop: \"15px\" } },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: chars.length > 0 ? chars[0].trim() : \"\", onChange: (code) => props.onCodeChange(code, 1), maxLength: 1, cssInput: \"input-large\" })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: chars.length > 1 ? chars[1].trim() : \"\", onChange: (code) => props.onCodeChange(code, 2), maxLength: 1, cssInput: \"input-large\" })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: chars.length > 2 ? chars[2].trim() : \"\", onChange: (code) => props.onCodeChange(code, 3), maxLength: 1, cssInput: \"input-large\" })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: chars.length > 3 ? chars[3].trim() : \"\", onChange: (code) => props.onCodeChange(code, 4), maxLength: 1, cssInput: \"input-large\" })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(TextBoxEditor, { large: true, value: chars.length > 4 ? chars[4].trim() : \"\", onChange: (code) => props.onCodeChange(code, 5), maxLength: 1, cssInput: \"input-large\" })))));\n};\n","export var SecurityCodeStep;\n(function (SecurityCodeStep) {\n SecurityCodeStep[\"NotSpecified\"] = \"NotSpecified\";\n SecurityCodeStep[\"TermsAndConditions\"] = \"TermsAndConditions\";\n SecurityCodeStep[\"InputCode\"] = \"InputCode\";\n SecurityCodeStep[\"BlockedCode\"] = \"BlockedCode\";\n SecurityCodeStep[\"CodeUsed\"] = \"CodeUsed\";\n SecurityCodeStep[\"CodeExpired\"] = \"CodeExpired\";\n SecurityCodeStep[\"SentNewCode\"] = \"SentNewCode\";\n SecurityCodeStep[\"SystemError\"] = \"SystemError\";\n SecurityCodeStep[\"NINO\"] = \"NINO\";\n SecurityCodeStep[\"AccountNo\"] = \"AccountNo\";\n})(SecurityCodeStep || (SecurityCodeStep = {}));\n","import { LoadCMSActionCreators } from \"./LoadCMSActionCreators\";\nexport var ContentStringType;\n(function (ContentStringType) {\n ContentStringType[ContentStringType[\"InvalidUsernameError_Body\"] = 0] = \"InvalidUsernameError_Body\";\n ContentStringType[ContentStringType[\"NewUserRegistration_Title\"] = 1] = \"NewUserRegistration_Title\";\n ContentStringType[ContentStringType[\"NewUserActivate_Body\"] = 2] = \"NewUserActivate_Body\";\n ContentStringType[ContentStringType[\"OccLogin_PasswordReminder_MemorableInfo_Body\"] = 3] = \"OccLogin_PasswordReminder_MemorableInfo_Body\";\n ContentStringType[ContentStringType[\"OccLogin_PasswordReminder_UserName_Body\"] = 4] = \"OccLogin_PasswordReminder_UserName_Body\";\n ContentStringType[ContentStringType[\"OccLogin_CredentialsCheck_AccountBlocked_Error\"] = 5] = \"OccLogin_CredentialsCheck_AccountBlocked_Error\";\n ContentStringType[ContentStringType[\"OccLogin_CredentialsCheck_NoPassword_Error\"] = 6] = \"OccLogin_CredentialsCheck_NoPassword_Error\";\n ContentStringType[ContentStringType[\"OccLogin_CredentialsCheck_InvalidDetails_Error\"] = 7] = \"OccLogin_CredentialsCheck_InvalidDetails_Error\";\n ContentStringType[ContentStringType[\"OccWarmReg_LetterCodes_IncorrectFirstCodeError_Body\"] = 8] = \"OccWarmReg_LetterCodes_IncorrectFirstCodeError_Body\";\n ContentStringType[ContentStringType[\"OccWarmReg_LetterCodes_IncorrectSecondCodeError_Body\"] = 9] = \"OccWarmReg_LetterCodes_IncorrectSecondCodeError_Body\";\n ContentStringType[ContentStringType[\"OccWarmReg_LetterCodes_IncompleteInputError_Body\"] = 10] = \"OccWarmReg_LetterCodes_IncompleteInputError_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_Welcome_ExistingAccountCheck_Body\"] = 11] = \"OccColdReg_Welcome_ExistingAccountCheck_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_Welcome_IDEvidenceRequired_Body\"] = 12] = \"OccColdReg_Welcome_IDEvidenceRequired_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_Welcome_IDEvidenceException_Body\"] = 13] = \"OccColdReg_Welcome_IDEvidenceException_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_Welcome_IDEvidenceException_Help\"] = 14] = \"OccColdReg_Welcome_IDEvidenceException_Help\";\n ContentStringType[ContentStringType[\"OccColdReg_PersonalDetails_AddressType_Body\"] = 15] = \"OccColdReg_PersonalDetails_AddressType_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_PersonalDetails_TelephoneVerification_Body\"] = 16] = \"OccColdReg_PersonalDetails_TelephoneVerification_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_PersonalDetails_TelephoneError_Body\"] = 17] = \"OccColdReg_PersonalDetails_TelephoneError_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_VerificationOfIdentity_IdentityCheck_Body\"] = 18] = \"OccColdReg_VerificationOfIdentity_IdentityCheck_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_VerificationOfIdentity_IdentityCheckData_Help\"] = 19] = \"OccColdReg_VerificationOfIdentity_IdentityCheckData_Help\";\n ContentStringType[ContentStringType[\"OccColdReg_VerificationOfIdentity_IdentityCheckDocument_Body\"] = 20] = \"OccColdReg_VerificationOfIdentity_IdentityCheckDocument_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_VerificationOfIdentity_IdentityCheckNoDocument_Body\"] = 21] = \"OccColdReg_VerificationOfIdentity_IdentityCheckNoDocument_Body\";\n ContentStringType[ContentStringType[\"OccColdReg_VerificationOfIdentity_IdentityCheckDocumentError_Body\"] = 22] = \"OccColdReg_VerificationOfIdentity_IdentityCheckDocumentError_Body\";\n})(ContentStringType || (ContentStringType = {}));\nconst ContentStringDict = {\n [ContentStringType.InvalidUsernameError_Body]: {\n cmsKey: \"OccLogin.CredentialsCheck.InvalidUsernameError.Body\",\n default: \"Please enter a valid username\"\n },\n [ContentStringType.NewUserRegistration_Title]: {\n cmsKey: \"OccLogin.Register.NewUserRegistration.Title\",\n default: \"Register\"\n },\n [ContentStringType.NewUserActivate_Body]: {\n cmsKey: \"OccLogin.Register.NewUserActivate.Body\",\n default: \"To activate your account, please take the link below.\"\n },\n [ContentStringType.OccLogin_PasswordReminder_MemorableInfo_Body]: {\n cmsKey: \"OccLogin.PasswordReminder.MemorableInfo.Body\",\n default: \"Your memorable picture and phrase\",\n },\n [ContentStringType.OccLogin_PasswordReminder_UserName_Body]: {\n cmsKey: \"OccLogin.PasswordReminder.UserName.Body\",\n default: \"You’re logging in as\"\n },\n [ContentStringType.OccLogin_CredentialsCheck_AccountBlocked_Error]: {\n cmsKey: \"OccLogin.CredentialsCheck.AccountBlocked.Error\",\n default: \"Access to your user account has been disabled for one of the following reasons:
  • It is a duplicate account which is not needed.You can continue by using the account details from your previous log in
  • Or
  • To ensure your security.In this case, please contact us to access your account.
\"\n },\n [ContentStringType.OccLogin_CredentialsCheck_NoPassword_Error]: {\n cmsKey: \"OccLogin.CredentialsCheck.NoPassword.Error\",\n default: \"You must enter your password\"\n },\n [ContentStringType.OccLogin_CredentialsCheck_InvalidDetails_Error]: {\n cmsKey: \"OccLogin.CredentialsCheck.InvalidDetails.Error\",\n default: \"Invalid username or password entered.\"\n },\n [ContentStringType.OccWarmReg_LetterCodes_IncorrectFirstCodeError_Body]: {\n cmsKey: \"OccWarmReg.LetterCodes.IncorrectFirstCodeError.Body\",\n default: \"Please only input numbers for the first code\"\n },\n [ContentStringType.OccWarmReg_LetterCodes_IncorrectSecondCodeError_Body]: {\n cmsKey: \"OccWarmReg.LetterCodes.IncorrectSecondCodeError.Body\",\n default: \"Please only input letters for the second code\"\n },\n [ContentStringType.OccWarmReg_LetterCodes_IncompleteInputError_Body]: {\n cmsKey: \"OccWarmReg.LetterCodes.IncompleteInputError.Body\",\n default: \"Please input all parts of the code\"\n },\n [ContentStringType.OccColdReg_Welcome_ExistingAccountCheck_Body]: {\n cmsKey: \"OccColdReg.Welcome.ExistingAccountCheck.Body\",\n default: \"If you think you may already be registered, use the below link to check\"\n },\n [ContentStringType.OccColdReg_Welcome_IDEvidenceRequired_Body]: {\n cmsKey: \"OccColdReg.Welcome.IDEvidenceRequired.Body\",\n default: \"Please have one of the following forms of identification to hand\"\n },\n [ContentStringType.OccColdReg_Welcome_IDEvidenceException_Body]: {\n cmsKey: \"OccColdReg.Welcome.IDEvidenceException.Body\",\n default: \"If you don't have any of these, we'll need to verify your identity manually.\"\n },\n [ContentStringType.OccColdReg_Welcome_IDEvidenceException_Help]: {\n cmsKey: \"OccColdReg.Welcome.IDEvidenceException.Help\",\n default: \"If you don't have any of the forms of identification, you will be prompted to contact us at the end of this process so we can verify your identity manually.\"\n },\n [ContentStringType.OccColdReg_PersonalDetails_AddressType_Body]: {\n cmsKey: \"OccColdReg.PersonalDetails.AddressType.Body\",\n default: \"Please note that we can only accept your residential address. Please don't enter a 'care of address’, a PO Box or your financial adviser’s address.\"\n },\n [ContentStringType.OccColdReg_PersonalDetails_TelephoneVerification_Body]: {\n cmsKey: \"OccColdReg.PersonalDetails.TelephoneVerification.Body\",\n default: \"For your security during your registration, we will send a registration code to your phone which you'll then need to enter later in this process.\"\n },\n [ContentStringType.OccColdReg_PersonalDetails_TelephoneError_Body]: {\n cmsKey: \"OccColdReg.PersonalDetails.TelephoneError.Body\",\n default: \"Please provide your mobile phone number. This will be used for sending authorisation codes so must be entered.\"\n },\n [ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheck_Body]: {\n cmsKey: \"OccColdReg.VerificationOfIdentity.IdentityCheck.Body\",\n default: \"In order to comply with regulations and to protect your data, we will check your identity through a third-party service.\"\n },\n [ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckData_Help]: {\n cmsKey: \"OccColdReg.VerificationOfIdentity.IdentityCheckData.Help\",\n default: \"The information entered is only used to validate your identity and for no other purpose. The check that is carried out is not a credit check and does not affect your credit rating. All personal information that is collected, held and used complies with the Data Protection Act 1998. If you have any questions about this check, please contact us and someone in our team will be happy to help.\"\n },\n [ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckDocument_Body]: {\n cmsKey: \"OccColdReg.VerificationOfIdentity.IdentityCheckDocument.Body\",\n default: \"Please select which document you would like to use to verify your identity.\"\n },\n [ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckNoDocument_Body]: {\n cmsKey: \"OccColdReg.VerificationOfIdentity.IdentityCheckNoDocument.Body\",\n default: \"I don't have any of the forms of identification. I understand that I'll need to contact Quilter in order to verify my identity at the end of this registration process.\"\n },\n [ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckDocumentError_Body]: {\n cmsKey: \"OccColdReg.VerificationOfIdentity.IdentityCheckDocumentError.Body\",\n default: \"Verification document is mandatory\"\n },\n};\nexport function getContentStringFromCMS(cmsContent, cmsKey) {\n try {\n return LoadCMSActionCreators.GetCMSText(cmsKey, cmsContent);\n }\n catch {\n return undefined;\n }\n}\nexport function getContentString(cmsContent, contentStringType) {\n const content = getContentStringFromCMS(cmsContent, ContentStringDict[contentStringType].cmsKey);\n if (content)\n return content;\n return ContentStringDict[contentStringType].default;\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCustomerUserAccountMatchClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(criteria) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaCustomerUserAccountMatch/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { criteria: criteria };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaCustomerUserAccountMatchClient } from \"@/Puma/Api/Onboarding/PumaCustomerUserAccountMatch\";\nconst PumaCustomerUserAccountMatchActionsCreator = () => {\n const match = (criteria) => {\n const client = new PumaCustomerUserAccountMatchClient();\n return client.post(criteria);\n };\n return {\n match\n };\n};\nexport { PumaCustomerUserAccountMatchActionsCreator };\n","export var PumaCustomerUserRegistrationType;\n(function (PumaCustomerUserRegistrationType) {\n PumaCustomerUserRegistrationType[PumaCustomerUserRegistrationType[\"Cold\"] = 0] = \"Cold\";\n PumaCustomerUserRegistrationType[PumaCustomerUserRegistrationType[\"Warm\"] = 1] = \"Warm\";\n})(PumaCustomerUserRegistrationType || (PumaCustomerUserRegistrationType = {}));\n","export var PumaCustomerUserAccountMatchErrors;\n(function (PumaCustomerUserAccountMatchErrors) {\n PumaCustomerUserAccountMatchErrors[PumaCustomerUserAccountMatchErrors[\"RequiredParameter\"] = 0] = \"RequiredParameter\";\n PumaCustomerUserAccountMatchErrors[PumaCustomerUserAccountMatchErrors[\"InvalidDates\"] = 1] = \"InvalidDates\";\n})(PumaCustomerUserAccountMatchErrors || (PumaCustomerUserAccountMatchErrors = {}));\n","export var PumaUserActivationEmailVerificationStatus;\n(function (PumaUserActivationEmailVerificationStatus) {\n PumaUserActivationEmailVerificationStatus[PumaUserActivationEmailVerificationStatus[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaUserActivationEmailVerificationStatus[PumaUserActivationEmailVerificationStatus[\"Verified\"] = 1] = \"Verified\";\n PumaUserActivationEmailVerificationStatus[PumaUserActivationEmailVerificationStatus[\"AccountAlreadyActivated\"] = 2] = \"AccountAlreadyActivated\";\n PumaUserActivationEmailVerificationStatus[PumaUserActivationEmailVerificationStatus[\"InvalidToken\"] = 3] = \"InvalidToken\";\n PumaUserActivationEmailVerificationStatus[PumaUserActivationEmailVerificationStatus[\"ExpiredToken\"] = 4] = \"ExpiredToken\";\n})(PumaUserActivationEmailVerificationStatus || (PumaUserActivationEmailVerificationStatus = {}));\n","import { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaCustomerUserAccountMatchErrors } from \"@/Wrap/Validation/Errors/Onboarding/Customer/PumaCustomerUserAccountMatchErrors\";\nimport { Content } from \"./../../Resources/Content\";\nexport class PumaCustomerUserAccountMatchErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaCustomerUserAccountMatchErrors.RequiredParameter, Content.validation.requiredParameter);\n map.set(PumaCustomerUserAccountMatchErrors.InvalidDates, Content.validation.invalidDates);\n return map;\n }\n}\n;\n","import React from \"react\";\nimport { PumaWarmRegistrationSecurityCodeVerificationActionsCreator } from \"./../../ActionsCreators/PumaWarmRegistrationSecurityCodeVerificationActionsCreator\";\nimport { PumaWarmRegistrationCustomerUserCreationActionsCreator } from \"./../../ActionsCreators/PumaWarmRegistrationCustomerUserCreationActionsCreator\";\nimport { matchesRegexp } from \"@/react-core/Html/Validation/RawValueRules\";\nimport { NationalInsuranceNumber, Numeric, Alphabetical } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Urls } from \"./../../Urls\";\nimport { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { SecurityCodeInput } from \"./../SecurityCode/SecurityCodeInput\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { LoadCMSActionCreators } from \"./../../../Shared/CMS/LoadCMSActionCreators\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CMSItemsStore } from \"./../../../Shared/CMS/CMSActionStore\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { SecurityCodeStep } from \"./../../Entities/WizardStepper/SecurityCodeStep\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nimport { PumaCustomerUserAccountMatchActionsCreator } from \"../../ActionsCreators/PumaCustomerUserAccountMatchActionsCreator\";\nimport { PumaCustomerUserRegistrationType } from \"@/Puma/Site/Models/Onboarding/Customer/PumaCustomerUserRegistrationType\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaCustomerUserAccountMatchErrorsDictionary } from \"../../Entities/ErrorDictionaries/PumaCustomerUserAccountMatchErrorsDictionary\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nexport class WarmSecurityCodeWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.SecurityCodes;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n this.bindPrivateMethods();\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: this.state.currentStep != SecurityCodeStep.SystemError &&\n this.state.currentStep != SecurityCodeStep.BlockedCode &&\n this.state.currentStep != SecurityCodeStep.CodeExpired &&\n this.state.currentStep != SecurityCodeStep.SentNewCode &&\n this.state.currentStep != SecurityCodeStep.CodeUsed &&\n (this.state.currentStep != SecurityCodeStep.NINO || !this.state.showCodeBlocedAfterMultiAttamptError) &&\n this.state.currentStep != SecurityCodeStep.TermsAndConditions, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), pageTitle: Content.pageTitles.emailVerification },\n this.state.currentStep == SecurityCodeStep.TermsAndConditions ?\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.warmWizard.securityCodeWizard.terms),\n React.createElement(\"p\", null, Content.warmWizard.securityCodeWizard.acceptAgreement),\n React.createElement(\"div\", null,\n React.createElement(\"a\", { href: \"https://www.quilter.com/siteassets/documents/platform/terms/14910-terms-for-occ.pdf\", target: \"_blank\", className: \"icon-link-pdf mb-24\" },\n Content.warmWizard.securityCodeWizard.viewTerms,\n \" \",\n React.createElement(\"span\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.externalLink))),\n React.createElement(\"h3\", { className: \"mt-24\", dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.WarmToRegister.Main.Body\", this.state.cmsContent) } }),\n React.createElement(\"ul\", { className: \"icon-list\" },\n React.createElement(\"li\", null,\n React.createElement(\"span\", { className: \"il-icon is-doc\", \"aria-hidden\": true }),\n React.createElement(\"div\", { dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.WarmToRegister.LetterWording.Body\", this.state.cmsContent) } })),\n React.createElement(\"li\", null,\n React.createElement(\"span\", { className: \"il-icon is-card\", \"aria-hidden\": true }),\n React.createElement(\"div\", { dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.WarmToRegister.NINOWording.Body\", this.state.cmsContent) } }))),\n React.createElement(\"button\", { className: \"btn primary large\", onClick: () => { this.onAcceptTermsClick(); } },\n \" \",\n Content.warmWizard.securityCodeWizard.acceptTerms,\n \" \")) : null,\n this.state.currentStep == SecurityCodeStep.InputCode ?\n React.createElement(\"div\", null,\n this.state.showInvalidCodeError ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.invalidCodeMessage,\n Content.warmWizard.securityCodeWizard.ensureInfo,\n Content.warmWizard.securityCodeWizard.needHelpRemind) : null,\n this.state.showMissingCode ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n getContentString(this.state.cmsContent, ContentStringType.OccWarmReg_LetterCodes_IncompleteInputError_Body)) : null,\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OccWarmReg.LetterCodes.Main.Body\", this.state.cmsContent) } }),\n React.createElement(\"p\", null),\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OccWarmReg.LetterCodes.FirstCode.Body\", this.state.cmsContent) } }),\n React.createElement(ValidationErrorsContainer, { isServerError: false, validationErrors: this.state.validationErrors }),\n React.createElement(SecurityCodeInput, { code: creationData.firstCode, onCodeChange: (code, index) => {\n onCreationDataPartChange(x => x.firstCode = this.reConstructCode(this.props.wizardData.customerCreationData.firstCode, code, index, true));\n } }),\n React.createElement(\"p\", null),\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OccWarmReg.LetterCodes.SecondCode.Body\", this.state.cmsContent) } }),\n React.createElement(ValidationErrorsContainer, { isServerError: false, validationErrors: this.state.validationErrors2 }),\n React.createElement(SecurityCodeInput, { code: creationData.secondCode, onCodeChange: (code, index) => {\n onCreationDataPartChange(x => x.secondCode = this.reConstructCode(this.props.wizardData.customerCreationData.secondCode, code, index, false));\n } })) : null,\n this.state.currentStep == SecurityCodeStep.BlockedCode ?\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.codeBlock),\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.warmWizard.securityCodeWizard.toContinue)),\n React.createElement(\"a\", { href: \"https://www.quilter.com/help-and-support/contact-us/\" },\n React.createElement(\"h3\", { style: { color: \"blue\" } }, \"https://www.quilter.com/help-and-support/contact-us/\"))) : null,\n this.state.currentStep == SecurityCodeStep.CodeUsed ?\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.acountUsed),\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.warmWizard.securityCodeWizard.codeUsed)),\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.warmWizard.securityCodeWizard.loginInfo)),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"button\", { className: \"btn primary\", style: { margin: \"15px\" }, onClick: () => { window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()); } }, Content.warmWizard.securityCodeWizard.loginButonText),\n React.createElement(\"button\", { className: \"btn secondary\", style: { margin: \"15px\" }, onClick: () => { window.location.assign(\"https://platform.quilter.com/contact-us/\"); } }, Content.warmWizard.securityCodeWizard.contact))) : null,\n this.state.currentStep == SecurityCodeStep.CodeExpired ?\n React.createElement(\"div\", null,\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.warmWizard.securityCodeWizard.codeExpiredMsg)),\n React.createElement(\"div\", null, Content.warmWizard.securityCodeWizard.choose),\n React.createElement(\"ul\", null,\n React.createElement(\"li\", null,\n React.createElement(\"span\", null, Content.warmWizard.securityCodeWizard.sendCodePost)),\n React.createElement(\"li\", null,\n React.createElement(\"span\", null, Content.warmWizard.securityCodeWizard.registerNoCode))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"button\", { className: \"btn primary\", style: { margin: \"15px\" }, onClick: () => { this.onSendNewCodeClick(); } }, Content.warmWizard.securityCodeWizard.newCodeButton),\n React.createElement(\"button\", { className: \"btn primary\", style: { margin: \"15px\" }, onClick: () => { Navigator.navigateTo(Urls.get().welcomePage); } }, Content.warmWizard.securityCodeWizard.registerWithoutCodes))) : null,\n this.state.currentStep == SecurityCodeStep.SentNewCode ?\n React.createElement(\"div\", null,\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.warmWizard.securityCodeWizard.newCodeSentMsg)),\n React.createElement(\"div\", null, Content.warmWizard.securityCodeWizard.newCodeGenerateMsg)) : null,\n this.state.currentStep == SecurityCodeStep.SystemError ?\n React.createElement(\"div\", null,\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.warmWizard.securityCodeWizard.problem)),\n React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.systemError),\n React.createElement(\"div\", null, Content.warmWizard.securityCodeWizard.choose),\n React.createElement(\"ul\", null,\n React.createElement(\"li\", null,\n React.createElement(\"span\", null, Content.warmWizard.securityCodeWizard.retrySendCode)),\n React.createElement(\"li\", null,\n React.createElement(\"span\", null, Content.warmWizard.securityCodeWizard.registerWithoutCode))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"button\", { className: \"btn primary\", style: { margin: \"15px\" }, onClick: () => { this.onSendNewCodeClick(); } }, Content.warmWizard.securityCodeWizard.retrySendNewCode),\n React.createElement(\"button\", { className: \"btn primary\", style: { margin: \"15px\" }, onClick: () => { Navigator.navigateTo(Urls.get().welcomePage); } }, Content.warmWizard.securityCodeWizard.registerWithoutCodes))) : null,\n this.state.currentStep == SecurityCodeStep.NINO ?\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.NINO.Main.Body\", this.state.cmsContent) } }),\n this.state.showCodeBlocedAfterMultiAttamptError ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.codeBlockedMsg) : null,\n (!this.state.showCodeBlocedAfterMultiAttamptError && this.state.inValidCode) ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.ninoNotMatch,\n Content.warmWizard.securityCodeWizard.ninoNotMatchDetail) : null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: creationData.nino, onChange: value => onCreationDataPartChange(x => x.nino = value), label: \"\", required: \"Please enter a valid national insurance number\", placeholder: \"National insurance number\", maxLength: 20, cssInput: \"input-large\", regex: { value: NationalInsuranceNumber, errorMessage: Content.validation.nino } })))) : null,\n this.state.currentStep == SecurityCodeStep.AccountNo ?\n React.createElement(\"div\", null,\n this.state.showCodeBlocedAfterMultiAttamptError ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.codeBlockedMsg) : null,\n (!this.state.showCodeBlocedAfterMultiAttamptError && this.state.inValidCode) ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.acountNotMatch,\n Content.warmWizard.securityCodeWizard.acountNotMatchContact) : null,\n (!this.state.showCodeBlocedAfterMultiAttamptError && !this.state.inValidCode && this.state.showNoAccountError) ? React.createElement(\"div\", { className: \"alert-error is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, Content.warmWizard.securityCodeWizard.infoAlert),\n Content.warmWizard.securityCodeWizard.noAccountNo) : null,\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: { __html: LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.AccountNumber.Main.Body\", this.state.cmsContent) } }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: creationData.clAccountId || \"AC\", onChange: value => {\n onCreationDataPartChange(x => x.clAccountId = value);\n }, label: \"\", required: \"Please enter a valid account no\", placeholder: \"AC1234567\", maxLength: 9, cssInput: \"input-large\" })))) : null)));\n }\n componentDidMount() {\n }\n isValid() {\n const validationErrors = this.validate();\n const noEmptyCode = this.props.wizardData.customerCreationData.firstCode.length == 5 &&\n this.props.wizardData.customerCreationData.firstCode.indexOf(\" \") < 0 &&\n this.props.wizardData.customerCreationData.secondCode.length == 5 &&\n this.props.wizardData.customerCreationData.secondCode.indexOf(\" \") < 0;\n this.updateStatePart(x => x.showMissingCode = !noEmptyCode);\n let validClaccount = true;\n if (this.state.currentStep == SecurityCodeStep.AccountNo) {\n validClaccount = this.props.wizardData.customerCreationData.clAccountId != null &&\n this.props.wizardData.customerCreationData.clAccountId != \"\" &&\n this.props.wizardData.customerCreationData.clAccountId != \"AC\";\n this.updateStatePart(x => x.showNoAccountError = !validClaccount);\n }\n return super.isValid() && validationErrors.length <= 0 && noEmptyCode && validClaccount;\n }\n validate() {\n let validationErrors = matchesRegexp(this.props.wizardData.customerCreationData.firstCode, Numeric) ? [] : [getContentString(this.state.cmsContent, ContentStringType.OccWarmReg_LetterCodes_IncorrectFirstCodeError_Body)];\n let validationErrors2 = matchesRegexp(this.props.wizardData.customerCreationData.secondCode, Alphabetical) ? [] : [getContentString(this.state.cmsContent, ContentStringType.OccWarmReg_LetterCodes_IncorrectSecondCodeError_Body)];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n this.updateStatePart(x => x.validationErrors2 = validationErrors2);\n let allError = validationErrors.concat(validationErrors2);\n return allError;\n }\n reConstructCode(oldCode, newCode, index, firstCode) {\n if (firstCode) {\n let validationErrors = matchesRegexp(newCode, Numeric) ? [] : [Content.validation.numbericOnly];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n }\n else {\n let validationErrors2 = matchesRegexp(newCode, Alphabetical) ? [] : [Content.validation.alphabetical];\n this.updateStatePart(x => x.validationErrors2 = validationErrors2);\n }\n let chars = oldCode.split(\"\");\n if (chars.length > index - 1) {\n chars[index - 1] = newCode;\n }\n else if (chars.length > 0) {\n chars.push(newCode);\n }\n else {\n return newCode;\n }\n return chars.join(\"\");\n }\n onAcceptTermsClick() {\n this.updateStatePart(x => x.currentStep = SecurityCodeStep.InputCode);\n }\n onSendNewCodeClick() {\n const creationData = this.props.wizardData.customerCreationData;\n PumaWarmRegistrationCustomerUserCreationActionsCreator.sendNewCode(creationData.firstCode, creationData.secondCode)\n .onSuccess(result => {\n this.updateStatePart(x => x.currentStep = SecurityCodeStep.SentNewCode);\n })\n .onError(result => {\n this.updateStatePart(x => x.currentStep = SecurityCodeStep.SystemError);\n });\n }\n continue() {\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n const creationData = this.props.wizardData.customerCreationData;\n if (this.isValid()) {\n if (this.state.currentStep == SecurityCodeStep.InputCode) {\n PumaWarmRegistrationSecurityCodeVerificationActionsCreator.verify(creationData.firstCode, creationData.secondCode, creationData.nino, creationData.clAccountId)\n .onSuccess(result => {\n switch (result.LetterCodesStatus) {\n case \"Reset\":\n case \"InUse\":\n case \"Sent\":\n this.updateStatePart(x => x.currentStep = result.ShouldValidateThroughNino == true ? SecurityCodeStep.NINO : SecurityCodeStep.AccountNo);\n break;\n case \"Blocked\":\n this.updateStatePart(x => x.currentStep = SecurityCodeStep.BlockedCode);\n break;\n case \"Expired\":\n this.updateStatePart(x => x.currentStep = SecurityCodeStep.CodeExpired);\n break;\n case \"Used\":\n this.updateStatePart(x => x.currentStep = SecurityCodeStep.CodeUsed);\n break;\n case null:\n default:\n this.updateStatePart(x => x.showInvalidCodeError = true);\n break;\n }\n this.updateStatePart(x => x.showMissingCode = false);\n onCreationDataPartChange(x => x.isLetterCodeValid = result.IsValid);\n onCreationDataPartChange(x => x.shouldValidateThroughNino = result.ShouldValidateThroughNino);\n onCreationDataPartChange(x => x.letterCodesStatus = result.LetterCodesStatus);\n onCreationDataPartChange(x => x.fnzUserId = result.FnzUserId || 0);\n });\n }\n else if (this.state.currentStep == SecurityCodeStep.NINO ||\n this.state.currentStep == SecurityCodeStep.AccountNo) {\n PumaWarmRegistrationSecurityCodeVerificationActionsCreator.verify(creationData.firstCode, creationData.secondCode, creationData.nino, creationData.clAccountId)\n .onSuccess(result => {\n // at this step, code should either at a valid status(reset, inUser, sent) or blocked\n switch (result.LetterCodesStatus) {\n case \"Reset\":\n case \"InUse\":\n case \"Sent\":\n if (result.IsValid) {\n const { match } = PumaCustomerUserAccountMatchActionsCreator();\n match({\n RegistrationType: PumaCustomerUserRegistrationType.Warm,\n VerificationCode: creationData.firstCode + creationData.secondCode,\n NationalIdentifier: creationData.nino,\n ClAccountId: creationData.clAccountId\n })\n .onSuccess(result => {\n if (result?.AccountMatched) {\n this.props.navigationActions.navigateTo(CustomerRegistrationWizardStepType.WarmAccountMatched);\n }\n else {\n this.updateStatePart(x => x.inValidCode = false);\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaCustomerUserAccountMatchErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n }\n else {\n this.updateStatePart(x => x.inValidCode = true);\n }\n break;\n case \"Blocked\":\n this.updateStatePart(x => x.showCodeBlocedAfterMultiAttamptError = true);\n break;\n }\n });\n }\n }\n }\n getDefaultState() {\n return {\n currentStep: SecurityCodeStep.TermsAndConditions,\n showInvalidCodeError: false,\n showCodeBlocedAfterMultiAttamptError: false,\n inValidCode: false,\n cmsContent: CMSItemsStore.getPayload(),\n showMissingCode: false,\n validationErrors: [],\n validationErrors2: [],\n showNoAccountError: false\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n this.reConstructCode = this.reConstructCode.bind(this);\n this.onSendNewCodeClick = this.onSendNewCodeClick.bind(this);\n this.validate = this.validate.bind(this);\n }\n}\n","import React from \"react\";\nimport { Tooltip } from \"./Components/Tooltip\";\nimport { Guid } from \"./../Utils/Guid\";\nimport { BaseListInput } from \"./BaseListInput\";\nexport class Radios extends BaseListInput {\n _inputRefs; // TODO: Needed???\n _grpName;\n constructor(props) {\n super(props);\n this._inputRefs = new Array();\n this._grpName = 'grp-name-' + Guid.getNext();\n }\n componentDidMount() {\n this.setNamesOfAllInputs();\n }\n componentDidUpdate() {\n this.setNamesOfAllInputs();\n }\n render() {\n if (this.props.isPanelRequired) {\n return (React.createElement(\"div\", null, this.getRadioButtons()));\n }\n else {\n return (React.createElement(\"ul\", { className: \"input-group\" }, this.getRadioButtons()));\n }\n }\n getSelectedOption(selectedIndex) {\n if (selectedIndex === null || selectedIndex === undefined) {\n var index = $('input[type=radio][name = ' + this._grpName + ']:checked').val();\n selectedIndex = (index !== null && index !== undefined) ? Globalize.parseInt(index) : -1;\n }\n if (selectedIndex < 0 || selectedIndex >= this.options.length) {\n return null;\n }\n return this.options[selectedIndex];\n }\n isHidden() {\n return $(this._inputRefs.filter(input => input !== null)).is(':hidden');\n }\n getRadioButtons() {\n this._inputRefs = [];\n return this.options.map((option, index) => this.getOption(option, index));\n }\n getOption(option, index) {\n var radioId = (this.props.id || this._grpName) + \"$\" + index.toString();\n var selectedOption = this.getSelectedOption(index);\n var automationId = (this.props.automationId || this._grpName) + \"$\" + selectedOption;\n if (this.props.isPanelRequired) {\n return (React.createElement(\"div\", { className: 'radio-panel', key: index },\n React.createElement(\"label\", null,\n this.getRadio(radioId, index, automationId),\n React.createElement(\"span\", { className: \"label\" }, this.props.getText(option)),\n this.getRadioSpecificTooltip(option))));\n }\n else {\n return (React.createElement(\"li\", { className: 'radio-wrapper', key: index },\n this.getRadio(radioId, index, automationId),\n React.createElement(\"label\", { htmlFor: radioId },\n \" \",\n this.props.getText(option),\n \" \"),\n this.getRadioSpecificTooltip(option)));\n }\n }\n setNamesOfAllInputs() {\n this._inputRefs.filter(input => input !== null).forEach(input => input.setAttribute('name', this._grpName));\n }\n getRadioSpecificTooltip(option) {\n if (!this.props.radioSpecificTooltip || !this.props.radioSpecificTooltip(option)) {\n return null;\n }\n return (React.createElement(Tooltip, { htmlText: this.props.radioSpecificTooltip(option) }));\n }\n getRadio(radioId, index, automationId) {\n return (React.createElement(\"input\", { type: 'radio', id: radioId, checked: this.state.selectedIndex === index, onChange: (event) => this.onChange(event), className: this.props.cssInput, disabled: this.props.disabled, value: index.toString(), ref: (input) => this._inputRefs.push(input), tabIndex: this.props.tabIndex, \"data-automation-id\": automationId, \"aria-describedby\": this.props.ariaDescribedby, \"aria-invalid\": !this.state.isValid ? \"true\" : undefined }));\n }\n}\n","import { Radios } from \"./../Radios\";\nexport class RadiosFactory {\n static create() {\n var instance = Radios;\n return instance;\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Guid } from \"./../Utils/Guid\";\nimport { isNotEmpty } from \"./Validation/RawValueRules\";\nimport { RadiosFactory } from \"./Factories/RadiosFactory\";\nimport { Position } from \"./../Enums/Position\";\nimport { BaseEditor } from \"./BaseEditor\";\nexport class RadiosEditor extends BaseEditor {\n constructor(props) {\n super(props);\n }\n render() {\n var wrapperCss = classNames('form-group', this.props.cssWrapper, { 'error': !this.state.isValid });\n var radioListWithoutPanelCss = classNames({ 'controls-radio': !this.props.isPanelRequired });\n return (React.createElement(\"div\", { className: wrapperCss, ref: (elem) => this.wrapperRef = elem },\n React.createElement(\"fieldset\", { className: radioListWithoutPanelCss },\n this.getDescription(),\n this.showErrorsAt(Position.Top) && this.getValidationErrorsContainer(),\n this.getInput(),\n this.showErrorsAt(Position.Bottom) && this.getValidationErrorsContainer())));\n }\n componentDidMount() {\n this.bindLabelToInput();\n }\n getInput() {\n var Radios = RadiosFactory.create();\n return (React.createElement(Radios, { cssInput: \"radio\", ...this.props, id: this.state.inputGroupId, ariaDescribedby: !this.state.isValid ? this._errorMessageId : undefined, onValidationResultChange: (isValid, errors) => this.onValidationResultChange(isValid, errors) }));\n }\n getDescription() {\n if (!this.props.label) {\n return null;\n }\n return (React.createElement(\"legend\", { className: \"control-label\" },\n React.createElement(\"span\", { id: this.state.inputGroupId }, this.props.label),\n this.getTooltip()));\n }\n bindLabelToInput() {\n var id;\n var propId = null;\n if (this.props.hasOwnProperty('id')) {\n propId = this.props['id'];\n }\n id = (isNotEmpty(propId)) ? propId : Guid.getNext().toString();\n this.setState({ inputGroupId: id });\n }\n}\n","import { RadiosEditor } from \"./../RadiosEditor\";\nexport class RadiosEditorFactory {\n static create() {\n var instance = RadiosEditor;\n return instance;\n }\n}\n","import React from \"react\";\nimport { Urls } from \"./../../Urls\";\nimport { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { LoadCMSActionCreators } from \"./../../../Shared/CMS/LoadCMSActionCreators\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { RadiosEditorFactory } from \"@/react-core/Html/Factories/RadiosEditorFactory\";\nimport { CMSItemsStore } from \"./../../../Shared/CMS/CMSActionStore\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class WarmOrColdWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.GetStarted;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n this.bindPrivateMethods();\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => {\n state.cmsContent = CMSItemsStore.getPayload();\n });\n }\n render() {\n const creationData = this.props?.wizardData?.customerCreationData;\n const onCreationDataPartChange = this.props?.wizardData?.onCustomerCreationDataPartChange;\n var ColdOrWarmRadio = RadiosEditorFactory.create();\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props?.navigationActions?.cancel, onContinue: this.continue, onNavigateBack: () => this.props?.navigationActions?.navigateBack(this._currentStepId), pageTitle: Content.pageTitles.emailVerification },\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: {\n __html: LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.WarmOrCold.Main.Body\", this.state.cmsContent),\n } }),\n React.createElement(ColdOrWarmRadio, { label: \"\", options: [true, false], getText: (option) => option\n ? LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.WarmOrCold.WarmOption.Body\", this.state.cmsContent)\n : LoadCMSActionCreators.GetCMSText(\"OCCWarmReg.WarmOrCold.ColdOption.Body\", this.state.cmsContent), onChange: (value) => {\n onCreationDataPartChange((x) => (x.isWarmReg = value));\n }, selected: creationData?.isWarmReg, required: \"plese select one\" }))));\n }\n componentDidMount() { }\n continue() {\n const onCreationDataPartChange = this.props?.wizardData?.onCustomerCreationDataPartChange;\n if (this.isValid()) {\n if (this.props?.wizardData?.customerCreationData.isWarmReg) {\n this.props?.navigationActions?.navigateNext(this._currentStepId);\n }\n else {\n Navigator.navigateTo(Urls.get().welcomePage);\n }\n }\n }\n getDefaultState() {\n return {\n cmsContent: CMSItemsStore.getPayload(),\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n }\n}\n","import React from \"react\";\nimport { HelpCenterContactDetailsActionsCreator } from \"./../../ActionsCreators/HelpCenterContactDetailsActionsCreator\";\nimport { Content } from \"./../../Resources/Content\";\nimport { HelpCenterContactDetailsStore } from \"./../../Stores/HelpCenterContactDetailsStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class NearlyThere extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(HelpCenterContactDetailsStore, this.onHelpCenterContactDetailsChange);\n }\n render() {\n return (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n this.props.showHeader &&\n React.createElement(\"h1\", { className: \"heading-page-underlined pt-0\" }, Content.nearlyThere.header),\n React.createElement(\"p\", null, Content.nearlyThere.message))));\n }\n componentDidMount() {\n if (!HelpCenterContactDetailsStore.isEmpty()) {\n this.updateStatePart(x => x.helpCenterContactDetails = HelpCenterContactDetailsStore.getPayload());\n }\n else {\n if (!HelpCenterContactDetailsStore.isLoading()) {\n HelpCenterContactDetailsActionsCreator.reload();\n }\n }\n }\n onHelpCenterContactDetailsChange() {\n if (!HelpCenterContactDetailsStore.isLoading()) {\n this.updateStatePart(x => {\n x.helpCenterContactDetails = HelpCenterContactDetailsStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n helpCenterContactDetails: {}\n };\n }\n bindPrivateMethods() {\n this.onHelpCenterContactDetailsChange = this.onHelpCenterContactDetailsChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { NearlyThere } from \"./../../../Shared/Common/Components/NearlyThere/NearlyThere\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { PumaUserActivationEmailVerificationStatus } from \"@/Wrap/Constants/Enums/ActivationEmailVerification/PumaUserActivationEmailVerificationStatus\";\nexport const SuccessWizardSection = (props) => {\n if (props.wizardData.emailVerificationResult.Status !== PumaUserActivationEmailVerificationStatus.Verified) {\n window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl());\n return React.createElement(\"div\", null);\n }\n return (React.createElement(WizardSectionLayout, { topStepperHeader: props.wizardData.completionResult.CustomerFullyVerified\n ? Content.wizard.success.successHeading\n : Content.wizard.success.nearlyThereHeading, showSideStepper: false, showTopStepper: false, canCancel: false, canNavigateBack: false, canConfirm: false, canContinue: false, canSaveAndExit: false, pageTitle: Content.pageTitles.success },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n props.wizardData.completionResult.CustomerFullyVerified &&\n React.createElement(\"p\", { className: \"heading-success\" }, Content.wizard.success.successMessage),\n !props.wizardData.completionResult.CustomerFullyVerified &&\n React.createElement(NearlyThere, { showHeader: false }),\n React.createElement(Button, { className: \"btn primary large\", onClick: () => window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()) }, props.wizardData.completionResult.CustomerFullyVerified\n ? Content.wizard.success.successButtonLabel\n : Content.wizard.success.nearlyThereButtonLabel)),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-auto\", \"aria-hidden\": \"true\" },\n React.createElement(\"div\", { className: \"asset-almost\" })))));\n};\n","export var PumaCustomerUserCreationCompletionErrors;\n(function (PumaCustomerUserCreationCompletionErrors) {\n PumaCustomerUserCreationCompletionErrors[PumaCustomerUserCreationCompletionErrors[\"ConfirmationTokenIsNotValid\"] = 0] = \"ConfirmationTokenIsNotValid\";\n})(PumaCustomerUserCreationCompletionErrors || (PumaCustomerUserCreationCompletionErrors = {}));\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaCustomerUserCreationCompletionErrors } from \"@/Wrap/Validation/Errors/Onboarding/Customer/PumaCustomerUserCreationCompletionErrors\";\nexport class PumaCustomerUserCreationCompletionErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaCustomerUserCreationCompletionErrors.ConfirmationTokenIsNotValid, Content.validation.authenticationCodeIsNotValid);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCustomerUserCreationCompletionClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaCustomerUserCreationCompletion/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaCustomerUserCreationCompletionClient } from \"@/Puma/Api/Onboarding/PumaCustomerUserCreationCompletion\";\nexport class PumaCustomerUserCreationCompletionActionsCreator {\n static submit(request) {\n const client = new PumaCustomerUserCreationCompletionClient();\n return client.post(request);\n }\n}\n","import { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nexport class PumaConfirmationTokenVerificationErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n return map;\n }\n}\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserSmsConfirmationTokenRequestsErrors } from \"@/Puma/Site/Models/Onboarding/Customer/ValidationErrors/PumaUserSmsConfirmationTokenRequestsErrors\";\nexport class InitialPumaUserSmsConfirmationTokenRequestsErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserSmsConfirmationTokenRequestsErrors.SmsAuthenticationIsNotActivated, Content.common.smsAuthenticationNotEnabled);\n map.set(PumaUserSmsConfirmationTokenRequestsErrors.NumberOfAuthenticationExceeded, Content.common.initialValidationNumberOfRequestedCodesExceeded);\n map.set(PumaUserSmsConfirmationTokenRequestsErrors.SmsServiceExperiencingIssues, Content.common.smsServiceExperiencingIssues);\n return map;\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const AntiPhishingImageDocumentActionsDispatcher = new Dispatcher();\nexport const AntiPhishingImageDocumentStore = new PayloadStore(AntiPhishingImageDocumentActionsDispatcher);\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { AntiPhishingImageDocumentActionsDispatcher } from \"./../Stores/AntiPhishingImageDocumentStore\";\nimport { EncryptedStaticDocumentClient } from \"@/Puma/Api/StaticDocuments/EncryptedStaticDocument\";\nexport class AntiPhishingImageDocumentActionsCreator {\n static load(encryptedDocumentId) {\n const client = new EncryptedStaticDocumentClient();\n AntiPhishingImageDocumentActionsCreator.startLoading();\n client\n .get(encryptedDocumentId)\n .onSuccess(AntiPhishingImageDocumentActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(document) {\n AntiPhishingImageDocumentActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: document });\n }\n static startLoading() {\n AntiPhishingImageDocumentActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaUserActivationEmailRecyclingClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaUserActivationEmailRecycling/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaUserActivationEmailRecyclingClient } from \"@/Puma/Api/Onboarding/PumaUserActivationEmailRecycling\";\nexport class PumaUserActivationEmailRecyclingActionsCreator {\n static recycle(request) {\n const client = new PumaUserActivationEmailRecyclingClient();\n return client.post(request);\n }\n}\n","import React from \"react\";\nimport { PumaUserActivationEmailRecyclingActionsCreator } from \"./../../ActionsCreators/PumaUserActivationEmailRecyclingActionsCreator\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class ExpiredActivationToken extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = {\n isActivationTokenResent: false,\n isLoading: false\n };\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h3\", null, this.state.isActivationTokenResent\n ? this.props.expiredActivationTokenResentMessage\n : this.props.expiredActivationTokenMessage),\n !this.state.isActivationTokenResent &&\n React.createElement(Button, { className: \"btn primary large\", onClick: () => this.recycleToken() }, Content.activationEmail.resendButtonLabel)));\n }\n recycleToken() {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaUserActivationEmailRecyclingActionsCreator.recycle({ ActivationToken: this.props.expiredActivationToken })\n .onSuccess(() => {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.isActivationTokenResent = true;\n });\n });\n });\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nexport const RegistrationAlreadyCompleted = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.accountActivation.registrationAlreadyCompletedMessage),\n React.createElement(Button, { className: \"btn primary large\", onClick: () => window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()) }, Content.wizard.accountActivation.login)));\n};\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCustomerUserActivationSmsResendRequestClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaCustomerUserActivationSmsResendRequest/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaCustomerUserActivationSmsResendRequestClient } from \"@/Puma/Api/Onboarding/PumaCustomerUserActivationSmsResendRequest\";\nexport class PumaCustomerUserActivationSmsResendRequestActionsCreator {\n static resend(request) {\n const client = new PumaCustomerUserActivationSmsResendRequestClient();\n return client.post(request);\n }\n}\n","import React from \"react\";\nimport { PumaUserSmsConfirmationTokenRequestsErrorsDictionary } from \"./../../../Shared/Authentication/Sms/Entities/ErrorsDictionaries/PumaUserSmsConfirmationTokenRequestsErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaUserActivationEmailVerificationStatus } from \"@/Wrap/Constants/Enums/ActivationEmailVerification/PumaUserActivationEmailVerificationStatus\";\nimport { PumaCustomerUserActivationSmsResendRequestActionsCreator } from \"./../../ActionsCreators/PumaCustomerUserActivationSmsResendRequestActionsCreator\";\nimport { Content } from \"./../../Resources/Content\";\nimport { SmsAuthenticationBase } from \"./../../../Shared/Authentication/Sms/Components/SmsAuthenticationBase\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class PhoneNumberVerification extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true, className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(SmsAuthenticationBase, { header: null, enterAuthCodeLabel: Content.wizard.accountActivation.enterSmsAuthCode, authCode: this.props.authCode, confirmationToken: this.props.confirmationToken, onAuthCodeChange: this.props.onAuthCodeChange, onAuthenticationCodeResendConfirmed: this.resendAuthenticationCode }))));\n }\n resendAuthenticationCode(onResendSuccess, onResendErrors) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaCustomerUserActivationSmsResendRequestActionsCreator.resend({ ActivationToken: this.props.activationToken })\n .onSuccess(result => {\n if (result.Status === PumaUserActivationEmailVerificationStatus.Verified) {\n this.updateStatePart(x => x.isLoading = false, () => {\n onResendSuccess();\n this.props.onConfirmationTokenChange(result.SmsConfirmationToken);\n });\n }\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserSmsConfirmationTokenRequestsErrorsDictionary);\n this.updateStatePart(x => x.isLoading = false, () => onResendErrors(validationErrors));\n });\n });\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.resendAuthenticationCode = this.resendAuthenticationCode.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaCustomerUserCreationCompletionErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaCustomerUserCreationCompletionErrorsDictionary\";\nimport { PumaCustomerUserCreationCompletionActionsCreator } from \"./../../ActionsCreators/PumaCustomerUserCreationCompletionActionsCreator\";\nimport { PumaConfirmationTokenVerificationErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaConfirmationTokenVerificationErrorsDictionary\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaConfirmationTokenVerificationErrors } from \"@/Wrap/Validation/Errors/Credentials/PumaConfirmationTokenVerificationErrors\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { InitialPumaUserSmsConfirmationTokenRequestsErrorsDictionary } from \"./../../../Shared/Authentication/Sms/Entities/ErrorsDictionaries/InitialPumaUserSmsConfirmationTokenRequestsErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { AntiPhishingImageDocumentActionsCreator } from \"./../../ActionsCreators/AntiPhishingImageDocumentActionsCreator\";\nimport { ExpiredActivationToken } from \"./../../../Shared/Common/Components/ActivationEmail/ExpiredActivationToken\";\nimport { RegistrationAlreadyCompleted } from \"./RegistrationAlreadyCompleted\";\nimport { PhoneNumberVerification } from \"./PhoneNumberVerification\";\nimport { AntiPhishingPhrase } from \"./../../../Shared/AntiPhishing/Components/AntiPhishingPhrase\";\nimport { AntiPhishingImage } from \"./../../../Shared/AntiPhishing/Components/AntiPhishingImage\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSections/WizardSectionLayout\";\nimport { EncryptedPhoneNumberExtensions } from \"./../../../Shared/Common/Entities/PhoneNumbers/EncryptedPhoneNumberExtensions\";\nimport { AntiPhishingImageDocumentStore } from \"./../../Stores/AntiPhishingImageDocumentStore\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { PumaUserActivationEmailVerificationStatus as VerificationStatus } from \"@/Wrap/Constants/Enums/ActivationEmailVerification/PumaUserActivationEmailVerificationStatus\";\nexport class FinishedEmailVerification extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(AntiPhishingImageDocumentStore, this.onAntiPhishingImageDocumentStoreChange);\n }\n render() {\n const registrationAlreadyCompleted = this.props.emailVerificationResult.Status == VerificationStatus.AccountAlreadyActivated;\n const emailVerificationSucceeded = this.props.emailVerificationResult.Status === VerificationStatus.Verified;\n const emailVerificationFailed = !emailVerificationSucceeded\n && !registrationAlreadyCompleted\n && this.props.emailVerificationResult.Status !== VerificationStatus.NotSpecified;\n const canConfirmSmsCode = emailVerificationSucceeded\n && this.props.emailVerificationResult.SmsVerification.SmsConfirmationToken != null\n && !this.state.smsTokenVerificationAttemptsExceeded;\n let encryptedPhoneNumberString = null;\n if (canConfirmSmsCode) {\n const mfaNumber = this.props.emailVerificationResult.SmsVerification.SmsConfirmationToken.EncryptedPhoneNumber;\n encryptedPhoneNumberString = EncryptedPhoneNumberExtensions.toDisplayValue(mfaNumber);\n }\n return (React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: false, canCancel: true, canNavigateBack: false, canConfirm: canConfirmSmsCode, canContinue: false, canSaveAndExit: false, onCancel: this.props.onCancel, onConfirm: this.validateAuthCode, pageTitle: Content.pageTitles.accountActivation },\n React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.getAllValidationErrors() }),\n React.createElement(\"h2\", { className: \"h3\" }, Content.wizard.accountActivation.yourMemorableImageandPhrase),\n React.createElement(\"div\", { className: \"mb-48\" },\n React.createElement(\"div\", { className: \"row mb-8\" },\n React.createElement(\"div\", { className: \"col-xs-6\" },\n React.createElement(AntiPhishingImage, { imageUrl: this.state.antiPhishingImageDocument.ExternalUrl, displayName: this.state.antiPhishingImageDocument.Document.DisplayName })),\n React.createElement(\"div\", { className: \"col-xs-6 col-equalise\" },\n React.createElement(AntiPhishingPhrase, { phrase: this.props.emailVerificationResult.AntiPhishing.AntiPhishingPhrase })))),\n canConfirmSmsCode &&\n React.createElement(\"div\", null,\n React.createElement(\"p\", { className: \"h1\" },\n Content.wizard.accountActivation.emailVerifiedSmsSentMessage_PhoneNumberPart1,\n React.createElement(\"span\", { className: \"sr-only\" }, Content.wizard.accountActivation.numberEnding),\n React.createElement(\"span\", { \"aria-hidden\": \"true\" }, encryptedPhoneNumberString.slice(0, -3)),\n encryptedPhoneNumberString.slice(-3)),\n React.createElement(PhoneNumberVerification, { activationToken: this.props.emailVerificationResult.ActivationToken, authCode: this.state.authCode, confirmationToken: this.props.emailVerificationResult.SmsVerification.SmsConfirmationToken, onAuthCodeChange: (authCode) => this.updateStatePart(x => x.authCode = authCode), onConfirmationTokenChange: this.props.onConfirmationTokenChange })),\n registrationAlreadyCompleted &&\n React.createElement(RegistrationAlreadyCompleted, null),\n (emailVerificationFailed || this.state.smsTokenVerificationAttemptsExceeded) &&\n React.createElement(ExpiredActivationToken, { expiredActivationToken: this.props.emailVerificationResult.ActivationToken, expiredActivationTokenMessage: this.state.smsTokenVerificationAttemptsExceeded\n ? Content.wizard.accountActivation.activationTokenExpiredDueToVerificationAttemptsExceeded\n : Content.wizard.accountActivation.activationTokenExpired, expiredActivationTokenResentMessage: Content.wizard.accountActivation.activationTokenResent }))));\n }\n componentDidMount() {\n if (this.props.emailVerificationResult.AntiPhishing.AntiPhishingImageEncryptedDocumentId) {\n AntiPhishingImageDocumentActionsCreator.load(this.props.emailVerificationResult.AntiPhishing.AntiPhishingImageEncryptedDocumentId);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (nextProps.emailVerificationResult.AntiPhishing.AntiPhishingImageEncryptedDocumentId &&\n this.props.emailVerificationResult.AntiPhishing.AntiPhishingImageEncryptedDocumentId !== nextProps.emailVerificationResult.AntiPhishing.AntiPhishingImageEncryptedDocumentId) {\n AntiPhishingImageDocumentActionsCreator.load(nextProps.emailVerificationResult.AntiPhishing.AntiPhishingImageEncryptedDocumentId);\n }\n }\n isValid() {\n if (this.props.emailVerificationResult.SmsVerification.IsInitialSmsConfirmationToken\n && this.props.emailVerificationResult.SmsVerification.InitialSmsConfirmationTokenRequestErrors.length > 0) {\n return false;\n }\n return super.isValid();\n }\n getAllValidationErrors() {\n if (this.props.emailVerificationResult.SmsVerification.IsInitialSmsConfirmationToken\n && this.props.emailVerificationResult.SmsVerification.InitialSmsConfirmationTokenRequestErrors.length > 0) {\n const rawApiRequestErrors = this.props.emailVerificationResult.SmsVerification.InitialSmsConfirmationTokenRequestErrors.map(x => {\n return {\n Error: x.Error\n };\n });\n const apiRequestErrors = ApiValidationErrorsMapper.mapApiErrors(rawApiRequestErrors, InitialPumaUserSmsConfirmationTokenRequestsErrorsDictionary);\n return this.state.validationErrors.concat(apiRequestErrors);\n }\n return this.state.validationErrors;\n }\n onAntiPhishingImageDocumentStoreChange() {\n if (!AntiPhishingImageDocumentStore.isLoading()) {\n this.updateStatePart(x => {\n x.antiPhishingImageDocument = AntiPhishingImageDocumentStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n validateAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken({\n tokenValue: this.props.emailVerificationResult.SmsVerification.SmsConfirmationToken.TokenValue,\n kind: AuthenticationMethod.Sms,\n encryptedPhoneNumber: this.props.emailVerificationResult.SmsVerification.SmsConfirmationToken.EncryptedPhoneNumber\n }, { VerificationCode: this.state.authCode })\n .onSuccess((result) => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.confirm();\n return;\n }\n this.updateStatePart(x => {\n x.validationErrors = [Content.wizard.accountActivation.smsAuthenticationFailed];\n x.isLoading = this.isAnyStoreLoading();\n });\n })\n .onError(errors => {\n const errorsIndicatingSmsTokenVerificationAttemptsExceeded = [\n PumaConfirmationTokenVerificationErrors.PumaUserHasBeenLockedOut,\n PumaConfirmationTokenVerificationErrors.NumberOfVerificationAttemptsExceeded\n ];\n if (errors.some(x => errorsIndicatingSmsTokenVerificationAttemptsExceeded.some(y => y === x.Error))) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.smsTokenVerificationAttemptsExceeded = true;\n x.validationErrors = [];\n }, Scroll.scrollTop);\n return;\n }\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaConfirmationTokenVerificationErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n confirm() {\n PumaCustomerUserCreationCompletionActionsCreator.submit({\n ActivationToken: this.props.emailVerificationResult.ActivationToken,\n ConfirmationToken: {\n TokenValue: this.props.emailVerificationResult.SmsVerification.SmsConfirmationToken.TokenValue\n }\n })\n .onSuccess(result => {\n if (!result.ActivationTokenVerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Content.validation.emailVerificationTokenHasExpired];\n });\n return;\n }\n this.updateStatePart(x => x.isLoading = false, () => this.props.onCreationCompletionFinished(result));\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaCustomerUserCreationCompletionErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n }\n getDefaultState() {\n return {\n smsTokenVerificationAttemptsExceeded: false,\n antiPhishingImageDocument: {\n Document: {}\n },\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.onAntiPhishingImageDocumentStoreChange = this.onAntiPhishingImageDocumentStoreChange.bind(this);\n this.validateAuthCode = this.validateAuthCode.bind(this);\n this.confirm = this.confirm.bind(this);\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSections/WizardSectionLayout\";\nimport { EncryptedPhoneNumberExtensions } from \"./../../../Shared/Common/Entities/PhoneNumbers/EncryptedPhoneNumberExtensions\";\nexport const PendingEmailVerification = (props) => {\n const encryptedPhoneNumberString = EncryptedPhoneNumberExtensions.toDisplayValue(props.registeredMfaPhoneNumber);\n const splitPhoneNumber = encryptedPhoneNumberString.slice(-3);\n const splitAsterisk = encryptedPhoneNumberString.slice(0, -3);\n return (React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.thankYouForYourInformation, showSideStepper: false, showTopStepper: false, canCancel: false, canNavigateBack: false, canConfirm: false, canContinue: false, canSaveAndExit: false, pageTitle: Content.pageTitles.accountActivation },\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"alert-info is-acc large\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n Content.wizard.accountActivation.emailConfirmationMessage_Email.replace('{0}', props.registeredEmailAddress.Email)),\n React.createElement(\"p\", { className: \"lead mb-48\" },\n Content.wizard.accountActivation.phoneConfirmationMessage_PhoneNumberPart1,\n React.createElement(\"span\", { className: \"sr-only\" }, Content.wizard.accountActivation.numberEnding),\n React.createElement(\"span\", { \"aria-hidden\": \"true\" }, splitAsterisk),\n splitPhoneNumber,\n Content.wizard.accountActivation.phoneConfirmationMessage_PhoneNumberPart2),\n React.createElement(Button, { className: \"btn primary large\", onClick: () => props.navigationActions.navigateToLoginPage() }, Content.wizard.accountActivation.backToHome))));\n};\n","export var RegistrationProgress;\n(function (RegistrationProgress) {\n RegistrationProgress[RegistrationProgress[\"NotSpecified\"] = 0] = \"NotSpecified\";\n RegistrationProgress[RegistrationProgress[\"GatheringCreationData\"] = 1] = \"GatheringCreationData\";\n RegistrationProgress[RegistrationProgress[\"PendingEmailVerification\"] = 2] = \"PendingEmailVerification\";\n RegistrationProgress[RegistrationProgress[\"FinishedEmailVerification\"] = 3] = \"FinishedEmailVerification\";\n})(RegistrationProgress || (RegistrationProgress = {}));\n","export var PumaCustomerUserCreationErrors;\n(function (PumaCustomerUserCreationErrors) {\n PumaCustomerUserCreationErrors[PumaCustomerUserCreationErrors[\"PasswordRequirementsWereNotMet\"] = 0] = \"PasswordRequirementsWereNotMet\";\n PumaCustomerUserCreationErrors[PumaCustomerUserCreationErrors[\"UserNameIsNotAvailable\"] = 1] = \"UserNameIsNotAvailable\";\n PumaCustomerUserCreationErrors[PumaCustomerUserCreationErrors[\"PumaSmsAuthenticationPhoneNumberHasInvalidFormat\"] = 2] = \"PumaSmsAuthenticationPhoneNumberHasInvalidFormat\";\n PumaCustomerUserCreationErrors[PumaCustomerUserCreationErrors[\"UserNameContainsInvalidCharacters\"] = 3] = \"UserNameContainsInvalidCharacters\";\n PumaCustomerUserCreationErrors[PumaCustomerUserCreationErrors[\"GenericValidationFailure\"] = 4] = \"GenericValidationFailure\";\n})(PumaCustomerUserCreationErrors || (PumaCustomerUserCreationErrors = {}));\n","import React from \"react\";\nimport { FinishedEmailVerification } from \"./../AccountActivation/FinishedEmailVerification\";\nimport { PendingEmailVerification } from \"./../AccountActivation/PendingEmailVerification\";\nimport { RegistrationProgress } from \"./../../Entities/RegistrationProgress\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class AccountActivationWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.AccountActivation;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n this.props.wizardData.registrationProgress === RegistrationProgress.PendingEmailVerification &&\n React.createElement(PendingEmailVerification, { registeredMfaPhoneNumber: this.props.wizardData.registeredMfaPhoneNumber, registeredEmailAddress: this.props.wizardData.registeredEmailAddress, navigationActions: this.props.navigationActions }),\n this.props.wizardData.registrationProgress === RegistrationProgress.FinishedEmailVerification &&\n React.createElement(FinishedEmailVerification, { emailVerificationResult: this.props.wizardData.emailVerificationResult, onConfirmationTokenChange: this.props.wizardData.onConfirmationTokenChange, onCancel: this.props.navigationActions.cancel, onCreationCompletionFinished: this.props.navigationActions.confirm })));\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n }\n}\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaCustomerUserCreationErrors } from \"@/Wrap/Validation/Errors/Onboarding/Customer/PumaCustomerUserCreationErrors\";\nexport class PumaCustomerUserCreationErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaCustomerUserCreationErrors.PasswordRequirementsWereNotMet, Content.validation.passwordRequirementsWereNotMet);\n map.set(PumaCustomerUserCreationErrors.UserNameContainsInvalidCharacters, Content.validation.usernameContainsInvalidCharacters);\n map.set(PumaCustomerUserCreationErrors.UserNameIsNotAvailable, Content.validation.usernameAlreadyExists);\n map.set(PumaCustomerUserCreationErrors.PumaSmsAuthenticationPhoneNumberHasInvalidFormat, Content.validation.pumaSmsAuthenticationPhoneNumberHasInvalidFormat);\n map.set(PumaCustomerUserCreationErrors.GenericValidationFailure, Content.validation.genericValidationFailure);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class EncryptedPumaCustomerUserCreationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(creationData) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/EncryptedPumaCustomerUserCreation/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { creationData: creationData };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { EncryptedPumaCustomerUserCreationClient } from \"@/Puma/Api/Onboarding/EncryptedPumaCustomerUserCreation\";\nexport class EncryptedPumaCustomerUserCreationActionsCreator {\n static register(creationData) {\n const client = new EncryptedPumaCustomerUserCreationClient();\n return client.post(creationData);\n }\n}\n","export class EncryptedPumaCustomerUserCreationDataMapper {\n mapToServerContract(clientData) {\n const creationData = {\n AntiPhishingPhrase: clientData.antiPhishingData.antiPhishingPhrase,\n ContactDetails: {\n EmailAddress: clientData.contactDetails.emailAddress,\n SmsFactorAuthenticationPhoneNumberType: clientData.contactDetails.smsFactorAuthenticationPhoneNumberType,\n Address: {\n AddressLine1: clientData.contactDetails.address.Line1,\n AddressLine2: clientData.contactDetails.address.Line2,\n HouseNumber: clientData.contactDetails.address.Line3,\n City: clientData.contactDetails.address.Line4,\n County: clientData.contactDetails.address.Line5,\n Country: clientData.contactDetails.address.CountryCode,\n PostCode: clientData.contactDetails.address.Postcode\n }\n },\n DateOfBirth: clientData.dateOfBirth,\n EncryptedAntiPhishingImageDocumentId: clientData.antiPhishingData.antiPhishingImageDocument.Document.EncryptedDocumentId,\n FirstName: clientData.firstName,\n LastName: clientData.lastName,\n IdentityVerificationData: clientData.identityVerificationData,\n Password: clientData.password,\n Username: clientData.userName,\n FnzUserIds: clientData.coldRegFnzUserIds\n };\n if (clientData.contactDetails.mobilePhoneNumber.phoneNumber) {\n creationData.ContactDetails.MobilePhoneNumber = {\n Number: clientData.contactDetails.mobilePhoneNumber.internationalDialingCode.Code + clientData.contactDetails.mobilePhoneNumber.phoneNumber\n };\n }\n if (clientData.contactDetails.homePhoneNumber.phoneNumber) {\n creationData.ContactDetails.HomePhoneNumber = {\n Number: clientData.contactDetails.homePhoneNumber.internationalDialingCode.Code + clientData.contactDetails.homePhoneNumber.phoneNumber\n };\n }\n return creationData;\n }\n}\n","import React from \"react\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { PumaCustomerUserCreationErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaCustomerUserCreationErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { EncryptedPumaCustomerUserCreationActionsCreator } from \"./../../ActionsCreators/EncryptedPumaCustomerUserCreationActionsCreator\";\nimport { EncryptedPumaCustomerUserCreationDataMapper } from \"./../../Entities/Mappers/EncryptedPumaCustomerUserCreationDataMapper\";\nimport { AnonymousAntiPhishing } from \"./../../../Shared/AntiPhishing/Components/AnonymousAntiPhishing\";\nimport { Tooltip } from \"@/react-core/Html/Components/Tooltip\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class AntiPhishingWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.AntiPhishing;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n const urlsHelper = new CustomerRegistrationUrlsHelper();\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), pageTitle: Content.pageTitles.antiphishing },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"p\", { className: \"mb-8\" }, Content.wizard.antiPhishing.securityIsImportantToUs),\n React.createElement(\"p\", { className: \"mb-8\" },\n React.createElement(\"strong\", null, Content.wizard.antiPhishing.antiPhishingExplanation)),\n React.createElement(\"div\", { className: \"row narrow-gutter mb-48\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"span\", null,\n Content.wizard.antiPhishing.useDefaultOrPickOwn,\n \" \")),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Tooltip, { htmlText: Content.wizard.antiPhishing.learnMoreCopy, triggerText: Content.common.learnMore, messageCss: \"text\" }))),\n React.createElement(AnonymousAntiPhishing, { antiPhishingData: creationData.antiPhishingData, allowUserPickOwnImageAndPhrase: true, onAntiPhishingDataChange: data => onCreationDataPartChange(x => x.antiPhishingData = data) }))));\n }\n continue() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const mapper = new EncryptedPumaCustomerUserCreationDataMapper();\n const serverCreationData = mapper.mapToServerContract(this.props.wizardData.customerCreationData);\n EncryptedPumaCustomerUserCreationActionsCreator.register(serverCreationData)\n .onSuccess(result => {\n this.updateStatePart(x => x.isLoading = false, () => this.props.wizardData.onCustomerCreationDataSubmitted(result));\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaCustomerUserCreationErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n });\n });\n });\n }\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { userName, password, antiPhishingData } = this.props.wizardData.customerCreationData;\n if (antiPhishingData.antiPhishingPhrase !== \"\") {\n if (Strings.isSame(antiPhishingData.antiPhishingPhrase, password)\n || Strings.isSame(antiPhishingData.antiPhishingPhrase, userName)) {\n const validationErrors = [Content.wizard.antiPhishing.antiPhishingPhraseMutBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n }\n}\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { CustomerPumaUsernameAvailabilityChecksActionsCreator } from \"./../../ActionsCreators/CustomerPumaUsernameAvailabilityChecksActionsCreator\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { PasswordPicker } from \"./../Credentials/PasswordPIcker\";\nimport { UserNamePicker } from \"./../Credentials/UserNamePicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class CredentialsWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.Credentials;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n const urlsHelper = new CustomerRegistrationUrlsHelper();\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), pageTitle: Content.pageTitles.credentials },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(UserNamePicker, { userName: creationData.userName, onUserNameChange: userName => onCreationDataPartChange(x => x.userName = userName) }),\n React.createElement(\"hr\", { className: \"divider-subtle mt-12 mb-24\" }),\n React.createElement(PasswordPicker, { password: this.props.wizardData.customerCreationData.password, confirmPassword: this.props.wizardData.customerCreationData.confirmPassword, onPasswordChange: password => onCreationDataPartChange(x => x.password = password), onConfirmPasswordChange: confirmPassword => onCreationDataPartChange(x => x.confirmPassword = confirmPassword) }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { userName, password, firstName, lastName, antiPhishingData } = this.props.wizardData.customerCreationData;\n if (userName !== \"\") {\n if (Strings.isSame(userName, password)\n || (antiPhishingData && Strings.isSame(userName, antiPhishingData.antiPhishingPhrase))) {\n const validationErrors = [Content.wizard.credentials.userNameMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n if (password !== \"\") {\n if (Strings.hasSubstring(password, userName)\n || antiPhishingData && Strings.hasSubstring(antiPhishingData.antiPhishingPhrase, password)) {\n const validationErrors = [Content.wizard.credentials.passwordMustNotContainOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n if (Strings.hasSubstring(password, firstName)\n || Strings.hasSubstring(password, lastName)) {\n const validationErrors = [Content.wizard.credentials.passwordMustNotContainFirstNameAndSurname];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n continue() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CustomerPumaUsernameAvailabilityChecksActionsCreator.checkUsernameAvailability({\n Username: this.props.wizardData.customerCreationData.userName\n })\n .onSuccess(result => {\n this.updateStatePart(x => x.isLoading = false, () => {\n if (result.IsAvailable) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n return;\n }\n this.updateStatePart(x => x.validationErrors = [Content.validation.usernameAlreadyExists], Scroll.scrollTop);\n });\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n this.validate = this.validate.bind(this);\n }\n}\n","import React from \"react\";\nimport { Alphanumeric, Numeric } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nexport const UkDrivingLicencePicker = (props) => {\n function updateDocumentSegments(index, documentSegment) {\n const copiedSegments = Objects.cloneObject(props.documentSegments);\n const upperCasedSegment = documentSegment.toUpperCase();\n copiedSegments[index] = upperCasedSegment;\n props.onDocumentSegmentsChange(copiedSegments);\n }\n function getInvalidLengthValidation(charactersCount) {\n return {\n value: charactersCount,\n errorMessage: charactersCount == 1\n ? Content.wizard.identityVerification.invalidLengthOneCharacter\n : Content.wizard.identityVerification.invalidLength_length.replace(\"{0}\", charactersCount.toString())\n };\n }\n const surnameProps = {\n value: props.documentSegments[0],\n label: Content.wizard.identityVerification.licenceNumber,\n onChange: documentSegment => updateDocumentSegments(0, documentSegment),\n cssWrapper: \"\",\n required: getInvalidLengthValidation(5).errorMessage,\n regex: { value: Alphanumeric, errorMessage: Content.wizard.identityVerification.valueMustBeAlphaNumeric },\n maxLength: 5,\n minLengthValidation: getInvalidLengthValidation(5)\n };\n const birthDateProps = {\n value: props.documentSegments[1],\n label: Content.wizard.identityVerification.licenceNumber + ' Part2',\n onChange: documentSegment => updateDocumentSegments(1, documentSegment),\n cssWrapper: \"label-sr-only\",\n required: getInvalidLengthValidation(6).errorMessage,\n regex: { value: Numeric, errorMessage: Content.wizard.identityVerification.valueMustBeNumeric },\n maxLength: 6,\n minLengthValidation: getInvalidLengthValidation(6)\n };\n const nameInitialsProps = {\n value: props.documentSegments[2],\n label: Content.wizard.identityVerification.licenceNumber + ' Part3',\n onChange: documentSegment => updateDocumentSegments(2, documentSegment),\n cssWrapper: \"label-sr-only\",\n required: getInvalidLengthValidation(3).errorMessage,\n regex: { value: Alphanumeric, errorMessage: Content.wizard.identityVerification.valueMustBeAlphaNumeric },\n maxLength: 3,\n minLengthValidation: getInvalidLengthValidation(3)\n };\n const computerDigitsCheckProps = {\n value: props.documentSegments[3],\n label: Content.wizard.identityVerification.licenceNumber + ' Part4',\n onChange: documentSegment => updateDocumentSegments(3, documentSegment),\n cssWrapper: \"label-sr-only\",\n required: getInvalidLengthValidation(2).errorMessage,\n regex: { value: Alphanumeric, errorMessage: Content.wizard.identityVerification.valueMustBeAlphaNumeric },\n maxLength: 2,\n minLengthValidation: getInvalidLengthValidation(2)\n };\n return (React.createElement(\"div\", { className: \"row mini-gutter\" },\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-3 col-bottom\" },\n React.createElement(\"span\", { className: \"sr-only\" }, \"Following form has 4 text fields to input UK driving licence number\"),\n React.createElement(TextBoxEditor, { ...surnameProps })),\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-3 col-bottom\" },\n React.createElement(TextBoxEditor, { ...birthDateProps })),\n React.createElement(\"div\", { className: \"col-xs-4 col-sm-2 col-bottom\" },\n React.createElement(TextBoxEditor, { ...nameInitialsProps })),\n React.createElement(\"div\", { className: \"col-xs-4 col-sm-2 col-bottom\" },\n React.createElement(TextBoxEditor, { ...computerDigitsCheckProps }))));\n};\n","import React from \"react\";\nimport { Alphanumeric, Alphabetical, Numeric } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nexport const UkPassportPicker = (props) => {\n function updateDocumentSegments(index, documentSegment) {\n const copiedSegments = Objects.cloneObject(props.documentSegments);\n const upperCasedSegment = documentSegment.toUpperCase();\n copiedSegments[index] = upperCasedSegment;\n props.onDocumentSegmentsChange(copiedSegments);\n }\n function getInvalidLengthValidation(charactersCount) {\n return {\n value: charactersCount,\n errorMessage: charactersCount == 1\n ? Content.wizard.identityVerification.invalidLengthOneCharacter\n : Content.wizard.identityVerification.invalidLength_length.replace(\"{0}\", charactersCount.toString())\n };\n }\n const passportNumberProps = {\n value: props.documentSegments[0],\n label: Content.wizard.identityVerification.passportNumber,\n cssWrapper: \"mini-padding\",\n onChange: documentSegment => updateDocumentSegments(0, documentSegment),\n regex: { value: Alphanumeric, errorMessage: Content.wizard.identityVerification.valueMustBeAlphaNumeric },\n maxLength: 9,\n required: getInvalidLengthValidation(9).errorMessage,\n minLengthValidation: getInvalidLengthValidation(9)\n };\n const passportNumberDigitsCheckProps = {\n value: props.documentSegments[1],\n label: Content.wizard.identityVerification.passportNumber + ' Part2',\n cssWrapper: \"mini-padding label-sr-only\",\n onChange: documentSegment => updateDocumentSegments(1, documentSegment),\n regex: { value: Alphanumeric, errorMessage: Content.wizard.identityVerification.valueMustBeAlphaNumeric },\n maxLength: 1,\n required: getInvalidLengthValidation(1).errorMessage,\n minLengthValidation: getInvalidLengthValidation(1)\n };\n const nationalityProps = {\n value: props.documentSegments[2],\n label: Content.wizard.identityVerification.passportNumber + ' Part3',\n cssWrapper: \"mini-padding label-sr-only\",\n onChange: documentSegment => updateDocumentSegments(2, documentSegment),\n regex: { value: Alphabetical, errorMessage: Content.wizard.identityVerification.valueMustBeAlpha },\n maxLength: 3,\n required: getInvalidLengthValidation(3).errorMessage,\n minLengthValidation: getInvalidLengthValidation(3)\n };\n const dateOfBirthProps = {\n value: props.documentSegments[3],\n label: Content.wizard.identityVerification.passportNumber + 'Part4',\n cssWrapper: \"mini-padding label-sr-only\",\n onChange: documentSegment => updateDocumentSegments(3, documentSegment),\n regex: { value: Numeric, errorMessage: Content.wizard.identityVerification.valueMustBeNumeric },\n maxLength: 7,\n required: getInvalidLengthValidation(7).errorMessage,\n minLengthValidation: getInvalidLengthValidation(7)\n };\n const genderProps = {\n value: props.documentSegments[4],\n label: Content.wizard.identityVerification.passportNumber + ' Part5',\n cssWrapper: \"mini-padding label-sr-only\",\n onChange: documentSegment => updateDocumentSegments(4, documentSegment),\n regex: { value: Alphabetical, errorMessage: Content.wizard.identityVerification.valueMustBeAlpha },\n maxLength: 1,\n required: getInvalidLengthValidation(1).errorMessage,\n minLengthValidation: getInvalidLengthValidation(1)\n };\n const expiryDateProps = {\n value: props.documentSegments[5],\n label: Content.wizard.identityVerification.passportNumber + ' Part6',\n cssWrapper: \"mini-padding label-sr-only\",\n onChange: documentSegment => updateDocumentSegments(5, documentSegment),\n regex: { value: Numeric, errorMessage: Content.wizard.identityVerification.valueMustBeNumeric },\n maxLength: 7,\n required: getInvalidLengthValidation(7).errorMessage,\n minLengthValidation: getInvalidLengthValidation(7)\n };\n const personalNumberProps = {\n label: Content.wizard.identityVerification.passportNumber,\n cssWrapper: \"mini-padding label-sr-only\",\n value: \"<<<<<<<<<<<<<<\",\n disabled: true,\n onChange: () => { throw \"Changing '<<<<' should not be allowed\"; }\n };\n const personalNumberDigitsCheckProps = {\n value: props.documentSegments[6],\n label: Content.wizard.identityVerification.passportNumber + ' Part7',\n cssWrapper: \"mini-padding label-sr-only\",\n onChange: documentSegment => updateDocumentSegments(6, documentSegment),\n regex: { value: Numeric, errorMessage: Content.wizard.identityVerification.valueMustBeNumeric },\n maxLength: 1,\n required: getInvalidLengthValidation(1).errorMessage,\n minLengthValidation: getInvalidLengthValidation(1)\n };\n const digitsCheckProps = {\n value: props.documentSegments[7],\n label: Content.wizard.identityVerification.passportNumber + ' Part8',\n cssWrapper: \"mini-padding label-sr-only\",\n onChange: documentSegment => updateDocumentSegments(7, documentSegment),\n regex: { value: Numeric, errorMessage: Content.wizard.identityVerification.valueMustBeNumeric },\n maxLength: 1,\n required: getInvalidLengthValidation(1).errorMessage,\n minLengthValidation: getInvalidLengthValidation(1)\n };\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row mini-gutter\" },\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-2 col-bottom\" },\n React.createElement(TextBoxEditor, { ...passportNumberProps })),\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-1 col-bottom\" },\n React.createElement(TextBoxEditor, { ...passportNumberDigitsCheckProps })),\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-1 col-bottom\" },\n React.createElement(TextBoxEditor, { ...nationalityProps })),\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-2 col-bottom\" },\n React.createElement(TextBoxEditor, { ...dateOfBirthProps })),\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-1 col-bottom\" },\n React.createElement(TextBoxEditor, { ...genderProps })),\n React.createElement(\"div\", { className: \"col-xs-6 col-sm-2 col-bottom\" },\n React.createElement(TextBoxEditor, { ...expiryDateProps })),\n React.createElement(\"div\", { className: \"col-xs-4 col-sm-1 col-bottom\" },\n React.createElement(TextBoxEditor, { ...personalNumberProps })),\n React.createElement(\"div\", { className: \"col-xs-4 col-sm-1 col-bottom\" },\n React.createElement(TextBoxEditor, { ...personalNumberDigitsCheckProps })),\n React.createElement(\"div\", { className: \"col-xs-4 col-sm-1 col-bottom\" },\n React.createElement(TextBoxEditor, { ...digitsCheckProps })))));\n};\n","import React from \"react\";\nexport const IdentityVerificationDocumentImage = (props) => {\n return (React.createElement(\"div\", { className: \"row \" },\n React.createElement(\"div\", { className: \"col-xs-8 col-sm-6\" },\n React.createElement(\"img\", { className: \"image-block mb-24\", alt: props.imgAlt, src: props.IdentityVerificationDocumentImageUrl }))));\n};\n","export var PumaIdentityVerificationDocumentType;\n(function (PumaIdentityVerificationDocumentType) {\n PumaIdentityVerificationDocumentType[PumaIdentityVerificationDocumentType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaIdentityVerificationDocumentType[PumaIdentityVerificationDocumentType[\"DrivingLicence\"] = 1] = \"DrivingLicence\";\n PumaIdentityVerificationDocumentType[PumaIdentityVerificationDocumentType[\"Passport\"] = 2] = \"Passport\";\n PumaIdentityVerificationDocumentType[PumaIdentityVerificationDocumentType[\"ElectricBill\"] = 3] = \"ElectricBill\";\n})(PumaIdentityVerificationDocumentType || (PumaIdentityVerificationDocumentType = {}));\n","import React from \"react\";\nimport { RadiosEditorFactory } from \"@/react-core/Html/Factories/RadiosEditorFactory\";\nimport { getAllPumaIdentityVerificationDocumentTypes } from \"./../../Entities/AvailableOptions/PumaIdentityVerificationDocumentTypeOptions\";\nimport { getContentString, ContentStringType } from \"@/apps/Shared/CMS/CMSHelper\";\nexport const IdentityVerificationDocumentTypePickerProps = (props) => {\n const availableOptions = getAllPumaIdentityVerificationDocumentTypes(getContentString(props.cmsContent, ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckNoDocument_Body));\n const IdentityVerificationDocumentTypeRadio = RadiosEditorFactory.create();\n const identityVerificationDocumentTypeRadioProps = {\n options: availableOptions.map(x => x.Value),\n getText: value => availableOptions.filter(x => x.Value === value)[0].DisplayName,\n onChange: props.onVerificationDocumentTypeChange,\n required: getContentString(props.cmsContent, ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckDocumentError_Body),\n selected: props.verificationDocumentType,\n cssWrapper: \"identity-radio\"\n };\n return (React.createElement(IdentityVerificationDocumentTypeRadio, { ...identityVerificationDocumentTypeRadioProps }));\n};\n","import { Content } from \"./../../Resources/Content\";\nimport { PumaIdentityVerificationDocumentType } from \"@/Wrap/Constants/Enums/IdentityVerification/PumaIdentityVerificationDocumentType\";\nexport function getAllPumaIdentityVerificationDocumentTypes(defaultOptionDisplayName = \"\") {\n return [\n {\n Value: PumaIdentityVerificationDocumentType.NotSpecified,\n DisplayName: defaultOptionDisplayName\n },\n {\n Value: PumaIdentityVerificationDocumentType.DrivingLicence,\n DisplayName: Content.availableOptions.pumaIdentityVerificationDocumentType.drivingLicence\n },\n {\n Value: PumaIdentityVerificationDocumentType.Passport,\n DisplayName: Content.availableOptions.pumaIdentityVerificationDocumentType.passport\n }\n ];\n}\n","import React from \"react\";\nimport { UkDrivingLicencePicker } from \"./../IdentityVerification/UkDrivingLicencePicker\";\nimport { UkPassportPicker } from \"./../IdentityVerification/UkPassportPicker\";\nimport { IdentityVerificationDocumentImage } from \"./../IdentityVerification/IdentityVerificationDocumentImage\";\nimport { PumaIdentityVerificationDocumentType } from \"@/Wrap/Constants/Enums/IdentityVerification/PumaIdentityVerificationDocumentType\";\nimport { IdentityVerificationDocumentTypePickerProps } from \"./../IdentityVerification/IdentityVerificationDocumentTypePicker\";\nimport { Tooltip } from \"@/react-core/Html/Components/Tooltip\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { CMSItemsStore } from \"@/apps/Shared/CMS/CMSActionStore\";\nimport { getContentString, ContentStringType } from \"@/apps/Shared/CMS/CMSHelper\";\nexport class IdentityVerificationWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.VerificationOfIdentity;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n const urlsHelper = new CustomerRegistrationUrlsHelper();\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), pageTitle: Content.pageTitles.identityVerification },\n React.createElement(\"h3\", null, Content.wizard.identityVerification.verificationOfIdentity),\n React.createElement(\"div\", { className: \"mb-16\" },\n React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: getContentString(this.state.cmsContent, ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheck_Body) } }),\n React.createElement(Tooltip, { htmlText: getContentString(this.state.cmsContent, ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckData_Help), triggerText: Content.common.learnMore, messageCss: \"text\" })),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: getContentString(this.state.cmsContent, ContentStringType.OccColdReg_VerificationOfIdentity_IdentityCheckDocument_Body) } }),\n React.createElement(IdentityVerificationDocumentTypePickerProps, { verificationDocumentType: creationData.identityVerificationData.DocumentType, onVerificationDocumentTypeChange: this.updateIdentityVerificationDocumentType }),\n creationData.identityVerificationData.DocumentType === PumaIdentityVerificationDocumentType.Passport &&\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.identityVerification.ukPassport),\n React.createElement(IdentityVerificationDocumentImage, { imgAlt: Content.wizard.identityVerification.passportAlt, IdentityVerificationDocumentImageUrl: urlsHelper.getUKPassportImageUrl() }),\n React.createElement(UkPassportPicker, { documentSegments: creationData.identityVerificationData.DocumentSegmentsValues, onDocumentSegmentsChange: documentSegments => onCreationDataPartChange(x => x.identityVerificationData.DocumentSegmentsValues = documentSegments) })),\n creationData.identityVerificationData.DocumentType === PumaIdentityVerificationDocumentType.DrivingLicence &&\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.identityVerification.ukDrivingLicence),\n React.createElement(IdentityVerificationDocumentImage, { imgAlt: Content.wizard.identityVerification.drivingLicenceAlt, IdentityVerificationDocumentImageUrl: urlsHelper.getUKDrivingLicenceImageUrl() }),\n React.createElement(UkDrivingLicencePicker, { documentSegments: creationData.identityVerificationData.DocumentSegmentsValues, onDocumentSegmentsChange: documentSegments => onCreationDataPartChange(x => x.identityVerificationData.DocumentSegmentsValues = documentSegments) })))));\n }\n continue() {\n if (this.isValid()) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n }\n updateIdentityVerificationDocumentType(verificationDocumentType) {\n this.props.wizardData.onCustomerCreationDataPartChange(x => {\n x.identityVerificationData.DocumentType = verificationDocumentType;\n x.identityVerificationData.DocumentSegmentsValues = [];\n });\n }\n getDefaultState() {\n return {\n cmsContent: CMSItemsStore.getPayload()\n };\n }\n bindPrivateMethods() {\n this.updateIdentityVerificationDocumentType = this.updateIdentityVerificationDocumentType.bind(this);\n this.continue = this.continue.bind(this);\n }\n}\n","import React from \"react\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../../Resources/Content\";\nexport const EmailAddress = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.personalDetails.emailAddress),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: props.emailAddress.Email, onChange: emailAddress => props.onEmailAddressChange({ Email: emailAddress }), label: Content.wizard.personalDetails.emailAddress, required: Content.wizard.personalDetails.emailAddressIsMandatory, maxLength: 50, cssInput: \"input-large\", isEmail: Content.wizard.personalDetails.emailAddressHasWrongFormat }))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: props.confirmEmailAddress.Email, label: Content.wizard.personalDetails.confirmEmailAddress, required: Content.wizard.personalDetails.confirmEmailAddressIsMandatory, maxLength: 50, cssInput: \"input-large\", isEmail: Content.wizard.personalDetails.emailAddressHasWrongFormat, onPaste: (e) => { e.preventDefault(); return false; }, equals: props.emailAddress.Email && { value: props.emailAddress.Email, errorMessage: Content.wizard.personalDetails.confirmEmailAddressDoesNotMatchEmailAddres }, onChange: emailAddress => props.onConfirmEmailAddressChange({ Email: emailAddress }) })))));\n};\n","import React from \"react\";\nimport { RadiosEditorFactory } from \"@/react-core/Html/Factories/RadiosEditorFactory\";\nexport const MfaRadioPicker = (props) => {\n const MfaRadio = RadiosEditorFactory.create();\n const mfaRadioProps = {\n label: props.label,\n cssWrapper: \"label-sr-only mb-36\",\n options: [true],\n getText: x => props.label,\n onChange: (value) => {\n props.onMfaSet();\n },\n selected: props.isMfaSet\n };\n return (React.createElement(MfaRadio, { ...mfaRadioProps }));\n};\n","import React from \"react\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { InternationalDialingCodesActionsCreator } from \"./../../ActionsCreators/InternationalDialingCodesActionsCreator\";\nimport { MfaRadioPicker } from \"./MfaRadioPicker\";\nimport { Content } from \"./../../Resources/Content\";\nimport { phoneNumber } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { InternationalDialingCodePicker } from \"./InternationalDialingCodePicker\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { InternationalDialingCodesStore } from \"./../../Stores/InternationalDialingCodesStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class PumaPhoneNumberPicker extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(InternationalDialingCodesStore, this.onInternationalDialingCodesStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true, className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(\"div\", { className: \"control-label\" }, this.props.label),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-5\" },\n React.createElement(InternationalDialingCodePicker, { label: null, dialingCodes: this.state.dialingCodes, selectedDialingCode: this.props.pumaPhoneNumber.internationalDialingCode, onSelectedDialingCodeChange: this.updateDialingCode })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-7\" },\n React.createElement(TextBoxEditor, { large: true, label: null, onChange: this.updateNumber, value: this.props.pumaPhoneNumber.phoneNumber, regex: { value: phoneNumber, errorMessage: Content.phoneNumbers.phoneNumberWrongFormatMessage } })))),\n this.props.showMfaPicker &&\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-4 col-bottom\" },\n React.createElement(MfaRadioPicker, { label: this.props.mfaLabel, isMfaSet: this.props.isUsedForMfa, onMfaSet: () => this.props.onIsUsedForMfaChange(true) }))));\n }\n componentDidMount() {\n if (!InternationalDialingCodesStore.isLoading()) {\n if (InternationalDialingCodesStore.isEmpty()) {\n InternationalDialingCodesActionsCreator.load();\n }\n else {\n this.updateStatePart(x => {\n x.dialingCodes = InternationalDialingCodesStore.getPayload() || [];\n }, () => this.setDefaultDialingCode());\n }\n }\n }\n onInternationalDialingCodesStoreChange() {\n if (!InternationalDialingCodesStore.isLoading()) {\n this.updateStatePart(x => {\n x.dialingCodes = InternationalDialingCodesStore.getPayload() || [];\n x.isLoading = this.isAnyStoreLoading();\n }, () => this.setDefaultDialingCode());\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n setDefaultDialingCode() {\n if (this.props.pumaPhoneNumber.internationalDialingCode.CountryCode != null) {\n return;\n }\n const dialingCodeToSet = this.state.dialingCodes.filter(x => x.CountryCode === this.props.defaultDialingCodeCountry)[0];\n if (!dialingCodeToSet) {\n return;\n }\n this.updateDialingCode(dialingCodeToSet);\n }\n updateNumber(phoneNumber) {\n const copiedPumaPhoneNumber = Objects.cloneObject(this.props.pumaPhoneNumber);\n copiedPumaPhoneNumber.phoneNumber = phoneNumber;\n this.props.onPumaPhoneNumberChange(copiedPumaPhoneNumber);\n }\n updateDialingCode(dialingCode) {\n const copiedPumaPhoneNumber = Objects.cloneObject(this.props.pumaPhoneNumber);\n copiedPumaPhoneNumber.internationalDialingCode = dialingCode;\n this.props.onPumaPhoneNumberChange(copiedPumaPhoneNumber);\n }\n getDefaultState() {\n return {\n dialingCodes: [],\n isLoading: false\n };\n }\n bindPrivateMethods() {\n this.updateNumber = this.updateNumber.bind(this);\n this.updateDialingCode = this.updateDialingCode.bind(this);\n this.setDefaultDialingCode = this.setDefaultDialingCode.bind(this);\n this.onInternationalDialingCodesStoreChange = this.onInternationalDialingCodesStoreChange.bind(this);\n }\n}\n","export var PumaPhoneNumberType;\n(function (PumaPhoneNumberType) {\n PumaPhoneNumberType[PumaPhoneNumberType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaPhoneNumberType[PumaPhoneNumberType[\"Mobile\"] = 1] = \"Mobile\";\n PumaPhoneNumberType[PumaPhoneNumberType[\"Home\"] = 2] = \"Home\";\n})(PumaPhoneNumberType || (PumaPhoneNumberType = {}));\n","import React from \"react\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { PumaPhoneNumberPicker } from \"./../../../Shared/Common/Components/PhoneNumbers/PumaPhoneNumberPicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nexport class PhoneNumbers extends BaseFormElement {\n constructor(props) {\n super(props);\n this.state = { validationErrors: [] };\n }\n render() {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.personalDetails.phoneNumber),\n React.createElement(\"div\", { className: \"alert-info is-acc\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: getContentString(this.props.cmsContent, ContentStringType.OccColdReg_PersonalDetails_TelephoneVerification_Body) } })),\n React.createElement(ValidationErrorsContainer, { isServerError: false, validationErrors: this.state.validationErrors }),\n React.createElement(PumaPhoneNumberPicker, { label: Content.wizard.personalDetails.mobilePhoneNumber, defaultDialingCodeCountry: CountryCode.GBR, pumaPhoneNumber: this.props.mobilePhoneNumber, isUsedForMfa: true, showMfaPicker: false, mfaLabel: Content.wizard.personalDetails.sendMyCodeToThisPhone, onPumaPhoneNumberChange: this.props.onMobilePhoneNumberChange, onIsUsedForMfaChange: () => this.props.onSmsFactorAuthenticationPhoneNumberTypeChange(PumaPhoneNumberType.Mobile) })));\n }\n isValid() {\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const validationErrors = this.props.mobilePhoneNumber.phoneNumber ? [] : [getContentString(this.props.cmsContent, ContentStringType.OccColdReg_PersonalDetails_TelephoneError_Body)];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n}\n","export class Content {\n static dateDropdowns = {\n day: \"Day\",\n date: \"Date\",\n month: \"Month\",\n year: \"Year\"\n };\n static dateNumbers = {\n day: \"DD\",\n month: \"MM\",\n year: \"YYYY\"\n };\n static sortCode = {\n sortCode1: \"Sort Code 1\",\n sortCode2: \"Sort Code 2\",\n sortCode3: \"Sort Code 3\"\n };\n static dateValue = \"Value must be a date\";\n static address = {\n addressLabel: \"Address: \",\n manualAddressButton: \"+ Or manually enter address\",\n addressLookupFailedError: \"Address lookup failed. Try again or enter the address below.\",\n line1Required: \"Enter Line 1\",\n invalidAddress: \"Please enter valid address using alphanumeric characters.\",\n postcodeRequired: \"Enter Postcode\",\n invalidPostcode: \"Invalid format of UK postcode\"\n };\n}\n","import React from \"react\";\nimport { Content } from \"./../Resources/Content\";\nexport const ManualEditLink = (props) => {\n return (React.createElement(\"button\", { type: \"button\", className: \"btn secondary small vspace-24\", onClick: () => props.onClick() }, Content.address.manualAddressButton));\n};\n","import React from \"react\";\nimport { ObjectComparer } from \"./../../Utils/ObjectComparer\";\nimport { Objects } from \"./../../Utils/Objects\";\nimport { isNullOrEmpty } from \"./../../Utils/Arrays\";\nimport { AddressLine, UkPostCode } from \"./../Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"./../TextBoxEditor\";\nimport { SelectEditorFactory } from \"./../Factories/SelectEditorFactory\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nexport class UKAddressEditorFields extends React.Component {\n constructor(props) {\n super(props);\n }\n render() {\n var currentAddress = this.props.address || {};\n var CountryCodeSelectEditor = SelectEditorFactory.create();\n return (React.createElement(\"div\", null,\n React.createElement(TextBoxEditor, { large: true, label: \"Line 1\", value: currentAddress.Line1, required: (this.props.required) ? \"Enter Line 1\" : null, maxLength: 150, regex: { value: AddressLine, errorMessage: \"Please enter valid address using alphanumeric characters.\" }, onBlur: (value) => this.updateAddressPart(x => x.Line1 = value), cssInput: \"input-large\", disabled: this.props.editApply && currentAddress.Line1 != null && currentAddress.Line1 != \"\" ? true : false }),\n React.createElement(TextBoxEditor, { large: true, label: \"Line 2\", value: currentAddress.Line2, maxLength: 150, regex: { value: AddressLine, errorMessage: \"Please enter valid address using alphanumeric characters.\" }, onBlur: (value) => this.updateAddressPart(x => x.Line2 = value), cssInput: \"input-large\", disabled: this.props.editApply && currentAddress.Line2 != null && currentAddress.Line2 != \"\" ? true : false }),\n React.createElement(TextBoxEditor, { large: true, label: \"Line 3\", value: currentAddress.Line3, maxLength: 150, regex: { value: AddressLine, errorMessage: \"Please enter valid address using alphanumeric characters.\" }, onBlur: (value) => this.updateAddressPart(x => x.Line3 = value), cssInput: \"input-large\", disabled: this.props.editApply && currentAddress.Line3 != null && currentAddress.Line3 != \"\" ? true : false }),\n React.createElement(TextBoxEditor, { large: true, label: \"City\", value: currentAddress.Line4, required: (this.props.required) ? \"Enter City\" : \"\", maxLength: 150, regex: { value: AddressLine, errorMessage: \"Please enter valid address using alphanumeric characters.\" }, onBlur: (value) => this.updateAddressPart(x => x.Line4 = value), disabled: this.props.editApply && currentAddress.Line4 != null && currentAddress.Line4 != \"\" ? true : false }),\n React.createElement(TextBoxEditor, { large: true, label: \"County\", value: currentAddress.Line5, maxLength: 150, regex: { value: AddressLine, errorMessage: \"Please enter valid address using alphanumeric characters.\" }, onBlur: (value) => this.updateAddressPart(x => x.Line5 = value), disabled: this.props.editApply && currentAddress.Line5 != null && currentAddress.Line5 != \"\" ? true : false }),\n !isNullOrEmpty(this.props.countryDictionary) &&\n React.createElement(CountryCodeSelectEditor, { large: true, label: 'Country', selected: currentAddress.CountryCode, options: this.props.countryDictionary.map(x => x.Value), getText: option => this.getTextFor(this.props.countryDictionary, option), onChange: (countryCode) => this.updateAddressPart(x => x.CountryCode = countryCode), placeholder: \"Please select\", required: (this.props.required) ? \"Select Country\" : null }),\n React.createElement(TextBoxEditor, { large: true, label: \"Postcode\", value: currentAddress.Postcode, required: (this.props.required) ? \"Enter Postcode\" : null, maxLength: 20, regex: this.getUKPostcodeValidator(currentAddress), onBlur: (value) => this.updateAddressPart(x => x.Postcode = value ? value.toUpperCase() : value), disabled: this.props.editApply && currentAddress.Postcode != null && currentAddress.Postcode != \"\" ? true : false })));\n }\n updateAddressPart(updateAddressPartFunc) {\n const copiedAddress = Objects.cloneObject(this.props.address) || {};\n updateAddressPartFunc(copiedAddress);\n this.props.handleChange(copiedAddress);\n }\n getTextFor(dictionary, value) {\n var result = dictionary.filter(x => ObjectComparer.isSame(x.Value, value));\n return (result.length === 0) ? \"\" : result[0].DisplayName;\n }\n getUKPostcodeValidator(address) {\n if (address.CountryCode === CountryCode.GBR)\n return { value: UkPostCode, errorMessage: \"Invalid format of UK postcode\" };\n return null;\n }\n}\n","import React from \"react\";\nimport { ObjectComparer } from \"./../../Utils/ObjectComparer\";\nimport { isNullOrEmpty } from \"./../../Utils/Arrays\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nexport class UKAddressDisplayFields extends React.Component {\n constructor(props) {\n super(props);\n }\n render() {\n var currentAddress = this.props.address || {};\n return (React.createElement(\"p\", { className: \"address\" },\n currentAddress.Company ? (React.createElement(\"span\", null,\n currentAddress.Company,\n React.createElement(\"br\", null))) : null,\n currentAddress.Line1 ? (React.createElement(\"span\", null,\n currentAddress.Line1,\n React.createElement(\"br\", null))) : null,\n currentAddress.Line2 ? (React.createElement(\"span\", null,\n currentAddress.Line2,\n React.createElement(\"br\", null))) : null,\n currentAddress.Line3 ? (React.createElement(\"span\", null,\n currentAddress.Line3,\n React.createElement(\"br\", null))) : null,\n currentAddress.Line4 ? (React.createElement(\"span\", null,\n currentAddress.Line4,\n React.createElement(\"br\", null))) : null,\n currentAddress.Line5 ? (React.createElement(\"span\", null,\n currentAddress.Line5,\n React.createElement(\"br\", null))) : null,\n this.showCountry(currentAddress) ? (React.createElement(\"span\", null,\n this.getTextFor(this.props.countryDictionary, currentAddress.CountryCode),\n React.createElement(\"br\", null))) : null,\n currentAddress.Postcode ? (React.createElement(\"span\", null, currentAddress.Postcode)) : null));\n }\n showCountry(address) {\n return address.CountryCode != null && address.CountryCode != CountryCode.NotSpecified &&\n !isNullOrEmpty(this.props.countryDictionary);\n }\n getTextFor(dictionary, value) {\n var result = dictionary.filter(x => ObjectComparer.isSame(x.Value, value));\n return (result.length === 0) ? \"\" : result[0].DisplayName;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class RetrieveAddressDetailsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(id) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Address/RetrieveAddressDetails/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { id: id };\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class FindAddressesClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(term, countryCode, lastId) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Address/FindAddresses/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { term: term, countryCode: countryCode, lastId: lastId };\n return AjaxWrapper.get(url, data);\n }\n}\n","import React from \"react\";\nimport { RetrieveAddressDetailsClient } from \"@/Puma/Api/Address/RetrieveAddressDetails\";\nimport { FindAddressesClient } from \"@/Puma/Api/Address/FindAddresses\";\nimport { BaseFormElement } from \"./../BaseFormElement\";\nexport class AutocompleteResult {\n value;\n label;\n data;\n}\nexport class PostCodeAnywhereSearch extends BaseFormElement {\n _pcaInputRef;\n _lastId;\n _findAddressClient;\n _retrieveAddressDetailsClient;\n constructor(props) {\n super(props);\n this._findAddressClient = new FindAddressesClient();\n this._retrieveAddressDetailsClient = new RetrieveAddressDetailsClient();\n }\n isValid() {\n return true;\n }\n componentDidMount() {\n let $inputRef = $(this._pcaInputRef);\n var autocomplete = $inputRef.autocomplete({\n source: (request, responseFn) => {\n this._findAddressClient.get(this.getPcaSearchValue(), this.props.countryCode, this.getLastId())\n .onSuccess((results) => {\n if (results.Succeeded) {\n this._lastId = null;\n var mappedSearchResults = this.transformSearchResults(results.Results);\n responseFn(mappedSearchResults);\n }\n else {\n this.props.onLookupError();\n }\n });\n },\n minLength: 3\n }).on(\"autocompleteselect\", (event, ui) => {\n this.handleSearchResultSelection(ui.item);\n });\n }\n render() {\n return (React.createElement(\"div\", { className: \"ui-front\" },\n React.createElement(\"input\", { type: 'text', id: this.props.id, className: \"form-input\", placeholder: this.props.placeholder || \"Start typing address or postcode...\", ref: (pcaInput) => this._pcaInputRef = pcaInput, \"data-automation-id\": this.props.automationId })));\n }\n handleSearchResultSelection(selectedResult) {\n if (!selectedResult.data) {\n return;\n }\n const nextOperation = selectedResult.data.Next;\n if (!nextOperation) {\n throw new Error(\"Invalid PCA response. (Next operation not specified)\");\n }\n switch (nextOperation) {\n case \"Retrieve\":\n this.handleFinalSearchResultSelection(selectedResult);\n break;\n case \"Find\":\n this.handleDetailedSearchResultSelection(selectedResult);\n break;\n default:\n throw new Error(\"Invalid PCA response. (unrecognized Next operation)\");\n }\n }\n handleDetailedSearchResultSelection(searchResult) {\n if (!searchResult.data || !searchResult.data.Next || searchResult.data.Next !== \"Find\") {\n throw new Error(\"Invalid operation.\");\n }\n this._lastId = searchResult.data.Id;\n setTimeout(() => {\n $(this._pcaInputRef).autocomplete(\"search\");\n }, 1);\n }\n handleFinalSearchResultSelection(searchResult) {\n if (!searchResult.data || !searchResult.data.Next || searchResult.data.Next !== \"Retrieve\") {\n throw new Error(\"Invalid operation.\");\n }\n this._pcaInputRef.value = '';\n this.retrieveDetailsForAddress(searchResult.data.Id);\n }\n retrieveDetailsForAddress(addressId) {\n this._retrieveAddressDetailsClient.get(addressId)\n .onSuccess((data) => {\n if (data.Succeeded) {\n if (data.Results.length > 0) {\n this.handleFinalAddressSelection(data.Results[0]);\n }\n }\n else {\n this.props.onLookupError();\n }\n });\n }\n handleFinalAddressSelection(pcaAddtessDetails) {\n let address = this.mapAddressFromPcaResult(pcaAddtessDetails);\n this.props.onAddressSelected(address);\n this._pcaInputRef.value = '';\n }\n getPcaSearchValue() {\n return this._pcaInputRef.value;\n }\n getLastId() {\n return this._lastId;\n }\n mapAddressFromPcaResult(pcaResult) {\n let address = {};\n address.Line1 = pcaResult.Line1;\n address.Line2 = pcaResult.Line2;\n address.Line3 = pcaResult.Line3;\n address.Line4 = pcaResult.City;\n address.Line5 = pcaResult.Province;\n address.Postcode = pcaResult.PostalCode;\n address.Company = pcaResult.Company;\n address.CountryCode = this.props.countryCode; // not returned from PCA\n return address;\n }\n transformSearchResults(items) {\n let results = new Array();\n if (!items.length) {\n const emptyResult = {\n label: \"No results found\",\n value: null,\n data: null\n };\n results.push(emptyResult);\n return results;\n }\n for (let i = 0; i < items.length; i++) {\n let item = new AutocompleteResult();\n item.data = items[i];\n if (items[i].Text && items[i].Description) {\n item.label = items[i].Text + ' - ' + items[i].Description;\n }\n else if (items[i].Text) {\n item.label = items[i].Text;\n }\n else if (items[i].Description) {\n item.label = items[i].Description;\n }\n results.push(item);\n }\n return results;\n }\n}\n","import React from \"react\";\nimport { PostCodeAnywhereSearch } from \"./PostCodeAnywhereSearch\";\nimport { BaseTextBoxEditor } from \"./../BaseTextBoxEditor\";\nexport class PostCodeAnywhereSearchEditor extends BaseTextBoxEditor {\n constructor(props) {\n super(props);\n }\n getInput() {\n return (React.createElement(PostCodeAnywhereSearch, { ...this.props, id: this.state.inputGroupId }));\n }\n}\n","import React from \"react\";\nimport { ManualEditLink } from \"./ManualEditLink\";\nimport { isNullOrEmpty } from \"./../../Utils/Arrays\";\nimport { isNotEmpty, isAddressPopulated } from \"./../Validation/RawValueRules\";\nimport { UKAddressEditorFields } from \"./UKAddressEditorFields\";\nimport { UKAddressDisplayFields } from \"./UKAddressDisplayFields\";\nimport { Button } from \"./../Button\";\nimport { Toggle } from \"./../../Anim/AnimToggle\";\nimport { PostCodeAnywhereSearchEditor } from \"./PostCodeAnywhereSearchEditor\";\nimport { SelectEditorFactory } from \"./../Factories/SelectEditorFactory\";\nimport { ValidationErrorsContainer } from \"./../ValidationErrorsContainer\";\nimport { ObjectComparer } from \"./../../Utils/ObjectComparer\";\nimport { Validator } from \"./../Validation/Validator\";\nimport { BaseFormElement } from \"./../BaseFormElement\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nexport var AddressState;\n(function (AddressState) {\n AddressState[AddressState[\"Hidden\"] = 0] = \"Hidden\";\n AddressState[AddressState[\"Display\"] = 1] = \"Display\";\n AddressState[AddressState[\"Edit\"] = 2] = \"Edit\";\n})(AddressState || (AddressState = {}));\nexport class UKAddressEditor extends BaseFormElement {\n _validator;\n _validationErrors;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState(props);\n this._validator = new Validator();\n this._validationErrors = [];\n this.initValidation();\n if (this.props.address && !this.props.address.CountryCode) {\n this.propagateAddressChange({ CountryCode: CountryCode.GBR });\n }\n }\n componentWillReceiveProps(nextProps) {\n if (nextProps.address && this.state.dispalyState === AddressState.Hidden) {\n this.setState({ dispalyState: AddressState.Display, isPristine: true, lookupFailed: false });\n }\n if (this.props.isAddressSelected !== nextProps.isAddressSelected && nextProps.address && nextProps.isAddressSelected) {\n this.setState({ dispalyState: AddressState.Display, lookupFailed: false });\n }\n }\n componentDidUpdate(prevProps, prevState) {\n if (!ObjectComparer.isSame(this.props.address, prevProps.address) && !this.state.isPristine) {\n this.isValid();\n }\n }\n shouldComponentUpdate(nextProps, nextState) {\n return ObjectComparer.objectsDiffer(this.props, nextProps) || ObjectComparer.objectsDiffer(this.state, nextState);\n }\n getValidationErrorsContainer() {\n return (React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors }));\n }\n isValid() {\n return this.runValidation(this.props.address);\n }\n render() {\n var CountryCodeSelectEditor = SelectEditorFactory.create();\n var AddressFields = this.getAddressFields();\n return (React.createElement(\"div\", { className: \"postcode-finder-wrapper\" },\n React.createElement(\"div\", { style: { display: \"none\" } },\n React.createElement(CountryCodeSelectEditor, { large: true, label: 'Select your country code', selected: this.state.selectedCountry, options: [CountryCode.GBR], getText: (val) => val.toString(), onChange: (countryCode) => this.handleCountryCodeChanged(countryCode) })),\n this.state.validationErrors.length > 0 && this.getValidationErrorsContainer(),\n React.createElement(PostCodeAnywhereSearchEditor, { large: true, label: this.props.label, subLabel: this.props.subLabel, countryCode: this.state.selectedCountry, onAddressSelected: (address) => this.handlePostCodeAnywhereSearchChange(address), onLookupError: () => this.handlePostCodeAnywhereFailure() }),\n this.getManualEditLink(),\n React.createElement(Toggle, null, AddressFields)));\n }\n getAddressFields() {\n var EditButton = React.createElement(Button, { className: \"btn secondary small vspace-26\", onClick: () => this.editAddress() }, \"Edit\");\n var EditButtonNew = React.createElement(Button, { className: \"btn secondary small vspace-26\", disabled: true, onClick: () => this.editAddress() }, \"Edit\");\n switch (this.state.dispalyState) {\n case AddressState.Display:\n return (React.createElement(\"div\", { className: \"content\" },\n React.createElement(\"div\", { className: \"inner\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-auto\" },\n React.createElement(UKAddressDisplayFields, { address: this.props.address, countryDictionary: this.props.countryDictionary })),\n this.props.editApply && this.props.editApply != null &&\n React.createElement(\"div\", { className: \"col-xs-auto content-aside col-bottom\" }, EditButtonNew),\n !this.props.editApply && this.props.editApply == null &&\n React.createElement(\"div\", { className: \"col-xs-auto content-aside col-bottom\" }, EditButton)))));\n case AddressState.Edit:\n return React.createElement(\"div\", { className: \"content\" },\n React.createElement(\"div\", { className: \"inner\" },\n React.createElement(UKAddressEditorFields, { required: isNotEmpty(this.props.required), address: this.props.address, editApply: this.props.editApply, handleChange: (address) => this.propagateAddressChange(address), countryDictionary: this.props.countryDictionary })));\n default:\n return null;\n }\n }\n editAddress() {\n this.setState({ dispalyState: AddressState.Edit, lookupFailed: false });\n }\n getSubLabel() {\n return (React.createElement(\"div\", { className: \"sub-label\" },\n this.props.subLabel,\n React.createElement(\"span\", { className: \"icon-calendar\" })));\n }\n handlePostCodeAnywhereSearchChange(address) {\n this.setState({ dispalyState: AddressState.Display, lookupFailed: false });\n this.propagateAddressChange(address);\n }\n handlePostCodeAnywhereFailure() {\n this._validationErrors = this._validationErrors || [];\n this._validationErrors.push(this.props.onAddressLookupErrorMessage || \"Address lookup failed. Try again or enter the address below.\");\n this.setState({ dispalyState: AddressState.Edit, lookupFailed: true, isValid: false, validationErrors: this._validationErrors });\n }\n propagateAddressChange(newAddress) {\n this.setState({ isPristine: false, lookupFailed: false });\n this.props.handleAddressChange(newAddress);\n this.isValid();\n }\n handleCountryCodeChanged(countryCode) {\n this.propagateAddressChange({ CountryCode: countryCode });\n }\n getDefaultState(props) {\n return {\n dispalyState: this.props.address ? AddressState.Display : AddressState.Hidden,\n selectedCountry: CountryCode.GBR,\n isPristine: true,\n isValid: true,\n validationErrors: []\n };\n }\n initValidation() {\n this._validator.clear();\n this._validator.add(isAddressPopulated, this.props.required);\n }\n runValidation(address) {\n this.initValidation();\n var errors = this._validator.getValidationErrors(address);\n this._validationErrors = errors;\n var isValid = isNullOrEmpty(errors);\n this.setState({ isValid: isValid, lookupFailed: false, validationErrors: this._validationErrors });\n return isValid;\n }\n getManualEditLink() {\n if (this.state.dispalyState === AddressState.Edit)\n return null;\n return (React.createElement(ManualEditLink, { onClick: () => this.setState({ dispalyState: AddressState.Edit }) }));\n }\n}\n","import { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nexport const availableCountryCodeOptionsSorter = (first, second) => {\n const preOrderedCountries = [\n CountryCode.NotSpecified,\n CountryCode.GBR,\n CountryCode.JEY,\n CountryCode.GGY,\n CountryCode.IMN\n ];\n if (first.Value == second.Value) {\n return 0;\n }\n let firstIndex = preOrderedCountries.indexOf(first.Value);\n let secondIndex = preOrderedCountries.indexOf(second.Value);\n firstIndex = firstIndex == -1 ? preOrderedCountries.length : firstIndex;\n secondIndex = secondIndex == -1 ? preOrderedCountries.length : secondIndex;\n if (firstIndex < secondIndex) {\n return -1;\n }\n if (secondIndex < firstIndex) {\n return 1;\n }\n return first.DisplayName > second.DisplayName ? 1 : -1;\n};\n","import React from \"react\";\nimport { UKAddressEditor } from \"@/react-core/Html/Address/UKAddressEditor\";\nimport { Content } from \"./../../Resources/Content\";\nimport { availableCountryCodeOptionsSorter } from \"./../../../Shared/Common/Entities/Countries/AvailableCountryCodeOptionsSorter\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nexport const Address = (props) => {\n const copiedAddress = Objects.cloneObject(props.address);\n const sortedOptions = props\n .countryCodeAvailableOptions\n .filter(x => x.Value != CountryCode.NotSpecified)\n .sort(availableCountryCodeOptionsSorter);\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.personalDetails.addressDetails),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-9\" },\n React.createElement(UKAddressEditor, { label: Content.wizard.personalDetails.addressDetails, countryDictionary: sortedOptions, address: copiedAddress, handleAddressChange: props.onAddressChange, required: Content.wizard.personalDetails.addressIsMandatory, onAddressLookupErrorMessage: Content.wizard.personalDetails.addressLookupFailedMessage }))),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: getContentString(props.cmsContent, ContentStringType.OccColdReg_PersonalDetails_AddressType_Body) } })));\n};\n","// from is inclusive, to is exclusive\nexport function range(from, to) {\n var result = [];\n for (var i = from; i < to; i++) {\n result.push(i);\n }\n return result;\n}\n","import { isEmpty } from \"./RawValueRules\";\nexport function valueIsAtLeast(value, atLeast) {\n return isEmpty(value) || value >= atLeast;\n}\nexport function valueIsAtMost(value, atMost) {\n return isEmpty(value) || value <= atMost;\n}\nexport function valueIsMoreThan(value, moreThan) {\n return isEmpty(value) || value > moreThan;\n}\nexport function valueIsLessThan(value, lessThan) {\n return isEmpty(value) || value < lessThan;\n}\nexport function hasLessDecimalPlacesThan(value, numberOfDecimalPlaces) {\n return numberOfDecimalPlaces >= getNumberOfDecimalPlaces(value);\n}\nfunction getNumberOfDecimalPlaces(num) {\n var match = ('' + num).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\n if (!match) {\n return 0;\n }\n return Math.max(0, \n // Number of digits right of decimal point.\n (match[1] ? match[1].length : 0)\n // Adjust for scientific notation.\n - (match[2] ? +match[2] : 0));\n}\n","import React from \"react\";\nimport { range } from \"./../Utils/Numbers\";\nimport { isNullOrEmpty } from \"./../Utils/Arrays\";\nimport { valueIsAtLeast, valueIsAtMost, valueIsLessThan, valueIsMoreThan } from \"./Validation/NumericValueRules\";\nimport { areDate, isDateEmpty, isDateComplete } from \"./Validation/RawValueRules\";\nimport { ObjectComparer } from \"./../Utils/ObjectComparer\";\nimport { Content } from \"./Resources/Content\";\nimport { SelectEditorFactory } from \"./Factories/SelectEditorFactory\";\nimport { TypedValueValidator } from \"./Validation/TypedValueValidator\";\nimport { BaseFormElement } from \"./BaseFormElement\";\nexport class DateDropdowns extends BaseFormElement {\n validator;\n _wrapperRef;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState(props);\n this.validator = new TypedValueValidator((v) => this.getDate(v.d, v.m, v.y));\n this.initRawValidation();\n this.initParsedValidation();\n }\n render() {\n var NumberDropdown = SelectEditorFactory.create();\n return (React.createElement(\"div\", { className: \"controls\", ref: (div) => this._wrapperRef = div },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid col-bottom\" },\n React.createElement(NumberDropdown, { large: true, placeholder: Content.dateDropdowns.date, ariaLabel: Content.dateDropdowns.date, selected: this.state.day, disabled: this.props.disabled, options: this.getDateOptions(), getText: (day) => (day).toString(), onChange: (day) => this.onDayChanged(day), tabIndex: (this.props.tabIndex) ? this.props.tabIndex : null })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid col-bottom\" },\n React.createElement(NumberDropdown, { large: true, placeholder: Content.dateDropdowns.month, selected: this.state.month, disabled: this.props.disabled, ariaLabel: Content.dateDropdowns.month, options: this.getMonthOptions(), getText: (month) => Globalize.culture().calendar.months.names[month], onChange: (month) => this.onMonthChanged(month), tabIndex: (this.props.tabIndex) ? this.props.tabIndex + 1 : null })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid col-bottom\" },\n React.createElement(NumberDropdown, { large: true, placeholder: Content.dateDropdowns.year, selected: this.state.year, disabled: this.props.disabled, ariaLabel: Content.dateDropdowns.year, options: this.getYearOptions(), getText: (year) => (year).toString(), onChange: (year) => this.onYearChanged(year), tabIndex: (this.props.tabIndex) ? this.props.tabIndex + 2 : null })))));\n }\n componentWillReceiveProps(nextProps) {\n // If the value passed has changed, set it. If value is not passed it will\n // internally update, and this will never run\n if (!ObjectComparer.isSame(this.props.value, nextProps.value) && !ObjectComparer.isSame(nextProps.value, this.getDate(this.state.day, this.state.month, this.state.year))) {\n this.setDate(nextProps.value, true);\n }\n }\n componentDidUpdate(prevProps, prevState) {\n if (!ObjectComparer.isSame(this.props.value, prevProps.value) && !this.state.isPristine) {\n this.isValid();\n }\n }\n shouldComponentUpdate(nextProps, nextState) {\n return (ObjectComparer.objectsDiffer(this.props, nextProps) || ObjectComparer.objectsDiffer(this.state, nextState));\n }\n initRawValidation() {\n this.validator.rawValidator.clear();\n this.validator.rawValidator.add(({ d, m, y }) => (d !== null && m !== null && y !== null), this.props.required);\n this.validator.rawValidator.add((d) => areDate(d.d, d.m, d.y), \"Please select Date, Month and Year\");\n }\n initParsedValidation() {\n this.validator.parsedValidator.clear();\n this.validator.parsedValidator.addFromCondition(this.props.atLeast, valueIsAtLeast);\n this.validator.parsedValidator.addFromCondition(this.props.atMost, valueIsAtMost);\n this.validator.parsedValidator.addFromCondition(this.props.lessThan, valueIsLessThan);\n this.validator.parsedValidator.addFromCondition(this.props.moreThan, valueIsMoreThan);\n this.validator.parsedValidator.addRange(this.props.validationRules);\n }\n isParsable(day, month, year) {\n return areDate(day, month, year);\n }\n isValid() {\n var state = this.state;\n return this.runValidation(state.day, state.month, state.year);\n }\n runValidation(day, month, year) {\n if ($(this._wrapperRef).is(':hidden')) {\n return true;\n }\n this.initRawValidation();\n this.initParsedValidation();\n var errors = this.validator.getValidationErrors({ d: day, m: month, y: year });\n var isValid = isNullOrEmpty(errors);\n this.triggerValidationResultChange(errors);\n this.setState({ isValid: isValid });\n return isValid;\n }\n onChange(day, month, year) {\n if (this.props.onChange && (isDateEmpty(day, month, year) || isDateComplete(day, month, year))) {\n var isValid = this.runValidation(day, month, year);\n if (isValid || this.isParsable(day, month, year)) {\n var value = (isDateEmpty(day, month, year)) ? null : new Date(year, month, day);\n this.props.onChange(value);\n }\n }\n }\n setDate(date, isPristine) {\n this.setState({\n day: date ? date.getDate() : null,\n month: date ? date.getMonth() : null,\n year: date ? date.getFullYear() : null,\n isPristine: isPristine\n });\n }\n getDate(d, m, y) {\n if (d == null || m == null || y == null) {\n return null;\n }\n return new Date(y, m, d);\n }\n onDayChanged(day) {\n var oldState = this.state;\n this.setState({ day: day, isPristine: false });\n this.onChange(day, oldState.month, oldState.year);\n }\n onMonthChanged(month) {\n var oldState = this.state;\n this.setState({ month: month, isPristine: false });\n this.onChange(oldState.day, month, oldState.year);\n }\n onYearChanged(year) {\n var oldState = this.state;\n this.setState({ year: year, isPristine: false });\n this.onChange(oldState.day, oldState.month, year);\n }\n getDateOptions() {\n //if (!this.state.month || !this.state.year) {\n // return Utils.Numbers.range(1,31);\n //}\n //var month = this.state.month;\n //var year = this.state.year;\n //var numberOfDays = new Date(year, month + 1, 0).getDate();\n //return Utils.Numbers.range(1, numberOfDays + 1);\n return range(1, 32);\n }\n getMonthOptions() {\n return range(0, 12);\n }\n getYearOptions() {\n var min = 1900;\n if (this.props.atLeast) {\n min = this.props.atLeast.value.getFullYear();\n }\n if (this.props.moreThan) {\n min = this.props.moreThan.value.getFullYear();\n }\n var max = 2100;\n if (this.props.atMost) {\n max = this.props.atMost.value.getFullYear();\n }\n if (this.props.lessThan) {\n max = this.props.lessThan.value.getFullYear();\n }\n var result = range(min, max + 1);\n return (this.props.yearsDesc) ? result.reverse() : result;\n }\n getDefaultState(props) {\n return {\n day: (props.value) ? props.value.getDate() : null,\n month: (props.value) ? props.value.getMonth() : null,\n year: (props.value) ? props.value.getFullYear() : null,\n isValid: true,\n isPristine: true\n };\n }\n}\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Position } from \"./../Enums/Position\";\nimport { DateDropdowns } from \"./DateDropdowns\";\nimport { BaseEditor } from \"./BaseEditor\";\nexport class DateDropdownsEditor extends BaseEditor {\n constructor(props) {\n super(props);\n }\n render() {\n var wrapperCss = classNames('form-group', this.props.cssWrapper, { 'error': !this.state.isValid });\n return (React.createElement(\"fieldset\", { className: wrapperCss, ref: (elem) => this.wrapperRef = elem },\n this.getLabel(),\n this.getTooltip(),\n React.createElement(\"div\", { className: 'controls-date-dropdowns' },\n this.showErrorsAt(Position.Top) && this.getValidationErrorsContainer(),\n this.getInput(),\n this.showErrorsAt(Position.Bottom) && this.getValidationErrorsContainer())));\n }\n getLabel() {\n if (!this.props.label) {\n return null;\n }\n return (React.createElement(\"div\", { className: 'control-label' },\n React.createElement(\"legend\", null, this.props.label)));\n }\n getInput() {\n return (React.createElement(DateDropdowns, { ...this.props, onValidationResultChange: (isValid, errors) => this.onValidationResultChange(isValid, errors) }));\n }\n}\n","export function isSameDay(date1, date2) {\n if (date1 && date2) {\n return stripToDay(date1).getTime() === stripToDay(date2).getTime();\n }\n else {\n return !date1 && !date2;\n }\n}\nexport function stripToDay(date) {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate());\n}\nexport function stripToWeek(date) {\n var day = date.getDay();\n var firstDayInWeek = date.getDate() - day + (day === 0 ? -6 : 1);\n return new Date(date.getFullYear(), date.getMonth(), firstDayInWeek);\n}\nexport function stripToMonth(date) {\n return new Date(date.getFullYear(), date.getMonth(), 1);\n}\nexport function stripToYear(date) {\n return new Date(date.getFullYear(), 0, 1);\n}\nexport function addYears(date, years) {\n var d = new Date(date.getTime());\n d.setFullYear(date.getFullYear() + years);\n return d;\n}\nexport function addMonths(date, months) {\n var d = new Date(date.getTime());\n d.setMonth(date.getMonth() + months);\n return d;\n}\nexport function addDays(date, days) {\n var d = new Date(date.getTime());\n d.setDate(date.getDate() + days);\n return d;\n}\nexport function addWeeks(date, weeks) {\n return this.addDays(date, weeks * 7);\n}\nexport function isDayDisabled(date, minDate, maxDate, excludeDates, filterDate) {\n var day = stripToDay(date);\n return (minDate && stripToDay(minDate).getTime() > day.getTime()) || //day.isBefore(minDate, 'day')) ||\n (maxDate && stripToDay(maxDate).getTime() < day.getTime()) || //(maxDate && day.isAfter(maxDate, 'day')) ||\n (excludeDates && excludeDates.some(excludeDate => isSameDay(day, excludeDate))) ||\n (filterDate && !filterDate(day)) ||\n false;\n}\nexport function allDaysDisabledBefore(day, minDate) {\n return (minDate && day.getTime() < minDate.getTime());\n}\nexport function allDaysDisabledAfter(day, maxDate) {\n return (maxDate && day.getTime() > maxDate.getTime());\n}\nexport function getNumberOfDaysUntil(untilDate) {\n return getDaysDifference(new Date(), untilDate);\n}\nexport function getDaysDifference(firstDate, secondDate) {\n const oneDay = 1000 * 60 * 60 * 24;\n return Math.ceil((secondDate.getTime() - firstDate.getTime()) / oneDay);\n}\n","import React from \"react\";\nimport { JsonDateParser } from \"@/react-core/Utils/JsonDateParser\";\nimport { DateDropdownsEditor } from \"@/react-core/Html/DateDropdownsEditor\";\nimport { PersonalDetailsUserName } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../../Resources/Content\";\nimport { addYears, addDays } from \"@/react-core/Utils/Date\";\nexport const PersonalDetails = (props) => {\n function validateCustomerIsAtLeast18YearsOld(dateOfYear) {\n if (!dateOfYear) {\n return true;\n }\n return addYears(dateOfYear, 18) <= new Date();\n }\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.wizard.personalDetails.personalDetails),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: props.firstName, onChange: props.onFirstNameChange, label: Content.wizard.personalDetails.firstName, required: Content.wizard.personalDetails.firstNameIsMandatory, regex: { value: PersonalDetailsUserName, errorMessage: Content.wizard.personalDetails.firstNameHasWrongFormat } }))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, value: props.surname, onChange: props.onSurnameChange, label: Content.wizard.personalDetails.surname, required: Content.wizard.personalDetails.surnameIsMandatory, regex: { value: PersonalDetailsUserName, errorMessage: Content.wizard.personalDetails.surnameHasWrongFormat } }))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-9\" },\n React.createElement(DateDropdownsEditor, { cssWrapper: \"mb-0\", large: true, value: JsonDateParser.toDate(props.dateOfBirth), label: Content.wizard.personalDetails.dateOfBirth, onChange: (newDate) => props.onDateOfBirthChange(JsonDateParser.toJsonDate(newDate)), required: Content.wizard.personalDetails.dateOfBirthMandatory, validationRules: [{ validator: validateCustomerIsAtLeast18YearsOld, errorMessage: Content.wizard.personalDetails.userMustBeAtLeast18 }], atMost: { value: addDays(new Date(), -1), errorMessage: Content.wizard.personalDetails.dateOfBirthMustBeInPast } })))));\n};\n","import React from \"react\";\nimport { CountryCodeAvailableOptionsActionsCreator } from \"./../../../Shared/Common/ActionsCreators/CountryCodeAvailableOptionsActionsCreator\";\nimport { EmailAddress } from \"./../PersonalDetails/EmailAddress\";\nimport { PhoneNumbers } from \"./../PersonalDetails/PhoneNumbers\";\nimport { Address } from \"./../PersonalDetails/Address\";\nimport { PersonalDetails } from \"./../PersonalDetails/PersonalDetails\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CountryCodeAvailableOptionsStore } from \"./../../../Shared/Common/Stores/CountryCodeAvailableOptionsStore\";\nimport { CustomerRegistrationWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { CMSItemsStore } from \"@/apps/Shared/CMS/CMSActionStore\";\nimport { PumaCustomerUserAccountMatchActionsCreator } from \"../../ActionsCreators/PumaCustomerUserAccountMatchActionsCreator\";\nimport { PumaCustomerUserRegistrationType } from \"@/Puma/Site/Models/Onboarding/Customer/PumaCustomerUserRegistrationType\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaCustomerUserAccountMatchErrorsDictionary } from \"../../Entities/ErrorDictionaries/PumaCustomerUserAccountMatchErrorsDictionary\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nexport class PersonalDetailsWizardSection extends FormComponent {\n _currentStepId = CustomerRegistrationWizardStepType.PersonalDetails;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n this.subscribeToStore(CountryCodeAvailableOptionsStore, this.onCountryCodeAvailableOptionsStoreChange);\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n const creationData = this.props.wizardData.customerCreationData;\n const onCreationDataPartChange = this.props.wizardData.onCustomerCreationDataPartChange;\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading() || this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.continue, pageTitle: Content.pageTitles.personalDetails },\n React.createElement(\"h2\", { className: \"sr-only\" }, \"Your details\"),\n React.createElement(PersonalDetails, { firstName: creationData.firstName, surname: creationData.lastName, dateOfBirth: creationData.dateOfBirth, onFirstNameChange: firstName => onCreationDataPartChange(x => x.firstName = firstName), onSurnameChange: surname => onCreationDataPartChange(x => x.lastName = surname), onDateOfBirthChange: dateOfBirth => onCreationDataPartChange(x => x.dateOfBirth = dateOfBirth) }),\n React.createElement(\"hr\", { className: \"divider-subtle mt-12 mb-24\" }),\n React.createElement(Address, { countryCodeAvailableOptions: this.state.countryCodeAvailableOptions, address: creationData.contactDetails.address, onAddressChange: address => onCreationDataPartChange(x => x.contactDetails.address = address), cmsContent: this.state.cmsContent }),\n React.createElement(\"hr\", { className: \"divider-subtle mb-24\" }),\n React.createElement(PhoneNumbers, { mobilePhoneNumber: creationData.contactDetails.mobilePhoneNumber, smsFactorAuthenticationPhoneNumberType: creationData.contactDetails.smsFactorAuthenticationPhoneNumberType, onMobilePhoneNumberChange: mobileNumber => onCreationDataPartChange(x => x.contactDetails.mobilePhoneNumber = mobileNumber), onSmsFactorAuthenticationPhoneNumberTypeChange: mfaType => onCreationDataPartChange(x => x.contactDetails.smsFactorAuthenticationPhoneNumberType = mfaType), cmsContent: this.state.cmsContent }),\n React.createElement(\"hr\", { className: \"divider-subtle mt-12 mb-24\" }),\n React.createElement(EmailAddress, { emailAddress: creationData.contactDetails.emailAddress, confirmEmailAddress: creationData.contactDetails.confirmEmailAddress, onEmailAddressChange: emailAddress => onCreationDataPartChange(x => x.contactDetails.emailAddress = emailAddress), onConfirmEmailAddressChange: emailAddress => onCreationDataPartChange(x => x.contactDetails.confirmEmailAddress = emailAddress) }))));\n }\n componentDidMount() {\n if (!CountryCodeAvailableOptionsStore.isLoading()) {\n if (CountryCodeAvailableOptionsStore.isEmpty()) {\n CountryCodeAvailableOptionsActionsCreator.load();\n }\n else {\n this.updateStatePart(x => x.countryCodeAvailableOptions = CountryCodeAvailableOptionsStore.getPayload() || []);\n }\n }\n }\n continue() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true);\n const { match } = PumaCustomerUserAccountMatchActionsCreator();\n match({\n RegistrationType: PumaCustomerUserRegistrationType.Cold,\n FirstName: this.props.wizardData.customerCreationData.firstName,\n LastName: this.props.wizardData.customerCreationData.lastName,\n DateOfBirth: this.props.wizardData.customerCreationData.dateOfBirth,\n PostCode: this.props.wizardData.customerCreationData.contactDetails.address.Postcode,\n })\n .onSuccess(result => {\n if (result?.FnzUserIds !== null) {\n this.props.wizardData.onCustomerCreationDataPartChange(x => x.coldRegFnzUserIds = result.FnzUserIds);\n }\n if (result?.AccountMatched) {\n this.props.navigationActions.navigateTo(CustomerRegistrationWizardStepType.ColdAccountMatched);\n }\n else {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaCustomerUserAccountMatchErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n }\n }\n onCountryCodeAvailableOptionsStoreChange() {\n if (!CountryCodeAvailableOptionsStore.isLoading()) {\n this.updateStatePart(x => {\n x.isLoading = this.isAnyStoreLoading();\n x.countryCodeAvailableOptions = CountryCodeAvailableOptionsStore.getPayload() || [];\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n countryCodeAvailableOptions: [],\n cmsContent: CMSItemsStore.getPayload()\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n this.onCountryCodeAvailableOptionsStoreChange = this.onCountryCodeAvailableOptionsStoreChange.bind(this);\n }\n}\n","import { PumaUserActivationEmailVerificationStatus } from \"@/Wrap/Constants/Enums/ActivationEmailVerification/PumaUserActivationEmailVerificationStatus\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nexport const DefaultValues = {\n encryptedPumaCustomerUserCreationData: {\n identityVerificationData: {\n DocumentSegmentsValues: [],\n DocumentType: null\n },\n contactDetails: {\n address: null,\n homePhoneNumber: {\n internationalDialingCode: {}\n },\n mobilePhoneNumber: {\n internationalDialingCode: {}\n },\n emailAddress: {},\n smsFactorAuthenticationPhoneNumberType: PumaPhoneNumberType.Mobile,\n confirmEmailAddress: {}\n },\n antiPhishingData: {\n antiPhishingImageDocument: { Document: {} }\n },\n isWarmReg: true,\n firstCode: \" \",\n secondCode: \" \",\n nino: \"\",\n clAccountId: \"\",\n isLetterCodeValid: false,\n shouldValidateThroughNino: false,\n letterCodesStatus: \"\",\n fnzUserId: 0,\n emailCode: \" \",\n smsCode: \" \",\n coldRegFnzUserIds: []\n },\n pumaCustomerUserActivationEmailVerificationResult: {\n Status: PumaUserActivationEmailVerificationStatus.NotSpecified,\n AntiPhishing: {},\n SmsVerification: {\n SmsConfirmationTokenRequestErrors: []\n }\n }\n};\n","import { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { Navigator } from \"./Navigator\";\nexport function setQueryParameters(queryParams) {\n const activeUrl = Objects.cloneObject(NavigationStore.getActiveUrl());\n Navigator.navigateTo(activeUrl, {\n queryParamsObject: queryParams,\n scrollAfterNavigating: false\n });\n}\nexport function updateQueryParameters(queryParams) {\n const currentQueryParams = getQueryParameters();\n const newQueryParams = $.extend(true, {}, currentQueryParams, queryParams);\n setQueryParameters(newQueryParams);\n}\nexport function getQueryParameters() {\n const queryParameters = window.location.search.length > 0 ? window.location.search.replace('?', '').split('&') : [];\n let result = {};\n queryParameters.map(queryParameter => {\n const queryParameterName = queryParameter.split('=')[0];\n const queryParameterValue = queryParameter.split('=')[1];\n result[queryParameterName] = queryParameterValue;\n });\n return result;\n}\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { getQueryParameters } from \"./../../Shared/WizardSteppers/Entities/Navigation/QueryParametersHelper\";\nimport { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { ContainersWizardStepsActionsCreator } from \"./../../Shared/WizardSteppers/ActionsCreators/ContainersWizardStepsActionsCreator\";\nimport { WizardStepDefinitionsActionsCreator } from \"./../../Shared/WizardSteppers/ActionsCreators/WizardStepDefinitionsActionsCreator\";\nimport { WizardNavigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/WizardNavigator\";\nimport { CustomerRegistrationWizardStepType } from \"./../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { Urls } from \"./../Urls\";\nimport { Navigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { RegistrationProgress } from \"./../Entities/RegistrationProgress\";\nimport { WizardStepDefinitionsStore } from \"@/apps/Shared/WizardSteppers/Stores/WizardStepDefinitionsStore\";\nexport class CustomerWarmCreationWizardPhase extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n if (this.shouldRedirectToFirstSection()) {\n return React.createElement(\"div\", null);\n }\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true }, this.props.children &&\n React.cloneElement(React.Children.only(this.props.children), {\n wizardData: {\n registrationProgress: this.state.registrationProgress,\n customerCreationData: this.state.customerCreationData,\n registeredEmailAddress: this.state.registeredEmailAddress,\n registeredMfaPhoneNumber: this.state.registeredMfaPhoneNumber,\n emailVerificationResult: null,\n completionResult: null,\n onCustomerCreationDataPartChange: this.changeCustomerCreationDataPart,\n onCustomerCreationDataSubmitted: this.onCustomerCreationDataSubmitted,\n onConfirmationTokenChange: () => {\n throw \"Confirmation token can not be change during creation phase\";\n },\n },\n navigationActions: {\n navigateNext: this.navigateNext,\n navigateBack: this.navigateBack,\n navigateTo: this.navigateTo,\n cancel: this.cancelWizard,\n navigateToLoginPage: this.navigateToLoginPage,\n },\n })));\n }\n componentWillMount() {\n super.componentWillMount();\n if (this.shouldRedirectToFirstSection()) {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().wizard.personalDetailsSection);\n }\n }\n componentDidMount() {\n const stepDefinitions = WizardStepsProvider.getWramStepDefinitions();\n this.updateStepDefinitions(stepDefinitions);\n }\n changeCustomerCreationDataPart(changeFunc) {\n this.updateStatePart((x) => changeFunc(x.customerCreationData));\n }\n onCustomerCreationDataSubmitted(creationResult) {\n this.updateStatePart((x) => {\n x.registeredEmailAddress = creationResult.EmailAddress;\n x.registeredMfaPhoneNumber = creationResult.MfaPhoneNumber;\n x.registrationProgress =\n RegistrationProgress.PendingEmailVerification;\n }, () => {\n const stepDefinitions = WizardStepsProvider.getWramStepDefinitions();\n const activationStep = stepDefinitions.filter((x) => x.id ===\n CustomerRegistrationWizardStepType.AccountActivation)[0];\n WizardNavigator.navigateToWizardStep(activationStep);\n });\n }\n updateStepDefinitions(stepDefinitions) {\n WizardStepDefinitionsActionsCreator.update(stepDefinitions);\n }\n navigateNext(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getWramStepDefinitions();\n const nextStep = WizardStepsProvider.getNextStepDefinition(stepDefinitions, currentStepId);\n const currentStepDefinitions = WizardStepDefinitionsStore.getPayload() || [];\n if (currentStepDefinitions.length != stepDefinitions.length) {\n this.updateStepDefinitions(stepDefinitions);\n }\n if (nextStep != null) {\n WizardNavigator.navigateToWizardStep(nextStep);\n }\n else {\n //update current step as completed\n ContainersWizardStepsActionsCreator.setCurrentStepComplete(NavigationStore.getActiveUrl());\n }\n }\n navigateBack(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getWramStepDefinitions();\n const previousStep = WizardStepsProvider.getPreviousStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(previousStep);\n }\n navigateTo(toStepId) {\n const allStepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n const toStep = allStepDefinitions[toStepId];\n if (toStep.id === CustomerRegistrationWizardStepType.WarmAccountMatched) {\n this.updateStepDefinitions(WizardStepsProvider.getWarmAccountMatchedDefinitions());\n }\n WizardNavigator.navigateToWizardStep(toStep);\n }\n navigateToLoginPage() {\n this.updateStatePart((x) => (x.isLoading = true), () => window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()));\n }\n cancelWizard() {\n this.updateStatePart((x) => (x.isLoading = true), () => window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()));\n }\n shouldRedirectToFirstSection() {\n return false;\n }\n getDefaultState() {\n const queryParameters = getQueryParameters();\n return {\n registrationProgress: RegistrationProgress.GatheringCreationData,\n customerCreationData: DefaultValues.encryptedPumaCustomerUserCreationData,\n registeredEmailAddress: {},\n registeredMfaPhoneNumber: {},\n isLoading: false,\n };\n }\n bindPrivateMethods() {\n this.navigateBack = this.navigateBack.bind(this);\n this.navigateNext = this.navigateNext.bind(this);\n this.navigateTo = this.navigateTo.bind(this);\n this.navigateToLoginPage = this.navigateToLoginPage.bind(this);\n this.updateStepDefinitions = this.updateStepDefinitions.bind(this);\n this.changeCustomerCreationDataPart =\n this.changeCustomerCreationDataPart.bind(this);\n this.onCustomerCreationDataSubmitted =\n this.onCustomerCreationDataSubmitted.bind(this);\n this.shouldRedirectToFirstSection =\n this.shouldRedirectToFirstSection.bind(this);\n this.cancelWizard = this.cancelWizard.bind(this);\n }\n}\n","import React from \"react\";\nimport { CustomerWarmCreationWizardPhase } from \"./CustomerWarmCreationWizardPhase\";\nimport { PublicWizardSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicWizardSiteLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class WarmWizard extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(PublicWizardSiteLayout, null,\n React.createElement(CustomerWarmCreationWizardPhase, null, this.props.children))));\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() { }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCustomerUserActivationEmailVerificationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaCustomerUserActivationEmailVerification/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaCustomerUserActivationEmailVerificationClient } from \"@/Puma/Api/Onboarding/PumaCustomerUserActivationEmailVerification\";\nexport class PumaCustomerUserActivationEmailVerificationActionsCreator {\n static verify(request) {\n const client = new PumaCustomerUserActivationEmailVerificationClient();\n return client.post(request);\n }\n}\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { Urls } from \"./../Urls\";\nimport { Navigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { PumaCustomerUserActivationEmailVerificationActionsCreator } from \"./../ActionsCreators/PumaCustomerUserActivationEmailVerificationActionsCreator\";\nimport { WizardStepDefinitionsActionsCreator } from \"./../../Shared/WizardSteppers/ActionsCreators/WizardStepDefinitionsActionsCreator\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { RegistrationProgress } from \"./../Entities/RegistrationProgress\";\nexport class CustomerActivationWizardPhase extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true }, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n wizardData: {\n registrationProgress: this.state.registrationProgress,\n emailVerificationResult: this.state.emailVerificationResult,\n completionResult: this.state.completionResult,\n customerCreationData: null,\n registeredEmailAddress: null,\n registeredMfaPhoneNumber: null,\n onCustomerCreationDataPartChange: () => { throw \"Customer creation data can not be change during activation phase\"; },\n onCustomerCreationDataSubmitted: () => { throw \"Customer creation data can not be submitted during activation phase\"; },\n onConfirmationTokenChange: this.updateSmsConfirmationToken\n },\n navigationActions: {\n navigateNext: null,\n navigateBack: null,\n cancel: this.cancelWizard,\n confirm: this.confirm\n }\n })));\n }\n componentDidMount() {\n const stepDefinitions = WizardStepsProvider.getColdStepDefinitions();\n this.updateStepDefinitions(stepDefinitions);\n if (this.props.activationToken) {\n this.verifyCustomerUserEmailAddress(this.props.activationToken);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.activationToken !== nextProps.activationToken) {\n this.verifyCustomerUserEmailAddress(nextProps.activationToken);\n }\n }\n updateStepDefinitions(stepDefinitions) {\n WizardStepDefinitionsActionsCreator.update(stepDefinitions);\n }\n updateSmsConfirmationToken(token) {\n this.updateStatePart(x => {\n x.emailVerificationResult.SmsVerification.IsInitialSmsConfirmationToken = false;\n x.emailVerificationResult.SmsVerification.SmsConfirmationToken = token;\n });\n }\n verifyCustomerUserEmailAddress(activationToken) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaCustomerUserActivationEmailVerificationActionsCreator.verify({ ActivationToken: activationToken })\n .onSuccess(result => {\n this.updateStatePart(x => {\n x.registrationProgress = RegistrationProgress.FinishedEmailVerification;\n x.emailVerificationResult = result;\n x.isLoading = false;\n });\n });\n });\n }\n cancelWizard() {\n this.updateStatePart(x => x.isLoading = true, () => window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()));\n }\n confirm(completionResult) {\n this.updateStatePart(x => x.completionResult = completionResult, () => Navigator.navigateToAndPreserveQueryParameters(Urls.get().wizard.successSection));\n }\n getDefaultState() {\n return {\n registrationProgress: RegistrationProgress.FinishedEmailVerification,\n emailVerificationResult: DefaultValues.pumaCustomerUserActivationEmailVerificationResult,\n isLoading: false\n };\n }\n bindPrivateMethods() {\n this.updateStepDefinitions = this.updateStepDefinitions.bind(this);\n this.verifyCustomerUserEmailAddress = this.verifyCustomerUserEmailAddress.bind(this);\n this.confirm = this.confirm.bind(this);\n this.cancelWizard = this.cancelWizard.bind(this);\n this.updateSmsConfirmationToken = this.updateSmsConfirmationToken.bind(this);\n this.cancelWizard = this.cancelWizard.bind(this);\n }\n}\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { getQueryParameters } from \"./../../Shared/WizardSteppers/Entities/Navigation/QueryParametersHelper\";\nimport { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { WizardStepDefinitionsActionsCreator } from \"./../../Shared/WizardSteppers/ActionsCreators/WizardStepDefinitionsActionsCreator\";\nimport { WizardNavigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/WizardNavigator\";\nimport { CustomerRegistrationWizardStepType } from \"./../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { Urls } from \"./../Urls\";\nimport { Navigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { RegistrationProgress } from \"./../Entities/RegistrationProgress\";\nimport { WizardStepDefinitionsStore } from \"@/apps/Shared/WizardSteppers/Stores/WizardStepDefinitionsStore\";\nexport class CustomerCreationWizardPhase extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n if (this.shouldRedirectToFirstSection()) {\n return React.createElement(\"div\", null);\n }\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true }, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n wizardData: {\n registrationProgress: this.state.registrationProgress,\n customerCreationData: this.state.customerCreationData,\n registeredEmailAddress: this.state.registeredEmailAddress,\n registeredMfaPhoneNumber: this.state.registeredMfaPhoneNumber,\n emailVerificationResult: null,\n completionResult: null,\n onCustomerCreationDataPartChange: this.changeCustomerCreationDataPart,\n onCustomerCreationDataSubmitted: this.onCustomerCreationDataSubmitted,\n onConfirmationTokenChange: () => { throw \"Confirmation token can not be change during creation phase\"; }\n },\n navigationActions: {\n navigateNext: this.navigateNext,\n navigateBack: this.navigateBack,\n navigateTo: this.navigateTo,\n cancel: this.cancelWizard,\n navigateToLoginPage: this.navigateToLoginPage\n }\n })));\n }\n componentWillMount() {\n super.componentWillMount();\n if (this.shouldRedirectToFirstSection()) {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().wizard.personalDetailsSection);\n }\n }\n componentDidMount() {\n const stepDefinitions = WizardStepsProvider.getColdStepDefinitions();\n this.updateStepDefinitions(stepDefinitions);\n }\n changeCustomerCreationDataPart(changeFunc) {\n this.updateStatePart(x => changeFunc(x.customerCreationData));\n }\n onCustomerCreationDataSubmitted(creationResult) {\n this.updateStatePart(x => {\n x.registeredEmailAddress = creationResult.EmailAddress;\n x.registeredMfaPhoneNumber = creationResult.MfaPhoneNumber;\n x.registrationProgress = RegistrationProgress.PendingEmailVerification;\n }, () => {\n const stepDefinitions = WizardStepsProvider.getColdStepDefinitions();\n const activationStep = stepDefinitions.filter(x => x.id === CustomerRegistrationWizardStepType.AccountActivation)[0];\n WizardNavigator.navigateToWizardStep(activationStep);\n });\n }\n updateStepDefinitions(stepDefinitions) {\n WizardStepDefinitionsActionsCreator.update(stepDefinitions);\n }\n navigateNext(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getColdStepDefinitions();\n const nextStep = WizardStepsProvider.getNextStepDefinition(stepDefinitions, currentStepId);\n const currentStepDefinitions = WizardStepDefinitionsStore.getPayload() || [];\n if (currentStepDefinitions.length != stepDefinitions.length) {\n this.updateStepDefinitions(stepDefinitions);\n }\n WizardNavigator.navigateToWizardStep(nextStep);\n }\n navigateBack(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getColdStepDefinitions();\n const previousStep = WizardStepsProvider.getPreviousStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(previousStep);\n }\n navigateTo(toStepId) {\n const allStepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n const toStep = allStepDefinitions[toStepId];\n if (toStep.id === CustomerRegistrationWizardStepType.ColdAccountMatched) {\n this.updateStepDefinitions(WizardStepsProvider.getColdAccountMatchedDefinitions());\n }\n WizardNavigator.navigateToWizardStep(toStep);\n }\n navigateToLoginPage() {\n this.updateStatePart(x => x.isLoading = true, () => window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()));\n }\n cancelWizard() {\n this.updateStatePart(x => x.isLoading = true, () => window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl()));\n }\n shouldRedirectToFirstSection() {\n if (!this.state.customerCreationData.firstName) {\n const activeUrl = NavigationStore.getActiveUrl();\n if (activeUrl.getFullRoutePath() !== Urls.get().wizard.personalDetailsSection.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().wizard.getFullRoutePath()) {\n return true;\n }\n }\n return false;\n }\n getDefaultState() {\n const queryParameters = getQueryParameters();\n return {\n registrationProgress: RegistrationProgress.GatheringCreationData,\n customerCreationData: DefaultValues.encryptedPumaCustomerUserCreationData,\n registeredEmailAddress: {},\n registeredMfaPhoneNumber: {},\n isLoading: false\n };\n }\n bindPrivateMethods() {\n this.navigateBack = this.navigateBack.bind(this);\n this.navigateNext = this.navigateNext.bind(this);\n this.navigateTo = this.navigateTo.bind(this);\n this.navigateToLoginPage = this.navigateToLoginPage.bind(this);\n this.updateStepDefinitions = this.updateStepDefinitions.bind(this);\n this.changeCustomerCreationDataPart = this.changeCustomerCreationDataPart.bind(this);\n this.onCustomerCreationDataSubmitted = this.onCustomerCreationDataSubmitted.bind(this);\n this.shouldRedirectToFirstSection = this.shouldRedirectToFirstSection.bind(this);\n this.cancelWizard = this.cancelWizard.bind(this);\n }\n}\n","import React from \"react\";\nimport { getQueryParameters } from \"./../../Shared/WizardSteppers/Entities/Navigation/QueryParametersHelper\";\nimport { CustomerActivationWizardPhase } from \"./CustomerActivationWizardPhase\";\nimport { CustomerCreationWizardPhase } from \"./CustomerCreationWizardPhase\";\nimport { PublicWizardSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicWizardSiteLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Wizard extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(PublicWizardSiteLayout, null,\n !this.state.activationToken &&\n React.createElement(CustomerCreationWizardPhase, null, this.props.children),\n this.state.activationToken &&\n React.createElement(CustomerActivationWizardPhase, { activationToken: this.state.activationToken }, this.props.children))));\n }\n getDefaultState() {\n const queryParameters = getQueryParameters();\n return {\n activationToken: queryParameters.token\n };\n }\n bindPrivateMethods() {\n }\n}\n","import React from \"react\";\nimport { PublicSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicSiteLayout\";\nexport const PageLayout = (props) => {\n return (React.createElement(PublicSiteLayout, null, props.children));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Tooltip } from \"@/react-core/Html/Components/Tooltip\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { Content } from \"./../Resources/Content\";\nimport { PageTitleUpdateComponent } from \"./../../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { PageLayout } from \"./PageLayout\";\nimport { Urls } from \"./../Urls\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nimport { CMSItemsStore } from \"@/apps/Shared/CMS/CMSActionStore\";\nexport class WelcomePage extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = {\n cmsContent: CMSItemsStore.getPayload()\n };\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n startWizard() {\n RoutingActions.navigateTo(Urls.get().wizard.getUrl());\n }\n render() {\n return (React.createElement(PageLayout, null,\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.welcome }),\n React.createElement(Form, { onSubmit: this.startWizard },\n React.createElement(\"section\", null,\n React.createElement(\"h1\", { className: \"heading-page\" }, Content.home.pageHeading),\n React.createElement(\"h2\", { className: \"heading-section\" }, Content.home.sectionHeading),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(\"p\", { className: \"lead\" }, getContentString(this.state.cmsContent, ContentStringType.OccColdReg_Welcome_IDEvidenceRequired_Body)),\n React.createElement(\"div\", { className: \"row mini-gutter pb-18\" },\n React.createElement(\"div\", { className: \"col-auto\", dangerouslySetInnerHTML: { __html: getContentString(this.state.cmsContent, ContentStringType.OccColdReg_Welcome_IDEvidenceException_Body) } }),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Tooltip, { htmlText: getContentString(this.state.cmsContent, ContentStringType.OccColdReg_Welcome_IDEvidenceException_Help), triggerText: Content.home.learnMore, messageCss: \"text\" }))),\n React.createElement(\"ul\", { className: \"list-semantical\" },\n React.createElement(\"li\", null,\n React.createElement(\"div\", { className: \"row narrow-gutter pb-18\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"div\", { className: \"asset-driving-licence\", \"aria-hidden\": \"true\" })),\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"strong\", null, Content.identificationMethods.ukDrivingLicence),\n \"\\u00A0\",\n Content.identificationMethods.ukDrivingLicenceFurtherInfo))),\n React.createElement(\"li\", null,\n React.createElement(\"div\", { className: \"row narrow-gutter pb-18\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"div\", { className: \"asset-passport\", \"aria-hidden\": \"true\" })),\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"strong\", null, Content.identificationMethods.ukPassport))))),\n React.createElement(Button, { type: \"submit\", className: \"btn primary large\", onClick: this.startWizard }, Content.common.start)))))));\n }\n}\n;\n","import { Urls } from \"./../Urls\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class RedirectPage extends FormComponent {\n constructor(props) {\n super(props);\n }\n render() {\n return null;\n }\n componentDidMount() {\n RoutingActions.navigateTo(Urls.get().warmWizard.getUrl());\n }\n}\n","import React from \"react\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null, this.props.children));\n }\n getDefaultState() {\n return {};\n }\n}\n","import { Div } from \"@/react-core/Html/Div\";\nimport React, { useState } from \"react\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Content } from \"../../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { LoadCMSActionCreators } from \"@/apps/Shared/CMS/LoadCMSActionCreators\";\nconst AccountMatchedWizardSection = () => {\n const [cmsContent, setCmsContent] = useState([]);\n const handleLoginClicked = () => {\n window.location.assign(new CustomerRegistrationUrlsHelper().getLoginPageUrl());\n };\n return (React.createElement(Div, { isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.accountRegistration, showSideStepper: true, showTopStepper: true, canCancel: false, canNavigateBack: false, canConfirm: false, canContinue: false, canSaveAndExit: false, pageTitle: \"Account Matched\" },\n React.createElement(\"h3\", { dangerouslySetInnerHTML: {\n __html: LoadCMSActionCreators.GetCMSText(\"OccRegistration.ExistingAccountCheck.AccountFound.Body\", cmsContent),\n } }),\n React.createElement(\"div\", { className: \"mt-24\", dangerouslySetInnerHTML: {\n __html: LoadCMSActionCreators.GetCMSText(\"OccRegistration.ExistingAccountCheck.AccountFoundLogin.Body\", cmsContent),\n } }),\n React.createElement(Button, { className: \"btn primary\", onClick: handleLoginClicked }, \"Login to an existing account\"))));\n};\nexport { AccountMatchedWizardSection };\n","import { WarmExtraSecurityWizardSection } from \"./Components/WizardSections/WarmExtraSecurityWizardSection\";\nimport { WarmCredentialsWizardSection } from \"./Components/WizardSections/WarmCredentialsWizardSection\";\nimport { WarmVerificationWizardSection } from \"./Components/WizardSections/WarmVerificationWizardSection\";\nimport { WarmSecurityCodeWizardSection } from \"./Components/WizardSections/WarmSecurityCodeWizardSection\";\nimport { WarmOrColdWizardSection } from \"./Components/WizardSections/WarmOrColdWizardSection\";\nimport { SuccessWizardSection } from \"./Components/WizardSections/SuccessWizardSection\";\nimport { AccountActivationWizardSection } from \"./Components/WizardSections/AccountActivationWizardSection\";\nimport { AntiPhishingWizardSection } from \"./Components/WizardSections/AntiPhishingWizardSection\";\nimport { CredentialsWizardSection } from \"./Components/WizardSections/CredentialsWizardSection\";\nimport { IdentityVerificationWizardSection } from \"./Components/WizardSections/IdentityVerificationWizardSection\";\nimport { PersonalDetailsWizardSection } from \"./Components/WizardSections/PersonalDetailsWizardSection\";\nimport { WarmWizard } from \"./Components/WarmWizard\";\nimport { Wizard } from \"./Components/Wizard\";\nimport { WelcomePage } from \"./Components/WelcomePage\";\nimport { RedirectPage } from \"./Components/RedirectPage\";\nimport { App } from \"./App\";\nimport { RootRoute, NestedRouteFragment } from \"@/react-core/Routing/RouteFragment\";\nimport { AccountMatchedWizardSection } from \"./Components/WizardSections/AccountMatchedWizardSection\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, RedirectPage);\n }\n welcomePage = this.createPage(\"welcome\", WelcomePage);\n wizard = this.createCustomPage(\"wizard\", Wizard, WizardUrls);\n warmWizard = this.createCustomPage(\"warmwizard\", WarmWizard, WarmWizardUrls);\n}\nexport class WizardUrls extends NestedRouteFragment {\n constructor(route, component, parent, indexComponent) {\n super(route, component, parent, PersonalDetailsWizardSection);\n }\n personalDetailsSection = this.createPage(\"personaldetails\", PersonalDetailsWizardSection);\n accountMatched = this.createPage(\"accountmatched\", AccountMatchedWizardSection);\n identityVerificationSection = this.createPage(\"identityverification\", IdentityVerificationWizardSection);\n credentialsSection = this.createPage(\"credentials\", CredentialsWizardSection);\n antiphishingSection = this.createPage(\"antiphishing\", AntiPhishingWizardSection);\n accountActivationSection = this.createPage(\"accountactivation\", AccountActivationWizardSection);\n successSection = this.createPage(\"success\", SuccessWizardSection);\n}\nexport class WarmWizardUrls extends NestedRouteFragment {\n constructor(route, component, parent, indexComponent) {\n super(route, component, parent, WarmOrColdWizardSection);\n }\n warmOrCodeWizardSection = this.createPage(\"welcome\", WarmOrColdWizardSection);\n accountMatched = this.createPage(\"accountmatched\", AccountMatchedWizardSection);\n warmSecurityCodeWizardSection = this.createPage(\"securityCode\", WarmSecurityCodeWizardSection);\n emailVerificationSection = this.createPage(\"emailVerification\", WarmVerificationWizardSection);\n credentialsSection = this.createPage(\"credentials\", WarmCredentialsWizardSection);\n extraSecuritySection = this.createPage(\"extraSecurity\", WarmExtraSecurityWizardSection);\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Router extends BaseComponent {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export class Content {\n static common = {\n adviserReset: \"Adviser reset\"\n };\n static wizardStepper = {\n progress: \"Progress\",\n resetCode: \"Reset code\",\n resetPassword: \"Reset password\",\n resetSecurityQuestion: \"Reset security question\"\n };\n static invalidTokenWizardSection = {\n invalidToken: \"Invalid token\",\n message: \"We are sorry but your token has expired.\",\n logInToDashboard: \"Login\"\n };\n static authorisationIdWizardSection = {\n yourMemorableImageAndPhrase: \"Your memorable picture and phrase\",\n authenticationFailed: \"Authentication failed\",\n enterYourResetCode: \"Enter your 6 digit reset code\"\n };\n static passwordWizardSection = {\n passwordMustBeDifferentFromOtherSecurityItems: \"Password must be different from username, security answer and anti-phishing phrase\"\n };\n static securityQuestionWizardSection = {\n passwordRequirementsNotMet: \"Please ensure that password requirements are met. Your password has to be different from any password recently used, it can not contain forbidden words or be same as your user name.\",\n pumaUserSecurityQuestionAnswerRequirementsNotMet: \"Security answer does not meet required complexity\",\n securityAnswerMustBeDifferentFromOtherSecurityItems: \"Security answer must be different from username, password and anti-phishing phrase\"\n };\n static successWizardSection = {\n pageHeader: \"Adviser reset successful\",\n pageInfo_EmailAddress: \"You have successfully reset your user account. We've sent a confirmation email to {0}.\",\n login: \"Login\"\n };\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nexport const InvalidTokenWizardSection = (props) => {\n return (React.createElement(\"div\", { className: \"layout-page\" },\n React.createElement(\"h1\", { className: \"heading-failure mt-48\" }, Content.invalidTokenWizardSection.invalidToken),\n React.createElement(\"hr\", { className: \"mt-0 mb-24\" }),\n React.createElement(\"p\", { className: \"lead mb-48\" }, Content.invalidTokenWizardSection.message),\n React.createElement(Button, { className: \"btn primary large\", onClick: props.navigationActions.cancel }, Content.invalidTokenWizardSection.logInToDashboard)));\n};\n","export var AdviserSecurityResetWizardStepperId;\n(function (AdviserSecurityResetWizardStepperId) {\n AdviserSecurityResetWizardStepperId[\"NotSpecified\"] = \"NotSpecified\";\n AdviserSecurityResetWizardStepperId[\"Top\"] = \"Top\";\n AdviserSecurityResetWizardStepperId[\"Side\"] = \"Side\";\n})(AdviserSecurityResetWizardStepperId || (AdviserSecurityResetWizardStepperId = {}));\n","import React from \"react\";\nimport { AdviserHelpSection } from \"./../../Shared/Common/Components/Layout/Shared/HelpSections/AdviserHelpSection\";\nimport { DetailedSideWizardStepperUI } from \"./../../Shared/WizardSteppers/Components/DetailedSideWizardStepperUI\";\nimport { Content } from \"./../Resources/Content\";\nimport { TopWizardStepperUI } from \"./../../Shared/WizardSteppers/Components/TopWizardStepperUI\";\nimport { AdviserSecurityResetWizardStepperId } from \"./../Entities/WizardStepper/AdviserSecurityResetWizardStepperId\";\nimport { WizardSectionLayout as WizardSectionLayout__alias1 } from \"./../../Shared/WizardSteppers/OMW/Components/WizardSectionLayout\";\nexport const WizardSectionLayout = (props) => {\n return (React.createElement(WizardSectionLayout__alias1, { ...props, topStepperId: AdviserSecurityResetWizardStepperId.Top, topStepperUI: TopWizardStepperUI, sideStepperHeader: Content.wizardStepper.progress, sideStepperId: AdviserSecurityResetWizardStepperId.Side, sideStepperUI: DetailedSideWizardStepperUI, sidePanelHeader: null, helpSection: AdviserHelpSection }));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nexport const SuccessWizardSection = (props) => {\n return (React.createElement(Div, null,\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.successWizardSection.pageHeader, showSideStepper: false, showTopStepper: false, canCancel: false, canNavigateBack: false, canConfirm: false, canContinue: false, canSaveAndExit: false },\n React.createElement(\"p\", { className: \"lead mb-48\" }, Content.successWizardSection.pageInfo_EmailAddress.replace(\"{0}\", props.wizardData.resetTokenVerificationResult.User.EmailAddress.Email)),\n React.createElement(Button, { className: \"btn primary large\", onClick: props.navigationActions.cancel }, Content.successWizardSection.login))));\n};\n","export var PumaAdviserUserSecurityResetRecoveryErrors;\n(function (PumaAdviserUserSecurityResetRecoveryErrors) {\n PumaAdviserUserSecurityResetRecoveryErrors[PumaAdviserUserSecurityResetRecoveryErrors[\"PasswordRequirementsWereNotMet\"] = 0] = \"PasswordRequirementsWereNotMet\";\n PumaAdviserUserSecurityResetRecoveryErrors[PumaAdviserUserSecurityResetRecoveryErrors[\"PumaUserSecurityQuestionAnswerRequirementsNotMet\"] = 1] = \"PumaUserSecurityQuestionAnswerRequirementsNotMet\";\n})(PumaAdviserUserSecurityResetRecoveryErrors || (PumaAdviserUserSecurityResetRecoveryErrors = {}));\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaAdviserUserSecurityResetRecoveryErrors } from \"@/Wrap/Validation/Errors/User/Adviser/PumaAdviserUserSecurityResetRecoveryErrors\";\nexport class PumaAdviserUserSecurityResetRecoveryErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaAdviserUserSecurityResetRecoveryErrors.PasswordRequirementsWereNotMet, Content.securityQuestionWizardSection.passwordRequirementsNotMet);\n map.set(PumaAdviserUserSecurityResetRecoveryErrors.PumaUserSecurityQuestionAnswerRequirementsNotMet, Content.securityQuestionWizardSection.pumaUserSecurityQuestionAnswerRequirementsNotMet);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaAdviserUserSecurityResetRecoveryClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/PumaAdviserUserSecurityResetRecovery/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaAdviserUserSecurityResetRecoveryClient } from \"@/Puma/Api/User/PumaAdviserUserSecurityResetRecovery\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaAdviserUserSecurityResetRecoveryActionsCreator extends Actions {\n static request(requestData) {\n const client = new PumaAdviserUserSecurityResetRecoveryClient();\n return client.post(requestData);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaAdviserUserAvailableSecurityQuestionsActionsDispatcher = new Dispatcher();\nexport const PumaAdviserUserAvailableSecurityQuestionsStore = new PayloadStore(PumaAdviserUserAvailableSecurityQuestionsActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaAdviserUserAvailableSecurityQuestionsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(pumaUserId) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaAdviserUserAvailableSecurityQuestions/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { pumaUserId: pumaUserId };\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaAdviserUserAvailableSecurityQuestionsActionsDispatcher } from \"./../Stores/PumaAdviserUserAvailableSecurityQuestionsStore\";\nimport { PumaAdviserUserAvailableSecurityQuestionsClient } from \"@/Puma/Api/Onboarding/PumaAdviserUserAvailableSecurityQuestions\";\nexport class PumaAdviserUserAvailableSecurityQuestionsActionsCreator {\n static load(pumaUserId) {\n PumaAdviserUserAvailableSecurityQuestionsActionsCreator.startLoading();\n const client = new PumaAdviserUserAvailableSecurityQuestionsClient();\n client\n .get(pumaUserId)\n .onSuccess(PumaAdviserUserAvailableSecurityQuestionsActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(questions) {\n PumaAdviserUserAvailableSecurityQuestionsActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: questions });\n }\n static startLoading() {\n PumaAdviserUserAvailableSecurityQuestionsActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export class Content {\n static common = {\n securityQuestionPickerHeader: \"Select a question you can easily remember the answer to.\",\n question: \"Question\",\n newSecurityQuestion: \"New security question\",\n answer: \"Answer\",\n pleaseSelectQuestion: \"Please select security question\",\n answerIsMandatory: \"You must enter the answer to your security question\",\n answerLengthIsInvalid: \"Please select security answer which length is between 4 and 100 characters\",\n answerFormatIsInvalid: \"The answer you have provided is not correct\",\n answerMustNotBePartOfTheQuestion: \"The answer you have provided to the security question contains one or more words used in the question itself. Please use a different answer or select another security question.\",\n securityQuestionDropdownPlaceholder: \"Please select\"\n };\n}\n","import { Content } from \"./../../Resources/Content\";\nexport class SecurityAnswerMustNotBePartOfTheQuestionValidationRuleFactory {\n static create(securityQuestion) {\n const validate = (securityAnswer) => {\n if (securityQuestion == null\n || securityAnswer == null) {\n return true;\n }\n const questionText = securityQuestion.QuestionText.length > 0 && securityQuestion.QuestionText.charAt(securityQuestion.QuestionText.length - 1) === '?'\n ? securityQuestion.QuestionText.substring(0, securityQuestion.QuestionText.length - 1)\n : securityQuestion.QuestionText;\n const wordsInSecurityQuestionText = questionText.split(\" \").filter(x => x.trim() !== '');\n const wordsInSecurityAnswer = securityAnswer.split(\" \").filter(x => x.trim() !== '');\n let result = true;\n wordsInSecurityAnswer.forEach(wordInSecurityAnswer => {\n if (wordsInSecurityQuestionText.some(wordInSecurityQuestionText => wordInSecurityQuestionText.toLowerCase() === wordInSecurityAnswer.toLowerCase())) {\n result = false;\n }\n });\n return result;\n };\n return {\n errorMessage: Content.common.answerMustNotBePartOfTheQuestion,\n validator: validate\n };\n }\n}\n","import React from \"react\";\nimport { SecurityAnswerMustNotBePartOfTheQuestionValidationRuleFactory } from \"./../Entities/Validators/SecurityAnswerMustNotBePartOfTheQuestionValidationRuleFactory\";\nimport { SecurityAnswer } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { isNotEmpty, matchesRegexp } from \"@/react-core/Html/Validation/RawValueRules\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../Resources/Content\";\nimport { SelectEditorFactory } from \"@/react-core/Html/Factories/SelectEditorFactory\";\nexport const SecurityQuestionPickerUI = (props) => {\n function updateSelectedQuestion(code) {\n const selectedQuestion = props.securityQuestions.filter(x => x.QuestionCode === code)[0];\n props.onSelectedSecurityQuestionChange(selectedQuestion);\n }\n const QuestionDropdown = SelectEditorFactory.create();\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", { className: \"pr-48\" }, Content.common.securityQuestionPickerHeader),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(QuestionDropdown, { large: true, options: props.securityQuestions.map(x => x.QuestionCode), getText: code => props.securityQuestions.filter(x => x.QuestionCode === code)[0].QuestionText, label: Content.common.newSecurityQuestion, selected: props.selectedSecurityQuestion ? props.selectedSecurityQuestion.QuestionCode : null, onChange: updateSelectedQuestion, required: Content.common.pleaseSelectQuestion, placeholder: Content.common.securityQuestionDropdownPlaceholder }),\n React.createElement(TextBoxEditor, { large: true, label: Content.common.answer, value: props.selectedAnswer, onChange: props.onSelectedAnswerChange, required: Content.common.answerIsMandatory, minLengthValidation: { value: 4, errorMessage: Content.common.answerLengthIsInvalid }, maxLengthValidation: { value: 100, errorMessage: Content.common.answerLengthIsInvalid }, validationRules: [{\n errorMessage: Content.common.answerFormatIsInvalid,\n validator: (value) => isNotEmpty(value) && matchesRegexp(value, SecurityAnswer)\n }, SecurityAnswerMustNotBePartOfTheQuestionValidationRuleFactory.create(props.selectedSecurityQuestion)] })))));\n};\n","import React from \"react\";\nimport { PumaAdviserUserAvailableSecurityQuestionsActionsCreator } from \"./../ActionsCreators/PumaAdviserUserAvailableSecurityQuestionsActionsCreator\";\nimport { SecurityQuestionPickerUI } from \"./SecurityQuestionPickerUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaAdviserUserAvailableSecurityQuestionsStore } from \"./../Stores/PumaAdviserUserAvailableSecurityQuestionsStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class SecurityQuestionPicker extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaAdviserUserAvailableSecurityQuestionsStore, this.onPumaAdviserUserAvailableSecurityQuestionsStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(SecurityQuestionPickerUI, { securityQuestions: this.state.securityQuestions, selectedSecurityQuestion: this.props.selectedSecurityQuestion, selectedAnswer: this.props.selectedSecurityAnswer, onSelectedSecurityQuestionChange: this.props.onSelectedSecurityQuestionChange, onSelectedAnswerChange: this.props.onSelectedAnswerChange })));\n }\n componentDidMount() {\n if (this.props.pumaUserId) {\n PumaAdviserUserAvailableSecurityQuestionsActionsCreator.load(this.props.pumaUserId);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.pumaUserId !== nextProps.pumaUserId) {\n PumaAdviserUserAvailableSecurityQuestionsActionsCreator.load(nextProps.pumaUserId);\n }\n }\n onPumaAdviserUserAvailableSecurityQuestionsStoreChange() {\n if (!PumaAdviserUserAvailableSecurityQuestionsStore.isLoading()) {\n this.updateStatePart(x => {\n x.securityQuestions = PumaAdviserUserAvailableSecurityQuestionsStore.getPayload() || [];\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n securityQuestions: []\n };\n }\n bindPrivateMethods() {\n this.onPumaAdviserUserAvailableSecurityQuestionsStoreChange = this.onPumaAdviserUserAvailableSecurityQuestionsStoreChange.bind(this);\n }\n}\n","export var AdviserSecurityWizardStepType;\n(function (AdviserSecurityWizardStepType) {\n AdviserSecurityWizardStepType[\"NotSpecified\"] = \"NotSpecified\";\n AdviserSecurityWizardStepType[\"AuthorisationId\"] = \"AuthorisationId\";\n AdviserSecurityWizardStepType[\"Password\"] = \"Password\";\n AdviserSecurityWizardStepType[\"SecurityQuestion\"] = \"SecurityQuestion\";\n})(AdviserSecurityWizardStepType || (AdviserSecurityWizardStepType = {}));\n","import React from \"react\";\nimport { PumaAdviserUserSecurityResetRecoveryErrorsDictionary } from \"./../../Entities/ErrorsDictionaries/PumaAdviserUserSecurityResetRecoveryErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaAdviserUserSecurityResetRecoveryActionsCreator } from \"./../../ActionsCreators/PumaAdviserUserSecurityResetRecoveryActionsCreator\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { SecurityQuestionPicker } from \"./../../../Shared/SecurityQuestions/Components/SecurityQuestionPicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserSecurityWizardStepType } from \"./../../Entities/WizardStepper/AdviserSecurityResetWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class SecurityQuestionWizardSection extends FormComponent {\n _currentStepId = AdviserSecurityWizardStepType.SecurityQuestion;\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.adviserReset, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: true, canContinue: false, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), onConfirm: this.confirm },\n React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, isServerError: true }),\n React.createElement(SecurityQuestionPicker, { pumaUserId: this.props.wizardData.resetTokenVerificationResult.User.PumaUser.PumaUserId, selectedSecurityAnswer: this.props.wizardData.selectedSecurityAnswer, selectedSecurityQuestion: this.props.wizardData.selectedSecurityQuestion, onSelectedAnswerChange: this.props.wizardData.onSelectedAnswerChange, onSelectedSecurityQuestionChange: this.props.wizardData.onSelectedSecurityQuestionChange }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { password, antiPhishingData, selectedSecurityAnswer } = this.props.wizardData;\n const user = this.props.wizardData.resetTokenVerificationResult.User.PumaUser;\n if (Strings.isSame(user.Username, selectedSecurityAnswer)\n || Strings.isSame(password, selectedSecurityAnswer)\n || Strings.isSame(antiPhishingData.antiPhishingPhrase, selectedSecurityAnswer)) {\n const validationErrors = [Content.securityQuestionWizardSection.securityAnswerMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n return [];\n }\n confirm() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n this.props.onRefreshToken(tokenRefreshResult => {\n if (tokenRefreshResult.ResultStatus !== PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => x.isLoading = false);\n return;\n }\n PumaAdviserUserSecurityResetRecoveryActionsCreator.request({\n PumaUserStateToken: tokenRefreshResult.PumaUserStateToken,\n ConfirmationToken: {\n TokenValue: this.props.wizardData.authenticationConfirmationToken.tokenValue\n },\n Password: this.props.wizardData.password,\n SecurityQuestionAnswer: this.props.wizardData.selectedSecurityAnswer,\n SecurityQuestionCode: this.props.wizardData.selectedSecurityQuestion.QuestionCode\n })\n .onSuccess(result => {\n this.props.navigationActions.confirm();\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaAdviserUserSecurityResetRecoveryErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n });\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.confirm = this.confirm.bind(this);\n }\n}\n","import React from \"react\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { Content as Content__alias1 } from \"./../../../Shared/Password/Resources/Content\";\nimport { PasswordCreation } from \"./../../../Shared/Password/Components/PasswordCreation\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserSecurityWizardStepType } from \"./../../Entities/WizardStepper/AdviserSecurityResetWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class PasswordWizardSection extends FormComponent {\n _currentStepId = AdviserSecurityWizardStepType.Password;\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.adviserReset, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.navigateNext, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId) },\n React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, isServerError: true }),\n React.createElement(PasswordCreation, { header: Content__alias1.common.resetYourPasswordHeader, validateNewPasswordAgainstCurrent: false, onNewPasswordChange: this.props.wizardData.onPasswordChange }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { password, antiPhishingData, selectedSecurityAnswer } = this.props.wizardData;\n const user = this.props.wizardData.resetTokenVerificationResult.User.PumaUser;\n if (Strings.isSame(user.Username, password)\n || Strings.isSame(selectedSecurityAnswer, password)\n || Strings.isSame(antiPhishingData.antiPhishingPhrase, selectedSecurityAnswer)) {\n const validationErrors = [Content.passwordWizardSection.passwordMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n return [];\n }\n navigateNext() {\n if (this.isValid()) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.navigateNext = this.navigateNext.bind(this);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaUserAuthorisationIdConfirmationTokenActionsDispatcher = new Dispatcher();\nexport const PumaUserAuthorisationIdConfirmationTokenStore = new PayloadStore(PumaUserAuthorisationIdConfirmationTokenActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaUserAuthorisationIdConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(pumaUserId, request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaUserAuthorisationIdConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { pumaUserId: pumaUserId, request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaUserAuthorisationIdConfirmationTokenActionsDispatcher } from \"./../Stores/PumaAuthorisationIdConfirmationTokenStore\";\nimport { PumaUserAuthorisationIdConfirmationTokenRequestsClient } from \"@/Puma/Api/Security/PumaUserAuthorisationIdConfirmationTokenRequests\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaUserAuthorisationIdConfirmationTokenActionsCreator extends Actions {\n static request(pumaUserId, request) {\n PumaUserAuthorisationIdConfirmationTokenActionsCreator.startLoading();\n const client = new PumaUserAuthorisationIdConfirmationTokenRequestsClient();\n return client\n .post(pumaUserId, request)\n .onSuccess(PumaUserAuthorisationIdConfirmationTokenActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(token) {\n PumaUserAuthorisationIdConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: token });\n }\n static startLoading() {\n PumaUserAuthorisationIdConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export class Content {\n static common = {\n authorisationIdIsMandatory: \"You must enter a valid registration code\",\n authorisationIdFormatIsWrong: \"Please, enter 6 digit code\",\n enterValidAuthorisationId: \"You must enter a valid registration code\"\n };\n}\n","import React from \"react\";\nimport { Numeric } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { Content } from \"./../Resources/Content\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nexport const AuthorisationIdAuthenticationUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(TextBoxEditor, { large: true, value: props.authorisationId, onChange: props.onAuthorisationIdChange, label: props.label, maxLength: 6, minLengthValidation: { value: 6, errorMessage: Content.common.authorisationIdFormatIsWrong }, regex: { value: Numeric, errorMessage: Content.common.enterValidAuthorisationId }, required: Content.common.authorisationIdIsMandatory })))));\n};\n","import React from \"react\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { PumaUserAuthorisationIdConfirmationTokenActionsCreator } from \"./../ActionsCreators/PumaAuthorisationIdConfirmationTokenActionsCreator\";\nimport { AuthorisationIdAuthenticationUI } from \"./AuthorisationIdAuthenticationUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaUserAuthorisationIdConfirmationTokenStore } from \"./../Stores/PumaAuthorisationIdConfirmationTokenStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class AuthorisationIdAuthentication extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaUserAuthorisationIdConfirmationTokenStore, this.onPumaAuthorisationIdConfirmationTokenStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(AuthorisationIdAuthenticationUI, { label: this.props.label, authorisationId: this.props.authorisationId, onAuthorisationIdChange: this.props.onAuthorisationIdChange })));\n }\n componentDidMount() {\n if (this.props.pumaUserId) {\n PumaUserAuthorisationIdConfirmationTokenActionsCreator.request(this.props.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n componentWillReceiveProps(nextProps) {\n if (nextProps.pumaUserId && this.props.pumaUserId !== nextProps.pumaUserId) {\n PumaUserAuthorisationIdConfirmationTokenActionsCreator.request(nextProps.pumaUserId, {\n RequiredAction: this.props.actionToConfirm\n });\n }\n }\n isValid() {\n return true;\n }\n onPumaAuthorisationIdConfirmationTokenStoreChange() {\n if (!PumaUserAuthorisationIdConfirmationTokenStore.isLoading()) {\n const confirmationToken = PumaUserAuthorisationIdConfirmationTokenStore.getPayload();\n this.updateStatePart(x => {\n x.confirmationToken = confirmationToken;\n x.isLoading = this.isAnyStoreLoading();\n }, () => {\n this.props.onConfirmationTokenChange({\n kind: AuthenticationMethod.AuthorisationId,\n tokenValue: confirmationToken.TokenValue\n });\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n confirmationToken: {}\n };\n }\n bindPrivateMethods() {\n this.onPumaAuthorisationIdConfirmationTokenStoreChange = this.onPumaAuthorisationIdConfirmationTokenStoreChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { AuthorisationIdAuthentication } from \"./../../../Shared/Authentication/AuthorisationId/Components/AuthorisationIdAuthentication\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { AntiPhishing } from \"./../../../Shared/AntiPhishing/Components/AntiPhishing\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserSecurityWizardStepType } from \"./../../Entities/WizardStepper/AdviserSecurityResetWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class AuthorisationIdWizardSection extends FormComponent {\n _currentStepId = AdviserSecurityWizardStepType.AuthorisationId;\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.adviserReset, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.navigateNext },\n React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, isServerError: true }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(AntiPhishing, { header: Content.authorisationIdWizardSection.yourMemorableImageAndPhrase, pumaUserId: this.props.wizardData.resetTokenVerificationResult.User.PumaUser.PumaUserId, userName: null, userType: PumaUserType.Adviser, onAntiPhishingDataChange: this.props.wizardData.onAntiPhishingDataChange }))),\n React.createElement(AuthorisationIdAuthentication, { label: Content.authorisationIdWizardSection.enterYourResetCode, actionToConfirm: PumaConfirmationTokenSupportedAction.PumaAdviserUserSecurityReset, authorisationId: this.state.authoristionId, pumaUserId: this.props.wizardData.resetTokenVerificationResult.User.PumaUser.PumaUserId, onAuthorisationIdChange: (authId) => this.updateStatePart(x => x.authoristionId = authId), onConfirmationTokenChange: this.props.wizardData.onAuthenticationConfirmationTokenChange }))));\n }\n navigateNext() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.props.wizardData.authenticationConfirmationToken, { VerificationCode: this.state.authoristionId })\n .onSuccess((result) => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n return;\n }\n this.updateStatePart(x => {\n x.validationErrors = [Content.authorisationIdWizardSection.authenticationFailed];\n x.isLoading = this.isAnyStoreLoading();\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.navigateNext = this.navigateNext.bind(this);\n }\n}\n","import { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Urls } from \"./../../Urls\";\nimport { Content } from \"./../../Resources/Content\";\nimport { AdviserSecurityWizardStepType } from \"./AdviserSecurityResetWizardStepType\";\nimport { firstOrDefault, getNextItem, getPreviousItem } from \"@/react-core/Utils/Arrays\";\nexport class WizardStepsProvider {\n static getNextStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getNextItem(stepDefinitions, currentStep);\n }\n static getPreviousStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getPreviousItem(stepDefinitions, currentStep);\n }\n static getAllStepDefinitions() {\n const stepDefinitions = [];\n stepDefinitions.push({\n id: AdviserSecurityWizardStepType.AuthorisationId,\n title: Content.wizardStepper.resetCode,\n url: {\n routeFragment: Urls.get().authorisationIdSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: AdviserSecurityWizardStepType.Password,\n title: Content.wizardStepper.resetPassword,\n url: {\n routeFragment: Urls.get().passwordSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: AdviserSecurityWizardStepType.SecurityQuestion,\n title: Content.wizardStepper.resetSecurityQuestion,\n url: {\n routeFragment: Urls.get().securityQuestionSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.map(x => {\n x.onVisit = () => Navigator.navigateToAndPreserveQueryParameters(x.url.routeFragment);\n });\n return stepDefinitions;\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaEmailTokenVerificationActionsDispatcher = new Dispatcher();\nexport const PumaEmailTokenVerificationStore = new PayloadStore(PumaEmailTokenVerificationActionsDispatcher);\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaEmailTokenVerificationActionsDispatcher } from \"./../Stores/PumaEmailTokenVerificationStore\";\nimport { PumaEmailTokenVerificationClient } from \"@/Puma/Api/Security/PumaEmailTokenVerification\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaEmailTokenVerificationActionsCreator extends Actions {\n static verify(token) {\n PumaEmailTokenVerificationActionsCreator.startLoading();\n const client = new PumaEmailTokenVerificationClient();\n return client\n .post(token)\n .onSuccess(PumaEmailTokenVerificationActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(result) {\n PumaEmailTokenVerificationActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: result });\n }\n static startLoading() {\n PumaEmailTokenVerificationActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { WizardNavigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/WizardNavigator\";\nimport { WizardStepDefinitionsActionsCreator } from \"./../../Shared/WizardSteppers/ActionsCreators/WizardStepDefinitionsActionsCreator\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { PumaEmailTokenType } from \"@/Puma/Site/Models/Security/EmailTokens/PumaEmailTokenType\";\nimport { PumaEmailTokenVerificationActionsCreator } from \"./../ActionsCreators/PumaEmailTokenVerificationActionsCreator\";\nimport { Urls } from \"./../Urls\";\nimport { Navigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { PublicWizardSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicWizardSiteLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaEmailTokenVerificationStore } from \"./../Stores/PumaEmailTokenVerificationStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Wizard extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaEmailTokenVerificationStore, this.onPumaEmailTokenVerificationStoreChange);\n }\n render() {\n if (this.shouldRedirectToFirstSection()) {\n return React.createElement(\"div\", null);\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(PublicWizardSiteLayout, null, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n wizardData: {\n antiPhishingData: this.state.antiPhishingData,\n resetTokenVerificationResult: this.state.resetTokenVerificationResult,\n authenticationConfirmationToken: this.state.authenticationConfirmationToken,\n password: this.state.password,\n selectedSecurityAnswer: this.state.selectedSecurityAnswer,\n selectedSecurityQuestion: this.state.selectedSecurityQuestion,\n onAuthenticationConfirmationTokenChange: (token) => this.updateStatePart(x => x.authenticationConfirmationToken = token),\n onPasswordChange: (pswd) => this.updateStatePart(x => x.password = pswd),\n onSelectedAnswerChange: (answer) => this.updateStatePart(x => x.selectedSecurityAnswer = answer),\n onSelectedSecurityQuestionChange: (question) => this.updateStatePart(x => x.selectedSecurityQuestion = question),\n onAntiPhishingDataChange: (data) => this.updateStatePart(x => x.antiPhishingData = data)\n },\n navigationActions: {\n navigateNext: this.navigateNext,\n navigateBack: this.navigateBack,\n cancel: this.cancelWizard,\n confirm: this.confirm\n },\n onRefreshToken: this.refreshStateToken\n }))));\n }\n componentWillMount() {\n super.componentWillMount();\n if (this.shouldRedirectToFirstSection()) {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().authorisationIdSectionPage);\n }\n PumaEmailTokenVerificationActionsCreator.verify({\n TokenValue: this.props.resetToken,\n TokenType: PumaEmailTokenType.SecurityResetToken\n });\n }\n componentDidMount() {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n this.updateStepDefinitions(stepDefinitions);\n }\n onPumaEmailTokenVerificationStoreChange() {\n if (!PumaEmailTokenVerificationStore.isLoading()) {\n const result = PumaEmailTokenVerificationStore.getPayload();\n if (result.ResultStatus !== PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => x.isLoading = false, () => {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().invalidTokenSectionPage);\n });\n return;\n }\n this.updateStatePart(x => {\n x.resetTokenVerificationResult = result;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n updateStepDefinitions(stepDefinitions) {\n WizardStepDefinitionsActionsCreator.update(stepDefinitions);\n }\n navigateNext(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n const nextStep = WizardStepsProvider.getNextStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(nextStep);\n }\n navigateBack(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n const previousStep = WizardStepsProvider.getPreviousStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(previousStep);\n }\n cancelWizard() {\n const urlsHelper = new AdviserSecurityResetUrlsHelper();\n window.location.assign(urlsHelper.getAdviserLoginUrl());\n }\n confirm() {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().successSectionPage);\n }\n refreshStateToken(onTokenRefreshed) {\n PumaEmailTokenVerificationActionsCreator.verify({\n TokenValue: this.props.resetToken,\n TokenType: PumaEmailTokenType.SecurityResetToken\n }).onSuccess(onTokenRefreshed);\n }\n shouldRedirectToFirstSection() {\n if (this.state.resetTokenVerificationResult == null ||\n this.state.resetTokenVerificationResult.ResultStatus === PumaVerificationResultStatus.NotSpecified) {\n const activeUrl = NavigationStore.getActiveUrl();\n if (activeUrl.getFullRoutePath() !== Urls.get().authorisationIdSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().invalidTokenSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().successSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().getFullRoutePath()) {\n return true;\n }\n }\n return false;\n }\n getDefaultState() {\n return {\n resetTokenVerificationResult: {\n ResultStatus: PumaVerificationResultStatus.NotSpecified,\n User: {\n PumaUser: {}\n }\n },\n authenticationConfirmationToken: {\n encryptedPhoneNumber: {}\n },\n selectedSecurityQuestion: {},\n antiPhishingData: {\n antiPhishingImageDocument: {}\n }\n };\n }\n bindPrivateMethods() {\n this.updateStepDefinitions = this.updateStepDefinitions.bind(this);\n this.navigateBack = this.navigateBack.bind(this);\n this.navigateNext = this.navigateNext.bind(this);\n this.cancelWizard = this.cancelWizard.bind(this);\n this.shouldRedirectToFirstSection = this.shouldRedirectToFirstSection.bind(this);\n this.onPumaEmailTokenVerificationStoreChange = this.onPumaEmailTokenVerificationStoreChange.bind(this);\n this.refreshStateToken = this.refreshStateToken.bind(this);\n this.confirm = this.confirm.bind(this);\n }\n}\n","import React from \"react\";\nimport { Wizard } from \"./Components/Wizard\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Wizard, { resetToken: this.state.appModel.ResetToken }, this.props.children));\n }\n getDefaultState() {\n const appModel = $(\"[data-view-model]\").data(\"value\");\n return { appModel: appModel };\n }\n}\n","import { InvalidTokenWizardSection } from \"./Components/WizardSections/InvalidTokenWizardSection\";\nimport { SuccessWizardSection } from \"./Components/WizardSections/SuccessWizardSection\";\nimport { SecurityQuestionWizardSection } from \"./Components/WizardSections/SecurityQuestionWizardSection\";\nimport { PasswordWizardSection } from \"./Components/WizardSections/PasswordWizardSection\";\nimport { AuthorisationIdWizardSection } from \"./Components/WizardSections/AuthorisationIdWizardSection\";\nimport { App } from \"./App\";\nimport { RootRoute } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, AuthorisationIdWizardSection);\n }\n authorisationIdSectionPage = this.createPage(\"authorisationid\", AuthorisationIdWizardSection);\n passwordSectionPage = this.createPage(\"password\", PasswordWizardSection);\n securityQuestionSectionPage = this.createPage(\"securityquestion\", SecurityQuestionWizardSection);\n successSectionPage = this.createPage(\"success\", SuccessWizardSection);\n invalidTokenSectionPage = this.createPage(\"error\", InvalidTokenWizardSection);\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Router extends BaseComponent {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export class Content {\n static common = {\n registration: \"Registration\",\n learnMore: \"Learn more\"\n };\n static wizardStepper = {\n progress: \"Progress\",\n registrationCode: \"Registration code\",\n credentials: \"Username & password\",\n securityQuestion: \"Security question\",\n antiPhishing: \"Extra security\"\n };\n static invalidTokenWizardSection = {\n invalidToken: \"Invalid token\",\n registrationAlreadCompleted: \"Registration already completed\",\n activationTokenExpired: \"Your activation token has expired. Do you want us to send you a new one?\",\n activationTokenResent: \"We have resent activation token to email address.\",\n registrationAlreadyCompletedMessage: \"You have already completed registration process. Please proceed to login screen to access the site.\",\n resend: \"Resend\",\n login: \"Login\"\n };\n static authorisationIdWizardSection = {\n authenticationFailed: \"Authentication failed\",\n enterYourRegistrationCode: \"Enter your 6 digit registration code\",\n activationTokenResent: \"We have resent activation token to email address.\",\n activationTokenExpired: \"Your activation token has expired due to the registration code being entered incorrectly. Do you want us to send you a new one?\"\n };\n static credentialsWizardSection = {\n createYourUserName: \"Create your username\",\n userNameFormatExplanation: \"Your username must contain at least six characters\",\n userName: \"Username\",\n userNameIsMandatory: \"User name is mandatory\",\n userNameHasWrongFormat: \"You must enter a valid username\",\n userNameLengthValidationMessage: \"Please enter username which length is between 6 and 35 characters\",\n userNameMustBeDifferentFromOtherSecurityItems: \"Username must be different from password, anti-phishing phrase and security answer\",\n passwordMustNotContainOtherSecurityItems: \"Password must not contain username, anti-phishing phrase and security answer\",\n passwordMustNotContainFirstNameAndSurname: \"Password must not contain first name or surname.\"\n };\n static antiPhishingWizardSection = {\n securityIsImportantToUs: \"Your security is really important to us.\",\n antiPhishingExplanation: \"As an extra security measure to help keep you safe each time you log in, we’ll show you a memorable picture and phrase to prove you’re on our platform before you enter your password.\",\n useDefaultOrPickOwn: \"You can use the picture and phrase we've provided or pick your own.\",\n antiphishingPhraseMustBeDifferentFromOtherSecurityItems: \"Anti-phishing phrase must be different from username, password and security answer\"\n };\n static securityQuestionWizardSection = {\n passwordRequirementsNotMet: \"Please ensure that password requirements are met. Your password has to be different from any password recently used, it can not contain forbidden words or be same as your user name.\",\n securityAnswerMustBeDifferentFromOtherSecurityItems: \"Security answer must be different from username, password and anti-phishing phrase\"\n };\n static successWizardSection = {\n pageHeader: \"Adviser registration successful\",\n pageInfo_EmailAddress: \"You're now registered to use our platform and you can login below.\",\n login: \"Login\"\n };\n static validation = {\n authenticationCodeIsNotValid: \"Authentication code is not valid\",\n usernameAlreadyExists: \"The username you have chosen already exists. Please choose a different username.\",\n passwordRequirementsWereNotMet: \"Your password either does not meet one or more requirements or contains a restricted word. Please try a different password. The password must not contain your first name, your surname, or any parts of your username. It must contain at least 8 characters, including at least one uppercase letter, at least one lower case letter and a number.\",\n usernameContainsInvalidCharacters: \"Selected username contains some invalid characters\",\n pumaUserSecurityQuestionAnswerRequirementsNotMet: \"Security answer does not meet required complexity\"\n };\n}\n","export var AdviserRegistrationWizardStepperId;\n(function (AdviserRegistrationWizardStepperId) {\n AdviserRegistrationWizardStepperId[\"NotSpecified\"] = \"NotSpecified\";\n AdviserRegistrationWizardStepperId[\"Top\"] = \"Top\";\n AdviserRegistrationWizardStepperId[\"Side\"] = \"Side\";\n})(AdviserRegistrationWizardStepperId || (AdviserRegistrationWizardStepperId = {}));\n","import React from \"react\";\nimport { AdviserHelpSection } from \"./../../Shared/Common/Components/Layout/Shared/HelpSections/AdviserHelpSection\";\nimport { DetailedSideWizardStepperUI } from \"./../../Shared/WizardSteppers/Components/DetailedSideWizardStepperUI\";\nimport { Content } from \"./../Resources/Content\";\nimport { TopWizardStepperUI } from \"./../../Shared/WizardSteppers/Components/TopWizardStepperUI\";\nimport { AdviserRegistrationWizardStepperId } from \"./../Entities/WizardStepper/AdviserRegistrationWizardStepperId\";\nimport { WizardSectionLayout as WizardSectionLayout__alias1 } from \"./../../Shared/WizardSteppers/OMW/Components/WizardSectionLayout\";\nexport const WizardSectionLayout = (props) => {\n return (React.createElement(WizardSectionLayout__alias1, { ...props, topStepperId: AdviserRegistrationWizardStepperId.Top, topStepperUI: TopWizardStepperUI, sideStepperHeader: Content.wizardStepper.progress, sideStepperId: AdviserRegistrationWizardStepperId.Side, sideStepperUI: DetailedSideWizardStepperUI, sidePanelHeader: null, helpSection: AdviserHelpSection }));\n};\n","import React from \"react\";\nimport { ExpiredActivationToken } from \"./../../../Shared/Common/Components/ActivationEmail/ExpiredActivationToken\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Content } from \"./../../Resources/Content\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { PumaUserActivationEmailVerificationStatus as VerificationStatus } from \"@/Wrap/Constants/Enums/ActivationEmailVerification/PumaUserActivationEmailVerificationStatus\";\nexport class InvalidTokenWizardSection extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = {\n activationTokenResent: false,\n isLoading: false\n };\n }\n render() {\n const verificationResultStatus = this.props.wizardData.completionData.activationEmailVerificationResult.Status;\n let header = \"\";\n if (verificationResultStatus != null && verificationResultStatus !== VerificationStatus.NotSpecified) {\n header = verificationResultStatus === VerificationStatus.AccountAlreadyActivated\n ? Content.invalidTokenWizardSection.registrationAlreadCompleted\n : Content.invalidTokenWizardSection.invalidToken;\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: header, showSideStepper: false, showTopStepper: false, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: false, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel },\n verificationResultStatus === VerificationStatus.AccountAlreadyActivated &&\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.invalidTokenWizardSection.registrationAlreadyCompletedMessage),\n React.createElement(Button, { className: \"btn primary large\", onClick: () => window.location.assign(new AdviserRegistrationUrlsHelper().getAdviserLoginUrl()) }, Content.invalidTokenWizardSection.login)),\n (verificationResultStatus === VerificationStatus.ExpiredToken || verificationResultStatus === VerificationStatus.InvalidToken) &&\n React.createElement(ExpiredActivationToken, { expiredActivationToken: this.props.wizardData.completionData.activationEmailVerificationResult.ActivationToken, expiredActivationTokenMessage: Content.invalidTokenWizardSection.activationTokenExpired, expiredActivationTokenResentMessage: Content.invalidTokenWizardSection.activationTokenResent }))));\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nexport const SuccessWizardSection = (props) => {\n let emailAddress = \"\";\n if (props.wizardData.createdAdviserUser) {\n emailAddress = props.wizardData.createdAdviserUser.ContactDetails.EmailAddress.Email;\n }\n return (React.createElement(Div, null,\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.successWizardSection.pageHeader, showSideStepper: false, showTopStepper: false, canCancel: false, canNavigateBack: false, canConfirm: false, canContinue: false, canSaveAndExit: false },\n React.createElement(\"p\", { className: \"lead mb-48\" }, Content.successWizardSection.pageInfo_EmailAddress),\n React.createElement(Button, { className: \"btn primary large\", onClick: props.navigationActions.cancel }, Content.successWizardSection.login))));\n};\n","export var PumaAdviserUserCreationCompletionErrors;\n(function (PumaAdviserUserCreationCompletionErrors) {\n PumaAdviserUserCreationCompletionErrors[PumaAdviserUserCreationCompletionErrors[\"ConfirmationTokenIsNotValid\"] = 0] = \"ConfirmationTokenIsNotValid\";\n PumaAdviserUserCreationCompletionErrors[PumaAdviserUserCreationCompletionErrors[\"UsernameAlreadyExists\"] = 1] = \"UsernameAlreadyExists\";\n PumaAdviserUserCreationCompletionErrors[PumaAdviserUserCreationCompletionErrors[\"PasswordRequirementsWereNotMet\"] = 2] = \"PasswordRequirementsWereNotMet\";\n PumaAdviserUserCreationCompletionErrors[PumaAdviserUserCreationCompletionErrors[\"UsernameContainsInvalidCharacters\"] = 3] = \"UsernameContainsInvalidCharacters\";\n PumaAdviserUserCreationCompletionErrors[PumaAdviserUserCreationCompletionErrors[\"PumaUserSecurityQuestionAnswerRequirementsNotMet\"] = 4] = \"PumaUserSecurityQuestionAnswerRequirementsNotMet\";\n})(PumaAdviserUserCreationCompletionErrors || (PumaAdviserUserCreationCompletionErrors = {}));\n","export var AdviserRegistrationWizardStepType;\n(function (AdviserRegistrationWizardStepType) {\n AdviserRegistrationWizardStepType[\"NotSpecified\"] = \"NotSpecified\";\n AdviserRegistrationWizardStepType[\"AuthorisationId\"] = \"AuthorisationId\";\n AdviserRegistrationWizardStepType[\"Credentials\"] = \"Credentials\";\n AdviserRegistrationWizardStepType[\"SecurityQuestion\"] = \"SecurityQuestion\";\n AdviserRegistrationWizardStepType[\"AntiPhishing\"] = \"AntiPhishing\";\n})(AdviserRegistrationWizardStepType || (AdviserRegistrationWizardStepType = {}));\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaAdviserUserCreationCompletionErrors } from \"@/Wrap/Validation/Errors/Onboarding/Adviser/PumaAdviserUserCreationCompletionErrors\";\nexport class PumaAdviserUserCreationCompletionErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaAdviserUserCreationCompletionErrors.ConfirmationTokenIsNotValid, Content.validation.authenticationCodeIsNotValid);\n map.set(PumaAdviserUserCreationCompletionErrors.UsernameAlreadyExists, Content.validation.usernameAlreadyExists);\n map.set(PumaAdviserUserCreationCompletionErrors.PasswordRequirementsWereNotMet, Content.validation.passwordRequirementsWereNotMet);\n map.set(PumaAdviserUserCreationCompletionErrors.UsernameContainsInvalidCharacters, Content.validation.usernameContainsInvalidCharacters);\n map.set(PumaAdviserUserCreationCompletionErrors.PumaUserSecurityQuestionAnswerRequirementsNotMet, Content.validation.pumaUserSecurityQuestionAnswerRequirementsNotMet);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class EncryptedPumaAdviserUserCreationCompletionClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(completionData) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/EncryptedPumaAdviserUserCreationCompletion/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { completionData: completionData };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { EncryptedPumaAdviserUserCreationCompletionClient } from \"@/Puma/Api/Onboarding/EncryptedPumaAdviserUserCreationCompletion\";\nexport class EncryptedPumaAdviserUserCreationCompletionActionsCreator {\n static submit(completionData) {\n const client = new EncryptedPumaAdviserUserCreationCompletionClient();\n return client.post(completionData);\n }\n}\n","export class EncryptedPumaAdviserUserCreationCompletionDataMapper {\n mapToServerContract(clientData) {\n const creationData = {\n AntiPhishingPhrase: clientData.antiPhishingData.antiPhishingPhrase,\n EncryptedAntiPhishingImageDocumentId: clientData.antiPhishingData.antiPhishingImageDocument.Document.EncryptedDocumentId,\n Password: clientData.password,\n Username: clientData.userName,\n ActivationToken: clientData.activationEmailVerificationResult.ActivationToken,\n ConfirmationToken: {\n TokenValue: clientData.authorisationIdConfirmationToken.tokenValue\n },\n SecurityQuestionAnswer: clientData.selectedSecurityAnswer,\n SecurityQuestionCode: clientData.selectedSecurityQuestion.QuestionCode\n };\n return creationData;\n }\n}\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaAdviserUserCreationCompletionErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaAdviserUserCreationCompletionErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { EncryptedPumaAdviserUserCreationCompletionActionsCreator } from \"./../../ActionsCreators/EncryptedPumaAdviserUserCreationCompletionActionsCreator\";\nimport { EncryptedPumaAdviserUserCreationCompletionDataMapper } from \"./../../Entities/Mappers/EncryptedPumaAdviserUserCreationCompletionDataMapper\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { AnonymousAntiPhishing } from \"./../../../Shared/AntiPhishing/Components/AnonymousAntiPhishing\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserRegistrationWizardStepType } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class AntiPhishingWizardSection extends FormComponent {\n _currentStepId = AdviserRegistrationWizardStepType.AntiPhishing;\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.registration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: true, canContinue: false, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), onConfirm: this.confirm },\n React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, isServerError: true }),\n React.createElement(\"p\", { className: \"mb-8\" }, Content.antiPhishingWizardSection.securityIsImportantToUs),\n React.createElement(\"p\", { className: \"mb-8\" },\n React.createElement(\"strong\", null, Content.antiPhishingWizardSection.antiPhishingExplanation)),\n React.createElement(\"p\", { className: \"mb-48\" },\n React.createElement(\"span\", null, Content.antiPhishingWizardSection.useDefaultOrPickOwn),\n React.createElement(\"a\", { className: \"hyperlink\" }, Content.common.learnMore)),\n React.createElement(AnonymousAntiPhishing, { antiPhishingData: this.props.wizardData.completionData.antiPhishingData, allowUserPickOwnImageAndPhrase: true, onAntiPhishingDataChange: data => this.props.wizardData.onCompletionDataPartChange(x => x.antiPhishingData = data) }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { userName, password, antiPhishingData, selectedSecurityAnswer } = this.props.wizardData.completionData;\n if (antiPhishingData && antiPhishingData.antiPhishingPhrase !== \"\") {\n if (Strings.isSame(antiPhishingData.antiPhishingPhrase, password)\n || Strings.isSame(antiPhishingData.antiPhishingPhrase, userName)\n || (antiPhishingData && Strings.isSame(antiPhishingData.antiPhishingPhrase, selectedSecurityAnswer))) {\n const validationErrors = [Content.antiPhishingWizardSection.antiphishingPhraseMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n confirm() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const completionDataMapper = new EncryptedPumaAdviserUserCreationCompletionDataMapper();\n const serverCompletionData = completionDataMapper.mapToServerContract(this.props.wizardData.completionData);\n EncryptedPumaAdviserUserCreationCompletionActionsCreator.submit(serverCompletionData)\n .onSuccess(createdUser => {\n this.props.navigationActions.confirm(createdUser);\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaAdviserUserCreationCompletionErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.confirm = this.confirm.bind(this);\n }\n}\n","import React from \"react\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { SecurityQuestionPicker } from \"./../../../Shared/SecurityQuestions/Components/SecurityQuestionPicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserRegistrationWizardStepType } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class SecurityQuestionWizardSection extends FormComponent {\n _currentStepId = AdviserRegistrationWizardStepType.SecurityQuestion;\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.registration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), onContinue: this.navigateNext },\n React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, isServerError: true }),\n React.createElement(SecurityQuestionPicker, { pumaUserId: this.props.wizardData.completionData.activationEmailVerificationResult.PumaUserId, selectedSecurityAnswer: this.props.wizardData.completionData.selectedSecurityAnswer, selectedSecurityQuestion: this.props.wizardData.completionData.selectedSecurityQuestion, onSelectedAnswerChange: answer => this.props.wizardData.onCompletionDataPartChange(x => x.selectedSecurityAnswer = answer), onSelectedSecurityQuestionChange: question => this.props.wizardData.onCompletionDataPartChange(x => x.selectedSecurityQuestion = question) }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { userName, password, antiPhishingData, selectedSecurityAnswer } = this.props.wizardData.completionData;\n if (selectedSecurityAnswer !== \"\") {\n if (Strings.isSame(selectedSecurityAnswer, password)\n || Strings.isSame(selectedSecurityAnswer, userName)\n || (antiPhishingData && Strings.isSame(selectedSecurityAnswer, antiPhishingData.antiPhishingPhrase))) {\n const validationErrors = [Content.securityQuestionWizardSection.securityAnswerMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n navigateNext() {\n if (this.isValid()) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.navigateNext = this.navigateNext.bind(this);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class AdviserOnboardingPumaUsernameAvailabilityChecksClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/AdviserOnboardingPumaUsernameAvailabilityChecks/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { AdviserOnboardingPumaUsernameAvailabilityChecksClient } from \"@/Puma/Api/Onboarding/AdviserOnboardingPumaUsernameAvailabilityChecks\";\nexport class AdviserOnboardingPumaUsernameAvailabilityChecksActionsCreator {\n static checkUsernameAvailability(availabilityCheck) {\n const client = new AdviserOnboardingPumaUsernameAvailabilityChecksClient();\n return client.post(availabilityCheck);\n }\n}\n","import React from \"react\";\nimport { NewAdviserUserName } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../../Resources/Content\";\nexport const UserNamePicker = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", null, Content.credentialsWizardSection.createYourUserName),\n React.createElement(\"p\", null, Content.credentialsWizardSection.userNameFormatExplanation),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, label: Content.credentialsWizardSection.userName, value: props.userName, onChange: props.onUserNameChange, required: Content.credentialsWizardSection.userNameIsMandatory, minLengthValidation: { value: 6, errorMessage: Content.credentialsWizardSection.userNameLengthValidationMessage }, maxLengthValidation: { value: 35, errorMessage: Content.credentialsWizardSection.userNameLengthValidationMessage }, regex: {\n value: NewAdviserUserName, errorMessage: Content.credentialsWizardSection.userNameHasWrongFormat\n } })))));\n};\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { AdviserOnboardingPumaUsernameAvailabilityChecksActionsCreator } from \"./../../ActionsCreators/AdviserOnboardingPumaUsernameAvailabilityChecksActionsCreator\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { Content as Content__alias1 } from \"./../../../Shared/Password/Resources/Content\";\nimport { PasswordCreation } from \"./../../../Shared/Password/Components/PasswordCreation\";\nimport { UserNamePicker } from \"./../Credentials/UserNamePicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserRegistrationWizardStepType } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class CredentialsWizardSection extends FormComponent {\n _currentStepId = AdviserRegistrationWizardStepType.Credentials;\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.registration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: false, canContinue: true, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.navigateNext, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId) },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(UserNamePicker, { userName: this.props.wizardData.completionData.userName, onUserNameChange: userName => this.props.wizardData.onCompletionDataPartChange(x => x.userName = userName) }),\n React.createElement(\"hr\", null),\n React.createElement(PasswordCreation, { header: Content__alias1.common.createYourPasswordHeader, validateNewPasswordAgainstCurrent: false, newPassword: this.props.wizardData.completionData.password, confirmPassword: this.props.wizardData.completionData.confirmPassword, onNewPasswordChange: (pswd) => this.props.wizardData.onCompletionDataPartChange(x => x.password = pswd), onConfirmPasswordChange: (confirmPswd) => this.props.wizardData.onCompletionDataPartChange(x => x.confirmPassword = confirmPswd) }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { userName, password, antiPhishingData, selectedSecurityAnswer } = this.props.wizardData.completionData;\n if (userName !== \"\") {\n if (Strings.isSame(userName, password)\n || Strings.isSame(userName, selectedSecurityAnswer)\n || (antiPhishingData && Strings.isSame(userName, antiPhishingData.antiPhishingPhrase))) {\n const validationErrors = [Content.credentialsWizardSection.userNameMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n if (password !== \"\") {\n if (Strings.hasSubstring(userName, password)\n || Strings.hasSubstring(password, selectedSecurityAnswer)\n || (antiPhishingData && Strings.hasSubstring(password, antiPhishingData.antiPhishingPhrase))) {\n const validationErrors = [Content.credentialsWizardSection.passwordMustNotContainOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n navigateNext() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n AdviserOnboardingPumaUsernameAvailabilityChecksActionsCreator.checkUsernameAvailability({\n AuthenticationTokenValue: this.props.wizardData.completionData.authorisationIdConfirmationToken.tokenValue,\n AuthenticationTokenVerificationCode: this.props.wizardData.completionData.authorisationId,\n Username: this.props.wizardData.completionData.userName\n })\n .onSuccess(result => {\n this.updateStatePart(x => x.isLoading = false, () => {\n if (result.IsAvailable) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n this.updateStatePart(x => x.validationErrors = [Content.validation.usernameAlreadyExists], Scroll.scrollTop);\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.navigateNext = this.navigateNext.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { ExpiredActivationToken } from \"./../../../Shared/Common/Components/ActivationEmail/ExpiredActivationToken\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { AuthorisationIdAuthentication } from \"./../../../Shared/Authentication/AuthorisationId/Components/AuthorisationIdAuthentication\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./../WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserRegistrationWizardStepType } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class AuthorisationIdWizardSection extends FormComponent {\n _currentStepId = AdviserRegistrationWizardStepType.AuthorisationId;\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.common.registration, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: !this.state.didNumberOfVerificationAttemptsExceeded, canSaveAndExit: false, onCancel: this.props.navigationActions.cancel, onContinue: this.navigateNext },\n React.createElement(ValidationErrorsContainer, { validationErrors: this.state.validationErrors, isServerError: true }),\n !this.state.didNumberOfVerificationAttemptsExceeded &&\n React.createElement(AuthorisationIdAuthentication, { label: Content.authorisationIdWizardSection.enterYourRegistrationCode, actionToConfirm: PumaConfirmationTokenSupportedAction.PumaUserActivation, authorisationId: this.props.wizardData.completionData.authorisationId, pumaUserId: this.props.wizardData.completionData.activationEmailVerificationResult.PumaUserId, onAuthorisationIdChange: authId => this.props.wizardData.onCompletionDataPartChange(x => x.authorisationId = authId), onConfirmationTokenChange: token => this.props.wizardData.onCompletionDataPartChange(x => x.authorisationIdConfirmationToken = token) }),\n this.state.didNumberOfVerificationAttemptsExceeded &&\n React.createElement(ExpiredActivationToken, { expiredActivationToken: this.props.wizardData.completionData.activationEmailVerificationResult.ActivationToken, expiredActivationTokenMessage: Content.authorisationIdWizardSection.activationTokenExpired, expiredActivationTokenResentMessage: Content.authorisationIdWizardSection.activationTokenResent }))));\n }\n navigateNext() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.props.wizardData.completionData.authorisationIdConfirmationToken, { VerificationCode: this.props.wizardData.completionData.authorisationId })\n .onSuccess((result) => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n return;\n }\n this.updateStatePart(x => {\n x.validationErrors = [Content.authorisationIdWizardSection.authenticationFailed];\n x.isLoading = this.isAnyStoreLoading();\n });\n })\n .onError((error) => {\n this.updateStatePart(s => {\n s.validationErrors = [];\n s.didNumberOfVerificationAttemptsExceeded = true;\n s.isLoading = this.isAnyStoreLoading();\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n validationErrors: [],\n didNumberOfVerificationAttemptsExceeded: false,\n isActivationTokenResent: false\n };\n }\n bindPrivateMethods() {\n this.navigateNext = this.navigateNext.bind(this);\n }\n}\n","export const DefaultValues = {\n encryptedPumaAdviserUserCreationCompletionData: {\n activationEmailVerificationResult: {},\n authorisationIdConfirmationToken: {},\n antiPhishingData: {\n antiPhishingImageDocument: { Document: {} }\n }\n }\n};\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaAdviserUserActivationEmailVerificationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaAdviserUserActivationEmailVerification/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaAdviserUserActivationEmailVerificationClient } from \"@/Puma/Api/Onboarding/PumaAdviserUserActivationEmailVerification\";\nexport class PumaAdviserUserActivationEmailVerificationActionsCreator {\n static verify(request) {\n const client = new PumaAdviserUserActivationEmailVerificationClient();\n return client.post(request);\n }\n}\n","import { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Urls } from \"./../../Urls\";\nimport { Content } from \"./../../Resources/Content\";\nimport { AdviserRegistrationWizardStepType } from \"./AdviserRegistrationWizardStepType\";\nimport { firstOrDefault, getNextItem, getPreviousItem } from \"@/react-core/Utils/Arrays\";\nexport class WizardStepsProvider {\n static getNextStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getNextItem(stepDefinitions, currentStep);\n }\n static getPreviousStepDefinition(stepDefinitions, currentStepId) {\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n return getPreviousItem(stepDefinitions, currentStep);\n }\n static getAllStepDefinitions() {\n const stepDefinitions = [];\n stepDefinitions.push({\n id: AdviserRegistrationWizardStepType.AuthorisationId,\n title: Content.wizardStepper.registrationCode,\n url: {\n routeFragment: Urls.get().authorisationIdSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: AdviserRegistrationWizardStepType.Credentials,\n title: Content.wizardStepper.credentials,\n url: {\n routeFragment: Urls.get().credentialsSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: AdviserRegistrationWizardStepType.SecurityQuestion,\n title: Content.wizardStepper.securityQuestion,\n url: {\n routeFragment: Urls.get().securityQuestionSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: AdviserRegistrationWizardStepType.AntiPhishing,\n title: Content.wizardStepper.antiPhishing,\n url: {\n routeFragment: Urls.get().antiPhishingSectionPage,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions\n .map(x => {\n x.onVisit = () => Navigator.navigateToAndPreserveQueryParameters(x.url.routeFragment);\n });\n return stepDefinitions;\n }\n}\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { WizardNavigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/WizardNavigator\";\nimport { WizardStepDefinitionsActionsCreator } from \"./../../Shared/WizardSteppers/ActionsCreators/WizardStepDefinitionsActionsCreator\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { PumaUserActivationEmailVerificationStatus } from \"@/Wrap/Constants/Enums/ActivationEmailVerification/PumaUserActivationEmailVerificationStatus\";\nimport { PumaAdviserUserActivationEmailVerificationActionsCreator } from \"./../ActionsCreators/PumaAdviserUserActivationEmailVerificationActionsCreator\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { Urls } from \"./../Urls\";\nimport { Navigator } from \"./../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { PublicWizardSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicWizardSiteLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Wizard extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n if (this.shouldRedirectToFirstSection()) {\n return React.createElement(\"div\", null);\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(PublicWizardSiteLayout, null, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n wizardData: {\n completionData: this.state.creationCompletionData,\n createdAdviserUser: this.state.createdAdviserUser,\n onCompletionDataPartChange: this.changeCompletionDataPart\n },\n navigationActions: {\n navigateNext: this.navigateNext,\n navigateBack: this.navigateBack,\n cancel: this.cancelWizard,\n confirm: this.confirm\n }\n }))));\n }\n componentWillMount() {\n super.componentWillMount();\n if (this.shouldRedirectToFirstSection()) {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().authorisationIdSectionPage);\n }\n }\n componentDidMount() {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n this.updateStepDefinitions(stepDefinitions);\n if (this.props.activationToken) {\n this.verifyActivationToken(this.props.activationToken);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.activationToken !== nextProps.activationToken) {\n this.verifyActivationToken(nextProps.activationToken);\n }\n }\n verifyActivationToken(activationToken) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaAdviserUserActivationEmailVerificationActionsCreator.verify({ ActivationToken: activationToken })\n .onSuccess(result => {\n if (result.Status !== PumaUserActivationEmailVerificationStatus.Verified) {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().invalidTokenSectionPage);\n }\n this.updateStatePart(x => {\n x.creationCompletionData.activationEmailVerificationResult = result;\n x.isLoading = false;\n });\n });\n });\n }\n changeCompletionDataPart(changeCompletionDataPartFunc) {\n const copiedCompletionData = Objects.cloneObject(this.state.creationCompletionData);\n changeCompletionDataPartFunc(copiedCompletionData);\n this.updateStatePart(x => x.creationCompletionData = copiedCompletionData);\n }\n updateStepDefinitions(stepDefinitions) {\n WizardStepDefinitionsActionsCreator.update(stepDefinitions);\n }\n navigateNext(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n const nextStep = WizardStepsProvider.getNextStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(nextStep);\n }\n navigateBack(currentStepId) {\n const stepDefinitions = WizardStepsProvider.getAllStepDefinitions();\n const previousStep = WizardStepsProvider.getPreviousStepDefinition(stepDefinitions, currentStepId);\n WizardNavigator.navigateToWizardStep(previousStep);\n }\n cancelWizard() {\n const urlsHelper = new AdviserRegistrationUrlsHelper();\n window.location.assign(urlsHelper.getAdviserLoginUrl());\n }\n confirm(createdAdviserUser) {\n this.updateStatePart(x => x.createdAdviserUser = createdAdviserUser, () => {\n Navigator.navigateToAndPreserveQueryParameters(Urls.get().successSectionPage);\n });\n }\n shouldRedirectToFirstSection() {\n if (!this.state.creationCompletionData.authorisationIdConfirmationToken.tokenValue) {\n const activeUrl = NavigationStore.getActiveUrl();\n if (activeUrl.getFullRoutePath() !== Urls.get().authorisationIdSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().invalidTokenSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().successSectionPage.getFullRoutePath()\n && activeUrl.getFullRoutePath() !== Urls.get().getFullRoutePath()) {\n return true;\n }\n }\n return false;\n }\n getDefaultState() {\n return {\n creationCompletionData: DefaultValues.encryptedPumaAdviserUserCreationCompletionData\n };\n }\n bindPrivateMethods() {\n this.updateStepDefinitions = this.updateStepDefinitions.bind(this);\n this.navigateBack = this.navigateBack.bind(this);\n this.navigateNext = this.navigateNext.bind(this);\n this.cancelWizard = this.cancelWizard.bind(this);\n this.shouldRedirectToFirstSection = this.shouldRedirectToFirstSection.bind(this);\n this.verifyActivationToken = this.verifyActivationToken.bind(this);\n this.changeCompletionDataPart = this.changeCompletionDataPart.bind(this);\n this.confirm = this.confirm.bind(this);\n }\n}\n","import React from \"react\";\nimport { Wizard } from \"./Components/Wizard\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Wizard, { activationToken: this.state.appModel.ActivationToken }, this.props.children));\n }\n getDefaultState() {\n const appModel = $(\"[data-view-model]\").data(\"value\");\n return { appModel: appModel };\n }\n}\n","import { InvalidTokenWizardSection } from \"./Components/WizardSections/InvalidTokenWizardSection\";\nimport { SuccessWizardSection } from \"./Components/WizardSections/SuccessWizardSection\";\nimport { AntiPhishingWizardSection } from \"./Components/WizardSections/AntiPhishingWizardSection\";\nimport { SecurityQuestionWizardSection } from \"./Components/WizardSections/SecurityQuestionWizardSection\";\nimport { CredentialsWizardSection } from \"./Components/WizardSections/CredentialsWizardSection\";\nimport { AuthorisationIdWizardSection } from \"./Components/WizardSections/AuthorisationIdWizardSection\";\nimport { App } from \"./App\";\nimport { RootRoute } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, AuthorisationIdWizardSection);\n }\n authorisationIdSectionPage = this.createPage(\"authorisationid\", AuthorisationIdWizardSection);\n credentialsSectionPage = this.createPage(\"credentials\", CredentialsWizardSection);\n securityQuestionSectionPage = this.createPage(\"securityquestion\", SecurityQuestionWizardSection);\n antiPhishingSectionPage = this.createPage(\"antiphishing\", AntiPhishingWizardSection);\n successSectionPage = this.createPage(\"success\", SuccessWizardSection);\n invalidTokenSectionPage = this.createPage(\"error\", InvalidTokenWizardSection);\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Router extends BaseComponent {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaAdviserUserClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaAdviserUser/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","export class Content {\n static landingPage = {\n close: \"Close\",\n multiApplicationsHeader: \"Welcome to the Customer Centre\",\n multiApplicationsInfo1: \"You're seeing this page because you have different accounts with us which are available through separate sites.\",\n multiApplicationsInfo2: \"Please choose which account(s) you want to look at below. The site will open in a new tab, so you can come back here easily if you need to.\",\n viewYourAccounts: \"View your accounts\",\n isaLabel: \"Individual Savings Account (ISA)\",\n jisaLabel: \"Junior ISA (JISA)\",\n ciaLabel: \"Collective Investment Account (CIA)\",\n cibLabel: \"Collective Investment Bond (CIB)\",\n craLabel: \"Collective Retirement Account (CRA)\",\n allOtherProducts: \"All other products\",\n productList: \"Product List\",\n nearlyThere: \"Nearly there!\",\n heritagePensionProductsHeader: \"Pensions / Drawdown\",\n heritageInvestmentsProductsHeader: \"Investments\",\n heritageBondsProductsHeader: \"Bonds\",\n getHeritagePensionProductLabels: () => {\n return [\n \"Directors Plan (DP)\",\n \"Employees Benefit Plan (EBP)\",\n \"Executive Pension (EP1 - EP5)\",\n \"Executive Pension (EP6)\",\n \"Executive Pension Plan (EPP)\",\n \"Executive Pension Scheme (EPS)\",\n \"Executive Retirement Account (ERA)\",\n \"Framlington Annual Premium Pension Plan (FRA)\",\n \"Framlington Monthly Premium Pension Plan (FRM)\",\n \"Framlington Single Premium Pension Plan (FRS)\",\n \"Free Standing Pension (FS1 - FS4)\",\n \"Freestanding AVC Account (ACA)\",\n \"Independent Pension Bond (IPB)\",\n \"Independent Pension Plan (IPP)\",\n \"Pension Trustee Bond (TI2/TI5)\",\n \"Pension Trustee Bond (TI6)\",\n \"Personal Contracted-Out Bond (PCO)\",\n \"Personal Pension (PP1 - PP5)\",\n \"Personal Pension (PP6)\",\n \"Personal Pension Income Plan (DA1 - DA3)\",\n \"Personal Pension Income Plan (DA6)\",\n \"Personal Pension Scheme (PPS)\",\n \"Personal Retirement Account (PRA)\",\n \"Personal Retirement Income Account (DAA)\",\n \"Select Personal Pension Account (SPA)\",\n \"Self-Admin Retirement Plan (SAP)\",\n \"Self-Administered Retirement Plan (SRP)\",\n \"Skandia Buy Out Bond (BB6)\",\n \"Skandia Pension Plan (SPP)\",\n \"Trustee Retirement Account (TRA)\",\n ];\n },\n getHeritageInvestmentsProductLabels: () => {\n return [\n \"Capital Accumulation Plan(CAP)\",\n \"Maximum Investment Plan(MIP)\",\n \"Permanent Protection Plan(PPP)\",\n \"Skandia Endowment Plan(SEP)\",\n \"Skandia Lifetime Plan(SLP)\",\n \"The Skandia Plan(TSP)\",\n ];\n },\n getHeritageBondsProductLabels: () => {\n return [\n \"Assured Performance Bond (APB)\",\n \"Capital and Income Bond (CAB)\",\n \"Capital Investment Bond (CIB)\",\n \"Enhanced Allocation Bond (EAB)\",\n \"Flexible Investment Bond (FIB)\",\n \"High Investment Bond (HIB)\",\n \"PETA Bond (PEB)\",\n \"Skandia Life Distribution Bond (SDB)\",\n \"Skandia Investment Bond (SIB)\",\n ];\n }\n };\n static unipassLinker = {\n header: \"Link Unipass certificate\",\n pendingLightboxContent: \"We've noticed you tried to log in using Unipass but the certificate was not linked to this account.\",\n pendingLightboxContent2: \"Would you like to link that certificate now?\",\n successLightboxContent: \"We have successfully linked the Unipass Certificate to your account.\",\n failedLightboxContent: \"We were not able to link Unipass Certifiate to your account at the moment since you currently have no Unipass Certificate, or it has expired, is invalid or you have chosen to revoke it.\",\n okBtnLabel: \"Ok\",\n linkBtnLabel: \"Link\",\n cancelBtnLabel: \"Cancel\"\n };\n static expirationDateNotifier = {\n certificateExpirationWarningHeader: \"Unipass certificate expires soon\",\n certificateExpirationWarningMessage_expirationDate_daysToExpiration: \"Just to remind you that your Unipass certificate will expire on the {0} in {1} days time\",\n certificateExpirationWarningMessageToday_expirationDate: \"Just to remind you that your Unipass certificate will expire today ({0})\",\n ok: \"Ok\"\n };\n static noApplication = {\n adviser: {\n heading: \"You're setup to use our new adviser platform\",\n info1: \"We'll let you know when our new adviser platform is ready to use.\",\n info2: \"For now, you can continue to use our current platform. Any changes you made here will not affect your existing login details.\"\n }\n };\n static pageTitles = {\n customer: {\n landingPage: \"Landing page | Quilter Customer Centre\"\n },\n adviser: {\n landingPage: \"Landing page | Quilter Adviser Centre\"\n }\n };\n}\n","import React from \"react\";\nimport { getNumberOfDaysUntil } from \"@/react-core/Utils/Date\";\nimport { CurrentPumaAdviserUserClient } from \"@/Puma/Api/User/CurrentPumaAdviserUser\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { JsonDateParser } from \"@/react-core/Utils/JsonDateParser\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class UnipassCertificateExpirationDateNotifier extends BaseComponent {\n _minDateDifferenceToShowUnipassCertificateWarning = 10;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n if (this.state.isLoading\n || !this.shouldShowUnipassWarning(this.state.currentAdviserUser.UnipassCertificateDetails)) {\n return (React.createElement(Div, { isLoading: true, isBlocking: true }));\n }\n const unipassExpirationDate = JsonDateParser.toDate(this.state.currentAdviserUser.UnipassCertificateDetails.ValidToDate);\n const daysUntilUnipassExpires = this.getDaysUntilUnipassExpires(this.state.currentAdviserUser.UnipassCertificateDetails);\n return (React.createElement(Div, null,\n React.createElement(Lightbox, { show: true, onClose: () => { }, cssWrapper: \"no-close\" },\n React.createElement(Div, { className: \"lightbox-content\" },\n React.createElement(\"h1\", { className: \"heading-warning\" }, Content.expirationDateNotifier.certificateExpirationWarningHeader),\n React.createElement(\"p\", null,\n daysUntilUnipassExpires > 0 &&\n Content.expirationDateNotifier.certificateExpirationWarningMessage_expirationDate_daysToExpiration\n .replace(\"{0}\", Globalize.format(unipassExpirationDate, \"dd/MM/yyyy\"))\n .replace(\"{1}\", daysUntilUnipassExpires.toString()),\n daysUntilUnipassExpires <= 0 &&\n Content.expirationDateNotifier.certificateExpirationWarningMessageToday_expirationDate\n .replace(\"{0}\", Globalize.format(unipassExpirationDate, \"dd/MM/yyyy\"))),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn btn-primary\", type: \"button\", onClick: () => this.props.onNotificationAcceptedByUser() }, Content.expirationDateNotifier.ok)))))));\n }\n componentDidMount() {\n this.loadUnipassDetails();\n }\n loadUnipassDetails() {\n const client = new CurrentPumaAdviserUserClient();\n client\n .get()\n .onSuccess(currentAdviserUser => {\n this.updateStatePart(s => {\n s.isLoading = false;\n s.currentAdviserUser = currentAdviserUser;\n }, () => {\n if (!this.shouldShowUnipassWarning(currentAdviserUser.UnipassCertificateDetails)) {\n this.props.onNotificationNotRequired();\n }\n });\n });\n }\n shouldShowUnipassWarning(certificateDetails) {\n const dayUntilUnipassExpires = this.getDaysUntilUnipassExpires(certificateDetails);\n return dayUntilUnipassExpires <= this._minDateDifferenceToShowUnipassCertificateWarning;\n }\n getDaysUntilUnipassExpires(certificateDetails) {\n const unipassExpirationDate = JsonDateParser.toDate(certificateDetails.ValidToDate);\n return getNumberOfDaysUntil(unipassExpirationDate);\n }\n getDefaultState() {\n return {\n currentAdviserUser: null,\n isLoading: true\n };\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class LinkUnipassProcessClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Adviser/LinkUnipassProcess/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n delete() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Adviser/LinkUnipassProcess/Delete';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.post(url, data);\n }\n}\n","export var LinkUnipassProcessStatus;\n(function (LinkUnipassProcessStatus) {\n LinkUnipassProcessStatus[LinkUnipassProcessStatus[\"NotSpecified\"] = 0] = \"NotSpecified\";\n LinkUnipassProcessStatus[LinkUnipassProcessStatus[\"Pending\"] = 1] = \"Pending\";\n LinkUnipassProcessStatus[LinkUnipassProcessStatus[\"Success\"] = 2] = \"Success\";\n LinkUnipassProcessStatus[LinkUnipassProcessStatus[\"Failed\"] = 3] = \"Failed\";\n})(LinkUnipassProcessStatus || (LinkUnipassProcessStatus = {}));\n","import classNames from \"classnames\";\nimport React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { LinkUnipassProcessStatus } from \"@/Puma/Site/Models/Adviser/LinkUnipassProcessStatus\";\nexport const FinishedLightboxContent = (props) => {\n const success = props.linkUnipassProcessStatus === LinkUnipassProcessStatus.Success;\n const headingCss = classNames({ \"heading-success\": success }, { \"heading-failure\": !success });\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: headingCss }, Content.unipassLinker.header),\n React.createElement(\"p\", null, success\n ? Content.unipassLinker.successLightboxContent\n : Content.unipassLinker.failedLightboxContent),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-primary\", type: \"button\", onClick: () => props.onClose() }, Content.unipassLinker.okBtnLabel)))));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nexport const PendingLightboxContent = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", null, Content.unipassLinker.header),\n React.createElement(\"p\", null, Content.unipassLinker.pendingLightboxContent),\n React.createElement(\"p\", null, Content.unipassLinker.pendingLightboxContent2),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-primary\", type: \"button\", onClick: () => props.onUserDecisionConfirmed(true) }, Content.unipassLinker.linkBtnLabel)),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-secondary\", type: \"button\", onClick: () => props.onUserDecisionConfirmed(false) }, Content.unipassLinker.cancelBtnLabel)))));\n};\n","import React from \"react\";\nimport { LinkUnipassProcessClient } from \"@/Puma/Api/Adviser/LinkUnipassProcess\";\nimport { FinishedLightboxContent } from \"./FinishedLightboxContent\";\nimport { PendingLightboxContent } from \"./PendingLightboxContent\";\nimport { LinkUnipassProcessStatus } from \"@/Puma/Site/Models/Adviser/LinkUnipassProcessStatus\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class UnipassLinker extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n if (this.state.linkUnipassProcess == null) {\n return (React.createElement(Div, { isLoading: true, isBlocking: true }));\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(Lightbox, { show: true, onClose: () => { }, cssWrapper: \"no-close\" },\n React.createElement(Div, { className: \"lightbox-content-small\" },\n this.state.linkUnipassProcess.Status === LinkUnipassProcessStatus.Pending &&\n React.createElement(PendingLightboxContent, { onUserDecisionConfirmed: (shouldLink) => this.confirmUserDecision(shouldLink) }),\n this.state.linkUnipassProcess.Status !== LinkUnipassProcessStatus.Pending &&\n React.createElement(FinishedLightboxContent, { linkUnipassProcessStatus: this.state.linkUnipassProcess.Status, onClose: () => this.finishProcess() })))));\n }\n componentDidMount() {\n this.loadLinkUnipassProcess();\n }\n loadLinkUnipassProcess() {\n this.updateStatePart(x => x.isLoading = true, () => {\n const client = new LinkUnipassProcessClient();\n client\n .get()\n .onSuccess(process => {\n if (!process.IsAvailable) {\n this.props.onLinkProcessCancel();\n return;\n }\n this.updateStatePart(s => {\n s.isLoading = false;\n s.linkUnipassProcess = process;\n });\n });\n });\n }\n finishProcess() {\n this.updateStatePart(s => s.isLoading = true, () => {\n const client = new LinkUnipassProcessClient();\n client.delete().onSuccess(() => this.props.onLinkProcessCancel());\n });\n }\n confirmUserDecision(shouldLink) {\n this.updateStatePart(s => s.isLoading = true, () => {\n if (!shouldLink) {\n const client = new LinkUnipassProcessClient();\n client.delete().onSuccess(() => this.props.onLinkProcessCancel());\n }\n else {\n window.location.assign((new SharedUrlsHelper()).sslCertificates.getLinkUrl());\n }\n });\n }\n getDefaultState() {\n return {\n linkUnipassProcess: null,\n isLoading: true\n };\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const CurrentPumaUserApplicationsDispatcher = new Dispatcher();\nexport const CurrentPumaUserApplicationsStore = new PayloadStore(CurrentPumaUserApplicationsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserApplicationsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/PumaLogin/CurrentPumaUserApplications/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { CurrentPumaUserApplicationsDispatcher } from \"./../Stores/CurrentPumaUserApplicationsStore\";\nimport { CurrentPumaUserApplicationsClient } from \"@/Puma/Api/PumaLogin/CurrentPumaUserApplications\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class CurrentPumaUserApplicationsActionsCreator extends Actions {\n static load() {\n const client = new CurrentPumaUserApplicationsClient();\n CurrentPumaUserApplicationsActionsCreator.startLoading();\n client\n .get()\n .onSuccess(applications => CurrentPumaUserApplicationsActionsCreator.updateStoreOnSuccess(applications));\n }\n static updateStoreOnSuccess(applications) {\n CurrentPumaUserApplicationsDispatcher.dispatch({ actionType: ActionType.Success, payload: applications || [] });\n }\n static startLoading() {\n CurrentPumaUserApplicationsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { NearlyThere } from \"./../../../../Shared/Common/Components/NearlyThere/NearlyThere\";\nexport const TooManyApplications = props => {\n return (React.createElement(\"div\", { className: \"row pt-64\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(NearlyThere, { showHeader: true })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-4\" },\n React.createElement(\"div\", { className: \"asset-almost\", \"aria-hidden\": \"true\" }))));\n};\n","import React from \"react\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class SingleApplication extends BaseComponent {\n render() {\n return (React.createElement(Div, { isLoading: true, isBlocking: true }));\n }\n componentDidMount() {\n window.location.assign(this.props.accessibleUserApplication.Url);\n }\n}\n","import React from \"react\";\nimport { Content } from \"./../../../Resources/Content\";\nexport const AdviserNoAccessibleApplication = props => {\n return (React.createElement(\"section\", null,\n React.createElement(\"h1\", { className: \"heading-section mt-24\" }, Content.noApplication.adviser.heading),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(\"p\", { className: \"text-size-14\" }, Content.noApplication.adviser.info1),\n React.createElement(\"p\", { className: \"text-size-14\" }, Content.noApplication.adviser.info2)))));\n};\n","import React from \"react\";\nimport { TooManyApplications } from \"./TooManyApplications/TooManyApplications\";\nimport { SingleApplication } from \"./SingleApplication/SingleApplication\";\nimport { AdviserNoAccessibleApplication } from \"./NoApplication/AdviserNoAccessibleApplication\";\nimport { Div } from \"@/react-core/Html/Div\";\nexport const AdviserApplications = props => {\n return (React.createElement(Div, null,\n (props.userApplications.length < 1) &&\n React.createElement(AdviserNoAccessibleApplication, null),\n props.userApplications.length === 1 &&\n React.createElement(SingleApplication, { accessibleUserApplication: props.userApplications[0] }),\n props.userApplications.length > 1 &&\n React.createElement(TooManyApplications, null)));\n};\n","import React from \"react\";\nexport const HeritagePlatformSubAccountTypeProductList = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", { className: \"text-bold\" }, props.header),\n React.createElement(\"ul\", { className: \"list-plain\" }, props.productLabels.map((label, i) => {\n return (React.createElement(\"li\", { key: i }, label));\n }))));\n};\n","import React from \"react\";\nimport { HeritagePlatformSubAccountTypeProductList } from \"./HeritagePlatformSubAccountTypeProductList\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class HeritagePlatform extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = { isProductListLightboxShown: false };\n }\n render() {\n return (React.createElement(\"div\", { className: \"panel-card\" },\n React.createElement(\"div\", { className: \"body text-center body-middle\" },\n React.createElement(\"p\", { className: \"text-size-14 text-bold mb-8\" }, Content.landingPage.allOtherProducts),\n React.createElement(\"button\", { className: \"hyperlink\", onClick: () => this.updateStatePart(s => s.isProductListLightboxShown = true) }, Content.landingPage.productList)),\n React.createElement(\"div\", { className: \"footer\" },\n React.createElement(\"a\", { className: \"btn secondary large panel-action\", target: \"_blank\", href: this.props.application.Url }, Content.landingPage.viewYourAccounts)),\n React.createElement(Lightbox, { show: this.state.isProductListLightboxShown, onClose: () => this.updateStatePart(s => s.isProductListLightboxShown = false) },\n React.createElement(Div, { className: \"lightbox-content\" },\n React.createElement(\"h3\", { className: \"text-bold\" }, Content.landingPage.productList),\n React.createElement(\"div\", { className: \"lightbox-scroll-pane\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-sm-6 col-xs-12\" },\n React.createElement(HeritagePlatformSubAccountTypeProductList, { header: Content.landingPage.heritagePensionProductsHeader, productLabels: Content.landingPage.getHeritagePensionProductLabels() })),\n React.createElement(\"div\", { className: \"col-sm-6 col-xs-12\" },\n React.createElement(HeritagePlatformSubAccountTypeProductList, { header: Content.landingPage.heritageInvestmentsProductsHeader, productLabels: Content.landingPage.getHeritageInvestmentsProductLabels() }),\n React.createElement(HeritagePlatformSubAccountTypeProductList, { header: Content.landingPage.heritageBondsProductsHeader, productLabels: Content.landingPage.getHeritageBondsProductLabels() })))),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"button\", { className: \"btn primary\", onClick: () => this.updateStatePart(s => s.isProductListLightboxShown = false) }, Content.landingPage.close)))))));\n }\n}\n","import React from \"react\";\nimport { Content } from \"./../../../Resources/Content\";\nexport const CustomerPortal = (props) => {\n return (React.createElement(\"div\", { className: \"panel-card\" },\n React.createElement(\"div\", { className: \"body\" },\n React.createElement(\"ul\", { className: \"list-plain text-size-14 text-bold\" },\n React.createElement(\"li\", null, Content.landingPage.isaLabel),\n React.createElement(\"li\", null, Content.landingPage.jisaLabel),\n React.createElement(\"li\", null, Content.landingPage.ciaLabel),\n React.createElement(\"li\", null, Content.landingPage.cibLabel),\n React.createElement(\"li\", null, Content.landingPage.craLabel))),\n React.createElement(\"div\", { className: \"footer\" },\n React.createElement(\"a\", { className: \"btn secondary large panel-action\", target: \"_blank\", href: props.application.Url }, Content.landingPage.viewYourAccounts))));\n};\n","export var PumaApplicationType;\n(function (PumaApplicationType) {\n PumaApplicationType[PumaApplicationType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaApplicationType[PumaApplicationType[\"DirectToClient\"] = 1] = \"DirectToClient\";\n PumaApplicationType[PumaApplicationType[\"AdviserFnzOne\"] = 2] = \"AdviserFnzOne\";\n PumaApplicationType[PumaApplicationType[\"OnlineCustomerCentre\"] = 3] = \"OnlineCustomerCentre\";\n})(PumaApplicationType || (PumaApplicationType = {}));\n","import React from \"react\";\nimport { HeritagePlatform } from \"./HeritagePlatform\";\nimport { CustomerPortal } from \"./CustomerPortal\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { PumaApplicationType } from \"@/Wrap/Constants/Enums/PumaLogin/PumaApplicationType\";\nexport const MultiApplicationsHome = (props) => {\n const customerPortalApp = props.accessibleUserApplications.filter(x => x.Type === PumaApplicationType.DirectToClient)[0];\n const heritagePlatformApp = props.accessibleUserApplications.filter(x => x.Type === PumaApplicationType.OnlineCustomerCentre)[0];\n return (React.createElement(\"div\", { className: \"panels-dashboard\" },\n React.createElement(\"h1\", null, Content.landingPage.multiApplicationsHeader),\n React.createElement(\"p\", null,\n React.createElement(\"span\", null, Content.landingPage.multiApplicationsInfo1),\n React.createElement(\"br\", null),\n React.createElement(\"span\", null, Content.landingPage.multiApplicationsInfo2)),\n React.createElement(\"div\", { className: \"row wide-gutter\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6 col-equalise\" },\n React.createElement(CustomerPortal, { application: customerPortalApp })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6 col-equalise\" },\n React.createElement(HeritagePlatform, { application: heritagePlatformApp })))));\n};\n","import React from \"react\";\nimport { NearlyThere } from \"./../../../../Shared/Common/Components/NearlyThere/NearlyThere\";\nexport const CustomerNoAccessibleApplication = (props) => {\n return (React.createElement(\"div\", { className: \"row pt-64\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(NearlyThere, { showHeader: true })),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-4\" },\n React.createElement(\"div\", { className: \"asset-almost\", \"aria-hidden\": \"true\" }))));\n};\n","import React from \"react\";\nimport { TooManyApplications } from \"./TooManyApplications/TooManyApplications\";\nimport { MultiApplicationsHome } from \"./MultiApplications/MultiApplicationsHome\";\nimport { SingleApplication } from \"./SingleApplication/SingleApplication\";\nimport { CustomerNoAccessibleApplication } from \"./NoApplication/CustomerNoAccessibleApplication\";\nimport { Div } from \"@/react-core/Html/Div\";\nexport const CustomerApplications = props => {\n return (React.createElement(Div, null,\n props.userApplications.length < 1 &&\n React.createElement(CustomerNoAccessibleApplication, null),\n props.userApplications.length === 1 &&\n React.createElement(SingleApplication, { accessibleUserApplication: props.userApplications[0] }),\n props.userApplications.length === 2 &&\n React.createElement(MultiApplicationsHome, { accessibleUserApplications: props.userApplications }),\n props.userApplications.length > 2 &&\n React.createElement(TooManyApplications, null)));\n};\n","import React from \"react\";\nimport { CurrentPumaUserApplicationsActionsCreator } from \"./../ActionCreators/CurrentPumaUserApplicationsActionsCreator\";\nimport { AdviserApplications } from \"./AdviserApplications\";\nimport { CustomerApplications } from \"./CustomerApplications\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CurrentPumaUserApplicationsStore } from \"./../Stores/CurrentPumaUserApplicationsStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { getUserType } from \"@/apps/Shared/User/getUserType\";\nexport class Applications extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.subscribeToStore(CurrentPumaUserApplicationsStore, () => this.onCurrentPumaUserApplicationsStoreChange());\n }\n render() {\n const isCurrentPumaUserApplicationsStoreLoading = CurrentPumaUserApplicationsStore.isLoading();\n if (isCurrentPumaUserApplicationsStoreLoading) {\n return (React.createElement(Div, { isLoading: true, isBlocking: true }));\n }\n const userType = getUserType();\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n userType === PumaUserType.Customer &&\n React.createElement(CustomerApplications, { userApplications: this.state.userApplications }),\n userType === PumaUserType.Adviser &&\n React.createElement(AdviserApplications, { userApplications: this.state.userApplications })));\n }\n componentDidMount() {\n CurrentPumaUserApplicationsActionsCreator.load();\n }\n onCurrentPumaUserApplicationsStoreChange() {\n if (!CurrentPumaUserApplicationsStore.isLoading()) {\n const applications = CurrentPumaUserApplicationsStore.getPayload() || [];\n this.updateStatePart(x => {\n x.userApplications = applications;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n userApplications: [],\n isLoading: false\n };\n }\n}\n","import React from \"react\";\nimport { UnipassCertificateExpirationDateNotifier } from \"./UnipassCertificateExpirationDateNotifier\";\nimport { UnipassLinker } from \"./UnipassLinker/UnipassLinker\";\nimport { Applications } from \"./Applications\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { LoginMethod } from \"./../App\";\nexport class Home extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n const showAppplications = !this.props.linkUnipassProcessIsAvailable\n && !this.state.expirationDateNotifierIsOpened;\n return (React.createElement(Div, null,\n showAppplications &&\n React.createElement(Applications, null),\n this.props.linkUnipassProcessIsAvailable &&\n React.createElement(UnipassLinker, { onLinkProcessCancel: this.props.onLinkUnipassProcessCancel }),\n this.state.expirationDateNotifierIsOpened &&\n React.createElement(UnipassCertificateExpirationDateNotifier, { onNotificationAcceptedByUser: () => this.updateStatePart(s => s.expirationDateNotifierIsOpened = false), onNotificationNotRequired: () => this.updateStatePart(s => s.expirationDateNotifierIsOpened = false) })));\n }\n componentWillMount() {\n super.componentWillMount();\n if (this.props.loginMethod === LoginMethod.UnipassCertificate) {\n this.updateStatePart(s => s.expirationDateNotifierIsOpened = true);\n }\n }\n getDefaultState() {\n return {\n expirationDateNotifierIsOpened: false,\n isLoading: false\n };\n }\n}\n","import React from \"react\";\nimport CSSTransitionGroup from 'react-transition-group';\nexport class Dropdown extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n render() {\n return (React.createElement(CSSTransitionGroup.TransitionGroup, { transitionName: \"anim-dropdown\", transitionEnterTimeout: 500, transitionLeaveTimeout: 500, component: \"div\", className: \"dropdown-panel\" }, this.props.children));\n }\n}\n","import React from \"react\";\nimport { Dropdown } from \"@/react-core/Anim/AnimDropdown\";\nimport { Content } from \"./../../../../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { getUserType } from \"@/apps/Shared/User/getUserType\";\n//Header is shared though css classes are called 'customer' so keeping the naming convention\nexport class CustomerSiteHeader extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = { isUserMenuExpanded: false };\n }\n render() {\n const contactUsLink = getUserType() === PumaUserType.Adviser\n ? new SharedUrlsHelper().getAdviserContactUsUrl()\n : new SharedUrlsHelper().getCustomerContactUsUrl();\n const helpLink = getUserType() === PumaUserType.Adviser\n ? new SharedUrlsHelper().getAdviserHelpUrl()\n : new SharedUrlsHelper().getCustomerHelpUrl();\n return (React.createElement(\"div\", { className: \"customer-site-header\" },\n React.createElement(\"div\", { className: \"container-header\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-fluid\" },\n React.createElement(\"div\", { className: \"logo-wrapper\" },\n React.createElement(\"div\", { className: \"logo-image\" }))),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Div, { className: \"mobile-account-dropdown\", onClickOutside: (e) => this.onClickOutsideMobileUserMenu(e) },\n React.createElement(Button, { className: \"button\", onClick: () => this.updateStatePart(s => s.isUserMenuExpanded = !s.isUserMenuExpanded) },\n React.createElement(\"div\", { className: \"title\" }, Content.customerSiteHeader.userMenu),\n React.createElement(\"div\", { className: \"icon\", \"aria-hidden\": true })),\n React.createElement(Div, null,\n React.createElement(Dropdown, null, this.state.isUserMenuExpanded &&\n React.createElement(\"div\", { className: \"content\" },\n React.createElement(\"div\", { className: \"inner\", \"aria-labelledby\": 'CustomerHeaderNav' },\n React.createElement(\"a\", { className: \"item\", target: \"_blank\", href: contactUsLink }, Content.customerSiteHeader.contactUs),\n React.createElement(\"a\", { className: \"item\", target: \"_blank\", href: helpLink }, Content.customerSiteHeader.help),\n React.createElement(\"div\", { className: \"button-wrapper\" },\n React.createElement(\"a\", { type: \"button\", className: \"btn secondary block\", href: new SharedUrlsHelper().getLogoutUrl() }, Content.customerSiteHeader.signOut))))))),\n React.createElement(\"div\", { className: \"row desktop-account-nav\" },\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(\"a\", { className: \"hyperlink\", target: \"_blank\", href: contactUsLink }, Content.customerSiteHeader.contactUs)),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(\"a\", { className: \"hyperlink\", target: \"_blank\", href: helpLink }, Content.customerSiteHeader.help)),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(\"a\", { type: \"button\", className: \"btn secondary\", href: new SharedUrlsHelper().getLogoutUrl() }, Content.customerSiteHeader.signOut))))))));\n }\n onClickOutsideMobileUserMenu(e) {\n this.updateStatePart(s => s.isUserMenuExpanded = false);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class SsoGlobalSessionAlignmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Session/SsoGlobalSessionAlignment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.post(url, data);\n }\n}\n","import { SsoGlobalSessionAlignmentClient } from \"@/Puma/Api/Session/SsoGlobalSessionAlignment\";\nexport class SsoGlobalSessionAlignmentActionsCreator {\n static align() {\n const client = new SsoGlobalSessionAlignmentClient();\n return client.post();\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const TimeoutInfoActionsDispatcher = new Dispatcher();\nexport const TimeoutInfoStore = new PayloadStore(TimeoutInfoActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class KeepAliveClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Common/KeepAlive/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserTimeoutInfoClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserTimeoutInfo/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { TimeoutInfoActionsDispatcher } from \"./../Stores/TimeoutInfoStore\";\nimport { KeepAliveClient } from \"@/Puma/Api/Common/KeepAlive\";\nimport { CurrentPumaUserTimeoutInfoClient } from \"@/Puma/Api/User/CurrentPumaUserTimeoutInfo\";\nexport class TimeoutInfoActionsCreator {\n static load() {\n const client = new CurrentPumaUserTimeoutInfoClient();\n TimeoutInfoActionsCreator.startLoading();\n client.get().onSuccess(TimeoutInfoActionsCreator.updateStoreOnSuccess);\n }\n static keepAlive() {\n const client = new KeepAliveClient();\n TimeoutInfoActionsCreator.startLoading();\n client.get().onSuccess(TimeoutInfoActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(timeoutInfo) {\n TimeoutInfoActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: timeoutInfo });\n }\n static startLoading() {\n TimeoutInfoActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { SsoGlobalSessionAlignmentActionsCreator } from \"./../../ActionsCreators/SsoGlobalSessionAlignmentActionsCreator\";\nimport { TimeoutInfoActionsCreator } from \"./../../ActionsCreators/TimeoutInfActionsCreator\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { TimeoutInfoStore } from \"./../../Stores/TimeoutInfoStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class TimeoutComponent extends BaseComponent {\n timerRef = null;\n constructor(props) {\n super(props);\n this.timerRef = React.createRef();\n this.state = {\n isWarningShown: false,\n timeoutInfo: null\n };\n this.subscribeToStore(TimeoutInfoStore, () => this.onTimeoutInfoStoreChange());\n }\n render() {\n return (React.createElement(Div, { className: \"expandable-panel\" }, this.state.isWarningShown &&\n React.createElement(Div, { className: \"alert-dialog-info large\", onClickOutside: () => this.keepAlive() },\n React.createElement(\"p\", null, Content.timeout.getWarningMessage(this.state.timeoutInfo.DefaultTimeoutInMinutes - this.state.timeoutInfo.IntervalBetweenTimeoutWarningAndTimeoutInMinutes, this.state.timeoutInfo.IntervalBetweenTimeoutWarningAndTimeoutInMinutes)),\n React.createElement(Button, { className: \"close\", onClick: () => this.keepAlive() },\n React.createElement(\"span\", { className: \"sr-only\" }, \"Close alert message\")))));\n }\n componentDidMount() {\n this.loadTimeoutInfo();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n clearInterval(this.timerRef.current);\n }\n onTimeoutInfoStoreChange() {\n if (!TimeoutInfoStore.isLoading()) {\n const timeoutInfo = TimeoutInfoStore.getPayload();\n clearInterval(this.timerRef.current);\n this.setTimeoutInfo(timeoutInfo, () => {\n let millisecondsToNextCheck = this.state.isWarningShown\n ? timeoutInfo.TimeBeforeUserTimeoutsInMilliseconds\n : timeoutInfo.TimeBeforeTimeoutWarningIsShownMilliseconds;\n this.timerRef.current = setTimeout(() => this.alignGlobalSessionAndLoadTimeoutInfo(), millisecondsToNextCheck);\n });\n }\n }\n setTimeoutInfo(timeoutInfo, onInfoSet) {\n this.updateStatePart(s => {\n s.timeoutInfo = timeoutInfo;\n s.isWarningShown = timeoutInfo.TimeBeforeTimeoutWarningIsShownMilliseconds <= 0;\n }, () => {\n if (timeoutInfo.TimeBeforeUserTimeoutsInMilliseconds <= 0) {\n window.location.assign(new SharedUrlsHelper().getTimeoutUrl());\n return;\n }\n onInfoSet();\n });\n }\n keepAlive() {\n TimeoutInfoActionsCreator.keepAlive();\n }\n loadTimeoutInfo() {\n TimeoutInfoActionsCreator.load();\n }\n alignGlobalSessionAndLoadTimeoutInfo() {\n SsoGlobalSessionAlignmentActionsCreator.align()\n .onSuccess(() => {\n this.loadTimeoutInfo();\n });\n }\n}\n","import React from \"react\";\nimport { CustomerSiteFooter } from \"./../Shared/Footers/CustomerSiteFooter\";\nimport { AdviserSiteFooter } from \"./../Shared/Footers/AdviserSiteFooter\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { CustomerSiteHeader } from \"./Headers/CustomerSiteHeader\";\nimport { TimeoutComponent } from \"./../../Timeout/TimeOutComponent\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { getUserType } from \"@/apps/Shared/User/getUserType\";\nexport const AuthenticatedLayout = (props) => {\n //Body class name contains 'customer' but it is shared on site\n return (React.createElement(Div, null,\n React.createElement(TimeoutComponent, null),\n React.createElement(CustomerSiteHeader, null),\n React.createElement(\"div\", { className: \"layout-customer\" }, props.children),\n getUserType() === PumaUserType.Adviser\n ? React.createElement(AdviserSiteFooter, null)\n : React.createElement(CustomerSiteFooter, null)));\n};\n","import React from \"react\";\nimport { Home } from \"./Components/Home\";\nimport { Content } from \"./../Resources/Content\";\nimport { PageTitleUpdateComponent } from \"./../../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { AuthenticatedLayout } from \"./../../Shared/Common/Components/Layout/Authenticated/AuthenticatedLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { getUserType } from \"@/apps/Shared/User/getUserType\";\nexport var LoginMethod;\n(function (LoginMethod) {\n LoginMethod[LoginMethod[\"NotSpecified\"] = 0] = \"NotSpecified\";\n LoginMethod[LoginMethod[\"Credentials\"] = 1] = \"Credentials\";\n LoginMethod[LoginMethod[\"UnipassCertificate\"] = 2] = \"UnipassCertificate\";\n})(LoginMethod || (LoginMethod = {}));\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(AuthenticatedLayout, null,\n getUserType() === PumaUserType.Customer &&\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.customer.landingPage }),\n getUserType() === PumaUserType.Adviser &&\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.adviser.landingPage }),\n React.createElement(Home, { loginMethod: this.state.appModel.LoginMethod, linkUnipassProcessIsAvailable: this.state.appModel.LinkUnipassProcessIsAvailable, onLinkUnipassProcessCancel: () => this.updateStatePart(s => s.appModel.LinkUnipassProcessIsAvailable = false) }))));\n }\n getDefaultState() {\n const appModel = $(\"[data-view-model]\").data(\"value\");\n return {\n appModel: appModel\n };\n }\n}\n","import { App } from \"./App\";\nimport { RootRoute } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App);\n }\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nexport class Router extends React.Component {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export const DefaultValues = {\n pumaCustomerUser: {\n ContactDetails: {\n Address: {},\n HomePhoneNumber: {},\n MobilePhoneNumber: {},\n EmailAddress: {}\n }\n }\n};\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaCustomerUserActionsDispatcher = new Dispatcher();\nexport const PumaCustomerUserStore = new PayloadStore(PumaCustomerUserActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaCustomerUserClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Customer/CurrentPumaCustomerUser/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaCustomerUserActionsDispatcher } from \"./../Stores/PumaCustomerUserStore\";\nimport { CurrentPumaCustomerUserClient } from \"@/Puma/Api/Customer/CurrentPumaCustomerUser\";\nexport class PumaCustomerUserActionsCreator {\n static loadCurrent() {\n PumaCustomerUserActionsCreator.startLoading();\n const client = new CurrentPumaCustomerUserClient();\n client\n .get()\n .onSuccess(PumaCustomerUserActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(pumaCustomerUser) {\n PumaCustomerUserActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: pumaCustomerUser });\n }\n static startLoading() {\n PumaCustomerUserActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export var EditableItemType;\n(function (EditableItemType) {\n EditableItemType[EditableItemType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n EditableItemType[EditableItemType[\"Password\"] = 1] = \"Password\";\n EditableItemType[EditableItemType[\"Email\"] = 2] = \"Email\";\n EditableItemType[EditableItemType[\"AntiPhishing\"] = 3] = \"AntiPhishing\";\n EditableItemType[EditableItemType[\"MobilePhoneNumber\"] = 4] = \"MobilePhoneNumber\";\n EditableItemType[EditableItemType[\"HomePhoneNumber\"] = 5] = \"HomePhoneNumber\";\n EditableItemType[EditableItemType[\"SecurityQuestion\"] = 6] = \"SecurityQuestion\";\n})(EditableItemType || (EditableItemType = {}));\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nimport { EditableItemType } from \"./../Entities/EditableItemType\";\nexport const EditConfirmation = (props) => {\n let header = \"\";\n let message = \"\";\n switch (props.editedItemType) {\n case EditableItemType.Password: {\n header = Content.password.heading;\n message = Content.editConfirmation.passwordUpdated;\n break;\n }\n case EditableItemType.Email: {\n header = Content.emailAddress.editHeading;\n message = Content.editConfirmation.emailAddressUpdated;\n break;\n }\n case EditableItemType.AntiPhishing: {\n header = Content.antiPhishing.editHeading;\n message = Content.editConfirmation.antiPhishingUpdated;\n break;\n }\n case EditableItemType.MobilePhoneNumber: {\n header = Content.phoneNumber.editMobilePhoneNumberHeading;\n message = Content.editConfirmation.phoneNumberUpdated;\n break;\n }\n case EditableItemType.HomePhoneNumber: {\n header = Content.phoneNumber.editHomePhoneNumberHeading;\n message = Content.editConfirmation.phoneNumberUpdated;\n break;\n }\n case EditableItemType.SecurityQuestion: {\n header = Content.securityQuestion.editHeading;\n message = Content.editConfirmation.securityQuestionUpdated;\n break;\n }\n }\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: \"pr-48\" }, header),\n React.createElement(\"div\", { className: \"alert-success is-acc large\", role: \"alert\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Success alert\"),\n React.createElement(\"p\", null, message)),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-primary large\", onClick: props.onClose }, Content.editConfirmation.backToUserProfile)))));\n};\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class EncryptedPumaUserLoginAntiPhishingAmendmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(pumaUserId, request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/EncryptedPumaUserLoginAntiPhishingAmendment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { pumaUserId: pumaUserId, request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import React from \"react\";\nimport { AntiPhishingPhrasePicker } from \"./AntiPhishingPhrasePicker\";\nimport { AntiPhishingImagePicker } from \"./AntiPhishingImagePicker\";\nexport const AntiPhishingPicker = (props) => {\n return (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(AntiPhishingImagePicker, { selectedEncryptedImageDocumentId: props.selectedEncryptedImageDocumentId, onSelectedEncryptedImageDocumentChange: props.onSelectedEncryptedImageDocumentChange })),\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(AntiPhishingPhrasePicker, { phrase: props.phrase, onPhraseChange: props.onPhraseChange }))));\n};\n","import React from \"react\";\nimport { PumaUserLoginAntiPhishingAmendmentErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaUserLoginAntiPhishingAmendmentErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { EncryptedPumaUserLoginAntiPhishingAmendmentClient } from \"@/Puma/Api/Security/EncryptedPumaUserLoginAntiPhishingAmendment\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { AntiPhishingPicker } from \"./../../../AntiPhishing/Components/AntiPhishingPicker\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { UserSelectableAuthentication } from \"./../../../Authentication/Combined/Components/UserSelectableAuthentication\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditAntiPhishing extends FormComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, Content.antiPhishing.editHeading),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.verifyPassword() },\n React.createElement(UserSelectableAuthentication, { pumaUserId: this.props.user.PumaUserId, actionToConfirm: PumaConfirmationTokenSupportedAction.PumaUserLoginAntiPhishingAmendment, availableAuthenticationMethods: this.props.availableAuthenticationMethods, tokenVerificationCode: this.state.tokenVerificationCode, onTokenVerificationCodeChange: verificationCode => this.updateStatePart(x => x.tokenVerificationCode = verificationCode), onConfirmationTokenChange: token => this.updateStatePart(x => x.confirmationToken = token) }),\n React.createElement(Button, { type: \"submit\", className: \"btn primary\" }, Content.shared.next)),\n this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n React.createElement(AntiPhishingPicker, { selectedEncryptedImageDocumentId: this.state.selectedEncryptedImageDocumentId, phrase: this.state.selectedPhrase, onSelectedEncryptedImageDocumentChange: image => this.updateStatePart(x => x.selectedEncryptedImageDocumentId = image.Document.EncryptedDocumentId), onPhraseChange: phrase => this.updateStatePart(x => x.selectedPhrase = phrase) }),\n React.createElement(Button, { className: \"btn primary\", onClick: () => this.submitChange() }, Content.shared.update))));\n }\n verifyPassword() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.tokenVerificationCode })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.hasBeenAuthenticated = true;\n x.tokenVerificationCode = null;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Content.shared.invalidTokenVerificationCode.password];\n }, Scroll.scrollTop);\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const client = new EncryptedPumaUserLoginAntiPhishingAmendmentClient();\n client\n .post(this.props.user.PumaUserId, {\n Amendment: {\n AntiPhishingImageEncryptedDocumentId: this.state.selectedEncryptedImageDocumentId,\n AntiPhishingPhrase: this.state.selectedPhrase\n },\n ConfirmationToken: {\n TokenValue: this.state.confirmationToken.tokenValue\n }\n })\n .onSuccess(amendment => {\n this.props.onAntiPhishingUpdatedSuccessfully();\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserLoginAntiPhishingAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n confirmationToken: {},\n validationErrors: []\n };\n }\n}\n","import React from \"react\";\nimport { EditAntiPhishing } from \"./EditAntiPhishing\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class AntiPhishing extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null,\n React.createElement(\"h2\", { className: \"heading-section mt-48\" }, Content.antiPhishing.heading),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"div\", null, Content.antiPhishing.editExplanation)),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing() }, Content.shared.edit))),\n React.createElement(Lightbox, { show: this.state.isEditing, onClose: () => this.stopEditing() },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(EditAntiPhishing, { user: this.props.pumaUser, availableAuthenticationMethods: this.props.availableEditAuthenticationMethods, onCancel: () => this.stopEditing(), onAntiPhishingUpdatedSuccessfully: () => this.onAntiPhishingSuccessfullyUpdated() })))));\n }\n onAntiPhishingSuccessfullyUpdated() {\n this.updateStatePart(x => {\n x.isEditing = false;\n }, () => this.props.onAntiPhishingSuccessfullyUpdated());\n }\n startEditing() {\n this.updateStatePart(x => x.isEditing = true);\n }\n stopEditing() {\n this.updateStatePart(x => x.isEditing = false);\n }\n getDefaultState() {\n return {};\n }\n}\n","export var PumaPasswordChangeErrors;\n(function (PumaPasswordChangeErrors) {\n PumaPasswordChangeErrors[PumaPasswordChangeErrors[\"ChangeOfPasswordNotSuccessful\"] = 0] = \"ChangeOfPasswordNotSuccessful\";\n PumaPasswordChangeErrors[PumaPasswordChangeErrors[\"PasswordRequirementsWereNotMet\"] = 1] = \"PasswordRequirementsWereNotMet\";\n PumaPasswordChangeErrors[PumaPasswordChangeErrors[\"PumaUserLockedOut\"] = 2] = \"PumaUserLockedOut\";\n PumaPasswordChangeErrors[PumaPasswordChangeErrors[\"OldPasswordNotValid\"] = 3] = \"OldPasswordNotValid\";\n})(PumaPasswordChangeErrors || (PumaPasswordChangeErrors = {}));\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaPasswordChangeErrors } from \"@/Wrap/Validation/Errors/PumaPasswordChange/PumaPasswordChangeErrors\";\nexport class PumaPasswordChangeErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaPasswordChangeErrors.ChangeOfPasswordNotSuccessful, Content.password.changeOfPasswordNotSuccessful);\n map.set(PumaPasswordChangeErrors.OldPasswordNotValid, Content.password.invalidCurrentPassword);\n map.set(PumaPasswordChangeErrors.PasswordRequirementsWereNotMet, Content.password.passwordRequirementsWereNotMet);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserPasswordChangeRequestClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n put(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Credentials/CurrentPumaUserPasswordChangeRequest/Put';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaPasswordChangeErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaPasswordChangeErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { CurrentPumaUserPasswordChangeRequestClient } from \"@/Puma/Api/Credentials/CurrentPumaUserPasswordChangeRequest\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PasswordCreation } from \"./../../../Password/Components/PasswordCreation\";\nimport { PasswordEditor } from \"@/react-core/Html/PasswordEditor\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditPassword extends FormComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n React.createElement(\"h1\", { className: \"pr-48\" }, Content.password.editHeading),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(PasswordEditor, { large: true, label: Content.password.enterExistingPassword, required: Content.password.existingPasswordRequired, onChange: (value) => this.updateStatePart(x => x.currentPassword = value) }),\n React.createElement(PasswordCreation, { header: Content.password.createYourPasswordHeader, validateNewPasswordAgainstCurrent: true, currentPassword: this.state.currentPassword, newPassword: this.state.newPassword, onNewPasswordChange: (value) => this.updateStatePart(x => x.newPassword = value) }),\n React.createElement(Button, { className: \"btn primary mt-24\", type: \"submit\" }, Content.shared.update))));\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(s => s.isLoading = true, () => {\n const client = new CurrentPumaUserPasswordChangeRequestClient();\n client.put({\n OldPassword: this.state.currentPassword,\n NewPassword: this.state.newPassword\n }).onSuccess(() => {\n this.updateStatePart(s => s.isLoading = false, this.props.onPasswordUpdatedSuccessfully);\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaPasswordChangeErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n });\n }\n }\n getDefaultState() {\n return {\n currentPassword: \"\",\n validationErrors: []\n };\n }\n}\n","import React from \"react\";\nimport { EditPassword } from \"./EditPassword\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Password extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(\"h2\", { className: \"heading-section mt-48\" }, Content.password.heading),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" }, Content.password.passwordContent),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: this.startEditing }, Content.shared.edit))),\n React.createElement(Lightbox, { show: this.state.isEditing, onClose: this.stopEditing },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(EditPassword, { onPasswordUpdatedSuccessfully: this.onPasswordSuccessfullyUpdated })))));\n }\n startEditing() {\n this.updateStatePart(x => x.isEditing = true);\n }\n stopEditing() {\n this.updateStatePart(x => x.isEditing = false);\n }\n onPasswordSuccessfullyUpdated() {\n this.updateStatePart(x => {\n x.isEditing = false;\n }, () => this.props.onPasswordSuccessfullyUpdated());\n }\n getDefaultState() {\n return {\n isEditing: false\n };\n }\n bindPrivateMethods() {\n this.startEditing = this.startEditing.bind(this);\n this.stopEditing = this.stopEditing.bind(this);\n this.onPasswordSuccessfullyUpdated = this.onPasswordSuccessfullyUpdated.bind(this);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserEmailAddressAmendmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(addressAmendment) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserEmailAddressAmendment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { addressAmendment: addressAmendment };\n return AjaxWrapper.post(url, data);\n }\n}\n","import React from \"react\";\nimport { CurrentPumaUserEmailAddressAmendmentClient } from \"@/Puma/Api/User/CurrentPumaUserEmailAddressAmendment\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { UserSelectableAuthentication } from \"./../../../Authentication/Combined/Components/UserSelectableAuthentication\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditEmailAddress extends FormComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, Content.emailAddress.editHeading),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.verifyAuthCode() },\n React.createElement(UserSelectableAuthentication, { pumaUserId: this.props.pumaUser.PumaUserId, actionToConfirm: PumaConfirmationTokenSupportedAction.PumaUserEmailAddressAmendment, availableAuthenticationMethods: this.props.availableAuthenticationMethods, tokenVerificationCode: this.state.tokenVerificationCode, onConfirmationTokenChange: token => this.updateStatePart(s => s.confirmationToken = token), onTokenVerificationCodeChange: code => this.updateStatePart(s => s.tokenVerificationCode = code) }),\n React.createElement(Button, { className: \"btn primary vspace-top-48\", type: \"submit\" }, Content.shared.verify)),\n this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n React.createElement(\"p\", null,\n Content.emailAddress.existingEmailAddress,\n React.createElement(\"strong\", null, this.props.emailAddress.Email)),\n React.createElement(TextBoxEditor, { label: Content.emailAddress.newEmailAddress, large: true, isEmail: Content.emailAddress.validation.inValidEmail, maxLength: 50, required: Content.emailAddress.validation.enterValidEmail, onChange: value => this.updateStatePart(x => x.newEmailAddress = value) }),\n React.createElement(TextBoxEditor, { label: Content.emailAddress.confirmEmailAddress, large: true, maxLength: 50, onChange: () => { }, required: Content.emailAddress.validation.reEnterEmail, equals: { value: this.state.newEmailAddress, errorMessage: Content.emailAddress.validation.valueDoNotMatch } }),\n React.createElement(Button, { className: \"btn-primary large\", type: \"submit\" }, Content.shared.update))));\n }\n isValid() {\n return super.isValid();\n }\n verifyAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.tokenVerificationCode })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.hasBeenAuthenticated = true;\n x.tokenVerificationCode = null;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Content.shared.invalidTokenVerificationCode.getByConfirmationToken(this.state.confirmationToken)];\n });\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const client = new CurrentPumaUserEmailAddressAmendmentClient();\n client.post({\n Amendment: { Email: this.state.newEmailAddress },\n ConfirmationToken: {\n TokenValue: this.state.confirmationToken.tokenValue\n }\n }).onSuccess(amendment => {\n this.props.onEmailAddressUpdatedSuccessfully();\n }).onError(errors => {\n this.updateStatePart(x => {\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.verifyAuthCode = this.verifyAuthCode.bind(this);\n this.submitChange = this.submitChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { EditEmailAddress } from \"./EditEmailAddress\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class EmailAddress extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null,\n React.createElement(\"h2\", { className: \"heading-section mt-48\" }, Content.emailAddress.heading),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-fluid text-size-16 text-bold\" }, this.props.emailAddress.Email),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing() }, Content.shared.edit))),\n React.createElement(Lightbox, { show: this.state.isEditing, onClose: () => this.stopEditing() },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(EditEmailAddress, { pumaUser: this.props.pumaUser, availableAuthenticationMethods: this.props.availableEditAuthenticationMethods, emailAddress: this.props.emailAddress, onCancel: () => this.stopEditing(), onEmailAddressUpdatedSuccessfully: () => this.onEmailAddressSuccessfullyUpdated() })))));\n }\n onEmailAddressSuccessfullyUpdated() {\n this.updateStatePart(x => {\n x.isEditing = false;\n }, () => this.props.onEmailAddressSuccessfullyUpdated());\n }\n startEditing() {\n this.updateStatePart(x => x.isEditing = true);\n }\n stopEditing() {\n this.updateStatePart(x => x.isEditing = false);\n }\n getDefaultState() {\n return {\n isEditing: false\n };\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaUserSmsAuthenticationPhoneNumberActionsDispatcher = new Dispatcher();\nexport const PumaUserSmsAuthenticationPhoneNumberStore = new PayloadStore(PumaUserSmsAuthenticationPhoneNumberActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserSmsAuthenticationPhoneNumberClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get() {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserSmsAuthenticationPhoneNumber/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = {};\n return AjaxWrapper.get(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaUserSmsAuthenticationPhoneNumberActionsDispatcher } from \"./../Stores/PumaUserSmsAuthenticationPhoneNumberStore\";\nimport { CurrentPumaUserSmsAuthenticationPhoneNumberClient } from \"@/Puma/Api/User/CurrentPumaUserSmsAuthenticationPhoneNumber\";\nexport class PumaUserSmsAuthenticationPhoneNumberActionsCreator {\n static loadForCurrent() {\n const client = new CurrentPumaUserSmsAuthenticationPhoneNumberClient();\n PumaUserSmsAuthenticationPhoneNumberActionsCreator.startLoading();\n client\n .get()\n .onSuccess(user => PumaUserSmsAuthenticationPhoneNumberActionsCreator.updateStoreOnSuccess(user));\n }\n static updateStoreOnSuccess(phoneNumber) {\n PumaUserSmsAuthenticationPhoneNumberActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: phoneNumber });\n }\n static startLoading() {\n PumaUserSmsAuthenticationPhoneNumberActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export class Content {\n static index = {\n mainHeading: \"Security details\",\n phoneNumbers: {\n phoneNumbers: \"Telephone numbers\",\n home: \"Home phone number\",\n mobile: \"Mobile phone number\",\n numberUsedForMFA: \"We will use this number if we need to send you a security code.\",\n editHomePhoneNumber: \"Update your home phone number\",\n editMobilePhoneNumber: \"Update your mobile phone number\",\n setHomePhoneNumberForMfa: \"Use this home phone number to receive security codes\",\n setMobilePhoneNumberForMfa: \"Use this mobile phone number to receive security codes\",\n deleteHomePhoneNumber: \"Delete your home phone number\",\n deleteMobilePhoneNumber: \"Delete your mobile phone number\",\n yourCurrentHomePhoneNumber: \"Your current home phone number:\",\n yourCurrentMobilePhoneNumber: \"Your current mobile phone number:\",\n yourNewPhoneNumber: \"Your new phone number:\",\n reallySetPhoneNumberForMfa_PhoneNumber: \"Do you really want to set phone number '{0}' for MFA?\",\n mobilePhoneIsRecommendedForMfaInfo: \"For the best experience, we strongly recommend you use your mobile phone to receive the security codes.\"\n },\n emailAddress: {\n heading: \"Email address\"\n },\n securityDetails: {\n passwordContentHeading: \"Password\",\n passwordContent: \"Change your password here.\",\n antiPhishingContentHeading: \"Memorable picture and phrase\",\n antiPhishingContent: \"Change your memorable picture and phrase here.\",\n updateAntiPhishing: \"Update memorable picture and phrase\"\n }\n };\n static shared = {\n edit: \"Edit\",\n deleteLabel: \"Delete\",\n add: \"Add\",\n setForMfa: \"Use for security\",\n next: \"Next\",\n update: \"Update\"\n };\n static password = {\n enterExistingPassword: \"Current password\",\n existingPasswordRequired: \"Existing password is required\",\n createYourPasswordHeader: \"Create your new password\",\n heading: \"Success\"\n };\n static SuccessPage = {\n backToUserProfile: \"BACK TO YOUR DETAILS\",\n passwordUpdated: \"You have updated your password.\",\n emailAddressUpdated: \"You have updated your email address.\",\n antiPhishingUpdated: \"Anti-phishing updated successfully.\",\n phoneNumberUpdated: \"Phone number updated\"\n };\n static ChangeEmail = {\n emailAddress: {\n enter: \"Your new email address\",\n confirm: \"Confirm your new email address\"\n },\n editEmailAddress: \"Update your email address\",\n existingEmailAddress: \"Your current email address: \"\n };\n static errors = {\n changeOfPasswordNotSuccessful: \"The password you have entered either doesn't meet the requirement listed below, or contains a restricted word. Please try a different password.\",\n yourAuthorisationHasExpired: \"Your authorisation has expired, please try again.\",\n phoneNumberHasWrongFormat: \"We don't recognise the number you have entered as a valid phone number. Please try again. Alternatively, if this number is correct, you can proceed.\",\n passwordRequirementsWereNotMet: \"Your password either does not meet one or more requirements or contains a restricted word. Please try a different password. The password must not contain your first name, your surname, or any parts of your username. It must contain at least 8 characters, including at least one uppercase letter, at least one lower case letter and a number.\",\n pumaUserPhoneNumbersMustNotBeSame: \"The number you have entered is already in use for this account. Please enter a new number or close this box.\",\n invalidCurrentPassword: \"Invalid current password\"\n };\n static SmsAuthentication = {\n verify: \"Verify\"\n };\n static pageTitles = {\n customerDetails: \"Customer details | Quilter Customer Centre\"\n };\n}\n","export var PumaUserPhoneNumberAmendmentErrors;\n(function (PumaUserPhoneNumberAmendmentErrors) {\n PumaUserPhoneNumberAmendmentErrors[PumaUserPhoneNumberAmendmentErrors[\"PhoneNumberDoesNotHaveValidFormat\"] = 0] = \"PhoneNumberDoesNotHaveValidFormat\";\n PumaUserPhoneNumberAmendmentErrors[PumaUserPhoneNumberAmendmentErrors[\"ConfirmationTokenIsNotValid\"] = 1] = \"ConfirmationTokenIsNotValid\";\n PumaUserPhoneNumberAmendmentErrors[PumaUserPhoneNumberAmendmentErrors[\"PumaUserPhoneNumbersMustNotBeSame\"] = 2] = \"PumaUserPhoneNumbersMustNotBeSame\";\n})(PumaUserPhoneNumberAmendmentErrors || (PumaUserPhoneNumberAmendmentErrors = {}));\n","export var PumaCurrentUserEmailConfirmationTokenRequestsErrors;\n(function (PumaCurrentUserEmailConfirmationTokenRequestsErrors) {\n PumaCurrentUserEmailConfirmationTokenRequestsErrors[PumaCurrentUserEmailConfirmationTokenRequestsErrors[\"ConfirmationTokenNotValid\"] = 0] = \"ConfirmationTokenNotValid\";\n PumaCurrentUserEmailConfirmationTokenRequestsErrors[PumaCurrentUserEmailConfirmationTokenRequestsErrors[\"EmailAuthenticationNotActivated\"] = 1] = \"EmailAuthenticationNotActivated\";\n})(PumaCurrentUserEmailConfirmationTokenRequestsErrors || (PumaCurrentUserEmailConfirmationTokenRequestsErrors = {}));\n","import { Content } from \"./../../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserPhoneNumberAmendmentErrors } from \"@/Wrap/Validation/Errors/User/Contacts/PumaUserPhoneNumberAmendmentErrors\";\nexport class PumaUserPhoneNumberAmendmentErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserPhoneNumberAmendmentErrors.ConfirmationTokenIsNotValid, Content.errors.yourAuthorisationHasExpired);\n map.set(PumaUserPhoneNumberAmendmentErrors.PhoneNumberDoesNotHaveValidFormat, Content.errors.phoneNumberHasWrongFormat);\n map.set(PumaUserPhoneNumberAmendmentErrors.PumaUserPhoneNumbersMustNotBeSame, Content.errors.pumaUserPhoneNumbersMustNotBeSame);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserMfaPhoneNumberAmendmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(amendment) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserMfaPhoneNumberAmendment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { amendment: amendment };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { CurrentPumaUserMfaPhoneNumberAmendmentClient } from \"@/Puma/Api/User/CurrentPumaUserMfaPhoneNumberAmendment\";\nexport class CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator {\n static update(amendment) {\n const client = new CurrentPumaUserMfaPhoneNumberAmendmentClient();\n return client.post(amendment);\n }\n}\n","export class Validation {\n static EnterPassword = {\n incorrectPassword: \"Incorrect Password.\"\n };\n static emailCodeVerification = {\n incorrectEmailCode: \"Entered code is not valid\"\n };\n static ChangeEmail = {\n inValidEmail: \"InValid Email.\",\n enterValidEmail: \"Enter Valid Email.\",\n reEnterEmail: \"ReEnter Email.\",\n valueDoNotMatch: \"Value do not match.\",\n enteredAuthenticationCodeIsNotValid: \"Entered authentication code is not valid\"\n };\n}\n","export class Content {\n static common = {\n weHaveSentAuthenticationCodeViaEmail_EmailAddress: \"We've sent you a verification code to {0}\",\n enterAuthCode: \"Please enter the code below and click 'Verify'.\",\n didNotGetCode: \"Didn't get a code?\",\n pleaseEnterAuthCode: \"Please enter verification code\",\n pleaseEnterValidAuthCode: \"Please enter valid verification code\",\n resendAuthCodeHeader: \"Re-send verification code\",\n resendAuthCodeMessage: \"If you have not received a registration code within a minute or two please click the button below to re-send.\",\n cancel: \"Cancel\",\n resend: \"Re-send\",\n authCodeSuccessfullyResent: \"Verification code has been successfully resent\",\n success: \"Success\",\n ok: \"Ok\",\n alphabetRestriction: \"Please enter the six digit registration number sent to your email address\",\n emailAuthenticationNotEnabled: \"Email authentication is not enabled\"\n };\n}\n","import { PumaCurrentUserEmailConfirmationTokenRequestsErrorsDictionary } from \"./../Entities/ErrorsDictionaries/PumaCurrentUserEmailConfirmationTokenRequestsErrorsDictionary\";\nimport { InstructionStore } from \"@/react-core/Flux/InstructionStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaUserEmailConfirmationTokenActionsDispatcher = new Dispatcher();\nexport const PumaUserEmailConfirmationTokenStore = new InstructionStore(PumaUserEmailConfirmationTokenActionsDispatcher, PumaCurrentUserEmailConfirmationTokenRequestsErrorsDictionary);\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaCurrentUserEmailConfirmationTokenRequestsErrors } from \"@/Wrap/Validation/Errors/Security/ConfirmationTokens/PumaCurrentUserEmailConfirmationTokenRequestsErrors\";\nexport class PumaCurrentUserEmailConfirmationTokenRequestsErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaCurrentUserEmailConfirmationTokenRequestsErrors.EmailAuthenticationNotActivated, Content.common.emailAuthenticationNotEnabled);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCurrentUserEmailConfirmationTokenRequestsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaCurrentUserEmailConfirmationTokenRequests/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaUserEmailConfirmationTokenActionsDispatcher } from \"./../Stores/PumaUserEmailConfirmationTokenStore\";\nimport { PumaCurrentUserEmailConfirmationTokenRequestsClient } from \"@/Puma/Api/Security/PumaCurrentUserEmailConfirmationTokenRequests\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaUserEmailConfirmationTokenActionsCreator extends Actions {\n static requestForCurrentUser(request) {\n PumaUserEmailConfirmationTokenActionsCreator.startLoading();\n const client = new PumaCurrentUserEmailConfirmationTokenRequestsClient();\n return client\n .post(request)\n .onSuccess(PumaUserEmailConfirmationTokenActionsCreator.updateStoreOnSuccess)\n .onError(PumaUserEmailConfirmationTokenActionsCreator.updateStoreOnErrors);\n }\n static updateStoreOnSuccess(token) {\n PumaUserEmailConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Success, instruction: token });\n }\n static updateStoreOnErrors(errors) {\n PumaUserEmailConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Error, errors: errors });\n }\n static startLoading() {\n PumaUserEmailConfirmationTokenActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nexport const ResendConfirmation = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: \"heading-success\" }, Content.common.success),\n React.createElement(\"p\", null, Content.common.authCodeSuccessfullyResent),\n React.createElement(Button, { className: \"btn primary\", onClick: props.onClose }, Content.common.ok)));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nexport const EmailAuthenticationResendUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: \"pr-48\" }, Content.common.resendAuthCodeHeader),\n React.createElement(\"p\", null, Content.common.resendAuthCodeMessage),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn primary\", onClick: props.onAuthenticationCodeResendConfirmed }, Content.common.resend)),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary\", onClick: props.onCancel }, Content.common.cancel)))));\n};\n","import React from \"react\";\nimport { Numeric } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { Content } from \"./../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nexport const EmailAuthenticationUI = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n props.header &&\n React.createElement(\"p\", { className: \"text-bold\" }, props.header),\n props.enterAuthCodeLabel &&\n React.createElement(\"p\", null, props.enterAuthCodeLabel),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"div\", { className: \"row mb-6\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" }),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Button, { className: \"hyperlink\", onClick: props.onResendCodeRequested }, Content.common.didNotGetCode))),\n React.createElement(TextBoxEditor, { cssWrapper: \"label-sr-only\", value: props.authCode ? props.authCode : null, label: \"AuthCode\", large: true, maxLength: 6, minLengthValidation: { value: 6, errorMessage: Content.common.pleaseEnterValidAuthCode }, regex: { value: Numeric, errorMessage: Content.common.alphabetRestriction }, required: Content.common.pleaseEnterAuthCode, onChange: (value) => props.onAuthCodeChange(value.toString()) })))))));\n};\n","import React from \"react\";\nimport { ResendConfirmation } from \"./ResendConfirmation\";\nimport { EmailAuthenticationResendUI } from \"./EmailAuthenticationResendUI\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { EmailAuthenticationUI } from \"./EmailAuthenticationUI\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class EmailAuthenticationBase extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(EmailAuthenticationUI, { header: this.props.header, enterAuthCodeLabel: this.props.enterAuthCodeLabel, authCode: this.props.authCode, onAuthCodeChange: this.props.onAuthCodeChange, onResendCodeRequested: this.toggleResendLightboxVisibility }),\n React.createElement(Lightbox, { show: this.state.isResendAuthenticationCodeLightboxOpened, onClose: this.toggleResendLightboxVisibility },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(EmailAuthenticationResendUI, { onAuthenticationCodeResendConfirmed: this.onAuthenticationCodeResendConfirmed, onCancel: () => this.toggleResendLightboxVisibility() }))),\n React.createElement(Lightbox, { show: this.state.isResendConfirmationLightboxOpened, onClose: this.toggleConfirmationLightboxVisiblity },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(ResendConfirmation, { onClose: this.toggleConfirmationLightboxVisiblity })))));\n }\n isValid() {\n return true;\n }\n onAuthenticationCodeResendConfirmed() {\n this.props.onAuthenticationCodeResendConfirmed(() => {\n this.updateStatePart(x => x.isResendAuthenticationCodeLightboxOpened = false, this.toggleConfirmationLightboxVisiblity);\n });\n }\n toggleResendLightboxVisibility() {\n this.updateStatePart(x => x.isResendAuthenticationCodeLightboxOpened = !x.isResendAuthenticationCodeLightboxOpened);\n }\n toggleConfirmationLightboxVisiblity() {\n this.updateStatePart(x => x.isResendConfirmationLightboxOpened = !x.isResendConfirmationLightboxOpened);\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.toggleConfirmationLightboxVisiblity = this.toggleConfirmationLightboxVisiblity.bind(this);\n this.toggleResendLightboxVisibility = this.toggleResendLightboxVisibility.bind(this);\n this.onAuthenticationCodeResendConfirmed = this.onAuthenticationCodeResendConfirmed.bind(this);\n }\n}\n","import React from \"react\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { PumaUserEmailConfirmationTokenActionsCreator } from \"./../ActionsCreators/PumaUserEmailConfirmationTokenActionsCreator\";\nimport { Content } from \"./../Resources/Content\";\nimport { EmailAuthenticationBase } from \"./EmailAuthenticationBase\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaUserEmailConfirmationTokenStore } from \"./../Stores/PumaUserEmailConfirmationTokenStore\";\nimport { BaseFormElement } from \"@/react-core/Html/BaseFormElement\";\nexport class EmailAuthentication extends BaseFormElement {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaUserEmailConfirmationTokenStore, this.onPumaUserEmailConfirmationTokenStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.isAnyStoreLoading(), isBlocking: true },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(EmailAuthenticationBase, { header: Content.common.weHaveSentAuthenticationCodeViaEmail_EmailAddress.replace(\"{0}\", this.state.confirmationToken.EmailAddress.Email), enterAuthCodeLabel: Content.common.enterAuthCode, authCode: this.props.authCode, confirmationToken: this.state.confirmationToken, onAuthCodeChange: this.props.onAuthCodeChange, onAuthenticationCodeResendConfirmed: this.resendAuthenticationCode })));\n }\n componentDidMount() {\n PumaUserEmailConfirmationTokenActionsCreator.requestForCurrentUser({\n RequiredAction: this.props.actionToConfirm,\n ProcessIdentifier: this.props.pumaProcessIdentifier\n });\n }\n isValid() {\n return true;\n }\n onPumaUserEmailConfirmationTokenStoreChange() {\n if (!PumaUserEmailConfirmationTokenStore.isLoading()) {\n const errors = PumaUserEmailConfirmationTokenStore.getValidationErrors();\n if (errors.length > 0) {\n this.updateStatePart(x => {\n x.validationErrors = errors;\n x.isLoading = this.isAnyStoreLoading();\n });\n return;\n }\n const confirmationToken = PumaUserEmailConfirmationTokenStore.getInstruction();\n this.updateStatePart(x => {\n x.confirmationToken = confirmationToken;\n x.isLoading = this.isAnyStoreLoading();\n }, () => {\n this.props.onConfirmationTokenChange({\n kind: AuthenticationMethod.Email,\n emailAddress: confirmationToken.EmailAddress,\n tokenValue: confirmationToken.TokenValue\n });\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n resendAuthenticationCode(onResendSuccess) {\n PumaUserEmailConfirmationTokenActionsCreator.requestForCurrentUser({\n RequiredAction: this.props.actionToConfirm\n }).onSuccess(x => onResendSuccess());\n }\n getDefaultState() {\n return {\n confirmationToken: {\n EmailAddress: {}\n },\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.resendAuthenticationCode = this.resendAuthenticationCode.bind(this);\n this.onPumaUserEmailConfirmationTokenStoreChange = this.onPumaUserEmailConfirmationTokenStoreChange.bind(this);\n }\n}\n","export var EditMfaPhoneNumberStage;\n(function (EditMfaPhoneNumberStage) {\n EditMfaPhoneNumberStage[EditMfaPhoneNumberStage[\"NotSpecified\"] = 0] = \"NotSpecified\";\n EditMfaPhoneNumberStage[EditMfaPhoneNumberStage[\"PasswordAuthentication\"] = 1] = \"PasswordAuthentication\";\n EditMfaPhoneNumberStage[EditMfaPhoneNumberStage[\"EmailAuthentication\"] = 2] = \"EmailAuthentication\";\n EditMfaPhoneNumberStage[EditMfaPhoneNumberStage[\"PhoneNumberChange\"] = 3] = \"PhoneNumberChange\";\n})(EditMfaPhoneNumberStage || (EditMfaPhoneNumberStage = {}));\n","import React from \"react\";\nimport { PumaUserPhoneNumberAmendmentErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaUserPhoneNumberAmendmentErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator } from \"./../../ActionCreators/CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { Validation } from \"./../../../Resources/Validation\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { EmailAuthentication } from \"./../../../../Shared/Authentication/Email/Components/EmailAuthentication\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PasswordAuthentication } from \"./../../../../Shared/Authentication/Password/Components/PasswordAuthentication\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { EditMfaPhoneNumberStage } from \"./../../Entities/PhoneNumbers/EditNonMfaPhoneNumberStage\";\nexport class SetMfaPhoneNumber extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? Content.index.phoneNumbers.setHomePhoneNumberForMfa\n : Content.index.phoneNumbers.setMobilePhoneNumberForMfa),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n this.state.stage === EditMfaPhoneNumberStage.PasswordAuthentication &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(Form, { onSubmit: () => this.verifyPassword() },\n React.createElement(PasswordAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, onPasswordChange: pswd => this.updateStatePart(x => x.password = pswd), onConfirmationTokenChange: token => this.updateStatePart(x => x.passwordConfirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary vspace-top-48\", type: \"submit\" }, Content.SmsAuthentication.verify)))),\n this.state.stage === EditMfaPhoneNumberStage.EmailAuthentication &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(Form, { onSubmit: () => this.verifyAuthCode() },\n React.createElement(EmailAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, authCode: this.state.emailAuthCode, onAuthCodeChange: code => this.updateStatePart(x => x.emailAuthCode = code), onConfirmationTokenChange: token => this.updateStatePart(x => x.emailAuthCodeConfirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary vspace-top-48\", type: \"submit\" }, Content.SmsAuthentication.verify)))),\n this.state.stage === EditMfaPhoneNumberStage.PhoneNumberChange &&\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n this.props.phoneNumberType === PumaPhoneNumberType.Home &&\n React.createElement(\"div\", { className: \"alert-info is-acc\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n React.createElement(\"p\", null, Content.index.phoneNumbers.mobilePhoneIsRecommendedForMfaInfo)),\n React.createElement(\"p\", null,\n this.props.phoneNumberType === PumaPhoneNumberType.Home &&\n React.createElement(\"span\", null, Content.index.phoneNumbers.reallySetPhoneNumberForMfa_PhoneNumber.replace(\"{0}\", this.props.user.ContactDetails.HomePhoneNumber.Number)),\n this.props.phoneNumberType === PumaPhoneNumberType.Mobile &&\n React.createElement(\"span\", null, Content.index.phoneNumbers.reallySetPhoneNumberForMfa_PhoneNumber.replace(\"{0}\", this.props.user.ContactDetails.MobilePhoneNumber.Number))),\n React.createElement(Button, { className: \"btn-primary large\", onClick: this.submitChange }, Content.shared.update))));\n }\n verifyPassword() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.passwordConfirmationToken, { VerificationCode: this.state.password })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.stage = EditMfaPhoneNumberStage.EmailAuthentication;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Validation.EnterPassword.incorrectPassword];\n }, Scroll.scrollTop);\n });\n });\n }\n }\n verifyAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.emailAuthCodeConfirmationToken, { VerificationCode: this.state.emailAuthCode })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.stage = EditMfaPhoneNumberStage.PhoneNumberChange;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Validation.emailCodeVerification.incorrectEmailCode];\n }, Scroll.scrollTop);\n });\n });\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const phoneNumber = this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? this.props.user.ContactDetails.HomePhoneNumber.Number\n : this.props.user.ContactDetails.MobilePhoneNumber.Number;\n CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator.update({\n PumaProcessIdentifier: this.props.pumaProcess.Identifier,\n Amendment: {\n Number: phoneNumber,\n Type: this.props.phoneNumberType\n }\n }).onSuccess(amendment => {\n this.props.onPhoneNumberUpdatedSuccessfully();\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserPhoneNumberAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n stage: EditMfaPhoneNumberStage.PasswordAuthentication\n };\n }\n bindPrivateMethods() {\n this.verifyPassword = this.verifyPassword.bind(this);\n this.verifyAuthCode = this.verifyAuthCode.bind(this);\n this.submitChange = this.submitChange.bind(this);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaProcessDispatcher = new Dispatcher();\nexport const PumaProcessStore = new PayloadStore(PumaProcessDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCurrentUserProcessesClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaCurrentUserProcesses/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaProcessDispatcher } from \"./../Stores/PumaProcessStore\";\nimport { PumaCurrentUserProcessesClient } from \"@/Puma/Api/Security/PumaCurrentUserProcesses\";\nexport class PumaProcessActionsCreator {\n static createForCurrentUser(request) {\n const pumaProcessClient = new PumaCurrentUserProcessesClient();\n return pumaProcessClient.post(request).onSuccess(PumaProcessActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(process) {\n PumaProcessDispatcher.dispatch({ actionType: ActionType.Success, payload: process });\n }\n static startLoading() {\n PumaProcessDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { PumaProcessActionsCreator } from \"./../ActionsCreators/PumaProcessesActionCreators\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaProcessStore } from \"./../Stores/PumaProcessStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nexport function makeCurrentUserPumaProcess(ComponentToWrap) {\n const CurrentUserPumaProcess = class Process extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = { isLoading: true, isPumaProcessInitiallyLoaded: false, pumaProcess: null };\n this.subscribeToStore(PumaProcessStore, () => this.onProcessStoreChange());\n }\n render() {\n if (!this.state.isPumaProcessInitiallyLoaded) {\n return React.createElement(Div, { isLoading: true, isBlocking: true });\n }\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(ComponentToWrap, { ...this.props, pumaProcess: this.state.pumaProcess })));\n }\n componentDidMount() {\n if (this.props.processType !== PumaConfirmationTokenSupportedAction.NotSpecified) {\n PumaProcessActionsCreator.createForCurrentUser({\n ProcessType: this.props.processType\n });\n }\n }\n componentWillReceiveProps(nextProps) {\n if (nextProps.processType !== PumaConfirmationTokenSupportedAction.NotSpecified\n && this.props.processType !== nextProps.processType) {\n PumaProcessActionsCreator.createForCurrentUser({\n ProcessType: nextProps.processType\n });\n }\n }\n onProcessStoreChange() {\n if (!PumaProcessStore.isLoading()) {\n this.updateStatePart(s => {\n s.pumaProcess = PumaProcessStore.getPayload();\n s.isPumaProcessInitiallyLoaded = true;\n s.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(s => s.isLoading = true);\n }\n }\n };\n return CurrentUserPumaProcess;\n}\n","import React from \"react\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { SetMfaPhoneNumber } from \"./SetMfaPhoneNumber\";\nimport { makeCurrentUserPumaProcess } from \"./../../../../Shared/Processes/Components/makeCurrentUserPumaProcess\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class SetMfaPhoneNumberProcess extends FormComponent {\n SetMfaPhoneNumber;\n constructor(props) {\n super(props);\n this.SetMfaPhoneNumber = makeCurrentUserPumaProcess(SetMfaPhoneNumber);\n }\n render() {\n return (React.createElement(this.SetMfaPhoneNumber, { processType: PumaConfirmationTokenSupportedAction.PumaUserPhoneNumberAmendment, ...this.props }));\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserNonMfaPhoneNumberAmendmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(amendment) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserNonMfaPhoneNumberAmendment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { amendment: amendment };\n return AjaxWrapper.post(url, data);\n }\n delete(amendment) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserNonMfaPhoneNumberAmendment/Delete';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { amendment: amendment };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { CurrentPumaUserNonMfaPhoneNumberAmendmentClient } from \"@/Puma/Api/User/CurrentPumaUserNonMfaPhoneNumberAmendment\";\nexport class CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator {\n static update(amendment) {\n const client = new CurrentPumaUserNonMfaPhoneNumberAmendmentClient();\n return client.post(amendment);\n }\n static delete(amendment) {\n const client = new CurrentPumaUserNonMfaPhoneNumberAmendmentClient();\n return client.delete(amendment);\n }\n}\n","import React from \"react\";\nimport { CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator } from \"./../../ActionCreators/CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { Validation } from \"./../../../Resources/Validation\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PasswordAuthentication } from \"./../../../../Shared/Authentication/Password/Components/PasswordAuthentication\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class DeleteNonMfaPhoneNumber extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? Content.index.phoneNumbers.deleteHomePhoneNumber\n : Content.index.phoneNumbers.deleteMobilePhoneNumber),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.hasBeenAuthenticated &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(PasswordAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, onPasswordChange: pswd => this.updateStatePart(x => x.password = pswd), onConfirmationTokenChange: token => this.updateStatePart(x => x.confirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary vspace-top-48\", onClick: this.verifyAuthCode }, Content.SmsAuthentication.verify))),\n this.state.hasBeenAuthenticated &&\n React.createElement(\"div\", null,\n React.createElement(\"p\", null,\n this.props.phoneNumberType === PumaPhoneNumberType.Home &&\n React.createElement(\"span\", null,\n Content.index.phoneNumbers.yourCurrentHomePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.HomePhoneNumber.Number)),\n this.props.phoneNumberType === PumaPhoneNumberType.Mobile &&\n React.createElement(\"span\", null,\n Content.index.phoneNumbers.yourCurrentMobilePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.MobilePhoneNumber.Number))),\n React.createElement(Button, { className: \"btn-primary large\", onClick: this.submitChange }, Content.shared.deleteLabel))));\n }\n verifyAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.password })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.hasBeenAuthenticated = true;\n x.password = null;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Validation.ChangeEmail.enteredAuthenticationCodeIsNotValid];\n }, Scroll.scrollTop);\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator.delete({\n PumaProcessIdentifier: this.props.pumaProcess.Identifier,\n PhoneNumberType: this.props.phoneNumberType\n }).onSuccess(amendment => {\n this.props.onPhoneNumberUpdatedSuccessfully();\n }).onError(errors => {\n this.updateStatePart(x => {\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.verifyAuthCode = this.verifyAuthCode.bind(this);\n this.submitChange = this.submitChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { DeleteNonMfaPhoneNumber } from \"./DeleteNonMfaPhoneNumber\";\nimport { makeCurrentUserPumaProcess } from \"./../../../../Shared/Processes/Components/makeCurrentUserPumaProcess\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class DeleteNonMfaPhoneNumberProcess extends FormComponent {\n DeleteNonMfaPhoneNumber;\n constructor(props) {\n super(props);\n this.DeleteNonMfaPhoneNumber = makeCurrentUserPumaProcess(DeleteNonMfaPhoneNumber);\n }\n render() {\n return (React.createElement(this.DeleteNonMfaPhoneNumber, { processType: PumaConfirmationTokenSupportedAction.PumaUserPhoneNumberAmendment, ...this.props }));\n }\n}\n","import React from \"react\";\nimport { PumaUserPhoneNumberAmendmentErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaUserPhoneNumberAmendmentErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator } from \"./../../ActionCreators/CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { Validation } from \"./../../../Resources/Validation\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { PumaPhoneNumberPicker } from \"./../../../../Shared/Common/Components/PhoneNumbers/PumaPhoneNumberPicker\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PasswordAuthentication } from \"./../../../../Shared/Authentication/Password/Components/PasswordAuthentication\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditNonMfaPhoneNumber extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? Content.index.phoneNumbers.editHomePhoneNumber\n : Content.index.phoneNumbers.editMobilePhoneNumber),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.hasBeenAuthenticated &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(Form, { onSubmit: () => this.verifyAuthCode() },\n React.createElement(PasswordAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, onPasswordChange: pswd => this.updateStatePart(x => x.password = pswd), onConfirmationTokenChange: token => this.updateStatePart(x => x.confirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary vspace-top-48\", type: \"submit\" }, Content.SmsAuthentication.verify)))),\n this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n React.createElement(\"p\", null,\n this.props.phoneNumberType === PumaPhoneNumberType.Home &&\n React.createElement(\"span\", null,\n Content.index.phoneNumbers.yourCurrentHomePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.HomePhoneNumber && this.props.user.ContactDetails.HomePhoneNumber.Number)),\n this.props.phoneNumberType === PumaPhoneNumberType.Mobile &&\n React.createElement(\"span\", null,\n Content.index.phoneNumbers.yourCurrentMobilePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.MobilePhoneNumber && this.props.user.ContactDetails.MobilePhoneNumber.Number))),\n React.createElement(PumaPhoneNumberPicker, { defaultDialingCodeCountry: CountryCode.GBR, label: Content.index.phoneNumbers.yourNewPhoneNumber, pumaPhoneNumber: this.state.newPhoneNumber, showMfaPicker: false, mfaLabel: null, isUsedForMfa: null, onIsUsedForMfaChange: () => { throw \"MFA should not be updatable here\"; }, onPumaPhoneNumberChange: (phoneNumber) => this.updateStatePart(x => x.newPhoneNumber = phoneNumber) }),\n React.createElement(Button, { className: \"btn-primary large\", type: \"submit\" }, Content.shared.update))));\n }\n verifyAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.password })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.hasBeenAuthenticated = true;\n x.password = null;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Validation.EnterPassword.incorrectPassword];\n }, Scroll.scrollTop);\n });\n });\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator.update({\n PumaProcessIdentifier: this.props.pumaProcess.Identifier,\n Amendment: {\n Number: this.state.newPhoneNumber.internationalDialingCode.Code + this.state.newPhoneNumber.phoneNumber,\n Type: this.props.phoneNumberType\n }\n }).onSuccess(amendment => {\n this.props.onPhoneNumberUpdatedSuccessfully();\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserPhoneNumberAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n newPhoneNumber: { internationalDialingCode: {} }\n };\n }\n bindPrivateMethods() {\n this.verifyAuthCode = this.verifyAuthCode.bind(this);\n this.submitChange = this.submitChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { EditNonMfaPhoneNumber } from \"./EditNonMfaPhoneNumber\";\nimport { makeCurrentUserPumaProcess } from \"./../../../../Shared/Processes/Components/makeCurrentUserPumaProcess\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditNonMfaPhoneNumberProcess extends FormComponent {\n EditNonMfaPhoneNumber;\n constructor(props) {\n super(props);\n this.EditNonMfaPhoneNumber = makeCurrentUserPumaProcess(EditNonMfaPhoneNumber);\n }\n render() {\n return (React.createElement(this.EditNonMfaPhoneNumber, { processType: PumaConfirmationTokenSupportedAction.PumaUserPhoneNumberAmendment, ...this.props }));\n }\n}\n","import React from \"react\";\nimport { PumaUserPhoneNumberAmendmentErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaUserPhoneNumberAmendmentErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator } from \"./../../ActionCreators/CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { Validation } from \"./../../../Resources/Validation\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { PumaPhoneNumberPicker } from \"./../../../../Shared/Common/Components/PhoneNumbers/PumaPhoneNumberPicker\";\nimport { EmailAuthentication } from \"./../../../../Shared/Authentication/Email/Components/EmailAuthentication\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PasswordAuthentication } from \"./../../../../Shared/Authentication/Password/Components/PasswordAuthentication\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { EditMfaPhoneNumberStage } from \"./../../Entities/PhoneNumbers/EditNonMfaPhoneNumberStage\";\nexport class EditMfaPhoneNumber extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? Content.index.phoneNumbers.editHomePhoneNumber\n : Content.index.phoneNumbers.editMobilePhoneNumber),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n this.state.stage === EditMfaPhoneNumberStage.PasswordAuthentication &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(Form, { onSubmit: () => this.verifyPassword() },\n React.createElement(PasswordAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, onPasswordChange: pswd => this.updateStatePart(x => x.password = pswd), onConfirmationTokenChange: token => this.updateStatePart(x => x.passwordConfirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary vspace-top-48\", type: \"submit\" }, Content.SmsAuthentication.verify)))),\n this.state.stage === EditMfaPhoneNumberStage.EmailAuthentication &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(Form, { onSubmit: () => this.verifyAuthCode() },\n React.createElement(EmailAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, authCode: this.state.emailAuthCode, onAuthCodeChange: code => this.updateStatePart(x => x.emailAuthCode = code), onConfirmationTokenChange: token => this.updateStatePart(x => x.emailAuthCodeConfirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary vspace-top-48\", type: \"submit\" }, Content.SmsAuthentication.verify)))),\n this.state.stage === EditMfaPhoneNumberStage.PhoneNumberChange &&\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n React.createElement(\"p\", null,\n this.props.phoneNumberType === PumaPhoneNumberType.Home &&\n React.createElement(\"span\", null,\n Content.index.phoneNumbers.yourCurrentHomePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.HomePhoneNumber.Number)),\n this.props.phoneNumberType === PumaPhoneNumberType.Mobile &&\n React.createElement(\"span\", null,\n Content.index.phoneNumbers.yourCurrentMobilePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.MobilePhoneNumber.Number))),\n React.createElement(PumaPhoneNumberPicker, { defaultDialingCodeCountry: CountryCode.GBR, label: Content.index.phoneNumbers.yourNewPhoneNumber, pumaPhoneNumber: this.state.newPhoneNumber, showMfaPicker: false, mfaLabel: null, isUsedForMfa: null, onIsUsedForMfaChange: () => { throw \"MFA should not be updatable here\"; }, onPumaPhoneNumberChange: (phoneNumber) => this.updateStatePart(x => x.newPhoneNumber = phoneNumber) }),\n React.createElement(Button, { className: \"btn-primary large\", type: \"submit\" }, Content.shared.update))));\n }\n verifyPassword() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.passwordConfirmationToken, { VerificationCode: this.state.password })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.stage = EditMfaPhoneNumberStage.EmailAuthentication;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Validation.EnterPassword.incorrectPassword];\n }, Scroll.scrollTop);\n });\n });\n }\n }\n verifyAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.emailAuthCodeConfirmationToken, { VerificationCode: this.state.emailAuthCode })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.stage = EditMfaPhoneNumberStage.PhoneNumberChange;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Validation.emailCodeVerification.incorrectEmailCode];\n }, Scroll.scrollTop);\n });\n });\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator.update({\n PumaProcessIdentifier: this.props.pumaProcess.Identifier,\n Amendment: {\n Number: this.state.newPhoneNumber.internationalDialingCode.Code + this.state.newPhoneNumber.phoneNumber,\n Type: this.props.phoneNumberType\n }\n }).onSuccess(amendment => {\n this.props.onPhoneNumberUpdatedSuccessfully();\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserPhoneNumberAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n newPhoneNumber: { internationalDialingCode: {} },\n stage: EditMfaPhoneNumberStage.PasswordAuthentication\n };\n }\n bindPrivateMethods() {\n this.verifyPassword = this.verifyPassword.bind(this);\n this.verifyAuthCode = this.verifyAuthCode.bind(this);\n this.submitChange = this.submitChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { EditMfaPhoneNumber } from \"./EditMfaPhoneNumber\";\nimport { makeCurrentUserPumaProcess } from \"./../../../../Shared/Processes/Components/makeCurrentUserPumaProcess\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditMfaPhoneNumberProcess extends FormComponent {\n EditMfaPhoneNumber;\n constructor(props) {\n super(props);\n this.EditMfaPhoneNumber = makeCurrentUserPumaProcess(EditMfaPhoneNumber);\n }\n render() {\n return (React.createElement(this.EditMfaPhoneNumber, { processType: PumaConfirmationTokenSupportedAction.PumaUserPhoneNumberAmendment, ...this.props }));\n }\n}\n","export var PhoneNumberEditType;\n(function (PhoneNumberEditType) {\n PhoneNumberEditType[PhoneNumberEditType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PhoneNumberEditType[PhoneNumberEditType[\"Edit\"] = 1] = \"Edit\";\n PhoneNumberEditType[PhoneNumberEditType[\"Delete\"] = 2] = \"Delete\";\n PhoneNumberEditType[PhoneNumberEditType[\"SetForMfa\"] = 3] = \"SetForMfa\";\n})(PhoneNumberEditType || (PhoneNumberEditType = {}));\n","export var PumaCurrentCustomerUserTransitionCompletionErrors;\n(function (PumaCurrentCustomerUserTransitionCompletionErrors) {\n PumaCurrentCustomerUserTransitionCompletionErrors[PumaCurrentCustomerUserTransitionCompletionErrors[\"ConfirmationTokenIsNotValid\"] = 0] = \"ConfirmationTokenIsNotValid\";\n})(PumaCurrentCustomerUserTransitionCompletionErrors || (PumaCurrentCustomerUserTransitionCompletionErrors = {}));\n","import React from \"react\";\nimport { SetMfaPhoneNumberProcess } from \"./SetMfaPhoneNumberProcess\";\nimport { DeleteNonMfaPhoneNumberProcess } from \"./DeleteNonMfaPhoneNumberProcess\";\nimport { EditNonMfaPhoneNumberProcess } from \"./EditNonMfaPhoneNumberProcess\";\nimport { EditMfaPhoneNumberProcess } from \"./EditMfaPhoneNumberProcess\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { PhoneNumberEditType } from \"./../../Entities/PhoneNumbers/PhoneNumberEditType\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nexport class PhoneNumber extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n const phoneNumber = this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? this.props.user.ContactDetails.HomePhoneNumber\n : this.props.user.ContactDetails.MobilePhoneNumber;\n return (React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-fluid text-size-16 text-bold\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-5\" },\n React.createElement(\"p\", null,\n this.props.label,\n \": \",\n phoneNumber ? phoneNumber.Number : \"\")),\n this.props.isUsedForMfa &&\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-auto\" },\n React.createElement(\"div\", { className: \"alert-info is-acc small\", role: \"alert\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n Content.index.phoneNumbers.numberUsedForMFA)))),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing(PhoneNumberEditType.Edit) }, phoneNumber ? Content.shared.edit : Content.shared.add)),\n phoneNumber && phoneNumber.Number && this.props.isUsedForMfa == false &&\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing(PhoneNumberEditType.Delete) }, Content.shared.deleteLabel)),\n phoneNumber && phoneNumber.Number && this.props.isUsedForMfa == false &&\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing(PhoneNumberEditType.SetForMfa) }, Content.shared.setForMfa)),\n React.createElement(Lightbox, { show: this.state.isEditing, onClose: this.stopEditing },\n React.createElement(Div, { className: \"lightbox-content\" },\n this.state.editType === PhoneNumberEditType.Edit && this.props.isUsedForMfa &&\n React.createElement(EditMfaPhoneNumberProcess, { pumaProcess: null, user: this.props.user, phoneNumberType: this.props.phoneNumberType, onCancel: this.stopEditing, onPhoneNumberUpdatedSuccessfully: this.onPhoneNumberSuccessfullyUpdated }),\n this.state.editType === PhoneNumberEditType.Edit && !this.props.isUsedForMfa &&\n React.createElement(EditNonMfaPhoneNumberProcess, { pumaProcess: null, user: this.props.user, phoneNumberType: this.props.phoneNumberType, onCancel: this.stopEditing, onPhoneNumberUpdatedSuccessfully: this.onPhoneNumberSuccessfullyUpdated }),\n this.state.editType === PhoneNumberEditType.Delete &&\n React.createElement(DeleteNonMfaPhoneNumberProcess, { pumaProcess: null, user: this.props.user, phoneNumberType: this.props.phoneNumberType, onCancel: this.stopEditing, onPhoneNumberUpdatedSuccessfully: this.onPhoneNumberSuccessfullyUpdated }),\n this.state.editType === PhoneNumberEditType.SetForMfa &&\n React.createElement(SetMfaPhoneNumberProcess, { pumaProcess: null, user: this.props.user, phoneNumberType: this.props.phoneNumberType, onCancel: this.stopEditing, onPhoneNumberUpdatedSuccessfully: this.onPhoneNumberSuccessullySetForMfa })))));\n }\n onPhoneNumberSuccessullySetForMfa() {\n this.updateStatePart(x => {\n x.isEditing = false;\n x.editType = PhoneNumberEditType.NotSpecified;\n }, () => this.props.onPhoneNumberSuccessfullyUpdated(this.props.phoneNumberType, true));\n }\n onPhoneNumberSuccessfullyUpdated() {\n this.updateStatePart(x => {\n x.isEditing = false;\n x.editType = PhoneNumberEditType.NotSpecified;\n }, () => this.props.onPhoneNumberSuccessfullyUpdated(this.props.phoneNumberType, this.props.isUsedForMfa));\n }\n startEditing(editType) {\n this.updateStatePart(x => {\n x.isEditing = true;\n x.editType = editType;\n });\n }\n stopEditing() {\n this.updateStatePart(x => {\n x.isEditing = false;\n x.editType = PhoneNumberEditType.NotSpecified;\n });\n }\n getDefaultState() {\n return {\n editType: PhoneNumberEditType.NotSpecified\n };\n }\n bindPrivateMethods() {\n this.startEditing = this.startEditing.bind(this);\n this.stopEditing = this.stopEditing.bind(this);\n this.onPhoneNumberSuccessfullyUpdated = this.onPhoneNumberSuccessfullyUpdated.bind(this);\n this.onPhoneNumberSuccessullySetForMfa = this.onPhoneNumberSuccessullySetForMfa.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaUserSmsAuthenticationPhoneNumberActionsCreator } from \"./../../ActionCreators/PumaUserSmsAuthenticationPhoneNumberActionsCreator\";\nimport { PhoneNumber } from \"./PhoneNumber\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaUserSmsAuthenticationPhoneNumberStore } from \"./../../Stores/PumaUserSmsAuthenticationPhoneNumberStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nexport class PhoneNumbers extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaUserSmsAuthenticationPhoneNumberStore, this.onPumaUserSmsAuthenticationPhoneNumberStoreChange);\n }\n render() {\n const homePhoneNumber = this.props.user.ContactDetails.HomePhoneNumber;\n const mobilePhoneNumber = this.props.user.ContactDetails.MobilePhoneNumber;\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h2\", { className: \"heading-section mt-48\" }, Content.index.phoneNumbers.phoneNumbers),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(PhoneNumber, { label: Content.index.phoneNumbers.home, user: this.props.user, phoneNumberType: PumaPhoneNumberType.Home, isUsedForMfa: homePhoneNumber && this.state.smsAuthenticationNumber && homePhoneNumber.Number === this.state.smsAuthenticationNumber.Number, onPhoneNumberSuccessfullyUpdated: this.onPhoneNumberSuccessfullyUpdated }))),\n React.createElement(\"div\", { className: \"row vspace-top-16\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(PhoneNumber, { label: Content.index.phoneNumbers.mobile, user: this.props.user, phoneNumberType: PumaPhoneNumberType.Mobile, isUsedForMfa: mobilePhoneNumber && this.state.smsAuthenticationNumber && mobilePhoneNumber.Number === this.state.smsAuthenticationNumber.Number, onPhoneNumberSuccessfullyUpdated: this.onPhoneNumberSuccessfullyUpdated })))));\n }\n componentDidMount() {\n if (this.props.user.PumaUserId) {\n PumaUserSmsAuthenticationPhoneNumberActionsCreator.loadForCurrent();\n }\n }\n componentWillReceiveProps(nextProps) {\n if (nextProps.user.PumaUserId && nextProps.user.PumaUserId !== this.props.user.PumaUserId) {\n PumaUserSmsAuthenticationPhoneNumberActionsCreator.loadForCurrent();\n }\n }\n onPumaUserSmsAuthenticationPhoneNumberStoreChange() {\n if (!PumaUserSmsAuthenticationPhoneNumberStore.isLoading()) {\n this.updateStatePart(x => {\n x.smsAuthenticationNumber = PumaUserSmsAuthenticationPhoneNumberStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n onPhoneNumberSuccessfullyUpdated(phoneNumberType, changedNumberWasUsedForMfa) {\n if (changedNumberWasUsedForMfa) {\n PumaUserSmsAuthenticationPhoneNumberActionsCreator.loadForCurrent();\n }\n this.props.onPhoneNumbersSuccessfullyUpdated(phoneNumberType);\n }\n getDefaultState() {\n return {\n smsAuthenticationNumber: null,\n isLoading: false\n };\n }\n bindPrivateMethods() {\n this.onPhoneNumberSuccessfullyUpdated = this.onPhoneNumberSuccessfullyUpdated.bind(this);\n this.onPumaUserSmsAuthenticationPhoneNumberStoreChange = this.onPumaUserSmsAuthenticationPhoneNumberStoreChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { PumaCustomerUserActionsCreator } from \"./../../../Shared/User/ActionsCreators/PumaCustomerUserActionsCreator\";\nimport { EditConfirmation } from \"./../../../Shared/UserDetails/Components/EditConfirmation\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { AntiPhishing } from \"./../../../Shared/UserDetails/Components/AntiPhishing/AntiPhishing\";\nimport { Password } from \"./../../../Shared/UserDetails/Components/Password/Password\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { EmailAddress } from \"./../../../Shared/UserDetails/Components/EmailAddress/EmailAddress\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { PhoneNumbers } from \"./PhoneNumbers/PhoneNumbers\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaCustomerUserStore } from \"./../../../Shared/User/Stores/PumaCustomerUserStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { EditableItemType } from \"./../../../Shared/UserDetails/Entities/EditableItemType\";\nexport class CustomerDetails extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaCustomerUserStore, () => this.onPumaCustomerUserStoreChange());\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.index.mainHeading),\n React.createElement(PhoneNumbers, { user: this.state.user, onPhoneNumbersSuccessfullyUpdated: (phoneNumberType) => this.showEditConfirmationLightbox(phoneNumberType === PumaPhoneNumberType.Home ? EditableItemType.HomePhoneNumber : EditableItemType.MobilePhoneNumber) }),\n React.createElement(EmailAddress, { pumaUser: this.state.user, availableEditAuthenticationMethods: [\n AuthenticationMethod.Sms\n ], emailAddress: this.state.user.ContactDetails.EmailAddress, onEmailAddressSuccessfullyUpdated: () => this.showEditConfirmationLightbox(EditableItemType.Email) }),\n React.createElement(Password, { onPasswordSuccessfullyUpdated: () => this.showEditConfirmationLightbox(EditableItemType.Password) }),\n React.createElement(AntiPhishing, { pumaUser: this.state.user, availableEditAuthenticationMethods: [\n AuthenticationMethod.Password\n ], onAntiPhishingSuccessfullyUpdated: () => this.showEditConfirmationLightbox(EditableItemType.AntiPhishing) }),\n React.createElement(Lightbox, { show: this.state.showConfirmationLightbox, onClose: this.closeEditConfirmationLightbox },\n React.createElement(Div, { className: \"lightbox-content\" },\n React.createElement(EditConfirmation, { editedItemType: this.state.editedItemType, onClose: this.closeEditConfirmationLightbox })))));\n }\n componentDidMount() {\n PumaCustomerUserActionsCreator.loadCurrent();\n }\n onPumaCustomerUserStoreChange() {\n if (!PumaCustomerUserStore.isLoading()) {\n const user = PumaCustomerUserStore.getPayload();\n this.updateStatePart(x => {\n x.user = user;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n closeEditConfirmationLightbox() {\n this.updateStatePart(x => {\n x.showConfirmationLightbox = false;\n x.editedItemType = EditableItemType.NotSpecified;\n });\n }\n showEditConfirmationLightbox(editedItemType) {\n this.updateStatePart(x => {\n x.showConfirmationLightbox = true;\n x.editedItemType = editedItemType;\n }, () => PumaCustomerUserActionsCreator.loadCurrent());\n }\n getDefaultState() {\n return {\n user: DefaultValues.pumaCustomerUser,\n isLoading: false\n };\n }\n bindPrivateMethods() {\n this.closeEditConfirmationLightbox = this.closeEditConfirmationLightbox.bind(this);\n this.showEditConfirmationLightbox = this.showEditConfirmationLightbox.bind(this);\n }\n}\n","import React from \"react\";\nimport { CustomerDetails } from \"./Components/CustomerDetails\";\nimport { Content } from \"./../Resources/Content\";\nimport { PageTitleUpdateComponent } from \"./../../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { AuthenticatedLayout } from \"./../../Shared/Common/Components/Layout/Authenticated/AuthenticatedLayout\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(AuthenticatedLayout, null,\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.customerDetails }),\n React.createElement(CustomerDetails, null)));\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n }\n}\n","import { App } from \"./App\";\nimport { RootRoute } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App);\n }\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nexport class Router extends React.Component {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export class Content {\n static welcomePage = {\n header: \"Upgrading the security on your online account\",\n subHader: \"Before you start\",\n transitionProcessInfo: \"We have recently upgraded the security of your online Customer Centre account, as mentioned in our email to you (either in our email about your quarterly statement, or in a separate email if you receive your statement annually). Because of this enhanced security, you may notice these login screens look different to what you're used to.\",\n transitionProcesssInfo2: \"To help us protect your account and to log in, you just need to follow these simple steps:\",\n listItem1: \"You may need to update your password if it's currently shorter than eight characters.\",\n listItem2: \"Please confirm your phone number and we'll send you a code (either via text or voice message). If your phone number has changed since you registered with us, or you want to use a different number, you can change it by answering your security question.\",\n listItem3: \"Type in the code and click confirm to start using the online Customer Centre.\",\n startButton: \"Start\",\n logOutButton: \"Log out\"\n };\n static common = {\n save: \"Save\",\n deleteLabel: \"Delete\",\n ok: \"Ok\"\n };\n static errors = {\n yourAuthorisationHasExpired: \"Your authorisation has expired, please try again.\",\n phoneNumberHasWrongFormat: \"We don't recognise the number you have entered as a valid phone number. Please try again. Alternatively, if this number is correct, you can proceed.\",\n pumaUserPhoneNumbersMustNotBeSame: \"The number you have entered is already in use for this account. Please enter a new number or close this box.\"\n };\n static wizardStepper = {\n progress: \"Progress\",\n header: \"Upgrading the security on your online account\",\n phoneNumbersSelection: \"Confirm your phone number\",\n phoneNumberVerification: \"Verify code\"\n };\n static wizard = {\n common: {\n cancelWizardWarningHeader: \"Cancelling the wizard will log you out.\",\n cancelWizardWarningInfo: \"Do you really want to proceed?\",\n logout: \"Log out\",\n cancel: \"Cancel\"\n },\n phoneNumbersSelection: {\n sectionInfo: \"To confirm it's you, please choose the phone number you would like us to send an authentication code to.\",\n sectionInfo2: \"If the phone number you want to use isn't listed, click on 'Update' below.\",\n mobilePhoneIsRecommendedForMfaInfo: \"For the best experience, we strongly recommend you use your mobile phone to receive the security codes.\",\n twoFactorAuthenticationInfo: \"2 factor authentication is designed to ensure that you're the only person who can access your account, even if someone knows your password. You can use your home number but we recommend to use a mobile number.\",\n mobilePhoneNumber: \"Mobile phone number\",\n homePhoneNumber: \"Home phone number\",\n sendCodeToThisPhone: \"Send my code to this phone\",\n editNumber: \"Update\",\n addNumber: \"Add\",\n editHomePhoneNumber: \"Update your home phone number\",\n editMobilePhoneNumber: \"Update your mobile phone number\",\n yourCurrentHomePhoneNumber: \"Your current home phone number is: \",\n yourCurrentMobilePhoneNumber: \"Your current mobile phone number is: \",\n yourNewPhoneNumber: \"Your new phone number:\",\n deleteHomePhoneNumber: \"Delete your home phone number\",\n deleteMobilePhoneNumber: \"Delete your mobile phone number\",\n mobilePhoneNumberUpdated: \"Mobile phone number updated\",\n homePhoneNumberUpdated: \"Home phone number updated\",\n verify: \"Continue\",\n authenticationFailed: \"Authentication failed\",\n mfaIsMandatory: \"Please pick phone number to which authorisation code should be sent\"\n },\n phoneNumberVerification: {\n confirmButtonLabel: \"Verify\",\n authenticationFailed: \"Authentication failed\"\n }\n };\n static pageTitles = {\n welcome: \"Before you start | Customer Transition | Quilter Customer Centre\",\n phoneNumbersSelection: \"Phone numbers selection | Customer Transition | Quilter Customer Centre\",\n phoneNumberVerification: \"Phone number verification | Customer Transition | Quilter Customer Centre\"\n };\n}\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaCurrentCustomerUserTransitionCompletionErrors } from \"@/Wrap/Validation/Errors/Onboarding/Customer/PumaCurrentCustomerUserTransitionCompletionErrors\";\nexport class PumaCurrentCustomerUserTransitionCompletionErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaCurrentCustomerUserTransitionCompletionErrors.ConfirmationTokenIsNotValid, Content.wizard.phoneNumberVerification.authenticationFailed);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCurrentCustomerUserTransitionCompletionClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(completionData) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaCurrentCustomerUserTransitionCompletion/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { completionData: completionData };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaCurrentCustomerUserTransitionCompletionClient } from \"@/Puma/Api/Onboarding/PumaCurrentCustomerUserTransitionCompletion\";\nexport class PumaCurrentCustomerUserTransitionCompletionActionsCreator {\n static submit(completionData) {\n const client = new PumaCurrentCustomerUserTransitionCompletionClient();\n return client.post(completionData);\n }\n}\n","export class Content {\n static common = {\n ok: \"Ok\"\n };\n static transitionSuccess = {\n transitionSuccessHeader: \"Thank you. We have upgraded the security on your account.\",\n customerTransitionSuccessInfo: \"We'll show you the new terms and conditions next. Once you accept them, you'll be ready to use the new online customer centre.\",\n adviserTransitionSuccessInfo: \"We'll show you the new terms and conditions next. Once you accept them, you'll be ready to use the new Adviser Platform.\"\n };\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nexport const TransitionSuccess = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", null, Content.transitionSuccess.transitionSuccessHeader),\n React.createElement(\"p\", null, props.pumaUserType === PumaUserType.Customer\n ? Content.transitionSuccess.customerTransitionSuccessInfo\n : Content.transitionSuccess.adviserTransitionSuccessInfo),\n React.createElement(Button, { className: \"btn primary\", onClick: props.onClose }, Content.common.ok)));\n};\n","export var CustomerTransitionWizardStepperId;\n(function (CustomerTransitionWizardStepperId) {\n CustomerTransitionWizardStepperId[\"NotSpecified\"] = \"NotSpecified\";\n CustomerTransitionWizardStepperId[\"Top\"] = \"Top\";\n CustomerTransitionWizardStepperId[\"Side\"] = \"Side\";\n})(CustomerTransitionWizardStepperId || (CustomerTransitionWizardStepperId = {}));\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport const withConfirmableCancel = (WrappedComponent) => {\n const WithConfirmableCancelClass = class WithConfirmableCancel extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null,\n React.createElement(WrappedComponent, { ...this.props, onCancel: this.interceptedOnCancel }),\n React.createElement(Lightbox, { show: this.state.isCancelling, onClose: this.toggleCancelling },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(\"div\", null,\n React.createElement(\"h3\", null, this.props.confirmableCancelHeader),\n React.createElement(\"p\", null, this.props.confirmableCancelInfo),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-secondary large\", onClick: this.onCancelConfirmed }, this.props.confirmableCancelConfirmBtnLabel)),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-primary large\", onClick: this.toggleCancelling }, this.props.confirmableCancelCancelBtnLabel))))))));\n }\n interceptedOnCancel() {\n this.toggleCancelling();\n }\n onCancelConfirmed() {\n this.updateStatePart(x => x.isCancelling = false, this.props.onCancel);\n }\n toggleCancelling() {\n this.updateStatePart(x => x.isCancelling = !x.isCancelling);\n }\n getDefaultState() {\n return { isCancelling: false };\n }\n bindPrivateMethods() {\n this.toggleCancelling = this.toggleCancelling.bind(this);\n this.interceptedOnCancel = this.interceptedOnCancel.bind(this);\n this.onCancelConfirmed = this.onCancelConfirmed.bind(this);\n }\n };\n return WithConfirmableCancelClass;\n};\n","import React from \"react\";\nimport { CustomerHelpSection } from \"./../../../Shared/Common/Components/Layout/Shared/HelpSections/CustomerHelpSection\";\nimport { DetailedSideWizardStepperUI } from \"./../../../Shared/WizardSteppers/Components/DetailedSideWizardStepperUI\";\nimport { Content } from \"./../../Resources/Content\";\nimport { TopWizardStepperUI } from \"./../../../Shared/WizardSteppers/Components/TopWizardStepperUI\";\nimport { CustomerTransitionWizardStepperId } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepperId\";\nimport { WizardSectionLayout as WizardSectionLayout__alias1 } from \"./../../../Shared/WizardSteppers/OMW/Components/WizardSectionLayout\";\nimport { withConfirmableCancel } from \"./../../../Shared/WizardSteppers/OMW/Components/withConfirmableCancel\";\nconst WizardSectionLayoutWithConfirmableCancel = withConfirmableCancel(WizardSectionLayout__alias1);\nexport const WizardSectionLayout = (props) => {\n return (React.createElement(WizardSectionLayoutWithConfirmableCancel, { ...props, topStepperId: CustomerTransitionWizardStepperId.Top, topStepperUI: TopWizardStepperUI, sideStepperHeader: Content.wizardStepper.progress, sideStepperId: CustomerTransitionWizardStepperId.Side, sideStepperUI: DetailedSideWizardStepperUI, sidePanelHeader: props.userName, helpSection: CustomerHelpSection, confirmableCancelHeader: Content.wizard.common.cancelWizardWarningHeader, confirmableCancelInfo: Content.wizard.common.cancelWizardWarningInfo, confirmableCancelConfirmBtnLabel: Content.wizard.common.logout, confirmableCancelCancelBtnLabel: Content.wizard.common.cancel }));\n};\n","export var CustomerTransitionWizardStepType;\n(function (CustomerTransitionWizardStepType) {\n CustomerTransitionWizardStepType[\"NotSpecified\"] = \"NotSpecified\";\n CustomerTransitionWizardStepType[\"PhoneNumbersSelection\"] = \"PhoneNumbersSelection\";\n CustomerTransitionWizardStepType[\"PhoneNumberVerification\"] = \"PhoneNumberVerification\";\n})(CustomerTransitionWizardStepType || (CustomerTransitionWizardStepType = {}));\n","import React from \"react\";\nimport { PumaCurrentCustomerUserTransitionCompletionErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaCurrentCustomerUserTransitionCompletionErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaCurrentCustomerUserTransitionCompletionActionsCreator } from \"./../../ActionsCreators/PumaCurrentCustomerUserTransitionCompletionActionsCreator\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { TransitionSuccess } from \"./../../../Shared/UserTransition/Components/TransitionSuccess\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { SmsAuthentication } from \"./../../../Shared/Authentication/Sms/Components/SmsAuthentication\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerTransitionWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class PhoneNumberVerificationWizardSection extends FormComponent {\n _currentStepId = CustomerTransitionWizardStepType.PhoneNumberVerification;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.wizardStepper.header, userName: this.props.wizardData.transitionData.user.Username, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: true, canContinue: false, canSaveAndExit: false, confirmButtonLabel: Content.wizard.phoneNumberVerification.confirmButtonLabel, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), onCancel: this.props.navigationActions.cancel, onConfirm: this.validateAuthCode, pageTitle: Content.pageTitles.phoneNumberVerification },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(SmsAuthentication, { actionToConfirm: PumaConfirmationTokenSupportedAction.PumaUserTransitionCompletion, pumaUserId: this.props.wizardData.transitionData.user.PumaUserId, authCode: this.state.smsAuthCode, onConfirmationTokenChange: token => this.updateStatePart(x => x.confirmationToken = token), onAuthCodeChange: smsAuthCode => this.updateStatePart(x => x.smsAuthCode = smsAuthCode) }))),\n React.createElement(Lightbox, { show: this.state.isTransitionSuccessfullyFinished, onClose: this.redirectToTermsAndConditions },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(TransitionSuccess, { pumaUserType: PumaUserType.Customer, onClose: this.redirectToTermsAndConditions }))))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n return this.state.confirmationToken != null; //might happen if sms was not sent\n }\n validateAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.smsAuthCode })\n .onSuccess((result) => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.confirm();\n return;\n }\n this.updateStatePart(x => {\n x.validationErrors = [Content.wizard.phoneNumberVerification.authenticationFailed];\n x.isLoading = this.isAnyStoreLoading();\n });\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n confirm() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaCurrentCustomerUserTransitionCompletionActionsCreator.submit({\n ConfirmationToken: {\n TokenValue: this.state.confirmationToken.tokenValue\n }\n })\n .onSuccess(() => {\n this.updateStatePart(x => {\n x.isTransitionSuccessfullyFinished = true;\n x.isLoading = false;\n });\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaCurrentCustomerUserTransitionCompletionErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n redirectToTermsAndConditions() {\n this.updateStatePart(x => x.isLoading = true, () => {\n const urlsHelper = new SharedUrlsHelper();\n window.location.assign(urlsHelper.getTermsAndConditionsUrl());\n });\n }\n getDefaultState() {\n return {\n isTransitionSuccessfullyFinished: false,\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.validateAuthCode = this.validateAuthCode.bind(this);\n this.confirm = this.confirm.bind(this);\n this.redirectToTermsAndConditions = this.redirectToTermsAndConditions.bind(this);\n }\n}\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserPhoneNumberAmendmentErrors } from \"@/Wrap/Validation/Errors/User/Contacts/PumaUserPhoneNumberAmendmentErrors\";\nexport class PumaUserPhoneNumberAmendmentErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserPhoneNumberAmendmentErrors.ConfirmationTokenIsNotValid, Content.errors.yourAuthorisationHasExpired);\n map.set(PumaUserPhoneNumberAmendmentErrors.PhoneNumberDoesNotHaveValidFormat, Content.errors.phoneNumberHasWrongFormat);\n map.set(PumaUserPhoneNumberAmendmentErrors.PumaUserPhoneNumbersMustNotBeSame, Content.errors.pumaUserPhoneNumbersMustNotBeSame);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class CurrentPumaUserTransitionMfaPhoneNumberAmendmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(amendment) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/User/CurrentPumaUserTransitionMfaPhoneNumberAmendment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { amendment: amendment };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { CurrentPumaUserTransitionMfaPhoneNumberAmendmentClient } from \"@/Puma/Api/User/CurrentPumaUserTransitionMfaPhoneNumberAmendment\";\nexport class CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator {\n static update(amendment) {\n const client = new CurrentPumaUserTransitionMfaPhoneNumberAmendmentClient();\n return client.post(amendment);\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nexport const EditConfirmation = (props) => {\n let header = \"\";\n let message = \"\";\n switch (props.editedPhoneNumberType) {\n case PumaPhoneNumberType.Mobile: {\n header = Content.wizard.phoneNumbersSelection.editMobilePhoneNumber;\n message = Content.wizard.phoneNumbersSelection.mobilePhoneNumberUpdated;\n break;\n }\n case PumaPhoneNumberType.Home: {\n header = Content.wizard.phoneNumbersSelection.editHomePhoneNumber;\n message = Content.wizard.phoneNumbersSelection.homePhoneNumberUpdated;\n break;\n }\n }\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: \"pr-48\" }, header),\n React.createElement(\"div\", { className: \"alert-success is-acc large\", role: \"alert\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Success alert\"),\n React.createElement(\"p\", null, message)),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-primary large\", onClick: props.onClose }, Content.common.ok)))));\n};\n","import { CurrentPumaUserNonMfaPhoneNumberAmendmentClient } from \"@/Puma/Api/User/CurrentPumaUserNonMfaPhoneNumberAmendment\";\nexport class CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator {\n static update(amendment) {\n const client = new CurrentPumaUserNonMfaPhoneNumberAmendmentClient();\n return client.post(amendment);\n }\n static delete(amendment) {\n const client = new CurrentPumaUserNonMfaPhoneNumberAmendmentClient();\n return client.delete(amendment);\n }\n}\n","import React from \"react\";\nimport { CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator } from \"./../../ActionsCreators/CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { TransitionSecurityQuestionAuthentication } from \"./../../../Shared/Authentication/TransitionSecurityQuestion/Components/TransitionSecurityQuestionAuthentication\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class DeletePhoneNumber extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? Content.wizard.phoneNumbersSelection.deleteHomePhoneNumber\n : Content.wizard.phoneNumbersSelection.deleteMobilePhoneNumber),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.hasBeenAuthenticated &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TransitionSecurityQuestionAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, securityAnswer: this.state.transitionSecurityAnswer, useCurrentUser: true, onSecurityAnswerChange: answer => this.updateStatePart(x => x.transitionSecurityAnswer = answer), onConfirmationTokenChange: token => this.updateStatePart(x => x.confirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary\", onClick: this.verifyAuthCode }, Content.wizard.phoneNumbersSelection.verify))),\n this.state.hasBeenAuthenticated &&\n React.createElement(\"div\", null,\n React.createElement(\"p\", null,\n this.props.phoneNumberType === PumaPhoneNumberType.Home &&\n React.createElement(\"span\", null,\n Content.wizard.phoneNumbersSelection.yourCurrentHomePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.HomePhoneNumber.Number)),\n this.props.phoneNumberType === PumaPhoneNumberType.Mobile &&\n React.createElement(\"span\", null,\n Content.wizard.phoneNumbersSelection.yourCurrentMobilePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.MobilePhoneNumber.Number))),\n React.createElement(Button, { className: \"btn-primary large\", onClick: this.submitChange }, Content.common.deleteLabel))));\n }\n verifyAuthCode() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.transitionSecurityAnswer })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.hasBeenAuthenticated = true;\n x.transitionSecurityAnswer = null;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Content.wizard.phoneNumbersSelection.authenticationFailed];\n }, Scroll.scrollTop);\n });\n });\n }\n else {\n Scroll.scrollTop();\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator.delete({\n PumaProcessIdentifier: this.props.pumaProcess.Identifier,\n PhoneNumberType: this.props.phoneNumberType\n }).onSuccess(amendment => {\n this.props.onPhoneNumberUpdatedSuccessfully();\n }).onError(errors => {\n this.updateStatePart(x => {\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.verifyAuthCode = this.verifyAuthCode.bind(this);\n this.submitChange = this.submitChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { DeletePhoneNumber } from \"./DeletePhoneNumber\";\nimport { makeCurrentUserPumaProcess } from \"./../../../Shared/Processes/Components/makeCurrentUserPumaProcess\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class DeletePhoneNumberProcess extends FormComponent {\n DeletePhoneNumber;\n constructor(props) {\n super(props);\n this.DeletePhoneNumber = makeCurrentUserPumaProcess(DeletePhoneNumber);\n }\n render() {\n return (React.createElement(this.DeletePhoneNumber, { processType: PumaConfirmationTokenSupportedAction.PumaUserPhoneNumberAmendment, ...this.props }));\n }\n}\n","export class Content {\n static validation = {\n reCaptchaVerificationFailed: \"ReCaptcha verification failed\"\n };\n}\n","export var ReCaptchaValidationStatus;\n(function (ReCaptchaValidationStatus) {\n ReCaptchaValidationStatus[ReCaptchaValidationStatus[\"Unavailable\"] = 0] = \"Unavailable\";\n ReCaptchaValidationStatus[ReCaptchaValidationStatus[\"Success\"] = 1] = \"Success\";\n ReCaptchaValidationStatus[ReCaptchaValidationStatus[\"Failed\"] = 2] = \"Failed\";\n})(ReCaptchaValidationStatus || (ReCaptchaValidationStatus = {}));\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class ReCaptchaValidationClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(recaptchaResponse) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/ReCaptchaValidation/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { recaptchaResponse: recaptchaResponse };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const ReCaptchaConfigurationActionsDispatcher = new Dispatcher();\nexport const ReCaptchaConfigurationStore = new PayloadStore(ReCaptchaConfigurationActionsDispatcher);\n","import React from \"react\";\nimport { ReCaptchaConfigurationActionsCreator } from \"./../ActionsCreators/ReCaptchaConfigurationActionsCreators\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { ReCaptchaConfigurationStore } from \"./../Stores/ReCaptchaConfigurationStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class ReCaptchaWrapper extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.initReCaptchaScript();\n this.subscribeToStore(ReCaptchaConfigurationStore, this.onReCaptchaConfigurationStoreChange);\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(\"div\", { id: \"recaptcha\" })));\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.validationId\n && this.props.validationId !== nextProps.validationId\n && this.state.reCaptchaId != null) {\n grecaptcha.reset(this.state.reCaptchaId);\n this.props.onReCaptchaReset();\n }\n }\n initReCaptchaScript() {\n const script = document.createElement(\"script\");\n script.src = \"https://www.google.com/recaptcha/api.js?onload=loadRecaptchaConfiguration&render=explicit\";\n script.async = true;\n script.defer = true;\n document.body.appendChild(script);\n }\n onReCaptchaConfigurationStoreChange() {\n if (!ReCaptchaConfigurationStore.isLoading()) {\n const reCaptchaSiteKey = ReCaptchaConfigurationStore.getPayload().SiteKey;\n this.updateStatePart(x => {\n x.reCaptchaSiteKey = reCaptchaSiteKey;\n x.isLoading = this.isAnyStoreLoading();\n }, () => {\n const reCaptchaId = grecaptcha.render(\"recaptcha\", {\n sitekey: reCaptchaSiteKey,\n callback: this.props.onReCaptchaResultReceived,\n \"expired-callback\": this.props.onReCaptchaResultExpired\n });\n this.updateStatePart(x => x.reCaptchaId = reCaptchaId);\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.initReCaptchaScript = this.initReCaptchaScript.bind(this);\n this.onReCaptchaConfigurationStoreChange = this.onReCaptchaConfigurationStoreChange.bind(this);\n }\n}\n// ReCaptcha API requires this to be outside of any namespace (https://github.com/vikas0253/recaptcha/issues/232)\nconst loadRecaptchaConfiguration = function () {\n ReCaptchaConfigurationActionsCreator.load();\n};\n","import React from \"react\";\nimport { Guid } from \"@/react-core/Utils/Guid\";\nimport { Content } from \"./../Resources/Content\";\nimport { ReCaptchaValidationStatus } from \"@/Puma/Site/Models/Security/ReCaptcha/ReCaptchaValidationStatus\";\nimport { ReCaptchaValidationClient } from \"@/Puma/Api/Security/ReCaptchaValidation\";\nimport { ReCaptchaWrapper } from \"./ReCaptchaWrapper\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport function makeReCaptchaGuardedComponent(ComponentToWrap) {\n const ReCaptchaGuardedComponent = class ReCaptchaGuardedComponent extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = {\n incorrectRetriesCount: 0,\n reCaptchaResponse: null,\n retryId: \"0\",\n validationErrors: [],\n isLoading: false,\n };\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(ComponentToWrap, { ...this.props, validateReCaptchaAndSubmitIsDisabled: this.props\n .maxIncorrectRetriesCountBeforeReCaptchaIsRequired <=\n this.state.incorrectRetriesCount &&\n this.state.reCaptchaResponse === null, onValidateReCaptchaAndSubmit: () => this.onValidateReCaptchaAndSubmit() }, this.props\n .maxIncorrectRetriesCountBeforeReCaptchaIsRequired <=\n this.state.incorrectRetriesCount && (React.createElement(ReCaptchaWrapper, { validationId: this.state.retryId, onReCaptchaReset: () => this.updateStatePart((s) => (s.reCaptchaResponse = null)), onReCaptchaResultExpired: () => this.updateStatePart((s) => (s.reCaptchaResponse = null)), onReCaptchaResultReceived: (res) => this.updateStatePart((s) => (s.reCaptchaResponse = res)) })))));\n }\n onValidateReCaptchaAndSubmit() {\n this.updateStatePart((s) => (s.isLoading = true), () => {\n if (this.props\n .maxIncorrectRetriesCountBeforeReCaptchaIsRequired <=\n this.state.incorrectRetriesCount) {\n const reCaptchaValidationClient = new ReCaptchaValidationClient();\n reCaptchaValidationClient\n .post(this.state.reCaptchaResponse)\n .onSuccess((result) => {\n if (result.Status ===\n ReCaptchaValidationStatus.Success) {\n this.performSubmit().onFinish(() => this.updateStatePart((s) => (s.isLoading = false)));\n }\n else {\n this.updateStatePart((s) => {\n s.validationErrors = [\n Content.validation\n .reCaptchaVerificationFailed,\n ];\n s.incorrectRetriesCount =\n s.incorrectRetriesCount + 1;\n s.isLoading = false;\n s.retryId = Guid.getNext();\n });\n }\n });\n }\n else {\n this.performSubmit().onFinish(() => this.updateStatePart((s) => (s.isLoading = false)));\n }\n });\n }\n performSubmit() {\n return this.props.onSubmit().onError((e) => {\n if (e.submitPerformed) {\n this.updateStatePart((s) => {\n s.incorrectRetriesCount += 1;\n s.retryId = Guid.getNext();\n });\n }\n });\n }\n };\n return ReCaptchaGuardedComponent;\n}\n","import React from \"react\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { TransitionSecurityQuestionAuthentication } from \"./../../../Shared/Authentication/TransitionSecurityQuestion/Components/TransitionSecurityQuestionAuthentication\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { makeReCaptchaGuardedComponent } from \"./../../../Shared/ReCaptcha/Components/makeReCaptchaGuardedComponent\";\nexport class ReCaptchaGuardedTransitionSecurityQuestionAuthentication extends BaseComponent {\n UnderlyingComponent;\n render() {\n return React.createElement(this.UnderlyingComponent, { ...this.props });\n }\n componentWillMount() {\n super.componentWillMount();\n this.UnderlyingComponent = makeReCaptchaGuardedComponent(ReCaptchaGuardedTransitionSecurityQuestionAuthenticationUnderlyingComponent);\n }\n}\nclass ReCaptchaGuardedTransitionSecurityQuestionAuthenticationUnderlyingComponent extends BaseComponent {\n render() {\n return (React.createElement(Form, { onSubmit: () => {\n if (!this.props.validateReCaptchaAndSubmitIsDisabled) {\n this.props.onValidateReCaptchaAndSubmit();\n }\n } },\n React.createElement(TransitionSecurityQuestionAuthentication, { pumaProcessIdentifier: this.props.pumaProcessIdentifier, actionToConfirm: this.props.actionToConfirm, useCurrentUser: true, securityAnswer: this.props.transitionSecurityAnswer, onSecurityAnswerChange: answer => this.props.onTransitionSecurityAnswerChange(answer), onConfirmationTokenChange: token => this.props.onConfirmationTokenChange(token) }),\n React.createElement(\"div\", { className: \"vspace-12\" }, this.props.children),\n React.createElement(Button, { type: \"submit\", className: \"btn primary\", disabled: this.props.validateReCaptchaAndSubmitIsDisabled }, Content.wizard.phoneNumbersSelection.verify)));\n }\n}\n","import React from \"react\";\nimport { PumaUserPhoneNumberAmendmentErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaUserPhoneNumberAmendmentErrorsDictionary\";\nimport { CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator } from \"./../../ActionsCreators/CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator\";\nimport { PumaConfirmationTokenVerificationErrorsDictionary } from \"./../../../Shared/Authentication/Shared/Entities/ErrorsDictionaries/PumaConfirmationTokenVerificationErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { Promise } from \"@/react-core/Async/Promise\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { CountryCode } from \"@/Wrap/Constants/Enums/Domain/CountryCode\";\nimport { PumaPhoneNumberPicker } from \"./../../../Shared/Common/Components/PhoneNumbers/PumaPhoneNumberPicker\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { ReCaptchaGuardedTransitionSecurityQuestionAuthentication } from \"./ReCaptchaGuardedTransitionSecurityQuestionAuthentication\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditPhoneNumber extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? Content.wizard.phoneNumbersSelection.editHomePhoneNumber\n : Content.wizard.phoneNumbersSelection.editMobilePhoneNumber),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.hasBeenAuthenticated &&\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(ReCaptchaGuardedTransitionSecurityQuestionAuthentication, { pumaProcessIdentifier: this.props.pumaProcess.Identifier, actionToConfirm: this.props.pumaProcess.ProcessType, transitionSecurityAnswer: this.state.transitionSecurityAnswer, maxIncorrectRetriesCountBeforeReCaptchaIsRequired: 3, onConfirmationTokenChange: token => this.updateStatePart(s => s.confirmationToken = token), onSubmit: () => this.verifyAuthCode(), onTransitionSecurityAnswerChange: answer => this.updateStatePart(s => s.transitionSecurityAnswer = answer) }))),\n this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n React.createElement(\"p\", null,\n this.props.phoneNumberType === PumaPhoneNumberType.Home &&\n React.createElement(\"span\", null,\n Content.wizard.phoneNumbersSelection.yourCurrentHomePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.HomePhoneNumber && this.props.user.ContactDetails.HomePhoneNumber.Number)),\n this.props.phoneNumberType === PumaPhoneNumberType.Mobile &&\n React.createElement(\"span\", null,\n Content.wizard.phoneNumbersSelection.yourCurrentMobilePhoneNumber,\n React.createElement(\"strong\", null, this.props.user.ContactDetails.MobilePhoneNumber && this.props.user.ContactDetails.MobilePhoneNumber.Number))),\n React.createElement(PumaPhoneNumberPicker, { defaultDialingCodeCountry: CountryCode.GBR, label: Content.wizard.phoneNumbersSelection.yourNewPhoneNumber, pumaPhoneNumber: this.state.newPhoneNumber, showMfaPicker: false, mfaLabel: null, isUsedForMfa: null, onIsUsedForMfaChange: () => { throw \"MFA should not be updatable here\"; }, onPumaPhoneNumberChange: (phoneNumber) => this.updateStatePart(x => x.newPhoneNumber = phoneNumber) }),\n React.createElement(Button, { className: \"btn-primary large\", type: \"submit\" }, Content.common.save))));\n }\n verifyAuthCode() {\n const result = new Promise((onSucc, onErr) => {\n setTimeout(() => {\n if (!this.isValid()) {\n onErr({ submitPerformed: false });\n return;\n }\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.transitionSecurityAnswer })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.hasBeenAuthenticated = true;\n x.transitionSecurityAnswer = null;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Content.wizard.phoneNumbersSelection.authenticationFailed];\n }, () => onErr({ submitPerformed: true }));\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaConfirmationTokenVerificationErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = this.isAnyStoreLoading();\n }, () => onErr({ submitPerformed: true }));\n });\n });\n }, 0);\n });\n return result;\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator.update({\n PumaProcessIdentifier: this.props.pumaProcess.Identifier,\n Amendment: {\n Number: this.state.newPhoneNumber.internationalDialingCode.Code + this.state.newPhoneNumber.phoneNumber,\n Type: this.props.phoneNumberType\n }\n }).onSuccess(amendment => {\n this.props.onPhoneNumberUpdatedSuccessfully();\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserPhoneNumberAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n newPhoneNumber: { internationalDialingCode: {} }\n };\n }\n bindPrivateMethods() {\n this.verifyAuthCode = this.verifyAuthCode.bind(this);\n this.submitChange = this.submitChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { EditPhoneNumber } from \"./EditPhoneNumber\";\nimport { makeCurrentUserPumaProcess } from \"./../../../Shared/Processes/Components/makeCurrentUserPumaProcess\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditPhoneNumberProcess extends FormComponent {\n EditPhoneNumber;\n constructor(props) {\n super(props);\n this.EditPhoneNumber = makeCurrentUserPumaProcess(EditPhoneNumber);\n }\n render() {\n return (React.createElement(this.EditPhoneNumber, { processType: PumaConfirmationTokenSupportedAction.PumaUserPhoneNumberAmendment, ...this.props }));\n }\n}\n","export var PhoneNumberEditType;\n(function (PhoneNumberEditType) {\n PhoneNumberEditType[PhoneNumberEditType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PhoneNumberEditType[PhoneNumberEditType[\"Edit\"] = 1] = \"Edit\";\n PhoneNumberEditType[PhoneNumberEditType[\"Delete\"] = 2] = \"Delete\";\n})(PhoneNumberEditType || (PhoneNumberEditType = {}));\n","import React from \"react\";\nimport { DeletePhoneNumberProcess } from \"./DeletePhoneNumberProcess\";\nimport { EditPhoneNumberProcess } from \"./EditPhoneNumberProcess\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { MfaRadioPicker } from \"./../../../Shared/Common/Components/PhoneNumbers/MfaRadioPicker\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { PhoneNumberEditType } from \"./../../Entities/PhoneNumbersSelection/PhoneNumberEditType\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nexport class PhoneNumber extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n const phoneNumber = this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? this.props.user.ContactDetails.HomePhoneNumber\n : this.props.user.ContactDetails.MobilePhoneNumber;\n return (React.createElement(Div, null,\n React.createElement(\"div\", { className: \"control-label\" },\n React.createElement(\"h3\", null, this.props.phoneNumberType === PumaPhoneNumberType.Home\n ? Content.wizard.phoneNumbersSelection.homePhoneNumber\n : Content.wizard.phoneNumbersSelection.mobilePhoneNumber)),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-xs-4 text-size-16 text-bold\" },\n React.createElement(\"p\", null, phoneNumber && phoneNumber.Number)),\n React.createElement(\"div\", { className: \"col-fluid\" }, phoneNumber && phoneNumber.Number &&\n React.createElement(MfaRadioPicker, { isMfaSet: this.props.mfaPhoneNumberType === this.props.phoneNumberType, label: Content.wizard.phoneNumbersSelection.sendCodeToThisPhone, onMfaSet: () => this.props.onMfaPhoneNumberTypeChange(this.props.phoneNumberType) })),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing(PhoneNumberEditType.Edit) }, phoneNumber ? Content.wizard.phoneNumbersSelection.editNumber : Content.wizard.phoneNumbersSelection.addNumber)),\n phoneNumber && phoneNumber.Number &&\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing(PhoneNumberEditType.Delete) }, Content.common.deleteLabel))),\n React.createElement(Lightbox, { show: this.state.isEditing, onClose: this.stopEditing },\n React.createElement(Div, { className: \"lightbox-content\" },\n this.state.editType === PhoneNumberEditType.Edit &&\n React.createElement(EditPhoneNumberProcess, { pumaProcess: null, phoneNumberType: this.props.phoneNumberType, user: this.props.user, onPhoneNumberUpdatedSuccessfully: this.onPhoneNumberSuccessfullyUpdated, onCancel: this.stopEditing }),\n this.state.editType === PhoneNumberEditType.Delete &&\n React.createElement(DeletePhoneNumberProcess, { pumaProcess: null, phoneNumberType: this.props.phoneNumberType, user: this.props.user, onPhoneNumberUpdatedSuccessfully: this.onPhoneNumberSuccessfullyUpdated, onCancel: this.stopEditing })))));\n }\n stopEditing() {\n this.updateStatePart(x => {\n x.isEditing = false;\n x.editType = PhoneNumberEditType.NotSpecified;\n });\n }\n startEditing(editType) {\n this.updateStatePart(x => {\n x.isEditing = true;\n x.editType = editType;\n });\n }\n onPhoneNumberSuccessfullyUpdated() {\n this.updateStatePart(x => {\n x.isEditing = false;\n x.editType = PhoneNumberEditType.NotSpecified;\n }, () => this.props.onPumaPhoneNumberChange());\n }\n getDefaultState() {\n return {\n isEditing: false,\n editType: PhoneNumberEditType.NotSpecified\n };\n }\n bindPrivateMethods() {\n this.startEditing = this.startEditing.bind(this);\n this.stopEditing = this.stopEditing.bind(this);\n this.onPhoneNumberSuccessfullyUpdated = this.onPhoneNumberSuccessfullyUpdated.bind(this);\n }\n}\n","import React from \"react\";\nimport { PumaUserPhoneNumberAmendmentErrorsDictionary } from \"./../../Entities/ErrorDictionaries/PumaUserPhoneNumberAmendmentErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator } from \"./../../ActionsCreators/CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator\";\nimport { EditConfirmation } from \"./../PhoneNumbersSelection/EditConfirmation\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { PhoneNumber } from \"./../PhoneNumbersSelection/PhoneNumber\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerTransitionWizardStepType } from \"./../../Entities/WizardStepper/CustomerRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { PumaPhoneNumberType } from \"@/Wrap/Constants/Enums/AccountRegistration/PumaPhoneNumberType\";\nexport class PhoneNumbersSelectionWizardSection extends FormComponent {\n _currentStepId = CustomerTransitionWizardStepType.PhoneNumbersSelection;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const { user, mfaPhoneNumber } = this.props.wizardData.transitionData;\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.wizardStepper.header, userName: this.props.wizardData.transitionData.user.Username, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: true, canSaveAndExit: false, onContinue: this.navigateNext, onCancel: this.props.navigationActions.cancel, pageTitle: Content.pageTitles.phoneNumbersSelection },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"div\", null,\n React.createElement(\"p\", { className: \"text-size-14 mb-8\" }, Content.wizard.phoneNumbersSelection.sectionInfo),\n React.createElement(\"p\", { className: \"text-size-14 mb-16\" }, Content.wizard.phoneNumbersSelection.sectionInfo2),\n React.createElement(\"div\", { className: \"alert-info is-acc\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Info alert\"),\n React.createElement(\"p\", null, Content.wizard.phoneNumbersSelection.mobilePhoneIsRecommendedForMfaInfo)),\n React.createElement(PhoneNumber, { user: user, phoneNumberType: PumaPhoneNumberType.Mobile, mfaPhoneNumberType: this.state.userSelectedMfaNumberType, onPumaPhoneNumberChange: () => this.showEditConfirmationLightbox(PumaPhoneNumberType.Mobile), onMfaPhoneNumberTypeChange: this.updateUserSelectedMfaNumberType }),\n React.createElement(PhoneNumber, { user: user, phoneNumberType: PumaPhoneNumberType.Home, mfaPhoneNumberType: this.state.userSelectedMfaNumberType, onPumaPhoneNumberChange: () => this.showEditConfirmationLightbox(PumaPhoneNumberType.Home), onMfaPhoneNumberTypeChange: this.updateUserSelectedMfaNumberType }),\n React.createElement(Lightbox, { show: this.state.showConfirmationLightbox, onClose: this.closeEditConfirmationLightbox },\n React.createElement(Div, { className: \"lightbox-content\" },\n React.createElement(EditConfirmation, { editedPhoneNumberType: this.state.editedPhoneNumberType, onClose: this.closeEditConfirmationLightbox })))))));\n }\n componentDidMount() {\n const defaultedMfaNumberType = this.tryToGetDefaultUserSelectedMfaNumberType(this.props);\n this.updateStatePart(x => x.userSelectedMfaNumberType = defaultedMfaNumberType);\n }\n componentWillReceiveProps(nextProps) {\n const defaultedMfaNumberType = this.tryToGetDefaultUserSelectedMfaNumberType(nextProps);\n this.updateStatePart(x => x.userSelectedMfaNumberType = defaultedMfaNumberType);\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors.length <= 0;\n }\n validate() {\n if (this.state.userSelectedMfaNumberType == PumaPhoneNumberType.NotSpecified) {\n return [Content.wizard.phoneNumbersSelection.mfaIsMandatory];\n }\n return [];\n }\n navigateNext() {\n if (this.isValid()) {\n const newMfaNumber = this.state.userSelectedMfaNumberType === PumaPhoneNumberType.Home\n ? this.props.wizardData.transitionData.user.ContactDetails.HomePhoneNumber\n : this.props.wizardData.transitionData.user.ContactDetails.MobilePhoneNumber;\n if (this.props.wizardData.transitionData.mfaPhoneNumber &&\n this.props.wizardData.transitionData.mfaPhoneNumber.Number === newMfaNumber.Number) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n return;\n }\n this.updateStatePart(x => x.isLoading = true, () => {\n CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator.update({\n PhoneNumberType: this.state.userSelectedMfaNumberType\n }).onSuccess(amendment => {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }).onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserPhoneNumberAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n tryToGetDefaultUserSelectedMfaNumberType(props) {\n const { user, mfaPhoneNumber } = props.wizardData.transitionData;\n if (this.state.userSelectedMfaNumberType === PumaPhoneNumberType.Home\n && user.ContactDetails.HomePhoneNumber && user.ContactDetails.HomePhoneNumber.Number) {\n return this.state.userSelectedMfaNumberType;\n }\n if (this.state.userSelectedMfaNumberType === PumaPhoneNumberType.Mobile\n && user.ContactDetails.MobilePhoneNumber && user.ContactDetails.MobilePhoneNumber.Number) {\n return this.state.userSelectedMfaNumberType;\n }\n if (mfaPhoneNumber && mfaPhoneNumber.Number) {\n if (user.ContactDetails.HomePhoneNumber && user.ContactDetails.HomePhoneNumber.Number === mfaPhoneNumber.Number) {\n return PumaPhoneNumberType.Home;\n }\n if (user.ContactDetails.MobilePhoneNumber && user.ContactDetails.MobilePhoneNumber.Number === mfaPhoneNumber.Number) {\n return PumaPhoneNumberType.Mobile;\n }\n return PumaPhoneNumberType.NotSpecified;\n }\n if (user.ContactDetails.MobilePhoneNumber && user.ContactDetails.MobilePhoneNumber.Number) {\n return PumaPhoneNumberType.Mobile;\n }\n return PumaPhoneNumberType.NotSpecified;\n }\n updateUserSelectedMfaNumberType(mfaNumberType) {\n this.updateStatePart(x => x.userSelectedMfaNumberType = mfaNumberType);\n }\n closeEditConfirmationLightbox() {\n this.updateStatePart(x => {\n x.showConfirmationLightbox = false;\n x.editedPhoneNumberType = PumaPhoneNumberType.NotSpecified;\n });\n }\n showEditConfirmationLightbox(editedPhoneNumberType) {\n this.updateStatePart(x => {\n x.showConfirmationLightbox = true;\n x.editedPhoneNumberType = editedPhoneNumberType;\n }, this.props.wizardData.onUserDataRefresh);\n }\n getDefaultState() {\n return {\n editedPhoneNumberType: PumaPhoneNumberType.NotSpecified,\n userSelectedMfaNumberType: PumaPhoneNumberType.NotSpecified,\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.closeEditConfirmationLightbox = this.closeEditConfirmationLightbox.bind(this);\n this.showEditConfirmationLightbox = this.showEditConfirmationLightbox.bind(this);\n this.tryToGetDefaultUserSelectedMfaNumberType = this.tryToGetDefaultUserSelectedMfaNumberType.bind(this);\n this.updateUserSelectedMfaNumberType = this.updateUserSelectedMfaNumberType.bind(this);\n this.navigateNext = this.navigateNext.bind(this);\n }\n}\n","export const DefaultValues = {\n pumaCustomerUser: {\n ContactDetails: {\n HomePhoneNumber: {},\n MobilePhoneNumber: {}\n },\n PersonalDetails: {}\n }\n};\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const CustomerTransitionDataActionsDispatcher = new Dispatcher();\nexport const CustomerTransitionDataStore = new PayloadStore(CustomerTransitionDataActionsDispatcher);\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { CustomerTransitionDataStore, CustomerTransitionDataActionsDispatcher } from \"./../Stores/CustomerTransitionDataStore\";\nimport { Objects } from \"@/react-core/Utils/Objects\";\nimport { CurrentPumaUserSmsAuthenticationPhoneNumberClient } from \"@/Puma/Api/User/CurrentPumaUserSmsAuthenticationPhoneNumber\";\nimport { CurrentPumaCustomerUserClient } from \"@/Puma/Api/Customer/CurrentPumaCustomerUser\";\nimport { PromisesGroup } from \"@/react-core/Async/PromisesGroup\";\nexport class CustomerTransitionDataActionsCreator {\n static load() {\n CustomerTransitionDataActionsCreator.startLoading();\n const group = new PromisesGroup();\n group.addPromiseFunction(() => {\n const client = new CurrentPumaCustomerUserClient();\n return client.get();\n }, (user, currentResult) => currentResult.user = user);\n group.addPromiseFunction(() => {\n const client = new CurrentPumaUserSmsAuthenticationPhoneNumberClient();\n return client.get();\n }, (mfa, currentResult) => currentResult.mfaPhoneNumber = mfa);\n group.onSuccess(CustomerTransitionDataActionsCreator.updateStoreOnSuccess);\n group.run();\n }\n static reloadUser() {\n const client = new CurrentPumaCustomerUserClient();\n CustomerTransitionDataActionsCreator.startLoading();\n client\n .get()\n .onSuccess(customerUser => {\n const copiedTransitionData = Objects.cloneObject(CustomerTransitionDataStore.getPayload());\n copiedTransitionData.user = customerUser;\n CustomerTransitionDataActionsCreator.updateStoreOnSuccess(copiedTransitionData);\n });\n }\n static updateStoreOnSuccess(transitionData) {\n CustomerTransitionDataActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: transitionData });\n }\n static startLoading() {\n CustomerTransitionDataActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Urls } from \"./../../Urls\";\nimport { Content } from \"./../../Resources/Content\";\nimport { CustomerTransitionWizardStepType } from \"./CustomerRegistrationWizardStepType\";\nexport const WizardStepsProvider = () => {\n const stepDefinitions = [];\n stepDefinitions.push({\n id: CustomerTransitionWizardStepType.PhoneNumbersSelection,\n title: Content.wizardStepper.phoneNumbersSelection,\n url: {\n routeFragment: Urls.get().wizard.phoneNumbersSelection,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: CustomerTransitionWizardStepType.PhoneNumberVerification,\n title: Content.wizardStepper.phoneNumberVerification,\n url: {\n routeFragment: Urls.get().wizard.phoneNumberVerification,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.map(x => {\n x.onVisit = () => Navigator.navigateToAndPreserveQueryParameters(x.url.routeFragment);\n });\n return stepDefinitions;\n};\n","import { firstOrDefault, getNextItem, getPreviousItem } from \"@/react-core/Utils/Arrays\";\nimport { WizardNavigator } from \"./Navigation/WizardNavigator\";\nimport { WizardStepDefinitionsActionsCreator } from \"./../ActionsCreators/WizardStepDefinitionsActionsCreator\";\nexport class WizardStepsController {\n _stepsProvider;\n constructor(stepsProvider) {\n this._stepsProvider = stepsProvider;\n this.bindPrivateMethods();\n }\n init(data) {\n const stepDefinitions = this._stepsProvider(data);\n WizardStepDefinitionsActionsCreator.update(stepDefinitions);\n }\n navigateToFirstStep(data) {\n const stepDefinitions = this._stepsProvider(data);\n const firstStep = stepDefinitions[0];\n WizardNavigator.navigateToWizardStep(firstStep);\n }\n navigateToNextStep(currentStepId, data) {\n const stepDefinitions = this._stepsProvider(data);\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n const nextStep = getNextItem(stepDefinitions, currentStep);\n WizardNavigator.navigateToWizardStep(nextStep);\n }\n navigateToPreviousStep(currentStepId, data) {\n const stepDefinitions = this._stepsProvider(data);\n const currentStep = firstOrDefault(stepDefinitions, x => x.id === currentStepId);\n const previous = getPreviousItem(stepDefinitions, currentStep);\n WizardNavigator.navigateToWizardStep(previous);\n }\n bindPrivateMethods() {\n this.init = this.init.bind(this);\n this.navigateToNextStep = this.navigateToNextStep.bind(this);\n this.navigateToPreviousStep = this.navigateToPreviousStep.bind(this);\n }\n}\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { CustomerTransitionDataActionsCreator } from \"./../ActionsCreators/CustomerTransitionDataActionsCreator\";\nimport { PublicWizardSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicWizardSiteLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { CustomerTransitionDataStore } from \"./../Stores/CustomerTransitionDataStore\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { WizardStepsController } from \"./../../Shared/WizardSteppers/Entities/WizardStepsController\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Wizard extends BaseComponent {\n _wizardStepsController;\n constructor(props) {\n super(props);\n this._wizardStepsController = new WizardStepsController(WizardStepsProvider);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n this.subscribeToStore(CustomerTransitionDataStore, this.onCustomerTransitionDataStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(PublicWizardSiteLayout, null, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n wizardData: {\n transitionData: this.state.transitionData,\n onUserDataRefresh: this.reloadUserData\n },\n navigationActions: {\n navigateNext: this._wizardStepsController.navigateToNextStep,\n navigateBack: this._wizardStepsController.navigateToPreviousStep,\n cancel: this.logout\n }\n }))));\n }\n componentDidMount() {\n this._wizardStepsController.init();\n CustomerTransitionDataActionsCreator.load();\n }\n onCustomerTransitionDataStoreChange() {\n if (!CustomerTransitionDataStore.isLoading()) {\n this.updateStatePart(x => {\n x.transitionData = CustomerTransitionDataStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n reloadUserData() {\n CustomerTransitionDataActionsCreator.reloadUser();\n }\n logout() {\n this.updateStatePart(x => x.isLoading = true, () => window.location.assign((new SharedUrlsHelper()).getLogoutUrl()));\n }\n getDefaultState() {\n return {\n transitionData: {\n user: DefaultValues.pumaCustomerUser,\n mfaPhoneNumber: {}\n }\n };\n }\n bindPrivateMethods() {\n this.logout = this.logout.bind(this);\n this.onCustomerTransitionDataStoreChange = this.onCustomerTransitionDataStoreChange.bind(this);\n this.reloadUserData = this.reloadUserData.bind(this);\n }\n}\n","import React from \"react\";\nimport { Div } from \"./Div\";\nexport class Anchor extends React.Component {\n constructor(props) {\n super(props);\n this.onClick = this.onClick.bind(this);\n this.state = { wasClicked: false };\n }\n render() {\n return (React.createElement(Div, { isLoading: this.props.showLoadingIndicatorOnClick && this.state.wasClicked, isBlocking: true },\n React.createElement(\"a\", { ...this.props, onClick: this.onClick }, this.props.children)));\n }\n onClick(e) {\n this.setState({ wasClicked: true });\n this.props.onClick(e);\n }\n}\n","import React from \"react\";\nimport { Anchor } from \"@/react-core/Html/Anchor\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nimport { PageTitleUpdateComponent } from \"./../../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { PublicSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicSiteLayout\";\nimport { Urls } from \"./../Urls\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nexport const WelcomePage = (props) => {\n function startWizard() {\n RoutingActions.navigateTo(Urls.get().wizard.getUrl());\n }\n function logout() {\n window.location.assign(new SharedUrlsHelper().getLogoutUrl());\n }\n return (React.createElement(PublicSiteLayout, null,\n React.createElement(PageTitleUpdateComponent, { title: Content.pageTitles.welcome }),\n React.createElement(\"section\", null,\n React.createElement(\"h1\", { className: \"heading-page\" }, Content.welcomePage.header),\n React.createElement(\"h3\", { className: \"heading-section\" }, Content.welcomePage.subHader),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-8\" },\n React.createElement(\"p\", { className: \"text-size-14\" }, Content.welcomePage.transitionProcessInfo),\n React.createElement(\"p\", { className: \"text-size-14\" }, Content.welcomePage.transitionProcesssInfo2),\n React.createElement(\"ul\", { className: \"text-size-14 mb-48\" },\n React.createElement(\"li\", null, Content.welcomePage.listItem1),\n React.createElement(\"li\", null, Content.welcomePage.listItem2),\n React.createElement(\"li\", null, Content.welcomePage.listItem3)))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-auto\" },\n React.createElement(Button, { className: \"btn primary large\", onClick: startWizard }, Content.welcomePage.startButton)),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-auto\" },\n React.createElement(Anchor, { className: \"btn secondary large\", onClick: logout, showLoadingIndicatorOnClick: true }, Content.welcomePage.logOutButton))))));\n};\n","import React from \"react\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null, this.props.children));\n }\n getDefaultState() {\n return {};\n }\n}\n","import { PhoneNumberVerificationWizardSection } from \"./Components/WizardSections/PhoneNumberVerificationWizardSection\";\nimport { PhoneNumbersSelectionWizardSection } from \"./Components/WizardSections/PhoneNumbersSelectionWizardSection\";\nimport { Wizard } from \"./Components/Wizard\";\nimport { WelcomePage } from \"./Components/WelcomePage\";\nimport { App } from \"./App\";\nimport { RootRoute, NestedRouteFragment } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, WelcomePage);\n }\n welcomePage = this.createPage(\"\", WelcomePage);\n wizard = this.createCustomPage(\"wizard\", Wizard, WizardUrls);\n}\nexport class WizardUrls extends NestedRouteFragment {\n constructor(route, component, parent, indexComponent) {\n super(route, component, parent, PhoneNumbersSelectionWizardSection);\n }\n phoneNumbersSelection = this.createPage(\"phonenumbersselection\", PhoneNumbersSelectionWizardSection);\n phoneNumberVerification = this.createPage(\"phonenumberverification\", PhoneNumberVerificationWizardSection);\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Router extends BaseComponent {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export class Content {\n static layout = {\n layoutHeader: \"Welcome to your Customer Centre\",\n passwordHeader: \"Enter password\",\n register: \"Register\",\n registerInfo: \"Don't have an account? By clicking the button below you will be redirect to registration process.\",\n registerBtnLabel: \"Register\"\n };\n static registerSection = {\n register: \"Register\",\n registerInfo: \"You need to be registered to use the Customer Centre.\",\n registerWhatYouNeed: \"You will need identification to register - this can be a driving licence, passport or electricity bill.\",\n registerBtnLabel: \"Register\"\n };\n static userName = {\n userNameLabel: \"Username\",\n userNameForgotten: \"I've forgotten\",\n userNameRequired: \"Please enter a valid username\",\n userNamePlaceholder: \"Enter your username\",\n userNameWrongFormat: \"Please enter a valid username\",\n userNameLoginButton: \"Next\",\n unipassHeading: \"Login with Unipass\",\n unipassLoginButton: \"Login with Unipass\"\n };\n static userPassword = {\n userPasswordLabel: \"Password\",\n userPasswordRequired: \"You must enter your password\",\n userPasswordPlaceholder: \"Enter your password\",\n userPasswordWrongFormat: \"The password you have entered is not correct. Please try again.\",\n memorableImageAndPhrase: \"Your memorable picture and phrase\",\n userPasswordForgotten: \"I've forgotten\",\n userPasswordLoginButton: \"Login\",\n passwordChangeRequiredHeader: \"We need you to change you password\",\n passwordChangeRequiredInfo: \"We have made some security updates to the Customer Centre and we need you to change your password so it meets the new requirements. Your password must not contain any part of your name or username and must meet the following conditions:\",\n passwordChangeRequiredButtonInfo: \"Click the button and we'll send you an email with a link to change your password using the password reset process.\",\n passworDchangeRequiredButtonLabel: \"Change password\"\n };\n static forgottenUsername = {\n title: \"Forgotten username\",\n emailConfiramtionMessage: \"We’ve sent you an email containing your username.\",\n emailAddress: \"Please enter your email address\",\n emailInWrongFormat: \"Please enter a valid email address\",\n emailRequired: \"Please enter your email address\",\n continueButton: \"CONTINUE\",\n logInToDashboard: \"LOG IN\"\n };\n static validation = {\n invalidUserNameOrPassword: \"Invalid username or password entered.\",\n userNotEnabled: \"Your account is not enabled at the moment. Please contact us to access your account.\",\n unipassUserNotFound: \"The Unipass certificate you have entered is not linked to this account yet. Please log in using your username and password this time and you'll be prompted to link the certificate for future use.\",\n userBlocked: \"For your security, access to your user account has been disabled. Please contact us to access your account.\",\n userLockedOut: \"

For your security, we have locked your online account as your password has been entered incorrectly five times in a row. To unlock it:

  • Go to the login screen
  • Enter your username and click 'next'
  • Use the \\\"I've forgotten\\\" link to reset your password and unlock your account
\",\n userInPasswordRecoveryMode: \"Your user account is in password recovery mode. Please complete password reset journey or use \\\"I've forgotten\\\" link to request a new recovery email\",\n smsAuthenticationNotActivated: \"Password reset journey is not available for you because you don't have SMS authentication enabled. Please contact us for more details.\",\n securityQuestionAuthenticationNotActivated: \"A password reset is not available at the moment as your account has been reset as requested. Please use the link in the email we have sent you complete the process, or request a new email if required. If you have any problems, please speak to your master user or contact us.\",\n reCaptchaVerificationFailed: \"ReCaptcha verification failed\",\n forgottenUsernameJourneyFailed: \"As you have multiple accounts linked to your email address, please contact your Master User to obtain your username. Alternatively, you can contact Quilter.\",\n userPendingActivation: \"Please activate your account before you log in for the first time. We previously sent you an activation email, you just need to click the link in the email and follow the instructions. For your convenience, we have sent the email again but if you have not received this, please contact us.\",\n externalUserLockedOut: \"Your account is currently locked. Please contact your master user.\",\n externalServiceUnavailable: \"This service is temporarily unavailable, please try again later.\"\n };\n static forgottenPassword = {\n title: \"Reset Password\",\n adviserContactUs: {\n message: \"If you have forgotten your password, please speak to your master user or contact us.\"\n },\n authenticationCode: {\n title: \"Authentication code\",\n next: \"Next\",\n smsMessage: \"We have just sent you an authentication code to {0} in a text message.\",\n enterAuthenticationCode: \"Please enter the 6 digit authentication code below\",\n yourMemorableImageandPhrase: \"Your memorable picture and phrase\"\n },\n confirmPassword: {\n password: \"Password\",\n confirmPassword: \"Confirm Password\",\n yourPasswordMustContain: \"Your password must contain:\",\n createYourPassword: \"Create your password\"\n },\n nextSteps: {\n nextStepsHeader: \"Reset password\",\n nextStepsMessage: \"We’ve sent you an email containing a link to reset your password.\",\n returnToOMWBtnLabel: \"Return to Quilter Home\",\n backBtnLabel: \"Back\"\n },\n success: {\n successHeader: \"Success\",\n thanksYouHaveResetYourPassword: \"Thanks,you have reset your password\",\n logInToDashboard: \"LOG IN\"\n },\n validation: {\n passwordRequired: \"Confirm password is required\",\n passwordDoesntMatch: \"The passwords you have entered do not match\",\n longerThanEightCharacters: \"at least 8 characters\",\n atLeastOneNumber: \"at least one number\",\n atLeastOneUppercase: \"at least one uppercase character\",\n atLeastOneLowercase: \"at least one lowercase letter\",\n noSpecialCharacters: \"no special characters\"\n },\n Layout: {\n cancel: \"Cancel\",\n previous: \"Previous\"\n }\n };\n static adviserLayout = {\n layoutHeader: \"Welcome to our platform\",\n loginHeader: \"Login with username & password\",\n passwordHeader: \"Enter your password\",\n transitionProcessPasswordHeader: \"Transitions to our new adviser platform are now closed\",\n termsAndCoditionsHeader: \"Terms and conditions\",\n termsAndConditionUrl: \"/en-GB/AdviserLandingPage/Home\"\n };\n static adviserUserName = {\n userNameLabel: \"Username\",\n userNameForgotten: \"Forgotten Username\",\n orLabel: \"OR\",\n aboutUnipass: \"About\",\n aboutUnipassCopy: \"Unipass is a simple solution that creates a unique online identity and enables you to log on to multiple websites within the financial services industry, on any device.\",\n userNameRequired: \"You must enter a valid username\",\n userNameWrongFormat: \"Enter valid user name\",\n uniPassUrl: \"../../../Content/site/img/UNIPASSlogo.png\",\n userNameLoginButton: \"LOGIN\"\n };\n static adviserUserPassword = {\n userNameLabel: \"You’re logging in as\",\n changeUserNameButton: \"Change\",\n transitionProcessInfo1: \"To get access to the Platform, you will need to speak with the master user within your firm.\",\n transitionProcessInfo2: \"They will have to set you up with a new login.\"\n };\n static unipassCertificate = {\n unipassCertificateNotes: \"Your Unipass certificate will expire on {0}. To renew your certificate now, visit \",\n unipassCertificateCancelButton: \"CANCEL\",\n unipassCertificateNextButton: \"Login\"\n };\n static forgotPasswordStepperLayout = {\n cancel: \"Cancel\",\n previous: \"Previous\"\n };\n static nextSteps = {\n nextStepsHeading: \"Next Steps\"\n };\n static securityQuestion = {\n memorableImageAndPhraseLabel: \"Your memorable picture and phrase\",\n questionLabel: \"Question\",\n answerLabel: \"Answer\",\n answerRequired: \"You must enter the answer to your security question\",\n answerWrongFormat: \"Please enter only letters\",\n nextButton: \"NEXT\"\n };\n static resetPassword = {\n nextButton: \"NEXT\"\n };\n static forgotPasswordSuccess = {\n successHeading: \"Success\",\n successMessage: \"Thanks, you have reset your password\",\n loginButton: \"LOGIN\"\n };\n static forgotUsername = {\n adviserHeading: \"Welcome to our platform\",\n forgottenUsernameHeading: \"Forgotten username\",\n emailLabel: \"Enter your email address\",\n invalidEmail: \"Please enter valid email\",\n continueButton: \"Continue\"\n };\n static forgotUsernameSuccess = {\n successMessage: \"Your username request has been sent to your email address.\",\n logInToDashboard: \"LOG IN\"\n };\n static pageTitles = {\n customer: {\n login: \"Login | Quilter Customer Centre\",\n password: \"Password | Quilter Customer Centre\",\n forgottenUserName: \"Forgotten username | Quilter Customer Centre\",\n forgottenPassword: \"Forgotten password | Quilter Customer Centre\"\n }\n };\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaForgottenPasswordRequestActionsDispatcher = new Dispatcher();\nexport const PumaForgottenPasswordRequestStore = new PayloadStore(PumaForgottenPasswordRequestActionsDispatcher);\n","import React from \"react\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaForgottenPasswordRequestStore } from \"./../../Stores/PumaForgottenPasswordRequestStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class EmailSentConfirmation extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaForgottenPasswordRequestStore, this.onPumaForgottenPasswordRequestStoreChange);\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"div\", { className: \"alert-success is-acc large mb-48\", role: \"alert\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Success alert\"),\n Content.forgottenPassword.nextSteps.nextStepsMessage),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"a\", { className: \"btn primary large mb-8\", onClick: e => { e.preventDefault(); RoutingActions.navigateTo(this.props.loginAppUrls.homePageUrl); } }, Content.forgottenPassword.nextSteps.backBtnLabel)),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"a\", { className: \"btn secondary large mb-8\", href: new SharedUrlsHelper().getOmwHomePageUrl() }, Content.forgottenPassword.nextSteps.returnToOMWBtnLabel)))));\n }\n componentWillMount() {\n super.componentWillMount();\n if (!PumaForgottenPasswordRequestStore.isLoading()) {\n if (PumaForgottenPasswordRequestStore.isEmpty()) {\n // If there is nothing stored in PumaForgottenPasswordStore, then email was not sent (user probably visited page by typing it directly into url) so let's redirect in that case\n RoutingActions.navigateTo(this.props.loginAppUrls.homePageUrl);\n }\n }\n }\n onPumaForgottenPasswordRequestStoreChange() {\n if (!PumaForgottenPasswordRequestStore.isLoading()) {\n this.updateStatePart(x => x.isLoading = this.isAnyStoreLoading());\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.onPumaForgottenPasswordRequestStoreChange = this.onPumaForgottenPasswordRequestStoreChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { EmailSentConfirmation } from \"./EmailSentConfirmation\";\nexport const ForgottenPassword = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(EmailSentConfirmation, { loginAppUrls: props.loginAppUrls })));\n};\n","import React from \"react\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { CMSItemsStore } from \"./../../../../Shared/CMS/CMSActionStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nexport class RegisterSection extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = {\n cmsContent: CMSItemsStore.getPayload()\n };\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"mt-24\" },\n React.createElement(\"h3\", null, getContentString(this.state.cmsContent, ContentStringType.NewUserRegistration_Title)),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: getContentString(this.state.cmsContent, ContentStringType.NewUserActivate_Body) } })),\n React.createElement(\"br\", null),\n React.createElement(\"a\", { className: \"btn secondary\", href: new SharedUrlsHelper().getCustomerRegistrationUrl() }, Content.registerSection.registerBtnLabel)));\n }\n}\n","import React from \"react\";\nimport { RegisterSection } from \"./RegisterSection\";\nimport { PageTitleUpdateComponent } from \"./../../../../Shared/Common/Components/PageTitle/PageTitleUpdateComponent\";\nimport { PublicSiteLayout } from \"./../../../../Shared/Common/Components/Layout/Public/PublicSiteLayout\";\nexport const CustomerLayout = (props) => {\n return (React.createElement(PublicSiteLayout, null,\n React.createElement(PageTitleUpdateComponent, { title: props.pageTitle }),\n props.showRegistrationSection &&\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"layout-aside underlined\" },\n React.createElement(\"div\", { className: \"layout-aside-content\" }, props.header &&\n React.createElement(\"h1\", { className: \"heading-page\" }, props.header)),\n React.createElement(\"div\", { className: \"layout-aside-panel\" })),\n React.createElement(\"div\", { className: \"layout-aside\" },\n React.createElement(\"div\", { className: \"layout-aside-content\" }, props.children),\n React.createElement(\"div\", { className: \"layout-aside-panel\" },\n React.createElement(\"div\", { className: \"pt-1 mb-24\" },\n React.createElement(RegisterSection, null))))),\n !props.showRegistrationSection &&\n React.createElement(\"section\", null,\n props.header &&\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, props.header),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" }, props.children)))));\n};\n","import React from \"react\";\nimport { ForgottenPassword } from \"./../../Shared/Components/ForgottenPassword/ForgottenPassword\";\nimport { Content } from \"./../../Resources/Content\";\nimport { CustomerLayout } from \"./Layout/CustomerLayout\";\nexport const ForgottenPasswordEmailSentConfirmation = (props) => {\n return (React.createElement(CustomerLayout, { header: Content.forgottenPassword.nextSteps.nextStepsHeader, showRegistrationSection: false, pageTitle: Content.pageTitles.customer.forgottenPassword },\n React.createElement(ForgottenPassword, { loginAppUrls: props.loginAppUrls })));\n};\n","export var PumaForgottenUsernameErrors;\n(function (PumaForgottenUsernameErrors) {\n PumaForgottenUsernameErrors[PumaForgottenUsernameErrors[\"ForgottenUsernameJourneyFailed\"] = 0] = \"ForgottenUsernameJourneyFailed\";\n})(PumaForgottenUsernameErrors || (PumaForgottenUsernameErrors = {}));\n","import { Content } from \"./../../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaForgottenUsernameErrors } from \"@/Wrap/Validation/Errors/ForgottenUsername/PumaForgottenUsernameErrors\";\nexport class PumaForgottenUsernameErrorDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaForgottenUsernameErrors.ForgottenUsernameJourneyFailed, Content.validation.forgottenUsernameJourneyFailed);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaForgottenUsernameClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n put(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Credentials/PumaForgottenUsername/Put';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import React from \"react\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nexport const EmailSentConfirmation = (props) => {\n return (React.createElement(Div, null,\n React.createElement(\"div\", { className: \"alert-success is-acc large mb-48\", role: \"alert\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Success alert\"),\n Content.forgottenUsername.emailConfiramtionMessage),\n React.createElement(\"a\", { className: \"btn primary large\", onClick: () => RoutingActions.navigateTo(props.loginAppUrls.homePageUrl) }, Content.forgottenUsername.logInToDashboard)));\n};\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaForgottenUsernameErrorDictionary } from \"./../../Entities/ErrorsDictionaries/PumaForgottenUsernameErrorDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaForgottenUsernameClient } from \"@/Puma/Api/Credentials/PumaForgottenUsername\";\nimport { EmailSentConfirmation } from \"./EmailSentConfirmation\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Email } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class ForgottenUserName extends FormComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.isEmailSent &&\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(TextBoxEditor, { large: true, label: Content.forgottenUsername.emailAddress, onChange: value => { this.updateStatePart(x => { x.emailAddress = value; }); }, value: this.state.emailAddress, regex: { errorMessage: Content.forgottenUsername.emailInWrongFormat, value: Email }, maxLength: 50, cssInput: \"input-large\", required: Content.forgottenUsername.emailRequired, onSubmit: () => this.sendEmail() }))),\n React.createElement(Button, { className: \"btn primary large mt-24\", onClick: () => this.sendEmail() }, Content.forgottenUsername.continueButton)),\n this.state.isEmailSent &&\n React.createElement(EmailSentConfirmation, { loginAppUrls: this.props.loginAppUrls })));\n }\n sendEmail() {\n if (this.isValid()) {\n this.updateStatePart(state => state.isLoading = true, () => {\n const client = new PumaForgottenUsernameClient();\n client\n .put({ Email: this.state.emailAddress, PumaUserType: this.props.pumaUserType })\n .onSuccess(request => {\n this.updateStatePart(x => {\n x.isEmailSent = true;\n x.isLoading = false;\n x.validationErrors = [];\n });\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaForgottenUsernameErrorDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n });\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n}\n","import React from \"react\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { ForgottenUserName as ForgottenUserName__alias1 } from \"./../../Shared/Components/ForgottenUserName/ForgottenUserName\";\nimport { Content } from \"./../../Resources/Content\";\nimport { CustomerLayout } from \"./Layout/CustomerLayout\";\nexport const ForgottenUserName = (props) => {\n return (React.createElement(CustomerLayout, { header: Content.forgottenUsername.title, showRegistrationSection: false, pageTitle: Content.pageTitles.customer.forgottenUserName },\n React.createElement(ForgottenUserName__alias1, { loginAppUrls: props.loginAppUrls, pumaUserType: PumaUserType.Customer })));\n};\n","export var PumaUserPasswordResetEmailRequestErrors;\n(function (PumaUserPasswordResetEmailRequestErrors) {\n PumaUserPasswordResetEmailRequestErrors[PumaUserPasswordResetEmailRequestErrors[\"SmsAuthenticationNotActivated\"] = 0] = \"SmsAuthenticationNotActivated\";\n PumaUserPasswordResetEmailRequestErrors[PumaUserPasswordResetEmailRequestErrors[\"SecurityQuestionAuthenticationNotActivated\"] = 1] = \"SecurityQuestionAuthenticationNotActivated\";\n PumaUserPasswordResetEmailRequestErrors[PumaUserPasswordResetEmailRequestErrors[\"UserBlocked\"] = 2] = \"UserBlocked\";\n})(PumaUserPasswordResetEmailRequestErrors || (PumaUserPasswordResetEmailRequestErrors = {}));\n","export var PumaSessionsErrors;\n(function (PumaSessionsErrors) {\n PumaSessionsErrors[PumaSessionsErrors[\"InvalidLoginCredential\"] = 0] = \"InvalidLoginCredential\";\n PumaSessionsErrors[PumaSessionsErrors[\"UserLockedOut\"] = 1] = \"UserLockedOut\";\n PumaSessionsErrors[PumaSessionsErrors[\"UserInPasswordRecoveryMode\"] = 2] = \"UserInPasswordRecoveryMode\";\n PumaSessionsErrors[PumaSessionsErrors[\"UserBlocked\"] = 3] = \"UserBlocked\";\n PumaSessionsErrors[PumaSessionsErrors[\"UserNotEnabled\"] = 4] = \"UserNotEnabled\";\n PumaSessionsErrors[PumaSessionsErrors[\"UnipassUserNotFound\"] = 5] = \"UnipassUserNotFound\";\n PumaSessionsErrors[PumaSessionsErrors[\"UserPendingActivation\"] = 6] = \"UserPendingActivation\";\n PumaSessionsErrors[PumaSessionsErrors[\"PumaPasswordRequirementsNotMet\"] = 7] = \"PumaPasswordRequirementsNotMet\";\n PumaSessionsErrors[PumaSessionsErrors[\"ExternalUserLockedOut\"] = 8] = \"ExternalUserLockedOut\";\n PumaSessionsErrors[PumaSessionsErrors[\"ExternalServiceUnavailable\"] = 9] = \"ExternalServiceUnavailable\";\n})(PumaSessionsErrors || (PumaSessionsErrors = {}));\n","export var PumaSessionCreationProcessType;\n(function (PumaSessionCreationProcessType) {\n PumaSessionCreationProcessType[PumaSessionCreationProcessType[\"NotSpecified\"] = 0] = \"NotSpecified\";\n PumaSessionCreationProcessType[PumaSessionCreationProcessType[\"PumaSessions\"] = 1] = \"PumaSessions\";\n PumaSessionCreationProcessType[PumaSessionCreationProcessType[\"PumaUserTransitionSessions\"] = 2] = \"PumaUserTransitionSessions\";\n})(PumaSessionCreationProcessType || (PumaSessionCreationProcessType = {}));\n","import { Content } from \"./../../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserPasswordResetEmailRequestErrors } from \"@/Wrap/Validation/Errors/Credentials/PumaUserPasswordResetEmailRequestErrors\";\nexport class PumaUserPasswordResetEmailRequestErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserPasswordResetEmailRequestErrors.SecurityQuestionAuthenticationNotActivated, Content.validation.securityQuestionAuthenticationNotActivated);\n map.set(PumaUserPasswordResetEmailRequestErrors.SmsAuthenticationNotActivated, Content.validation.smsAuthenticationNotActivated);\n map.set(PumaUserPasswordResetEmailRequestErrors.UserBlocked, Content.validation.userBlocked);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaForgottenPasswordClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Credentials/PumaForgottenPassword/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaForgottenPasswordRequestActionsDispatcher } from \"./../Stores/PumaForgottenPasswordRequestStore\";\nimport { PumaForgottenPasswordClient } from \"@/Puma/Api/Credentials/PumaForgottenPassword\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaForgottenPasswordRequestActionCreator extends Actions {\n static request(request) {\n const client = new PumaForgottenPasswordClient();\n PumaForgottenPasswordRequestActionCreator.startLoading();\n return client\n .post(request)\n .onSuccess(result => PumaForgottenPasswordRequestActionCreator.updateStoreOnSuccess(true))\n .onError(errors => PumaForgottenPasswordRequestActionCreator.updateStoreOnError(errors));\n }\n static updateStoreOnSuccess(result) {\n PumaForgottenPasswordRequestActionsDispatcher.dispatch({\n actionType: ActionType.Success,\n instruction: result,\n errors: []\n });\n }\n static updateStoreOnError(errors) {\n PumaForgottenPasswordRequestActionsDispatcher.dispatch({\n actionType: ActionType.Error,\n instruction: false,\n errors: errors\n });\n }\n static startLoading() {\n PumaForgottenPasswordRequestActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import { Content } from \"./../../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaSessionsErrors } from \"@/Puma/Site/Models/Sessions/ValidationErrors/PumaSessionsErrors\";\nexport class PumaSessionsErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaSessionsErrors.InvalidLoginCredential, Content.validation.invalidUserNameOrPassword);\n map.set(PumaSessionsErrors.UserLockedOut, Content.validation.userLockedOut);\n map.set(PumaSessionsErrors.UserInPasswordRecoveryMode, Content.validation.userInPasswordRecoveryMode);\n map.set(PumaSessionsErrors.UserBlocked, Content.validation.userBlocked);\n map.set(PumaSessionsErrors.UserNotEnabled, Content.validation.userNotEnabled);\n map.set(PumaSessionsErrors.UnipassUserNotFound, Content.validation.unipassUserNotFound);\n map.set(PumaSessionsErrors.UserPendingActivation, Content.validation.userPendingActivation);\n map.set(PumaSessionsErrors.ExternalUserLockedOut, Content.validation.externalUserLockedOut);\n map.set(PumaSessionsErrors.ExternalServiceUnavailable, Content.validation.externalServiceUnavailable);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaSessionsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(credentials) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/PumaLogin/PumaSessions/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { credentials: credentials };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaTransitionSessionsClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(credentials) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/PumaLogin/PumaTransitionSessions/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { credentials: credentials };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaSessionsClient } from \"@/Puma/Api/PumaLogin/PumaSessions\";\nimport { PumaTransitionSessionsClient } from \"@/Puma/Api/PumaLogin/PumaTransitionSessions\";\nimport { PumaSessionCreationProcessType } from \"@/Puma/Site/Models/Login/PumaSessionCreationProcessType\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class PumaSessionsActionCreator extends Actions {\n static post(credentials, sessionCreationProcessType) {\n const client = sessionCreationProcessType === PumaSessionCreationProcessType.PumaUserTransitionSessions\n ? new PumaTransitionSessionsClient()\n : new PumaSessionsClient();\n return client.post(credentials);\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const LoginPasswordDetailsDataActionsDispatcher = new Dispatcher();\nexport const LoginPasswordDetailsDataStore = new PayloadStore(LoginPasswordDetailsDataActionsDispatcher);\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaSessionCreationProcessClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n get(query) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/PumaLogin/PumaSessionCreationProcess/Get';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { query: query };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { LoginPasswordDetailsDataActionsDispatcher } from \"./../Stores/LoginPasswordDetailsDataStore\";\nimport { PumaSessionCreationProcessClient } from \"@/Puma/Api/PumaLogin/PumaSessionCreationProcess\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class LoginPasswordDetailsDataActionsCreator extends Actions {\n static load(userName, userType) {\n LoginPasswordDetailsDataActionsCreator.startLoading();\n const client = new PumaSessionCreationProcessClient();\n client\n .get({ Username: userName, UserType: userType })\n .onSuccess(data => LoginPasswordDetailsDataActionsCreator.updateStoreOnSuccess({\n processType: data.ProcessType,\n antiPhishingData: {\n antiPhishingPhrase: data.AntiPhishingPhrase,\n antiPhishingImageDocument: data.AntiPhishingImageDocument\n }\n }));\n }\n static updateStoreOnSuccess(data) {\n LoginPasswordDetailsDataActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: data });\n }\n static startLoading() {\n LoginPasswordDetailsDataActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","import React from \"react\";\nimport { PasswordEditor } from \"@/react-core/Html/PasswordEditor\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nexport const PasswordPicker = (props) => {\n return (React.createElement(Div, null,\n React.createElement(\"div\", { className: \"row mb-8\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"span\", { \"aria-hidden\": \"true\", className: \"text-size-14\" }, Content.userPassword.userPasswordLabel)),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Button, { className: \"hyperlink\", onClick: props.onForgottenPasswordTriggered }, Content.userPassword.userPasswordForgotten))),\n React.createElement(PasswordEditor, { large: true, cssWrapper: \"label-sr-only\", onChange: props.onPasswordChange, label: Content.userPassword.userPasswordLabel, placeholder: Content.userPassword.userPasswordPlaceholder, \n //required={Resources.Content.userPassword.userPasswordRequired}\n onSubmit: props.onPasswordSubmit, id: 'Password' })));\n};\n","import React from \"react\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PasswordPicker } from \"./PasswordPicker\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { makeReCaptchaGuardedComponent } from \"./../../../../Shared/ReCaptcha/Components/makeReCaptchaGuardedComponent\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nimport { CMSItemsStore } from \"@/apps/Shared/CMS/CMSActionStore\";\nexport class ReCaptchaGuardedPasswordPicker extends BaseComponent {\n UnderlyingComponent;\n render() {\n return React.createElement(this.UnderlyingComponent, { ...this.props });\n }\n componentWillMount() {\n super.componentWillMount();\n this.UnderlyingComponent = makeReCaptchaGuardedComponent(ReCaptchaGuardedPasswordPickerUnderlyingComponent);\n }\n}\nclass ReCaptchaGuardedPasswordPickerUnderlyingComponent extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = {\n hasPassword: false,\n isFirstIn: true,\n cmsContent: CMSItemsStore.getPayload()\n };\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n this.renderPasswordRequireMsg(),\n React.createElement(PasswordPicker, { password: this.props.password, onPasswordSubmit: () => {\n if (this.props.validateReCaptchaAndSubmitIsDisabled) {\n return;\n }\n this.loginValidate();\n }, onPasswordChange: (pswd) => this.onchangePassword(pswd), onForgottenPasswordTriggered: () => this.props.onForgottenPasswordTrigger() }))),\n this.props.children,\n React.createElement(Button, { className: \"btn primary large mt-24\", onClick: () => this.loginValidate(), disabled: this.props.validateReCaptchaAndSubmitIsDisabled },\n React.createElement(\"div\", { className: \"label\" }, Content.userPassword.userPasswordLoginButton))));\n }\n onchangePassword(pswd) {\n this.props.onPasswordChange(pswd);\n }\n loginValidate() {\n this.updateStatePart(x => x.isFirstIn = false);\n if (this.props.password) {\n this.props.onValidateReCaptchaAndSubmit();\n this.updateStatePart(x => x.hasPassword = true);\n }\n }\n renderPasswordRequireMsg() {\n let element = null;\n if (!this.state.hasPassword && !this.state.isFirstIn) {\n element = (React.createElement(\"div\", { className: \"inline-error-message\" },\n React.createElement(\"span\", { className: \"error\" }, getContentString(this.state.cmsContent, ContentStringType.OccLogin_CredentialsCheck_NoPassword_Error))));\n }\n return element;\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { providePasswordResetValidationRules } from \"./../../../../Shared/Password/Entities/PasswordValidationRulesProvider\";\nexport const PasswordChangeRequired = (props) => {\n const passwordValidationRules = providePasswordResetValidationRules(true);\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: \"pr-48\" }, Content.userPassword.passwordChangeRequiredHeader),\n React.createElement(\"div\", null,\n React.createElement(\"p\", null, Content.userPassword.passwordChangeRequiredInfo),\n React.createElement(\"ul\", null, passwordValidationRules.map((rule, index) => {\n return (React.createElement(\"li\", { key: index, className: \"passed\" }, rule.errorMessage.charAt(0).toUpperCase() + rule.errorMessage.slice(1)));\n })),\n React.createElement(\"p\", null, Content.userPassword.passwordChangeRequiredButtonInfo)),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn-primary large\", onClick: props.onForgottenPasswordTrigger }, Content.userPassword.passworDchangeRequiredButtonLabel)))));\n};\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nexport const SelectedUserName = (props) => {\n return (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"div\", { dangerouslySetInnerHTML: { __html: props.userNameLabel }, className: \"mb-0\" }),\n React.createElement(\"div\", { className: \"text-size-18 text-bold\" }, props.userName)),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Button, { type: \"button\", className: \"btn secondary\", onClick: props.onUserNameChangeTriggered }, Content.adviserUserPassword.changeUserNameButton))));\n};\n","import React from \"react\";\nimport { Content } from \"./../../Resources/Content\";\nexport const TransitionLoginPasswordDetailsInfo = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"p\", { className: \"mb-8\" }, Content.adviserUserPassword.transitionProcessInfo1),\n React.createElement(\"p\", { className: \"mb-0\" },\n React.createElement(\"strong\", null,\n React.createElement(\"a\", { href: \"https://platform.quilter.com/support-and-help/platform-training/how-do-i-set-up-and-manage-my-users-access-permissions/\" }, Content.adviserUserPassword.transitionProcessInfo2)))));\n};\n","import React from \"react\";\nimport { PumaUserPasswordResetEmailRequestErrorsDictionary } from \"./../../Entities/ErrorsDictionaries/PumaUserPasswordResetEmailRequestErrorsDictionary\";\nimport { PumaForgottenPasswordRequestActionCreator } from \"./../../ActionCreators/PumaForgottenPasswordRequestActionCreator\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaSessionsErrorsDictionary } from \"./../../Entities/ErrorsDictionaries/PumaSessionsErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaSessionsErrors } from \"@/Puma/Site/Models/Sessions/ValidationErrors/PumaSessionsErrors\";\nimport { PumaSessionsActionCreator } from \"./../../ActionCreators/PumaSessionsActionCreator\";\nimport { Promise } from \"@/react-core/Async/Promise\";\nimport { LoginPasswordDetailsDataActionsCreator } from \"./../../ActionCreators/LoginPasswordDetailsDataActionsCreator\";\nimport { ReCaptchaGuardedPasswordPicker } from \"./ReCaptchaGuardedPasswordPicker\";\nimport { PasswordChangeRequired } from \"./PasswordChangeRequired\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { SelectedUserName } from \"./SelectedUserName\";\nimport { TransitionLoginPasswordDetailsInfo } from \"./../../../Adviser/Components/TransitionLoginPasswordDetailsInfo\";\nimport { AntiPhishingUI } from \"./../../../../Shared/AntiPhishing/Components/AntiPhishingUI\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { PumaSessionCreationProcessType } from \"@/Puma/Site/Models/Login/PumaSessionCreationProcessType\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { LoginPasswordDetailsDataStore } from \"./../../Stores/LoginPasswordDetailsDataStore\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { CMSItemsStore } from \"@/apps/Shared/CMS/CMSActionStore\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nexport class LoginPasswordDetails extends FormComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.subscribeToStore(LoginPasswordDetailsDataStore, () => this.onLoginPasswordDetailsDataStoreChange());\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n const sessionCreationProcessType = this.state.loginPasswordDetailsData.processType;\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n this.props.userType === PumaUserType.Customer &&\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.layout.passwordHeader),\n this.props.userType === PumaUserType.Adviser &&\n sessionCreationProcessType !== PumaSessionCreationProcessType.PumaUserTransitionSessions &&\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.adviserLayout.passwordHeader),\n this.props.userType === PumaUserType.Adviser &&\n sessionCreationProcessType === PumaSessionCreationProcessType.PumaUserTransitionSessions &&\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.adviserLayout.transitionProcessPasswordHeader),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xxs-12 col-sm-6\" },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n (sessionCreationProcessType === PumaSessionCreationProcessType.PumaSessions\n || this.props.userType === PumaUserType.Customer) &&\n React.createElement(AntiPhishingUI, { header: getContentString(this.state.cmsContent, ContentStringType.OccLogin_PasswordReminder_MemorableInfo_Body), antiPhishingData: this.state.loginPasswordDetailsData.antiPhishingData }),\n sessionCreationProcessType === PumaSessionCreationProcessType.PumaUserTransitionSessions\n && this.props.userType === PumaUserType.Adviser &&\n React.createElement(TransitionLoginPasswordDetailsInfo, null))),\n React.createElement(\"hr\", { className: \"divider-subtle mt-24 mb-24\" }),\n React.createElement(SelectedUserName, { userName: this.props.userName, onUserNameChangeTriggered: () => RoutingActions.navigateTo(this.props.loginAppUrls.homePageUrl), userNameLabel: getContentString(this.state.cmsContent, ContentStringType.OccLogin_PasswordReminder_UserName_Body) }),\n React.createElement(\"hr\", { className: \"divider-subtle mt-24 mb-24\" }),\n this.renderPasswordPicker(sessionCreationProcessType),\n React.createElement(Lightbox, { show: this.state.isPasswordChangeRequiredLightboxOpened, onClose: () => this.updateStatePart(s => s.isPasswordChangeRequiredLightboxOpened = false) },\n React.createElement(Div, { className: \"lightbox-content\" },\n React.createElement(PasswordChangeRequired, { onForgottenPasswordTrigger: () => this.updateStatePart(s => s.isPasswordChangeRequiredLightboxOpened = false, this.onForgottenPasswordTriggered) })))))));\n }\n renderPasswordPicker(sessionCreationProcessType) {\n if (this.props.userType === PumaUserType.Adviser &&\n sessionCreationProcessType === PumaSessionCreationProcessType.PumaUserTransitionSessions) {\n return null;\n }\n return (React.createElement(ReCaptchaGuardedPasswordPicker, { password: this.state.password, onPasswordChange: (pswd) => this.changePassword(pswd), onForgottenPasswordTrigger: () => this.onForgottenPasswordTriggered(), maxIncorrectRetriesCountBeforeReCaptchaIsRequired: 3, onSubmit: () => this.login() }));\n }\n componentDidMount() {\n if (this.props.userName) {\n LoginPasswordDetailsDataActionsCreator.load(this.props.userName, this.props.userType);\n }\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.userName !== nextProps.userName || this.props.userType !== nextProps.userType) {\n LoginPasswordDetailsDataActionsCreator.load(nextProps.userName, nextProps.userType);\n }\n }\n login() {\n const result = new Promise((onSucc, onErr) => {\n setTimeout(() => {\n if (!this.isValid()) {\n onErr({ submitPerformed: false });\n return;\n }\n this.updateStatePart(s => s.isLoading = true, () => {\n const credentials = {\n Username: this.props.userName,\n Password: this.state.password,\n UserType: this.props.userType\n };\n return PumaSessionsActionCreator.post(credentials, this.state.loginPasswordDetailsData.processType)\n .onSuccess(() => {\n window.location.assign(this.props.loginAppUrls.loginSuccessUrl);\n onSucc({});\n })\n .onError((errors) => {\n let validationErrors = [];\n let showPasswordChangeRequiredLightbox = false;\n if (errors.some(x => x.Error === PumaSessionsErrors.PumaPasswordRequirementsNotMet)) {\n showPasswordChangeRequiredLightbox = true;\n }\n else {\n validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaSessionsErrorsDictionary);\n }\n this.updateStatePart(x => {\n x.isPasswordChangeRequiredLightboxOpened = showPasswordChangeRequiredLightbox;\n x.validationErrors = validationErrors;\n x.isLoading = false;\n }, () => {\n Scroll.scrollTop();\n onErr({ submitPerformed: true });\n });\n });\n });\n }, 0);\n });\n return result;\n }\n onForgottenPasswordTriggered() {\n if (this.props.userType === PumaUserType.Adviser\n && this.state.loginPasswordDetailsData.processType === PumaSessionCreationProcessType.PumaUserTransitionSessions) {\n RoutingActions.navigateTo(this.props.loginAppUrls.forgottenPasswordContactUsPageUrl);\n return;\n }\n const request = {\n Username: this.props.userName,\n UserType: this.props.userType\n };\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaForgottenPasswordRequestActionCreator.request(request)\n .onSuccess(result => {\n RoutingActions.navigateTo(this.props.loginAppUrls.forgottenPasswordEmailSentConfirmationPageUrl);\n })\n .onError((errors) => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserPasswordResetEmailRequestErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n }, Scroll.scrollTop);\n });\n });\n }\n changePassword(password) {\n this.updateStatePart(x => x.password = password);\n }\n onLoginPasswordDetailsDataStoreChange() {\n if (!LoginPasswordDetailsDataStore.isLoading()) {\n this.updateStatePart(x => {\n x.loginPasswordDetailsData = LoginPasswordDetailsDataStore.getPayload(),\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n loginPasswordDetailsData: {\n processType: PumaSessionCreationProcessType.NotSpecified,\n antiPhishingData: {\n antiPhishingImageDocument: {\n Document: {}\n }\n }\n },\n isPasswordChangeRequiredLightboxOpened: false,\n validationErrors: [],\n cmsContent: CMSItemsStore.getPayload()\n };\n }\n}\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const LoginUserNameDispatcher = new Dispatcher();\nexport const LoginUserNameStore = new PayloadStore(LoginUserNameDispatcher);\n","import React from \"react\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { LoginPasswordDetails } from \"./../../Shared/Components/Login/LoginPasswordDetails\";\nimport { Content } from \"./../../Resources/Content\";\nimport { CustomerLayout } from \"./Layout/CustomerLayout\";\nimport { LoginUserNameStore } from \"./../../Shared/Stores/LoginUserNameStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Password extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(LoginUserNameStore, this.onLoginUserNameStoreChange);\n }\n render() {\n return (React.createElement(CustomerLayout, { header: null, showRegistrationSection: false, pageTitle: Content.pageTitles.customer.password },\n React.createElement(LoginPasswordDetails, { loginAppUrls: this.props.loginAppUrls, userName: this.state.loginUserName.value, userType: PumaUserType.Customer })));\n }\n componentWillMount() {\n super.componentWillMount();\n if (!LoginUserNameStore.isLoading()) {\n if (!LoginUserNameStore.isEmpty()) {\n const userName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => x.loginUserName = userName);\n }\n else {\n RoutingActions.navigateTo(this.props.loginAppUrls.homePageUrl);\n }\n }\n }\n onLoginUserNameStoreChange() {\n if (!LoginUserNameStore.isLoading()) {\n const userName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => {\n x.loginUserName = userName;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n loginUserName: {}\n };\n }\n bindPrivateMethods() {\n this.onLoginUserNameStoreChange = this.onLoginUserNameStoreChange.bind(this);\n }\n}\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { LoginUserNameDispatcher } from \"./../Stores/LoginUserNameStore\";\nimport { Actions } from \"@/react-core/Flux/Actions\";\nexport class LoginUserName extends Actions {\n static set(loginUserName) {\n LoginUserNameDispatcher.dispatch({ actionType: ActionType.Success, payload: loginUserName });\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { ExistingCustomerUserName, ExistingAdviserUserName, } from \"@/react-core/Html/Validation/RegExPatterns\";\nimport { TextBoxEditor } from \"@/react-core/Html/TextBoxEditor\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { CMSItemsStore } from \"./../../../../Shared/CMS/CMSActionStore\";\nimport { ContentStringType, getContentString } from \"@/apps/Shared/CMS/CMSHelper\";\nexport class UserNamePicker extends FormComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.subscribeToStore(CMSItemsStore, () => this.onCMSItemStoreChange());\n }\n onCMSItemStoreChange() {\n this.updateStatePart((state) => { state.cmsContent = CMSItemsStore.getPayload(); });\n }\n render() {\n return (React.createElement(Div, null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"div\", { className: \"row mb-6\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"span\", { \"aria-hidden\": \"true\", className: \"text-size-14\" }, Content.userName.userNameLabel)),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(\"button\", { type: \"button\", className: \"hyperlink\", onClick: () => RoutingActions.navigateTo(this.props.loginAppUrls.forgottenUserNamePageUrl) }, Content.userName.userNameForgotten))),\n React.createElement(TextBoxEditor, { large: true, cssWrapper: \"label-sr-only\", label: Content.userName.userNameLabel, placeholder: Content.userName.userNamePlaceholder, value: this.state.userName, onChange: (name) => this.updateUserName(name), required: getContentString(this.state.cmsContent, ContentStringType.InvalidUsernameError_Body), regex: {\n errorMessage: getContentString(this.state.cmsContent, ContentStringType.InvalidUsernameError_Body),\n value: this.props.userType ===\n PumaUserType.Customer\n ? ExistingCustomerUserName\n : ExistingAdviserUserName,\n }, onSubmit: () => this.confirmUserName() }))),\n React.createElement(\"div\", null,\n React.createElement(Button, { className: \"btn primary large mt-12\", onClick: () => this.confirmUserName() },\n React.createElement(\"div\", { className: \"label\" }, Content.userName.userNameLoginButton)))));\n }\n componentDidMount() {\n this.updateStatePart((x) => (x.userName = this.props.currentUserName));\n }\n componentWillReceiveProps(nextProps) {\n if (this.props.currentUserName !== nextProps.currentUserName) {\n this.updateStatePart((x) => (x.userName = nextProps.currentUserName));\n }\n }\n updateUserName(userName) {\n this.updateStatePart((x) => (x.userName = userName));\n }\n confirmUserName() {\n if (this.isValid()) {\n this.props.onUserNameConfirmed(this.state.userName);\n }\n }\n getDefaultState() {\n return {\n cmsContent: CMSItemsStore.getPayload()\n };\n }\n}\n","import React from \"react\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { LoginUserName } from \"./../../Shared/ActionCreators/LoginUserNameActionsCreator\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { UserNamePicker } from \"./../../Shared/Components/Login/UserNamePicker\";\nimport { Content } from \"./../../Resources/Content\";\nimport { CustomerLayout } from \"./Layout/CustomerLayout\";\nimport { LoginUserNameStore } from \"./../../Shared/Stores/LoginUserNameStore\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class Login extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(LoginUserNameStore, this.onLoginUserNameStoreChange);\n }\n render() {\n return (React.createElement(CustomerLayout, { header: Content.layout.layoutHeader, showRegistrationSection: true, pageTitle: Content.pageTitles.customer.login },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(UserNamePicker, { userType: PumaUserType.Customer, currentUserName: this.state.currentConfirmedUserName.value, loginAppUrls: this.props.loginAppUrls, onUserNameConfirmed: this.confirmUserName })))));\n }\n componentDidMount() {\n if (!LoginUserNameStore.isLoading() &&\n !LoginUserNameStore.isEmpty()) {\n const loginUserName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => x.currentConfirmedUserName = loginUserName);\n }\n }\n confirmUserName(userName) {\n LoginUserName.set({ value: userName });\n RoutingActions.navigateTo(this.props.loginAppUrls.passwordPageUrl);\n }\n onLoginUserNameStoreChange() {\n const loginUserName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => x.currentConfirmedUserName = loginUserName);\n }\n getDefaultState() {\n return {\n currentConfirmedUserName: {}\n };\n }\n bindPrivateMethods() {\n this.confirmUserName = this.confirmUserName.bind(this);\n this.onLoginUserNameStoreChange = this.onLoginUserNameStoreChange.bind(this);\n }\n}\n//export const Login = withRouter(LoginComponent);\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, null, this.props.children &&\n React.cloneElement(React.Children.only(this.props.children), {\n loginAppUrls: this.state.loginAppUrls,\n })));\n }\n getDefaultState() {\n return {\n loginAppUrls: {\n homePageUrl: Urls.get().homePage.getFullRoutePath(),\n passwordPageUrl: Urls.get().passwordPage.getFullRoutePath(),\n forgottenUserNamePageUrl: Urls.get().forgottenUserNamePage.getFullRoutePath(),\n forgottenPasswordEmailSentConfirmationPageUrl: Urls.get().forgottenPasswordSection.emailSentConfirmationPage.getFullRoutePath(),\n loginSuccessUrl: new SharedUrlsHelper().getLoginSuccessUrl(),\n },\n };\n }\n bindPrivateMethods() { }\n}\n","import { ForgottenPasswordEmailSentConfirmation } from \"./Components/ForgottenPasswordEmailSentConfirmation\";\nimport { ForgottenUserName } from \"./Components/ForgottenUserName\";\nimport { Password } from \"./Components/Password\";\nimport { Login } from \"./Components/Login\";\nimport { App } from \"./App\";\nimport { RootRoute, NestedRouteFragment } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, Login);\n }\n homePage = this.createPage(\"\", Login);\n passwordPage = this.createPage(\"password\", Password);\n forgottenUserNamePage = this.createPage(\"forgottenusername\", ForgottenUserName);\n forgottenPasswordSection = this.createCustomPage(\"forgottenpassword\", null, ForgottenPasswordSectionUrls);\n}\nexport class ForgottenPasswordSectionUrls extends NestedRouteFragment {\n emailSentConfirmationPage = this.createPage(\"emailsentconfirmation\", ForgottenPasswordEmailSentConfirmation);\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nexport class Router extends React.Component {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export const DefaultValues = {\n pumaAdviserUser: {\n ContactDetails: {\n EmailAddress: {}\n }\n }\n};\n","import { PayloadStore } from \"@/react-core/Flux/PayloadStore\";\nimport { Dispatcher } from \"@/react-core/Flux/Dispatcher\";\nexport const PumaAdviserUserActionsDispatcher = new Dispatcher();\nexport const PumaAdviserUserStore = new PayloadStore(PumaAdviserUserActionsDispatcher);\n","import { ActionType } from \"@/react-core/Flux/ActionType\";\nimport { PumaAdviserUserActionsDispatcher } from \"./../Stores/PumaAdviserUserStore\";\nimport { CurrentPumaAdviserUserClient } from \"@/Puma/Api/User/CurrentPumaAdviserUser\";\nexport class PumaAdviserUserActionsCreator {\n static loadCurrent() {\n PumaAdviserUserActionsCreator.startLoading();\n const client = new CurrentPumaAdviserUserClient();\n client\n .get()\n .onSuccess(PumaAdviserUserActionsCreator.updateStoreOnSuccess);\n }\n static updateStoreOnSuccess(pumaAdviserUser) {\n PumaAdviserUserActionsDispatcher.dispatch({ actionType: ActionType.Success, payload: pumaAdviserUser });\n }\n static startLoading() {\n PumaAdviserUserActionsDispatcher.dispatch({ actionType: ActionType.Loading });\n }\n}\n","export var PumaUserSecurityQuestionAmendmentErrors;\n(function (PumaUserSecurityQuestionAmendmentErrors) {\n PumaUserSecurityQuestionAmendmentErrors[PumaUserSecurityQuestionAmendmentErrors[\"OneTimeTokenIsInvalid\"] = 0] = \"OneTimeTokenIsInvalid\";\n PumaUserSecurityQuestionAmendmentErrors[PumaUserSecurityQuestionAmendmentErrors[\"PumaUserSecurityQuestionAnswerRequirementsNotMet\"] = 1] = \"PumaUserSecurityQuestionAnswerRequirementsNotMet\";\n})(PumaUserSecurityQuestionAmendmentErrors || (PumaUserSecurityQuestionAmendmentErrors = {}));\n","export var PumaCurrentAdviserUserTransitionCompletionErrors;\n(function (PumaCurrentAdviserUserTransitionCompletionErrors) {\n PumaCurrentAdviserUserTransitionCompletionErrors[PumaCurrentAdviserUserTransitionCompletionErrors[\"PasswordRequirementsWereNotMet\"] = 0] = \"PasswordRequirementsWereNotMet\";\n PumaCurrentAdviserUserTransitionCompletionErrors[PumaCurrentAdviserUserTransitionCompletionErrors[\"PumaUserSecurityQuestionAnswerRequirementsNotMet\"] = 1] = \"PumaUserSecurityQuestionAnswerRequirementsNotMet\";\n})(PumaCurrentAdviserUserTransitionCompletionErrors || (PumaCurrentAdviserUserTransitionCompletionErrors = {}));\n","export var AdviserTransitionWizardStepperId;\n(function (AdviserTransitionWizardStepperId) {\n AdviserTransitionWizardStepperId[\"NotSpecified\"] = \"NotSpecified\";\n AdviserTransitionWizardStepperId[\"Top\"] = \"Top\";\n AdviserTransitionWizardStepperId[\"Side\"] = \"Side\";\n})(AdviserTransitionWizardStepperId || (AdviserTransitionWizardStepperId = {}));\n","import { Content } from \"./../../../../Shared/UserDetails/Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaUserSecurityQuestionAmendmentErrors } from \"@/Wrap/Validation/Errors/Security/SecurityQuestions/PumaUserSecurityQuestionAmendmentErrors\";\nexport class PumaUserSecurityQuestionAmendmentErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaUserSecurityQuestionAmendmentErrors.OneTimeTokenIsInvalid, Content.antiPhishing.validation.yourAuthorisationHasExpired);\n map.set(PumaUserSecurityQuestionAmendmentErrors.PumaUserSecurityQuestionAnswerRequirementsNotMet, Content.antiPhishing.validation.pumaUserSecurityQuestionAnswerRequirementsNotMet);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCurrentUserSecurityQuestionAmendmentClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(request) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Security/PumaCurrentUserSecurityQuestionAmendment/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { request: request };\n return AjaxWrapper.post(url, data);\n }\n}\n","import React from \"react\";\nimport { PumaUserSecurityQuestionAmendmentErrorsDictionary } from \"./../../Entities/ErrorsDictionaries/PumaUserSecurityQuestionAmendmentErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaCurrentUserSecurityQuestionAmendmentClient } from \"@/Puma/Api/Security/PumaCurrentUserSecurityQuestionAmendment\";\nimport { PumaVerificationResultStatus } from \"@/Puma/Site/Models/Security/PumaVerificationResultStatus\";\nimport { PumaConfirmationTokenVerificationActionsCreator } from \"./../../../../Shared/Authentication/Shared/ActionsCreators/PumaConfirmationTokenVerificationActionsCreator\";\nimport { SecurityQuestionPicker } from \"./../../../../Shared/SecurityQuestions/Components/SecurityQuestionPicker\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { PumaConfirmationTokenSupportedAction } from \"@/Puma/Site/Models/Security/ConfirmationTokens/PumaConfirmationTokenSupportedAction\";\nimport { UserSelectableAuthentication } from \"./../../../../Shared/Authentication/Combined/Components/UserSelectableAuthentication\";\nimport { Form } from \"@/react-core/Html/Form\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../../../Shared/UserDetails/Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class EditSecurityQuestion extends FormComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"pr-48\" }, Content.securityQuestion.editHeading),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n !this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.verifyPassword() },\n React.createElement(UserSelectableAuthentication, { pumaUserId: this.props.user.PumaUserId, actionToConfirm: PumaConfirmationTokenSupportedAction.PumaUserSecurityQuestionAmendment, availableAuthenticationMethods: this.props.availableAuthenticationMethods, tokenVerificationCode: this.state.tokenVerificationCode, onTokenVerificationCodeChange: verificationCode => this.updateStatePart(x => x.tokenVerificationCode = verificationCode), onConfirmationTokenChange: token => this.updateStatePart(x => x.confirmationToken = token) }),\n React.createElement(Button, { className: \"btn primary\", type: \"submit\" }, Content.shared.next)),\n this.state.hasBeenAuthenticated &&\n React.createElement(Form, { onSubmit: () => this.submitChange() },\n React.createElement(SecurityQuestionPicker, { pumaUserId: this.props.user.PumaUserId, selectedSecurityQuestion: this.state.selectedSecurityQuestion, selectedSecurityAnswer: this.state.selectedSecurityAnswer, onSelectedAnswerChange: a => this.updateStatePart(s => s.selectedSecurityAnswer = a), onSelectedSecurityQuestionChange: q => this.updateStatePart(s => s.selectedSecurityQuestion = q) }),\n React.createElement(Button, { className: \"btn primary\", type: \"submit\" }, Content.shared.update))));\n }\n verifyPassword() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n PumaConfirmationTokenVerificationActionsCreator.verifyToken(this.state.confirmationToken, { VerificationCode: this.state.tokenVerificationCode })\n .onSuccess(result => {\n if (result.ResultStatus === PumaVerificationResultStatus.VerificationSucceeded) {\n this.updateStatePart(x => {\n x.isLoading = false;\n x.hasBeenAuthenticated = true;\n x.tokenVerificationCode = null;\n x.validationErrors = [];\n });\n return;\n }\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = [Content.shared.invalidTokenVerificationCode.password];\n });\n });\n });\n }\n }\n submitChange() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const client = new PumaCurrentUserSecurityQuestionAmendmentClient();\n client\n .post({\n Amendment: {\n SecurityQuestionAnswer: this.state.selectedSecurityAnswer,\n SecurityQuestionCode: this.state.selectedSecurityQuestion.QuestionCode\n },\n ConfirmationToken: {\n TokenValue: this.state.confirmationToken.tokenValue\n }\n })\n .onSuccess(amendment => {\n this.props.onSecurityQuestionUpdatedSuccessfully();\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaUserSecurityQuestionAmendmentErrorsDictionary);\n this.updateStatePart(x => {\n x.validationErrors = validationErrors;\n x.isLoading = false;\n });\n });\n });\n }\n }\n getDefaultState() {\n return {\n confirmationToken: {},\n validationErrors: []\n };\n }\n}\n","export class Content {\n static index = {\n mainHeading: \"Security details\"\n };\n static securityQuestion = {\n heading: \"Security question\",\n editExplanation: \"Change your security question here.\"\n };\n}\n","import React from \"react\";\nimport { EditSecurityQuestion } from \"./EditSecurityQuestion\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Content as Content__alias1 } from \"./../../../../Shared/UserDetails/Resources/Content\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class SecurityQuestion extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null,\n React.createElement(\"h2\", { className: \"heading-section mt-48\" }, Content.securityQuestion.heading),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-fluid col-middle\" },\n React.createElement(\"div\", null, Content.securityQuestion.editExplanation)),\n React.createElement(\"div\", { className: \"col-auto col-middle\" },\n React.createElement(Button, { className: \"btn secondary small\", onClick: () => this.startEditing() }, Content__alias1.shared.edit))),\n React.createElement(Lightbox, { show: this.state.isEditing, onClose: () => this.stopEditing() },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(EditSecurityQuestion, { user: this.props.pumaUser, availableAuthenticationMethods: this.props.availableEditAuthenticationMethods, onCancel: () => this.stopEditing(), onSecurityQuestionUpdatedSuccessfully: () => this.onSecurityQuestionSuccessfullyUpdated() })))));\n }\n onSecurityQuestionSuccessfullyUpdated() {\n this.updateStatePart(x => {\n x.isEditing = false;\n }, () => this.props.onSecurityQuestionSuccessfullyUpdated());\n }\n startEditing() {\n this.updateStatePart(x => x.isEditing = true);\n }\n stopEditing() {\n this.updateStatePart(x => x.isEditing = false);\n }\n getDefaultState() {\n return {};\n }\n}\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { PumaAdviserUserActionsCreator } from \"./../../../Shared/User/ActionsCreators/PumaAdviserUserActionsCreator\";\nimport { EditConfirmation } from \"./../../../Shared/UserDetails/Components/EditConfirmation\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { AntiPhishing } from \"./../../../Shared/UserDetails/Components/AntiPhishing/AntiPhishing\";\nimport { Password } from \"./../../../Shared/UserDetails/Components/Password/Password\";\nimport { EmailAddress } from \"./../../../Shared/UserDetails/Components/EmailAddress/EmailAddress\";\nimport { AuthenticationMethod } from \"@/Puma/Site/Models/Security/AuthenticationMethod\";\nimport { SecurityQuestion } from \"./SecurityQuestion/SecurityQuestion\";\nimport { Content } from \"./../../Resources/Content\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaAdviserUserStore } from \"./../../../Shared/User/Stores/PumaAdviserUserStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nimport { EditableItemType } from \"./../../../Shared/UserDetails/Entities/EditableItemType\";\nexport class AdviserDetails extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.subscribeToStore(PumaAdviserUserStore, () => this.onPumaAdviserUserStoreChange());\n }\n render() {\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.index.mainHeading),\n React.createElement(SecurityQuestion, { pumaUser: this.state.user, availableEditAuthenticationMethods: [\n AuthenticationMethod.Password,\n AuthenticationMethod.SecurityQuestion\n ], onSecurityQuestionSuccessfullyUpdated: () => this.showEditConfirmationLightbox(EditableItemType.SecurityQuestion) }),\n React.createElement(EmailAddress, { pumaUser: this.state.user, availableEditAuthenticationMethods: [\n AuthenticationMethod.Password,\n AuthenticationMethod.SecurityQuestion\n ], emailAddress: this.state.user.ContactDetails.EmailAddress, onEmailAddressSuccessfullyUpdated: () => this.showEditConfirmationLightbox(EditableItemType.Email) }),\n React.createElement(Password, { onPasswordSuccessfullyUpdated: () => this.showEditConfirmationLightbox(EditableItemType.Password) }),\n React.createElement(AntiPhishing, { pumaUser: this.state.user, availableEditAuthenticationMethods: [\n AuthenticationMethod.Password,\n AuthenticationMethod.SecurityQuestion\n ], onAntiPhishingSuccessfullyUpdated: () => this.showEditConfirmationLightbox(EditableItemType.AntiPhishing) }),\n React.createElement(Lightbox, { show: this.state.showConfirmationLightbox, onClose: () => this.closeEditConfirmationLightbox() },\n React.createElement(Div, { className: \"lightbox-content\" },\n React.createElement(EditConfirmation, { editedItemType: this.state.editedItemType, onClose: () => this.closeEditConfirmationLightbox() })))));\n }\n componentDidMount() {\n PumaAdviserUserActionsCreator.loadCurrent();\n }\n onPumaAdviserUserStoreChange() {\n if (!PumaAdviserUserStore.isLoading()) {\n this.updateStatePart(x => {\n x.user = PumaAdviserUserStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n closeEditConfirmationLightbox() {\n this.updateStatePart(x => {\n x.showConfirmationLightbox = false;\n x.editedItemType = EditableItemType.NotSpecified;\n });\n }\n showEditConfirmationLightbox(editedItemType) {\n this.updateStatePart(x => {\n x.showConfirmationLightbox = true;\n x.editedItemType = editedItemType;\n }, () => PumaAdviserUserActionsCreator.loadCurrent());\n }\n getDefaultState() {\n return {\n showConfirmationLightbox: false,\n user: DefaultValues.pumaAdviserUser,\n isLoading: true\n };\n }\n}\n","import React from \"react\";\nimport { AdviserDetails } from \"./Components/AdviserDetails\";\nimport { AuthenticatedLayout } from \"./../../Shared/Common/Components/Layout/Authenticated/AuthenticatedLayout\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(AuthenticatedLayout, null,\n React.createElement(AdviserDetails, null)));\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n }\n}\n","import { App } from \"./App\";\nimport { RootRoute } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App);\n }\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nexport class Router extends React.Component {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","export class View extends Wrap.System.BaseView {\n ssoSessionForm;\n pumaUserIdHidden;\n userCreatedHidden;\n userLastLoginHidden;\n userLastUpdatedHidden;\n unipassSerialNumberHidden;\n fnzUserIdHidden;\n sessionDataSuccessfullyRetrievedHidden;\n urlToRetrieveCurrentUserInfoHidden;\n sessionSetupTokenHidden;\n constructor() {\n super();\n this.ssoSessionForm = this.ComponentFactory.Create(Wrap.System.Form).FromSelector(\"[data-sso-session-form]\");\n this.sessionDataSuccessfullyRetrievedHidden = this.ComponentFactory.Create(Wrap.System.Form).FromSelector(\"[data-session-data-successfully-retrieved-hidden]\");\n this.pumaUserIdHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-puma-user-id-hidden]\");\n this.userCreatedHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-user-created-hidden]\");\n this.userLastLoginHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-user-last-login-hidden]\");\n this.userLastUpdatedHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-user-last-updated-hidden]\");\n this.unipassSerialNumberHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-unipass-serial-number-hidden]\");\n this.fnzUserIdHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-fnz-user-id-hidden]\");\n this.urlToRetrieveCurrentUserInfoHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-url-to-retrieve-current-user-info-hidden]\");\n this.sessionSetupTokenHidden = this.ComponentFactory.Create(Wrap.System.Component).FromSelector(\"[data-session-setup-token-hidden]\");\n }\n}\n","import { Promise } from \"@/react-core/Async/Promise\";\nimport { View } from \"./View\";\nexport class PageManager {\n _view;\n constructor() {\n this._view = new View();\n }\n init() {\n if (this._view.sessionDataSuccessfullyRetrievedHidden) {\n this.requestSessionMe()\n .onSuccess(x => {\n $(this._view.sessionDataSuccessfullyRetrievedHidden.DomElement).val(\"true\");\n $(this._view.pumaUserIdHidden.DomElement).val(x.id);\n $(this._view.userCreatedHidden.DomElement).val(x.created);\n $(this._view.userLastLoginHidden.DomElement).val(x.lastLogin);\n $(this._view.userLastUpdatedHidden.DomElement).val(x.lastUpdated);\n $(this._view.unipassSerialNumberHidden.DomElement).val(x.profile.unipassSerialNumber);\n $(this._view.fnzUserIdHidden.DomElement).val(x.profile.fnzId);\n $(this._view.sessionSetupTokenHidden.DomElement).val(this.getParameterByName(\"SessionSetupToken\"));\n this._view.ssoSessionForm.Submit();\n })\n .onError(x => {\n $(this._view.sessionDataSuccessfullyRetrievedHidden.DomElement).val(\"false\");\n this._view.ssoSessionForm.Submit();\n });\n }\n }\n requestSessionMe() {\n const url = $(this._view.urlToRetrieveCurrentUserInfoHidden.DomElement).val();\n return new Promise((onSuccess, onError) => {\n const data = {\n url: url,\n crossDomain: true,\n xhrFields: { withCredentials: true }\n };\n $.ajax(data).then((data) => {\n onSuccess(data);\n }, (request, status, errors) => {\n onError({});\n });\n });\n }\n getParameterByName(name, url = window.location.href) {\n const nameReplaced = name.replace(/[\\[\\]]/g, '\\\\$&');\n const regex = new RegExp('[?&]' + nameReplaced + '(=([^&#]*)|&|#|$)', 'i');\n const results = regex.exec(url);\n if (!results) {\n return null;\n }\n if (!results[2]) {\n return '';\n }\n return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n }\n}\n","export class Content {\n static welcomePage = {\n header: \"Upgrading your user details\",\n subHader: \"It looks like you are ready to be transitioned to our new portal!\",\n transitionProcessInfo1: \"We are enhancing our online services so you can manage your account yourself, so we need to ask you for a few additional details before you log in.\",\n startButton: \"Start\",\n logOutButton: \"Log out\"\n };\n static wizardStepper = {\n progress: \"Progress\",\n header: \"Upgrading your user details\",\n password: \"Choose password\",\n securityQuestion: \"Security question\",\n antiPhishing: \"Extra security\"\n };\n static wizard = {\n common: {\n cancelWizardWarningHeader: \"Cancelling the wizard will log you out.\",\n cancelWizardWarningInfo: \"Do you really want to proceed?\",\n logout: \"Log out\",\n cancel: \"Cancel\"\n },\n passwordWizardSection: {\n passwordChangeExplanation: \"We noticed that your current password is not strong enough. Please create new password, that follows rules below.\",\n passwordMustBeDifferentFromOtherSecurityItems: \"Password must be different from user name, anti-phishing phrase and security answer\",\n passwordMustNotContainFirstNameAndSurname: \"Password must not contain first name or surname.\"\n },\n antiPhishingWizardSection: {\n learnMore: \"Learn more\",\n securityIsImportantToUs: \"Your security is really important to us.\",\n antiPhishingExplanation: \"As an extra security measure to help keep you safe each time you log in, we’ll show you a memorable picture and phrase to prove you’re on our platform before you enter your password.\",\n useDefaultOrPickOwn: \"You can use the picture and phrase we've provided or pick your own.\",\n antiphishingPhraseMustBeDifferentFromOtherSecurityItems: \"Anti-phishing phrase must be different from username, password and security answer\"\n },\n securityQuestionWizardSection: {\n securityAnswerMustBeDifferentFromOtherSecurityItems: \"Security answer must be different from username, password and anti-phishing phrase\"\n }\n };\n static validation = {\n passwordRequirementsWereNotMet: \"Your password either does not meet one or more requirements or contains a restricted word. Please try a different password. The password must not contain your first name, your surname, or any parts of your username. It must contain at least 8 characters, including at least one uppercase letter, at least one lower case letter and a number.\",\n pumaUserSecurityQuestionAnswerRequirementsNotMet: \"Security answer does not meet required complexity\"\n };\n}\n","import { Content } from \"./../../Resources/Content\";\nimport { BaseApiErrorDictionary } from \"@/react-core/Core/BaseApiErrorDictionary\";\nimport { PumaCurrentAdviserUserTransitionCompletionErrors } from \"@/Wrap/Validation/Errors/Onboarding/Adviser/PumaCurrentAdviserUserTransitionCompletionErrors\";\nexport class PumaCurrentAdviserUserTransitionCompletionErrorsDictionary extends BaseApiErrorDictionary {\n getMap() {\n var map = new Map();\n map.set(PumaCurrentAdviserUserTransitionCompletionErrors.PasswordRequirementsWereNotMet, Content.validation.passwordRequirementsWereNotMet);\n map.set(PumaCurrentAdviserUserTransitionCompletionErrors.PumaUserSecurityQuestionAnswerRequirementsNotMet, Content.validation.pumaUserSecurityQuestionAnswerRequirementsNotMet);\n return map;\n }\n}\n","import { ContextStore } from '@/react-core/Flux/Variables';\nimport { RoutesHelper } from '@/react-core/Utils/RoutesHelper';\nimport { AjaxWrapper } from '@/react-core/Async/AjaxWrapper';\nexport class PumaCurrentAdviserUserTransitionCompletionClient {\n _culture;\n constructor() {\n var contextStoreState = ContextStore.getContext();\n this._culture = contextStoreState.culture;\n }\n post(completionData) {\n const subResourceUrl = 'robo';\n let actionRoute = '/{culture}/Api/Onboarding/PumaCurrentAdviserUserTransitionCompletion/Post';\n if (IS_RUNNING_IN_APP_POOL)\n actionRoute = '/' + subResourceUrl + actionRoute;\n const url = RoutesHelper.replacePlaceholdersInUrl(actionRoute, this._culture);\n const data = { completionData: completionData };\n return AjaxWrapper.post(url, data);\n }\n}\n","import { PumaCurrentAdviserUserTransitionCompletionClient } from \"@/Puma/Api/Onboarding/PumaCurrentAdviserUserTransitionCompletion\";\nexport class PumaCurrentAdviserUserTransitionCompletionActionsCreator {\n static submit(completionData) {\n const client = new PumaCurrentAdviserUserTransitionCompletionClient();\n return client.post(completionData);\n }\n}\n","import React from \"react\";\nimport { CustomerHelpSection } from \"./../../../Shared/Common/Components/Layout/Shared/HelpSections/CustomerHelpSection\";\nimport { DetailedSideWizardStepperUI } from \"./../../../Shared/WizardSteppers/Components/DetailedSideWizardStepperUI\";\nimport { Content } from \"./../../Resources/Content\";\nimport { TopWizardStepperUI } from \"./../../../Shared/WizardSteppers/Components/TopWizardStepperUI\";\nimport { AdviserTransitionWizardStepperId } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepperId\";\nimport { WizardSectionLayout as WizardSectionLayout__alias1 } from \"./../../../Shared/WizardSteppers/OMW/Components/WizardSectionLayout\";\nimport { withConfirmableCancel } from \"./../../../Shared/WizardSteppers/OMW/Components/withConfirmableCancel\";\nconst WizardSectionLayoutWithConfirmableCancel = withConfirmableCancel(WizardSectionLayout__alias1);\nexport const WizardSectionLayout = (props) => {\n return (React.createElement(WizardSectionLayoutWithConfirmableCancel, { ...props, topStepperId: AdviserTransitionWizardStepperId.Top, topStepperUI: TopWizardStepperUI, sideStepperHeader: Content.wizardStepper.progress, sideStepperId: AdviserTransitionWizardStepperId.Side, sideStepperUI: DetailedSideWizardStepperUI, sidePanelHeader: props.userName, helpSection: CustomerHelpSection, confirmableCancelHeader: Content.wizard.common.cancelWizardWarningHeader, confirmableCancelInfo: Content.wizard.common.cancelWizardWarningInfo, confirmableCancelConfirmBtnLabel: Content.wizard.common.logout, confirmableCancelCancelBtnLabel: Content.wizard.common.cancel }));\n};\n","export var AdviserTransitionWizardStepType;\n(function (AdviserTransitionWizardStepType) {\n AdviserTransitionWizardStepType[\"NotSpecified\"] = \"NotSpecified\";\n AdviserTransitionWizardStepType[\"Password\"] = \"Password\";\n AdviserTransitionWizardStepType[\"SecurityQuestion\"] = \"SecurityQuestion\";\n AdviserTransitionWizardStepType[\"AntiPhishing\"] = \"AntiPhishing\";\n})(AdviserTransitionWizardStepType || (AdviserTransitionWizardStepType = {}));\n","import React from \"react\";\nimport { Scroll } from \"@/react-core/Utils/Scroll\";\nimport { PumaCurrentAdviserUserTransitionCompletionErrorsDictionary } from \"./../../Entities/ErrorsDictionaries/PumaCurrentAdviserUserTransitionCompletionErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { PumaCurrentAdviserUserTransitionCompletionActionsCreator } from \"./../../ActionsCreators/PumaCurrentAdviserUserTransitionCompletionActionsCreator\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { TransitionSuccess } from \"./../../../Shared/UserTransition/Components/TransitionSuccess\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { AnonymousAntiPhishing } from \"./../../../Shared/AntiPhishing/Components/AnonymousAntiPhishing\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserTransitionWizardStepType } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class AntiPhishingWizardSection extends FormComponent {\n _currentStepId = AdviserTransitionWizardStepType.AntiPhishing;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const { user, antiPhishingSectionData } = this.props.wizardData;\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.wizardStepper.header, userName: user.Username, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: true, canConfirm: true, canContinue: false, canSaveAndExit: false, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), onConfirm: this.confirm, onCancel: this.props.navigationActions.cancel },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"p\", { className: \"mb-8\" }, Content.wizard.antiPhishingWizardSection.securityIsImportantToUs),\n React.createElement(\"p\", { className: \"mb-8\" },\n React.createElement(\"strong\", null, Content.wizard.antiPhishingWizardSection.antiPhishingExplanation)),\n React.createElement(\"p\", { className: \"mb-48\" },\n React.createElement(\"span\", null, Content.wizard.antiPhishingWizardSection.useDefaultOrPickOwn),\n React.createElement(\"a\", { className: \"hyperlink\" }, Content.wizard.antiPhishingWizardSection.learnMore)),\n React.createElement(AnonymousAntiPhishing, { antiPhishingData: antiPhishingSectionData.antiPhishingData, allowUserPickOwnImageAndPhrase: true, onAntiPhishingDataChange: antiPhishingSectionData.onAntiPhishingDataChange }),\n React.createElement(Lightbox, { show: this.state.isTransitionSuccessfullyFinished, onClose: this.redirectToTermsAndConditions },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(TransitionSuccess, { pumaUserType: PumaUserType.Adviser, onClose: this.redirectToTermsAndConditions }))))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { passwordSectionData, antiPhishingSectionData, securityQuestionSectionData, user } = this.props.wizardData;\n const antiPhishingPhrase = antiPhishingSectionData.antiPhishingData.antiPhishingPhrase;\n if (antiPhishingPhrase !== \"\") {\n if (Strings.isSame(antiPhishingPhrase, passwordSectionData.newPassword)\n || Strings.isSame(antiPhishingPhrase, user.Username)\n || Strings.isSame(antiPhishingPhrase, securityQuestionSectionData.selectedSecurityAnswer)) {\n const validationErrors = [Content.wizard.antiPhishingWizardSection.antiphishingPhraseMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n confirm() {\n if (this.isValid()) {\n this.updateStatePart(x => x.isLoading = true, () => {\n const { passwordSectionData, antiPhishingSectionData, securityQuestionSectionData } = this.props.wizardData;\n PumaCurrentAdviserUserTransitionCompletionActionsCreator.submit({\n Password: passwordSectionData.newPassword,\n EncryptedAntiPhishingImageDocumentId: antiPhishingSectionData.antiPhishingData.antiPhishingImageDocument.Document.EncryptedDocumentId,\n AntiPhishingPhrase: antiPhishingSectionData.antiPhishingData.antiPhishingPhrase,\n SecurityQuestionAnswer: securityQuestionSectionData.selectedSecurityAnswer,\n SecurityQuestionCode: securityQuestionSectionData.selectedSecurityQuestion.QuestionCode\n })\n .onSuccess(result => {\n this.updateStatePart(x => {\n x.isTransitionSuccessfullyFinished = true;\n x.isLoading = false;\n });\n })\n .onError(errors => {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(errors, PumaCurrentAdviserUserTransitionCompletionErrorsDictionary);\n this.updateStatePart(x => {\n x.isLoading = false;\n x.validationErrors = validationErrors;\n }, Scroll.scrollTop);\n });\n });\n }\n }\n redirectToTermsAndConditions() {\n this.updateStatePart(x => x.isLoading = true, () => {\n const urlsHelper = new SharedUrlsHelper();\n window.location.assign(urlsHelper.getTermsAndConditionsUrl());\n });\n }\n getDefaultState() {\n return {\n isTransitionSuccessfullyFinished: false,\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.confirm = this.confirm.bind(this);\n this.redirectToTermsAndConditions = this.redirectToTermsAndConditions.bind(this);\n }\n}\n","import React from \"react\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { SecurityQuestionPicker } from \"./../../../Shared/SecurityQuestions/Components/SecurityQuestionPicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserTransitionWizardStepType } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class SecurityQuestionWizardSection extends FormComponent {\n _currentStepId = AdviserTransitionWizardStepType.SecurityQuestion;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const { user, securityQuestionSectionData } = this.props.wizardData;\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.wizardStepper.header, userName: user.Username, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: this.props.isPasswordChangeRequired, canConfirm: false, canContinue: true, canSaveAndExit: false, onContinue: this.continue, onNavigateBack: () => this.props.navigationActions.navigateBack(this._currentStepId), onCancel: this.props.navigationActions.cancel },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(SecurityQuestionPicker, { pumaUserId: user.PumaUserId, selectedSecurityAnswer: securityQuestionSectionData.selectedSecurityAnswer, selectedSecurityQuestion: securityQuestionSectionData.selectedSecurityQuestion, onSelectedAnswerChange: securityQuestionSectionData.onSelectedAnswerChange, onSelectedSecurityQuestionChange: securityQuestionSectionData.onSelectedSecurityQuestionChange }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { passwordSectionData, antiPhishingSectionData, securityQuestionSectionData, user } = this.props.wizardData;\n const securityAnswer = securityQuestionSectionData.selectedSecurityAnswer;\n if (securityAnswer !== \"\") {\n if (Strings.isSame(securityAnswer, antiPhishingSectionData.antiPhishingData.antiPhishingPhrase)\n || Strings.isSame(securityAnswer, user.Username)\n || Strings.isSame(securityAnswer, passwordSectionData.newPassword)) {\n const validationErrors = [Content.wizard.securityQuestionWizardSection.securityAnswerMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n continue() {\n if (this.isValid()) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n }\n}\n","import React from \"react\";\nimport { Strings } from \"@/react-core/Utils/Strings\";\nimport { PasswordCreation } from \"./../../../Shared/Password/Components/PasswordCreation\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { WizardSectionLayout } from \"./WizardSectionLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { AdviserTransitionWizardStepType } from \"./../../Entities/WizardStepper/AdviserRegistrationWizardStepType\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class PasswordWizardSection extends FormComponent {\n _currentStepId = AdviserTransitionWizardStepType.Password;\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n }\n render() {\n const { user, passwordSectionData } = this.props.wizardData;\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(WizardSectionLayout, { topStepperHeader: Content.wizardStepper.header, userName: user.Username, showSideStepper: true, showTopStepper: true, canCancel: true, canNavigateBack: false, canConfirm: false, canContinue: true, canSaveAndExit: false, onContinue: this.continue, onCancel: this.props.navigationActions.cancel },\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: this.state.validationErrors }),\n React.createElement(\"p\", null,\n React.createElement(\"strong\", null, Content.wizard.passwordWizardSection.passwordChangeExplanation)),\n React.createElement(PasswordCreation, { header: null, validateNewPasswordAgainstCurrent: false, newPassword: passwordSectionData.newPassword, confirmPassword: passwordSectionData.confirmPassword, onNewPasswordChange: passwordSectionData.onNewPasswordChange, onConfirmPasswordChange: passwordSectionData.onConfirmPasswordChange }))));\n }\n isValid() {\n if (!super.isValid()) {\n return false;\n }\n const validationErrors = this.validate();\n return validationErrors.length <= 0;\n }\n validate() {\n const { passwordSectionData, antiPhishingSectionData, securityQuestionSectionData, user } = this.props.wizardData;\n const password = passwordSectionData.newPassword;\n if (password !== \"\") {\n if (Strings.hasSubstring(password, user.Username)\n || Strings.isSame(password, antiPhishingSectionData.antiPhishingData.antiPhishingPhrase)\n || Strings.isSame(password, securityQuestionSectionData.selectedSecurityAnswer)) {\n const validationErrors = [Content.wizard.passwordWizardSection.passwordMustBeDifferentFromOtherSecurityItems];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n if (Strings.hasSubstring(password, user.FirstName)\n || Strings.hasSubstring(password, user.LastName)) {\n const validationErrors = [Content.wizard.passwordWizardSection.passwordMustNotContainFirstNameAndSurname];\n this.updateStatePart(x => x.validationErrors = validationErrors);\n return validationErrors;\n }\n }\n return [];\n }\n continue() {\n if (this.isValid()) {\n this.props.navigationActions.navigateNext(this._currentStepId);\n }\n }\n getDefaultState() {\n return {\n validationErrors: []\n };\n }\n bindPrivateMethods() {\n this.continue = this.continue.bind(this);\n }\n}\n","export const DefaultValues = {\n pumaAdviserUser: {}\n};\n","import { Navigator } from \"./../../../Shared/WizardSteppers/Entities/Navigation/Navigator\";\nimport { Urls } from \"./../../Urls\";\nimport { Content } from \"./../../Resources/Content\";\nimport { AdviserTransitionWizardStepType } from \"./AdviserRegistrationWizardStepType\";\nexport const WizardStepsProvider = (data) => {\n const stepDefinitions = [];\n if (data.isPasswordChangeRequired) {\n stepDefinitions.push({\n id: AdviserTransitionWizardStepType.Password,\n title: Content.wizardStepper.password,\n url: {\n routeFragment: Urls.get().wizard.passwordSection,\n queryParameters: null\n },\n onVisit: null\n });\n }\n stepDefinitions.push({\n id: AdviserTransitionWizardStepType.SecurityQuestion,\n title: Content.wizardStepper.securityQuestion,\n url: {\n routeFragment: Urls.get().wizard.securityQuestionSection,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.push({\n id: AdviserTransitionWizardStepType.AntiPhishing,\n title: Content.wizardStepper.antiPhishing,\n url: {\n routeFragment: Urls.get().wizard.antiphishingSection,\n queryParameters: null\n },\n onVisit: null\n });\n stepDefinitions.map(x => {\n x.onVisit = () => Navigator.navigateToAndPreserveQueryParameters(x.url.routeFragment);\n });\n return stepDefinitions;\n};\n","import React from \"react\";\nimport { DefaultValues } from \"./../DefaultValues\";\nimport { Urls } from \"./../Urls\";\nimport { NavigationStore } from \"@/react-core/Flux/Variables\";\nimport { PumaAdviserUserActionsCreator } from \"./../../Shared/User/ActionsCreators/PumaAdviserUserActionsCreator\";\nimport { PublicWizardSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicWizardSiteLayout\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { PumaAdviserUserStore } from \"./../../Shared/User/Stores/PumaAdviserUserStore\";\nimport { WizardStepsProvider } from \"./../Entities/WizardStepper/WizardStepsProvider\";\nimport { WizardStepsController } from \"./../../Shared/WizardSteppers/Entities/WizardStepsController\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Wizard extends BaseComponent {\n _wizardStepsController;\n constructor(props) {\n super(props);\n this._wizardStepsController = new WizardStepsController(WizardStepsProvider);\n this.state = this.getDefaultState();\n this.bindPrivateMethods();\n this.subscribeToStore(PumaAdviserUserStore, this.onPumaAdviserUserStoreChange);\n }\n render() {\n if (this.shouldRedirectToFirstSection()) {\n return React.createElement(\"div\", null);\n }\n const wizardStepsControllerData = {\n isPasswordChangeRequired: this.props.isPasswordChangeRequired\n };\n return (React.createElement(Div, { isLoading: this.state.isLoading, isBlocking: true },\n React.createElement(PublicWizardSiteLayout, null, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n isPasswordChangeRequired: this.props.isPasswordChangeRequired,\n wizardData: this.state.wizardData,\n navigationActions: {\n navigateNext: (currentStepId) => this._wizardStepsController.navigateToNextStep(currentStepId, wizardStepsControllerData),\n navigateBack: (currentStepId) => this._wizardStepsController.navigateToPreviousStep(currentStepId, wizardStepsControllerData),\n cancel: this.logout\n }\n }))));\n }\n componentDidMount() {\n this._wizardStepsController.init({ isPasswordChangeRequired: this.props.isPasswordChangeRequired });\n PumaAdviserUserActionsCreator.loadCurrent();\n }\n componentWillMount() {\n super.componentWillMount();\n if (this.shouldRedirectToFirstSection()) {\n this._wizardStepsController.navigateToFirstStep({\n isPasswordChangeRequired: this.props.isPasswordChangeRequired\n });\n }\n }\n onPumaAdviserUserStoreChange() {\n if (!PumaAdviserUserStore.isLoading()) {\n this.updateStatePart(x => {\n x.wizardData.user = PumaAdviserUserStore.getPayload();\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n logout() {\n this.updateStatePart(x => x.isLoading = true, () => window.location.assign((new SharedUrlsHelper()).getLogoutUrl()));\n }\n updateWizardDataPart(updateFunc) {\n this.updateStatePart(x => updateFunc(x.wizardData));\n }\n shouldRedirectToFirstSection() {\n if (this.props.isPasswordChangeRequired && !this.state.wizardData.passwordSectionData.newPassword) {\n const activeUrl = NavigationStore.getActiveUrl();\n if (activeUrl.getFullRoutePath() !== Urls.get().wizard.passwordSection.getFullRoutePath()) {\n return true;\n }\n }\n if (!this.props.isPasswordChangeRequired && !this.state.wizardData.securityQuestionSectionData.selectedSecurityAnswer) {\n const activeUrl = NavigationStore.getActiveUrl();\n if (activeUrl.getFullRoutePath() !== Urls.get().wizard.securityQuestionSection.getFullRoutePath()) {\n return true;\n }\n }\n return false;\n }\n getDefaultState() {\n return {\n wizardData: {\n user: DefaultValues.pumaAdviserUser,\n passwordSectionData: {\n onNewPasswordChange: (password) => this.updateWizardDataPart(x => x.passwordSectionData.newPassword = password),\n onConfirmPasswordChange: (password) => this.updateWizardDataPart(x => x.passwordSectionData.confirmPassword = password)\n },\n securityQuestionSectionData: {\n onSelectedAnswerChange: (answer) => this.updateWizardDataPart(x => x.securityQuestionSectionData.selectedSecurityAnswer = answer),\n onSelectedSecurityQuestionChange: (question) => this.updateWizardDataPart(x => x.securityQuestionSectionData.selectedSecurityQuestion = question)\n },\n antiPhishingSectionData: {\n antiPhishingData: {\n antiPhishingImageDocument: {\n Document: {}\n }\n },\n onAntiPhishingDataChange: (data) => this.updateWizardDataPart(x => x.antiPhishingSectionData.antiPhishingData = data)\n }\n }\n };\n }\n bindPrivateMethods() {\n this.logout = this.logout.bind(this);\n this.onPumaAdviserUserStoreChange = this.onPumaAdviserUserStoreChange.bind(this);\n this.shouldRedirectToFirstSection = this.shouldRedirectToFirstSection.bind(this);\n }\n}\n","import React from \"react\";\nimport { Anchor } from \"@/react-core/Html/Anchor\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../Resources/Content\";\nimport { PublicSiteLayout } from \"./../../Shared/Common/Components/Layout/Public/PublicSiteLayout\";\nimport { Urls } from \"./../Urls\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nexport const WelcomePage = (props) => {\n function startWizard() {\n RoutingActions.navigateTo(Urls.get().wizard.getUrl());\n }\n function logout() {\n window.location.assign(new SharedUrlsHelper().getLogoutUrl());\n }\n return (React.createElement(PublicSiteLayout, null,\n React.createElement(\"section\", null,\n React.createElement(\"h1\", { className: \"heading-section mt-48\" }, Content.welcomePage.header),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-6\" },\n React.createElement(\"p\", { className: \"mb-8\" },\n React.createElement(\"strong\", null, Content.welcomePage.subHader)),\n React.createElement(\"p\", { className: \"mb-48\" }, Content.welcomePage.transitionProcessInfo1))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-auto\" },\n React.createElement(Button, { className: \"btn primary large\", onClick: startWizard }, Content.welcomePage.startButton)),\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-auto\" },\n React.createElement(Anchor, { className: \"btn secondary large\", onClick: logout, showLoadingIndicatorOnClick: true }, Content.welcomePage.logOutButton))))));\n};\n","import React from \"react\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n isPasswordChangeRequired: this.state.appModel.IsPasswordChangeRequired\n })));\n }\n getDefaultState() {\n const appModel = $(\"[data-view-model]\").data(\"value\");\n return { appModel: appModel };\n }\n}\n","import { AntiPhishingWizardSection } from \"./Components/WizardSections/AntiPhishingWizardSection\";\nimport { SecurityQuestionWizardSection } from \"./Components/WizardSections/SecurityQuestionWizardSection\";\nimport { PasswordWizardSection } from \"./Components/WizardSections/PasswordWizardSection\";\nimport { Wizard } from \"./Components/Wizard\";\nimport { WelcomePage } from \"./Components/WelcomePage\";\nimport { App } from \"./App\";\nimport { RootRoute, NestedRouteFragment } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, WelcomePage);\n }\n welcomePage = this.createPage(\"\", WelcomePage);\n wizard = this.createCustomPage(\"wizard\", Wizard, WizardUrls);\n}\nexport class WizardUrls extends NestedRouteFragment {\n constructor(route, component, parent, indexComponent) {\n super(route, component, parent, PasswordWizardSection);\n }\n passwordSection = this.createPage(\"password\", PasswordWizardSection);\n securityQuestionSection = this.createPage(\"securityquestion\", SecurityQuestionWizardSection);\n antiphishingSection = this.createPage(\"antiphishing\", AntiPhishingWizardSection);\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Router extends BaseComponent {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","import React from \"react\";\nimport { PublicSiteLayout } from \"./../../../../Shared/Common/Components/Layout/Public/PublicSiteLayout\";\nexport const AdviserLayout = (props) => {\n return (React.createElement(PublicSiteLayout, null, props.children));\n};\n","import React from \"react\";\nimport { LoginUserNameStore } from \"./../../Shared/Stores/LoginUserNameStore\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { Content } from \"./../../Resources/Content\";\nimport { AdviserLayout } from \"./Layout/AdviserLayout\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class ForgottenPasswordContactUs extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = {};\n }\n render() {\n return (React.createElement(AdviserLayout, null,\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.nextSteps.nextStepsHeading),\n React.createElement(\"div\", { className: \"alert-success is-acc large mb-48\", role: \"alert\" },\n React.createElement(\"div\", { className: \"alert-theme-icon\", \"aria-hidden\": true }),\n React.createElement(\"div\", { className: \"sr-only\" }, \"Success alert\"),\n Content.forgottenPassword.adviserContactUs.message),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"a\", { className: \"btn primary large mb-8\", onClick: e => { e.preventDefault(); RoutingActions.navigateTo(this.props.loginAppUrls.homePageUrl); } }, Content.forgottenPassword.nextSteps.backBtnLabel)),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(\"a\", { className: \"btn secondary large mb-8\", href: new SharedUrlsHelper().getOmwHomePageUrl() }, Content.forgottenPassword.nextSteps.returnToOMWBtnLabel)))));\n }\n componentWillMount() {\n super.componentWillMount();\n if (!LoginUserNameStore.isLoading()) {\n if (LoginUserNameStore.isEmpty()) {\n // If there is nothing stored in LoginUserNameStore, user probably visited page by typing it directly into url so let's redirect in that case\n RoutingActions.navigateTo(this.props.loginAppUrls.homePageUrl);\n }\n }\n }\n}\n","import React from \"react\";\nimport { ForgottenPassword } from \"./../../Shared/Components/ForgottenPassword/ForgottenPassword\";\nimport { Content } from \"./../../Resources/Content\";\nimport { AdviserLayout } from \"./Layout/AdviserLayout\";\nexport const ForgottenPasswordEmailSentConfirmation = (props) => {\n return (React.createElement(AdviserLayout, null,\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.nextSteps.nextStepsHeading),\n React.createElement(ForgottenPassword, { loginAppUrls: props.loginAppUrls })));\n};\n","import React from \"react\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { ForgottenUserName as ForgottenUserName__alias1 } from \"./../../Shared/Components/ForgottenUserName/ForgottenUserName\";\nimport { Content } from \"./../../Resources/Content\";\nimport { AdviserLayout } from \"./Layout/AdviserLayout\";\nexport const ForgottenUserName = (props) => {\n return (React.createElement(AdviserLayout, null,\n React.createElement(\"h1\", { className: \"heading-page-underlined\" }, Content.forgotUsername.forgottenUsernameHeading),\n React.createElement(ForgottenUserName__alias1, { loginAppUrls: props.loginAppUrls, pumaUserType: PumaUserType.Adviser })));\n};\n","import React from \"react\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { LoginPasswordDetails } from \"./../../Shared/Components/Login/LoginPasswordDetails\";\nimport { AdviserLayout } from \"./Layout/AdviserLayout\";\nimport { LoginUserNameStore } from \"./../../Shared/Stores/LoginUserNameStore\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class Password extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(LoginUserNameStore, this.onLoginUserNameStoreChange);\n }\n render() {\n return (React.createElement(AdviserLayout, null,\n React.createElement(LoginPasswordDetails, { loginAppUrls: this.props.loginAppUrls, userName: this.state.loginUserName.value, userType: PumaUserType.Adviser })));\n }\n componentWillMount() {\n super.componentWillMount();\n if (!LoginUserNameStore.isLoading()) {\n if (!LoginUserNameStore.isEmpty()) {\n const userName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => x.loginUserName = userName);\n }\n else {\n RoutingActions.navigateTo(this.props.loginAppUrls.homePageUrl);\n }\n }\n }\n onLoginUserNameStoreChange() {\n if (!LoginUserNameStore.isLoading()) {\n const userName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => {\n x.loginUserName = userName;\n x.isLoading = this.isAnyStoreLoading();\n });\n }\n else {\n this.updateStatePart(x => x.isLoading = true);\n }\n }\n getDefaultState() {\n return {\n loginUserName: {}\n };\n }\n bindPrivateMethods() {\n this.onLoginUserNameStoreChange = this.onLoginUserNameStoreChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nexport const UnipassExpirationWarning = (props) => {\n return (React.createElement(\"div\", null,\n React.createElement(\"h1\", { className: \"pr-24\" }, \"Unipass certificate\"),\n React.createElement(\"p\", null,\n Content.unipassCertificate.unipassCertificateNotes.replace(\"{0}\", (new Date(\"11/25/2017\")).toDateString()).replace('{1}', \"10\"),\n React.createElement(\"a\", { className: \"hyperlink-inline\", href: \"https://www.unipass.co.uk\", target: \"_blank\" }, \"www.unipass.co.uk\"),\n \".\"),\n React.createElement(\"div\", { className: \"row narrow-gutter\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn primary\", onClick: props.onWarningAccepted }, Content.unipassCertificate.unipassCertificateNextButton)),\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn secondary\", onClick: props.onWarningCanceled }, Content.unipassCertificate.unipassCertificateCancelButton)))));\n};\n","import React from \"react\";\nimport { UnipassExpirationWarning } from \"./UnipassExpirationWarning\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { Lightbox } from \"@/react-core/Html/Components/Lightbox\";\nimport { Button } from \"@/react-core/Html/Button\";\nimport { Content } from \"./../../../Resources/Content\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class UnipassLogin extends BaseComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(\"div\", null,\n React.createElement(\"h3\", { className: \"mb-30\" }, Content.userName.unipassHeading),\n React.createElement(\"img\", { className: \"block mt-24 mb-40\", src: Content.adviserUserName.uniPassUrl, alt: \"Unipass logo\" }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-auto\" },\n React.createElement(Button, { className: \"btn primary large\", onClick: () => window.location.assign((new SharedUrlsHelper()).sslCertificates.getLoginUrl()) }, Content.userName.unipassLoginButton))),\n React.createElement(Lightbox, { show: this.state.isUnipassExpirationWarningShown, onClose: this.closeUnipassExpirationWarning, closeOnEsc: true },\n React.createElement(Div, { className: \"lightbox-content-480\" },\n React.createElement(UnipassExpirationWarning, { onWarningCanceled: this.closeUnipassExpirationWarning, onWarningAccepted: this.closeUnipassExpirationWarning })))));\n }\n openUnipassExpirationWarning() {\n this.updateStatePart(x => x.isUnipassExpirationWarningShown = true);\n }\n closeUnipassExpirationWarning() {\n this.updateStatePart(x => x.isUnipassExpirationWarningShown = false);\n }\n getDefaultState() {\n return {};\n }\n bindPrivateMethods() {\n this.openUnipassExpirationWarning = this.openUnipassExpirationWarning.bind(this);\n this.closeUnipassExpirationWarning = this.closeUnipassExpirationWarning.bind(this);\n }\n}\n","import React from \"react\";\nimport { RoutingActions } from \"@/react-core/Flux/Variables\";\nimport { LoginUserName } from \"./../../Shared/ActionCreators/LoginUserNameActionsCreator\";\nimport { UnipassLogin } from \"./Unipass/UnipassLogin\";\nimport { PumaUserType } from \"@/Puma/Site/Models/Common/PumaUserType\";\nimport { UserNamePicker } from \"./../../Shared/Components/Login/UserNamePicker\";\nimport { ValidationErrorsContainer } from \"@/react-core/Html/ValidationErrorsContainer\";\nimport { Content } from \"./../../Resources/Content\";\nimport { AdviserLayout } from \"./Layout/AdviserLayout\";\nimport { PumaSessionsErrorsDictionary } from \"./../../Shared/Entities/ErrorsDictionaries/PumaSessionsErrorsDictionary\";\nimport { ApiValidationErrorsMapper } from \"@/react-core/Utils/ApiValidationErrorsMapper\";\nimport { LoginUserNameStore } from \"./../../Shared/Stores/LoginUserNameStore\";\nimport { FormComponent } from \"@/react-core/Html/FormComponent\";\nexport class Login extends FormComponent {\n constructor(props) {\n super(props);\n this.bindPrivateMethods();\n this.state = this.getDefaultState();\n this.subscribeToStore(LoginUserNameStore, this.onLoginUserNameStoreChange);\n }\n render() {\n const validationErrors = ApiValidationErrorsMapper.mapApiErrors(this.props.unipassFailedLoginAttemptErrors.map(x => {\n return { Error: x };\n }), PumaSessionsErrorsDictionary);\n return (React.createElement(AdviserLayout, null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"h1\", { className: \"heading-section mt-48 text-size-30\" }, Content.adviserLayout.layoutHeader))),\n React.createElement(ValidationErrorsContainer, { isServerError: true, validationErrors: validationErrors }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-xs-12\" },\n React.createElement(\"h3\", null, Content.adviserLayout.loginHeader))),\n React.createElement(\"div\", { className: \"row wide-gutter\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-md-6 col-sm-fluid\" },\n React.createElement(UserNamePicker, { userType: PumaUserType.Adviser, currentUserName: this.state.currentConfirmedUserName.value, loginAppUrls: this.props.loginAppUrls, onUserNameConfirmed: this.confirmUserName }))),\n React.createElement(\"div\", { className: \"row wide-gutter\" },\n React.createElement(\"div\", { className: \"col-xs-12 col-sm-fluid\" },\n React.createElement(\"hr\", { className: \"mt-48 mb-34\" }),\n React.createElement(UnipassLogin, null)))));\n }\n componentDidMount() {\n if (!LoginUserNameStore.isLoading() &&\n !LoginUserNameStore.isEmpty()) {\n const loginUserName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => x.currentConfirmedUserName = loginUserName);\n }\n }\n confirmUserName(userName) {\n LoginUserName.set({ value: userName });\n RoutingActions.navigateTo(this.props.loginAppUrls.passwordPageUrl);\n this.props.onUnipassFailedLoginAttemptErrorsAcknowledged();\n }\n onLoginUserNameStoreChange() {\n const loginUserName = LoginUserNameStore.getPayload();\n this.updateStatePart(x => x.currentConfirmedUserName = loginUserName);\n }\n getDefaultState() {\n return {\n currentConfirmedUserName: {}\n };\n }\n bindPrivateMethods() {\n this.confirmUserName = this.confirmUserName.bind(this);\n this.onLoginUserNameStoreChange = this.onLoginUserNameStoreChange.bind(this);\n }\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Div } from \"@/react-core/Html/Div\";\nimport { BaseComponent } from \"@/react-core/Html/BaseComponent\";\nexport class App extends BaseComponent {\n constructor(props) {\n super(props);\n this.state = this.getDefaultState();\n }\n render() {\n return (React.createElement(Div, null, this.props.children && React.cloneElement(React.Children.only(this.props.children), {\n unipassFailedLoginAttemptErrors: this.state.appModel.UnipassFailedLoginAttemptSessionsErrors || [],\n loginAppUrls: this.state.loginAppUrls,\n onUnipassFailedLoginAttemptErrorsAcknowledged: () => this.updateStatePart(s => s.appModel.UnipassFailedLoginAttemptSessionsErrors = [])\n })));\n }\n getDefaultState() {\n const appModel = $(\"[data-view-model]\").data(\"value\");\n return {\n appModel: appModel,\n loginAppUrls: {\n homePageUrl: Urls.get().homePage.getFullRoutePath(),\n passwordPageUrl: Urls.get().passwordPage.getFullRoutePath(),\n forgottenUserNamePageUrl: Urls.get().forgottenUserNamePage.getFullRoutePath(),\n forgottenPasswordEmailSentConfirmationPageUrl: Urls.get().forgottenPasswordSection.emailSentConfirmationPage.getFullRoutePath(),\n forgottenPasswordContactUsPageUrl: Urls.get().forgottenPasswordSection.contactUsPage.getFullRoutePath(),\n loginSuccessUrl: new SharedUrlsHelper().getLoginSuccessUrl()\n }\n };\n }\n}\n","import { ForgottenPasswordContactUs } from \"./Components/ForgottenPasswordContactUs\";\nimport { ForgottenPasswordEmailSentConfirmation } from \"./Components/ForgottenPasswordEmailSentConfirmation\";\nimport { ForgottenUserName } from \"./Components/ForgottenUserName\";\nimport { Password } from \"./Components/Password\";\nimport { Login } from \"./Components/Login\";\nimport { App } from \"./App\";\nimport { RootRoute, NestedRouteFragment } from \"@/react-core/Routing/RouteFragment\";\nexport class Urls {\n static get() {\n Urls.appRootRoute = Urls.appRootRoute || new AppRootRoute();\n return Urls.appRootRoute;\n }\n static appRootRoute;\n}\nexport class AppRootRoute extends RootRoute {\n constructor() {\n super(App, Login);\n }\n homePage = this.createPage(\"\", Login);\n passwordPage = this.createPage(\"password\", Password);\n forgottenUserNamePage = this.createPage(\"forgottenusername\", ForgottenUserName);\n forgottenPasswordSection = this.createCustomPage(\"forgottenpassword\", null, ForgottenPasswordSectionUrls);\n}\nexport class ForgottenPasswordSectionUrls extends NestedRouteFragment {\n emailSentConfirmationPage = this.createPage(\"emailsentconfirmation\", ForgottenPasswordEmailSentConfirmation);\n contactUsPage = this.createPage(\"contactus\", ForgottenPasswordContactUs);\n}\n","import React from \"react\";\nimport { Urls } from \"./Urls\";\nimport { Router as Router__alias1 } from \"@/react-core/Routing/Router\";\nexport class Router extends React.Component {\n render() {\n return React.createElement(Router__alias1, { rootRoute: Urls.get() });\n }\n}\n","import React from \"react\";\nimport { App } from \"@/apps/TermsAndConditions/App\";\nimport { Router as Router__alias11 } from \"@/apps/PasswordReset/Router\";\nimport { Router as Router__alias10 } from \"@/apps/CustomerRegistration/Router\";\nimport { Router as Router__alias9 } from \"@/apps/AdviserSecurityReset/Router\";\nimport { Router as Router__alias8 } from \"@/apps/AdviserRegistration/Router\";\nimport { Router as Router__alias7 } from \"@/apps/LandingPage/Home/Router\";\nimport { Router as Router__alias6 } from \"@/apps/CustomerDetails/Home/Router\";\nimport { Router as Router__alias5 } from \"@/apps/CustomerTransition/Router\";\nimport { Router as Router__alias4 } from \"@/apps/Login/Customer/Router\";\nimport { Router as Router__alias3 } from \"@/apps/AdviserDetails/Home/Router\";\nimport { PageManager } from \"@/pages/Adviser/UnipassLoginSsoSuccess/PageManager\";\nimport { Router as Router__alias2 } from \"@/apps/AdviserTransition/Router\";\nimport { Router as Router__alias1 } from \"@/apps/Login/Adviser/Router\";\nexport const BaseRouter = (props) => {\n switch (props.routingPath) {\n case \"Adviser/Login\":\n return React.createElement(Router__alias1, null);\n case \"Adviser/Logout\":\n break;\n //return \n case \"Adviser/Transition\":\n return React.createElement(Router__alias2, null);\n case \"Adviser/UnipassLoginSsoSuccess\":\n new PageManager().init();\n break;\n case \"AdviserDetails/Home\":\n return React.createElement(Router__alias3, null);\n case \"Customer/Login\":\n return React.createElement(Router__alias4, null);\n case \"Customer/Logout\":\n break;\n case \"Customer/Transition\":\n return React.createElement(Router__alias5, null);\n case \"CustomerDetails/Home\":\n return React.createElement(Router__alias6, null);\n case \"LandingPage/Home\":\n return React.createElement(Router__alias7, null);\n case \"User/AdviserRegistration\":\n return React.createElement(Router__alias8, null);\n case \"User/AdviserSecurityReset\":\n return React.createElement(Router__alias9, null);\n case \"User/CustomerRegistration\":\n return React.createElement(Router__alias10, null);\n case \"User/PasswordReset\":\n return React.createElement(Router__alias11, null);\n case \"User/TermsAndConditions\":\n return React.createElement(App, null);\n default: return null;\n }\n};\n","import ReactDOM from \"react-dom\";\nimport React from \"react\";\nimport { BaseRouter } from \"@/BaseRouter\";\n$(document).ready(() => {\n const applicationTarget = $('[data-application-target]')[0];\n const routingPath = applicationTarget?.getAttribute('data-routing-path');\n routingPath && ReactDOM.render(React.createElement(BaseRouter, { routingPath: routingPath }), applicationTarget);\n});\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = exports.animationEnd = exports.animationDelay = exports.animationTiming = exports.animationDuration = exports.animationName = exports.transitionEnd = exports.transitionDuration = exports.transitionDelay = exports.transitionTiming = exports.transitionProperty = exports.transform = void 0;\n\nvar _inDOM = _interopRequireDefault(require(\"../util/inDOM\"));\n\nvar transform = 'transform';\nexports.transform = transform;\nvar prefix, transitionEnd, animationEnd;\nexports.animationEnd = animationEnd;\nexports.transitionEnd = transitionEnd;\nvar transitionProperty, transitionDuration, transitionTiming, transitionDelay;\nexports.transitionDelay = transitionDelay;\nexports.transitionTiming = transitionTiming;\nexports.transitionDuration = transitionDuration;\nexports.transitionProperty = transitionProperty;\nvar animationName, animationDuration, animationTiming, animationDelay;\nexports.animationDelay = animationDelay;\nexports.animationTiming = animationTiming;\nexports.animationDuration = animationDuration;\nexports.animationName = animationName;\n\nif (_inDOM.default) {\n var _getTransitionPropert = getTransitionProperties();\n\n prefix = _getTransitionPropert.prefix;\n exports.transitionEnd = transitionEnd = _getTransitionPropert.transitionEnd;\n exports.animationEnd = animationEnd = _getTransitionPropert.animationEnd;\n exports.transform = transform = prefix + \"-\" + transform;\n exports.transitionProperty = transitionProperty = prefix + \"-transition-property\";\n exports.transitionDuration = transitionDuration = prefix + \"-transition-duration\";\n exports.transitionDelay = transitionDelay = prefix + \"-transition-delay\";\n exports.transitionTiming = transitionTiming = prefix + \"-transition-timing-function\";\n exports.animationName = animationName = prefix + \"-animation-name\";\n exports.animationDuration = animationDuration = prefix + \"-animation-duration\";\n exports.animationTiming = animationTiming = prefix + \"-animation-delay\";\n exports.animationDelay = animationDelay = prefix + \"-animation-timing-function\";\n}\n\nvar _default = {\n transform: transform,\n end: transitionEnd,\n property: transitionProperty,\n timing: transitionTiming,\n delay: transitionDelay,\n duration: transitionDuration\n};\nexports.default = _default;\n\nfunction getTransitionProperties() {\n var style = document.createElement('div').style;\n var vendorMap = {\n O: function O(e) {\n return \"o\" + e.toLowerCase();\n },\n Moz: function Moz(e) {\n return e.toLowerCase();\n },\n Webkit: function Webkit(e) {\n return \"webkit\" + e;\n },\n ms: function ms(e) {\n return \"MS\" + e;\n }\n };\n var vendors = Object.keys(vendorMap);\n var transitionEnd, animationEnd;\n var prefix = '';\n\n for (var i = 0; i < vendors.length; i++) {\n var vendor = vendors[i];\n\n if (vendor + \"TransitionProperty\" in style) {\n prefix = \"-\" + vendor.toLowerCase();\n transitionEnd = vendorMap[vendor]('TransitionEnd');\n animationEnd = vendorMap[vendor]('AnimationEnd');\n break;\n }\n }\n\n if (!transitionEnd && 'transitionProperty' in style) transitionEnd = 'transitionend';\n if (!animationEnd && 'animationName' in style) animationEnd = 'animationend';\n style = null;\n return {\n animationEnd: animationEnd,\n transitionEnd: transitionEnd,\n prefix: prefix\n };\n}","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","'use strict';\nmodule.exports = function (str) {\n\treturn encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n\t\treturn '%' + c.charCodeAt(0).toString(16).toUpperCase();\n\t});\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\nexports.__esModule = true;\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar runTransitionHook = function runTransitionHook(hook, location, callback) {\n var result = hook(location, callback);\n\n if (hook.length < 2) {\n // Assume the hook runs synchronously and automatically\n // call the callback with the return value.\n callback(result);\n } else {\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(result === undefined, 'You should not \"return\" in a transition hook with a callback argument; ' + 'call the callback instead') : void 0;\n }\n};\n\nexports.default = runTransitionHook;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _inDOM = _interopRequireDefault(require(\"./inDOM\"));\n\nvar vendors = ['', 'webkit', 'moz', 'o', 'ms'];\nvar cancel = 'clearTimeout';\nvar raf = fallback;\nvar compatRaf;\n\nvar getKey = function getKey(vendor, k) {\n return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + 'AnimationFrame';\n};\n\nif (_inDOM.default) {\n vendors.some(function (vendor) {\n var rafKey = getKey(vendor, 'request');\n\n if (rafKey in window) {\n cancel = getKey(vendor, 'cancel');\n return raf = function raf(cb) {\n return window[rafKey](cb);\n };\n }\n });\n}\n/* https://github.com/component/raf */\n\n\nvar prev = new Date().getTime();\n\nfunction fallback(fn) {\n var curr = new Date().getTime(),\n ms = Math.max(0, 16 - (curr - prev)),\n req = setTimeout(fn, ms);\n prev = curr;\n return req;\n}\n\ncompatRaf = function compatRaf(cb) {\n return raf(cb);\n};\n\ncompatRaf.cancel = function (id) {\n window[cancel] && typeof window[cancel] === 'function' && window[cancel](id);\n};\n\nvar _default = compatRaf;\nexports.default = _default;\nmodule.exports = exports[\"default\"];","function _interopRequireDefault(e) {\n return e && e.__esModule ? e : {\n \"default\": e\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var l=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.forward_ref\"):60112,y=n?Symbol.for(\"react.suspense\"):60113,z=n?Symbol.for(\"react.memo\"):60115,A=n?Symbol.for(\"react.lazy\"):\n60116,B=\"function\"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cQ.length&&Q.push(a)}\nfunction T(a,b,c,e){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var k=0;k=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125>>1,e=a[d];if(void 0!==e&&0K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;\nfunction V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O)}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else{var b=L(O);null!==b&&g(W,b.startTime-a)}}\nfunction X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b)}else M(N);Q=L(N)}if(null!==Q)var m=!0;else{var n=L(O);null!==n&&g(W,n.startTime-b);m=!1}return m}finally{Q=null,R=c,S=!1}}\nfunction Y(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){T||S||(T=!0,f(X))};\nexports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R}var c=R;R=b;try{return a()}finally{R=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=Z;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=R;R=a;try{return b()}finally{R=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if(\"object\"===typeof c&&null!==c){var e=c.delay;e=\"number\"===typeof e&&0d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};\nexports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var history = createHistory(options);\n var stringifyQuery = options.stringifyQuery,\n parseQueryString = options.parseQueryString;\n\n\n if (typeof stringifyQuery !== 'function') stringifyQuery = defaultStringifyQuery;\n\n if (typeof parseQueryString !== 'function') parseQueryString = defaultParseQueryString;\n\n var decodeQuery = function decodeQuery(location) {\n if (!location) return location;\n\n if (location.query == null) location.query = parseQueryString(location.search.substring(1));\n\n return location;\n };\n\n var encodeQuery = function encodeQuery(location, query) {\n if (query == null) return location;\n\n var object = typeof location === 'string' ? (0, _PathUtils.parsePath)(location) : location;\n var queryString = stringifyQuery(query);\n var search = queryString ? '?' + queryString : '';\n\n return _extends({}, object, {\n search: search\n });\n };\n\n // Override all read methods with query-aware versions.\n var getCurrentLocation = function getCurrentLocation() {\n return decodeQuery(history.getCurrentLocation());\n };\n\n var listenBefore = function listenBefore(hook) {\n return history.listenBefore(function (location, callback) {\n return (0, _runTransitionHook2.default)(hook, decodeQuery(location), callback);\n });\n };\n\n var listen = function listen(listener) {\n return history.listen(function (location) {\n return listener(decodeQuery(location));\n });\n };\n\n // Override all write methods with query-aware versions.\n var push = function push(location) {\n return history.push(encodeQuery(location, location.query));\n };\n\n var replace = function replace(location) {\n return history.replace(encodeQuery(location, location.query));\n };\n\n var createPath = function createPath(location) {\n return history.createPath(encodeQuery(location, location.query));\n };\n\n var createHref = function createHref(location) {\n return history.createHref(encodeQuery(location, location.query));\n };\n\n var createLocation = function createLocation(location) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var newLocation = history.createLocation.apply(history, [encodeQuery(location, location.query)].concat(args));\n\n if (location.query) newLocation.query = (0, _LocationUtils.createQuery)(location.query);\n\n return decodeQuery(newLocation);\n };\n\n return _extends({}, history, {\n getCurrentLocation: getCurrentLocation,\n listenBefore: listenBefore,\n listen: listen,\n push: push,\n replace: replace,\n createPath: createPath,\n createHref: createHref,\n createLocation: createLocation\n });\n };\n};\n\nexports.default = useQueries;","'use strict';\n\nexports.__esModule = true;\n\nvar _AsyncUtils = require('./AsyncUtils');\n\nvar _PathUtils = require('./PathUtils');\n\nvar _runTransitionHook = require('./runTransitionHook');\n\nvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\nvar _Actions = require('./Actions');\n\nvar _LocationUtils = require('./LocationUtils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar createHistory = function createHistory() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var getCurrentLocation = options.getCurrentLocation,\n getUserConfirmation = options.getUserConfirmation,\n pushLocation = options.pushLocation,\n replaceLocation = options.replaceLocation,\n go = options.go,\n keyLength = options.keyLength;\n\n\n var currentLocation = void 0;\n var pendingLocation = void 0;\n var beforeListeners = [];\n var listeners = [];\n var allKeys = [];\n\n var getCurrentIndex = function getCurrentIndex() {\n if (pendingLocation && pendingLocation.action === _Actions.POP) return allKeys.indexOf(pendingLocation.key);\n\n if (currentLocation) return allKeys.indexOf(currentLocation.key);\n\n return -1;\n };\n\n var updateLocation = function updateLocation(nextLocation) {\n var currentIndex = getCurrentIndex();\n\n currentLocation = nextLocation;\n\n if (currentLocation.action === _Actions.PUSH) {\n allKeys = [].concat(allKeys.slice(0, currentIndex + 1), [currentLocation.key]);\n } else if (currentLocation.action === _Actions.REPLACE) {\n allKeys[currentIndex] = currentLocation.key;\n }\n\n listeners.forEach(function (listener) {\n return listener(currentLocation);\n });\n };\n\n var listenBefore = function listenBefore(listener) {\n beforeListeners.push(listener);\n\n return function () {\n return beforeListeners = beforeListeners.filter(function (item) {\n return item !== listener;\n });\n };\n };\n\n var listen = function listen(listener) {\n listeners.push(listener);\n\n return function () {\n return listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n };\n\n var confirmTransitionTo = function confirmTransitionTo(location, callback) {\n (0, _AsyncUtils.loopAsync)(beforeListeners.length, function (index, next, done) {\n (0, _runTransitionHook2.default)(beforeListeners[index], location, function (result) {\n return result != null ? done(result) : next();\n });\n }, function (message) {\n if (getUserConfirmation && typeof message === 'string') {\n getUserConfirmation(message, function (ok) {\n return callback(ok !== false);\n });\n } else {\n callback(message !== false);\n }\n });\n };\n\n var transitionTo = function transitionTo(nextLocation) {\n if (currentLocation && (0, _LocationUtils.locationsAreEqual)(currentLocation, nextLocation) || pendingLocation && (0, _LocationUtils.locationsAreEqual)(pendingLocation, nextLocation)) return; // Nothing to do\n\n pendingLocation = nextLocation;\n\n confirmTransitionTo(nextLocation, function (ok) {\n if (pendingLocation !== nextLocation) return; // Transition was interrupted during confirmation\n\n pendingLocation = null;\n\n if (ok) {\n // Treat PUSH to same path like REPLACE to be consistent with browsers\n if (nextLocation.action === _Actions.PUSH) {\n var prevPath = (0, _PathUtils.createPath)(currentLocation);\n var nextPath = (0, _PathUtils.createPath)(nextLocation);\n\n if (nextPath === prevPath && (0, _LocationUtils.statesAreEqual)(currentLocation.state, nextLocation.state)) nextLocation.action = _Actions.REPLACE;\n }\n\n if (nextLocation.action === _Actions.POP) {\n updateLocation(nextLocation);\n } else if (nextLocation.action === _Actions.PUSH) {\n if (pushLocation(nextLocation) !== false) updateLocation(nextLocation);\n } else if (nextLocation.action === _Actions.REPLACE) {\n if (replaceLocation(nextLocation) !== false) updateLocation(nextLocation);\n }\n } else if (currentLocation && nextLocation.action === _Actions.POP) {\n var prevIndex = allKeys.indexOf(currentLocation.key);\n var nextIndex = allKeys.indexOf(nextLocation.key);\n\n if (prevIndex !== -1 && nextIndex !== -1) go(prevIndex - nextIndex); // Restore the URL\n }\n });\n };\n\n var push = function push(input) {\n return transitionTo(createLocation(input, _Actions.PUSH));\n };\n\n var replace = function replace(input) {\n return transitionTo(createLocation(input, _Actions.REPLACE));\n };\n\n var goBack = function goBack() {\n return go(-1);\n };\n\n var goForward = function goForward() {\n return go(1);\n };\n\n var createKey = function createKey() {\n return Math.random().toString(36).substr(2, keyLength || 6);\n };\n\n var createHref = function createHref(location) {\n return (0, _PathUtils.createPath)(location);\n };\n\n var createLocation = function createLocation(location, action) {\n var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createKey();\n return (0, _LocationUtils.createLocation)(location, action, key);\n };\n\n return {\n getCurrentLocation: getCurrentLocation,\n listenBefore: listenBefore,\n listen: listen,\n transitionTo: transitionTo,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n createKey: createKey,\n createPath: _PathUtils.createPath,\n createHref: createHref,\n createLocation: createLocation\n };\n};\n\nexports.default = createHistory;","'use strict';\n\nexports.__esModule = true;\nexports.replaceLocation = exports.pushLocation = exports.getCurrentLocation = exports.go = exports.getUserConfirmation = undefined;\n\nvar _BrowserProtocol = require('./BrowserProtocol');\n\nObject.defineProperty(exports, 'getUserConfirmation', {\n enumerable: true,\n get: function get() {\n return _BrowserProtocol.getUserConfirmation;\n }\n});\nObject.defineProperty(exports, 'go', {\n enumerable: true,\n get: function get() {\n return _BrowserProtocol.go;\n }\n});\n\nvar _LocationUtils = require('./LocationUtils');\n\nvar _PathUtils = require('./PathUtils');\n\nvar getCurrentLocation = exports.getCurrentLocation = function getCurrentLocation() {\n return (0, _LocationUtils.createLocation)(window.location);\n};\n\nvar pushLocation = exports.pushLocation = function pushLocation(location) {\n window.location.href = (0, _PathUtils.createPath)(location);\n return false; // Don't update location\n};\n\nvar replaceLocation = exports.replaceLocation = function replaceLocation(location) {\n window.location.replace((0, _PathUtils.createPath)(location));\n return false; // Don't update location\n};","/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n\n if (format.length < 10 || (/^[s\\W]*$/).test(format)) {\n throw new Error(\n 'The warning format should be able to uniquely identify this ' +\n 'warning. Please, use a more descriptive format than: ' + format\n );\n }\n\n if (!condition) {\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch(x) {}\n }\n };\n}\n\nmodule.exports = warning;\n","'use strict';\n\nvar _CSSTransitionGroup = require('./CSSTransitionGroup');\n\nvar _CSSTransitionGroup2 = _interopRequireDefault(_CSSTransitionGroup);\n\nvar _TransitionGroup = require('./TransitionGroup');\n\nvar _TransitionGroup2 = _interopRequireDefault(_TransitionGroup);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = {\n TransitionGroup: _TransitionGroup2.default,\n CSSTransitionGroup: _CSSTransitionGroup2.default\n};","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","_invariant2","_interopRequireDefault","_ExecutionEnvironment","_DOMUtils","HashProtocol","obj","__esModule","newObj","default","_interopRequireWildcard","_createHistory2","addLeadingSlash","path","charAt","HashPathCoders","hashbang","encodePath","decodePath","substring","noslash","slash","exports","options","undefined","canUseDOM","queryKey","hashType","pathCoder","getUserConfirmation","history","getCurrentLocation","pushLocation","location","replaceLocation","go","listenerCount","stopListener","startListener","listener","before","transitionTo","unlisten","listenBefore","listen","supportsGoWithoutReloadUsingHash","n","createHref","_runTransitionHook","_runTransitionHook2","_PathUtils","createHistory","basename","addBasename","pathname","toLowerCase","indexOf","prependBasename","object","parsePath","pname","normalizedBasename","slice","normalizedPathname","hook","callback","push","replace","createPath","createLocation","_len","args","Array","_key","apply","concat","module","condition","format","a","b","c","d","e","f","error","Error","argIndex","name","framesToPop","locationsAreEqual","statesAreEqual","createQuery","_typeof","Symbol","iterator","constructor","_Actions","props","create","input","action","POP","search","hash","state","isDate","toString","typeofA","isArray","keysofA","keys","keysofB","every","item","index","nameShape","transitionTimeout","transitionType","timeoutPropName","enabledPropName","_propTypes2","oneOfType","string","shape","enter","leave","active","enterActive","leaveActive","appear","appearActive","element","className","classList","contains","baseVal","_LocationUtils","getQueryStringValueFromPath","stripQueryStringValueFromPath","addQueryStringValueToPath","_warning","value","_parsePath","_parsePath2","RegExp","match","prefix","suffix","hashIndex","searchIndex","replaceClassName","origClass","classToRemove","remove","setAttribute","_DOMStateStorage","PopStateEvent","HashChangeEvent","needsHashchangeListener","supportsPopstateOnHashchange","_createLocation","historyState","window","readState","updateLocation","message","confirm","handlePopState","event","isExtraneousPopstateEvent","addEventListener","handleUnpoppedHashChange","removeEventListener","updateState","saveState","pushState","replaceState","checkDCE","__REACT_DEVTOOLS_GLOBAL_HOOK__","err","console","_react2","_TransitionGroup2","_CSSTransitionGroupChild2","_PropTypes","_possibleConstructorReturn","self","ReferenceError","isRequired","bool","CSSTransitionGroup","_React$Component","_temp","_this","instance","Constructor","TypeError","_classCallCheck","this","_wrapChild","child","createElement","transitionName","transitionAppear","transitionEnter","transitionLeave","appearTimeout","transitionAppearTimeout","enterTimeout","transitionEnterTimeout","leaveTimeout","transitionLeaveTimeout","subClass","superClass","enumerable","writable","configurable","setPrototypeOf","__proto__","_inherits","render","childFactory","Component","displayName","propTypes","defaultProps","_assign","emptyObject","_invariant","MIXINS_KEY","ReactComponent","isValidElement","ReactNoopUpdateQueue","injectedMixins","ReactClassInterface","mixins","statics","contextTypes","childContextTypes","getDefaultProps","getInitialState","getChildContext","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","componentWillUnmount","UNSAFE_componentWillMount","UNSAFE_componentWillReceiveProps","UNSAFE_componentWillUpdate","updateComponent","ReactClassStaticInterface","getDerivedStateFromProps","RESERVED_SPEC_KEYS","mixSpecIntoComponent","createMergedResultFunction","property","mixStaticSpecIntoComponent","autobind","validateMethodOverride","isAlreadyDefined","specPolicy","ReactClassMixin","spec","proto","autoBindPairs","__reactAutoBindPairs","isReactClassMethod","createChainedFunction","mergeIntoWithNoDuplicateKeys","one","two","bindAutoBindMethod","component","method","bind","IsMountedPreMixin","__isMounted","IsMountedPostMixin","newState","updater","enqueueReplaceState","isMounted","ReactClassComponent","context","pairs","autoBindKey","bindAutoBindMethods","refs","initialState","methodName","forEach","_default","document","loopAsync","turns","work","currentTurn","isDone","isSync","hasNext","doneArgs","done","next","React","factory","_chainFunction2","_ChildMapping","any","func","node","TransitionGroup","performAppear","currentlyTransitioningKeys","componentWillAppear","_handleDoneAppearing","componentDidAppear","currentChildMapping","getChildMapping","children","performLeave","performEnter","componentWillEnter","_handleDoneEntering","componentDidEnter","componentWillLeave","_handleDoneLeaving","componentDidLeave","keysToEnter","setState","newChildren","childRefs","keysToLeave","initialChildMapping","nextProps","nextChildMapping","prevChildMapping","mergeChildMappings","hasPrev","_this2","_this3","childrenToRender","_loop","isCallbackRef","ref","factoryChild","r","cloneElement","PUSH","REPLACE","aa","u","encodeURIComponent","ba","g","h","k","l","m","onError","da","ea","fa","ha","ia","ja","la","ma","na","oa","type","currentTarget","ka","pa","qa","ra","sa","extractEvents","eventTypes","ta","phasedRegistrationNames","ua","registrationName","va","wa","dependencies","xa","ya","za","Aa","Ba","Ca","stateNode","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","Pa","Qa","v","acceptsBooleans","attributeName","attributeNamespace","mustUseProperty","propertyName","sanitizeURL","C","split","Ua","Va","toUpperCase","xlinkHref","Wa","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","Xa","Sa","isNaN","Ta","test","Ra","removeAttribute","setAttributeNS","ReactCurrentDispatcher","current","ReactCurrentBatchConfig","suspense","Ya","E","for","Za","$a","ab","bb","cb","db","eb","fb","gb","hb","ib","jb","kb","lb","mb","nb","pb","$$typeof","_status","_result","qb","tag","_debugOwner","_debugSource","fileName","lineNumber","return","rb","sb","nodeName","xb","_valueTracker","getOwnPropertyDescriptor","get","set","defineProperty","getValue","setValue","stopTracking","tb","yb","checked","zb","defaultChecked","defaultValue","_wrapperState","initialChecked","Ab","initialValue","controlled","Bb","Cb","Db","Eb","ownerDocument","activeElement","Gb","Children","Fb","Hb","selected","defaultSelected","disabled","Ib","dangerouslySetInnerHTML","Jb","Kb","Lb","textContent","Mb","Nb","Ob","Pb","Qb","namespaceURI","innerHTML","valueOf","firstChild","removeChild","appendChild","MSApp","execUnsafeLocalFunction","Rb","lastChild","nodeType","nodeValue","Sb","Tb","animationend","animationiteration","animationstart","transitionend","Ub","Vb","Wb","style","animation","transition","Xb","Yb","Zb","$b","ac","bc","WeakMap","Map","cc","dc","alternate","effectTag","ec","memoizedState","dehydrated","fc","hc","sibling","gc","ic","jc","kc","lc","_dispatchListeners","_dispatchInstances","isPropagationStopped","isPersistent","release","mc","nc","srcElement","correspondingUseElement","parentNode","oc","pc","qc","topLevelType","nativeEvent","targetInst","ancestors","rc","pop","eventSystemFlags","sc","containerInfo","tc","uc","has","vc","F","wc","xc","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Kc","blockedOn","container","Lc","delete","pointerId","Mc","Nc","Pc","unstable_runWithPriority","priority","hydrate","Qc","Rc","Sc","Tc","shift","Uc","unstable_scheduleCallback","unstable_NormalPriority","Vc","Wc","Yc","Zc","$c","ad","bubbled","captured","eventPriority","bd","cd","dd","unstable_UserBlockingPriority","ed","fd","gd","hd","id","Oc","jd","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","kd","ld","trim","md","setProperty","nd","menuitem","area","base","br","col","embed","hr","img","keygen","link","meta","param","track","wbr","od","pd","is","qd","rd","sd","td","body","ud","vd","offset","nextSibling","wd","compareDocumentPosition","xd","HTMLIFrameElement","contentWindow","href","yd","contentEditable","zd","Ad","Bd","Cd","Dd","Ed","Fd","autoFocus","Gd","__html","Hd","setTimeout","Id","clearTimeout","Jd","Kd","previousSibling","data","Ld","Math","random","Md","Nd","Od","Pd","Qd","Rd","Sd","Td","dispatchConfig","Ud","_targetInst","Vd","Wd","Xd","Yd","Zd","$d","ae","be","ce","G","Interface","isDefaultPrevented","defaultPrevented","returnValue","ee","eventPool","fe","destructor","de","getPooled","preventDefault","stopPropagation","cancelBubble","persist","eventPhase","bubbles","cancelable","timeStamp","Date","now","isTrusted","extend","ge","he","ie","je","ke","documentMode","le","me","ne","String","fromCharCode","oe","beforeInput","compositionEnd","compositionStart","compositionUpdate","pe","qe","keyCode","re","detail","se","ve","locale","which","te","ctrlKey","altKey","metaKey","char","ue","we","color","date","datetime","email","month","number","password","range","tel","text","time","url","week","xe","ye","change","ze","Ae","Be","Ce","De","Ee","Fe","Ge","detachEvent","He","Ie","attachEvent","Je","Ke","Le","Me","_isInputEventSupported","Ne","view","Oe","Alt","Control","Meta","Shift","Pe","getModifierState","Qe","Re","Se","Te","Ue","Ve","screenX","screenY","clientX","clientY","pageX","pageY","shiftKey","button","buttons","relatedTarget","fromElement","toElement","movementX","movementY","We","width","height","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Xe","mouseEnter","mouseLeave","pointerEnter","pointerLeave","Ye","defaultView","parentWindow","p","$e","af","bf","cf","df","select","ef","ff","gf","hf","jf","start","selectionStart","end","selectionEnd","anchorNode","getSelection","anchorOffset","focusNode","focusOffset","kf","onSelect","lf","animationName","elapsedTime","pseudoElement","mf","clipboardData","nf","of","charCode","pf","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","qf","rf","repeat","sf","dataTransfer","tf","touches","targetTouches","changedTouches","uf","vf","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","wf","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin","yf","zf","H","I","Af","J","K","Bf","Cf","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","L","Df","Ef","Ff","Gf","__reactInternalMemoizedMergedChildContext","Hf","If","Jf","Kf","unstable_cancelCallback","Lf","unstable_requestPaint","Mf","unstable_now","Nf","unstable_getCurrentPriorityLevel","Of","unstable_ImmediatePriority","Pf","Qf","Rf","unstable_LowPriority","Sf","unstable_IdlePriority","Tf","Uf","unstable_shouldYield","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","cg","dg","eg","fg","gg","hg","ig","jg","kg","lg","mg","ng","og","_context","_currentValue","pg","childExpirationTime","qg","firstContext","expirationTime","rg","sg","observedBits","responders","tg","ug","updateQueue","baseState","baseQueue","shared","pending","effects","vg","wg","suspenseConfig","payload","xg","yg","zg","x","z","ca","Ag","D","t","Bg","Cg","Dg","Eg","Fg","Jg","_reactInternalFiber","enqueueSetState","Gg","Hg","Ig","enqueueForceUpdate","Kg","isPureReactComponent","Lg","contextType","Mg","Ng","getSnapshotBeforeUpdate","Og","Pg","_owner","_stringRef","Qg","join","Rg","lastEffect","nextEffect","firstEffect","Sg","Tg","mode","elementType","Ug","implementation","Vg","Wg","y","A","q","Xg","Yg","Zg","$g","ah","bh","ch","dh","documentElement","tagName","eh","fh","gh","M","hh","memoizedProps","revealOrder","ih","responder","jh","kh","lh","N","O","P","mh","Q","nh","oh","ph","qh","rh","sh","th","queue","uh","vh","wh","lastRenderedReducer","eagerReducer","eagerState","lastRenderedState","dispatch","xh","yh","zh","Ah","destroy","deps","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","readContext","useCallback","useContext","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useResponder","useDeferredValue","useTransition","Oh","Ph","Qh","Rh","Sh","Th","pendingProps","Uh","Vh","Wh","Xh","Yh","ReactCurrentOwner","R","Zh","$h","ai","bi","compare","ci","di","ei","fi","gi","getDerivedStateFromError","hi","pendingContext","ni","oi","pi","qi","ii","retryTime","ji","fallback","unstable_avoidThisFallback","ki","li","isBackwards","rendering","renderingStartTime","last","tail","tailExpiration","tailMode","mi","ri","si","wasMultiple","multiple","onClick","onclick","size","createElementNS","createTextNode","S","ti","ui","vi","wi","T","xi","U","yi","zi","Ai","stack","Bi","WeakSet","Set","Ci","Fi","Ei","Gi","__reactInternalSnapshotBeforeUpdate","Hi","Ii","Ji","focus","Ki","Li","Di","Mi","Ni","Oi","Pi","Qi","Ri","insertBefore","_reactRootContainer","Si","Ti","display","Ui","Vi","add","then","Wi","Xi","Yi","Zi","$i","componentDidCatch","aj","componentStack","Rj","bj","ceil","cj","dj","V","ej","fj","gj","hj","ij","jj","W","X","kj","lj","mj","nj","oj","pj","Y","qj","rj","sj","tj","uj","vj","wj","timeoutMs","xj","yj","Z","zj","lastExpiredTime","Aj","firstPendingTime","lastPingedTime","nextKnownPendingLevel","callbackExpirationTime","callbackPriority","callbackNode","Bj","timeout","Cj","Dj","Ej","Fj","Gj","Hj","finishedWork","finishedExpirationTime","lastSuspendedTime","Ij","timeoutHandle","Jj","busyMinDurationMs","busyDelayMs","Kj","Mj","Nj","pingCache","Oj","w","ub","Pj","Xc","Qj","Sj","firstSuspendedTime","rangeCount","wb","activeElementDetached","focusedElem","selectionRange","Tj","B","min","createRange","setStart","removeAllRanges","addRange","setEnd","left","scrollLeft","top","scrollTop","vb","Uj","Vj","Wj","hidden","_ctor","ob","Xj","_calculateChangedBits","unstable_observedBits","Zj","isReactComponent","pendingChildren","ak","bk","ck","dk","ek","fk","Jc","_internalRoot","gk","ik","hasAttribute","hk","kk","jk","unmount","querySelectorAll","JSON","stringify","form","Lj","lk","Events","findFiberByHostInstance","isDisabled","supportsFiber","inject","onCommitFiberRoot","onCommitFiberUnmount","Yj","overrideHookState","overrideProps","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","bundleType","version","rendererPackageName","createPortal","findDOMNode","flushSync","unmountComponentAtNode","unstable_batchedUpdates","unstable_createPortal","unstable_renderSubtreeIntoContainer","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","propFullName","secret","getShim","ReactPropTypes","array","bigint","symbol","arrayOf","instanceOf","objectOf","oneOf","exact","checkPropTypes","PropTypes","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","_BrowserProtocol","getHashPath","replaceHashPath","init","prevLocation","handleHashChange","encodedPath","currentLocation","updateHash","pushHashPath","result","_react","map","prev","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","supportsHistory","navigator","userAgent","_hasClass","BrowserProtocol","RefreshProtocol","Protocol","forceRefresh","NavigationActionType","ObjectComparer","arraysDiffer","some","isSame","objectsDiffer","aProperties","bProperties","getTime","Assert","matchIndex","EventPublisher","_registrations","register","subscriber","onDispatch","unregister","BaseStore","_state","_eventPublisher","_stateChangeTimeout","debugEnabled","getDefaultState","onChange","removeChangeListener","subscribeToDispatcher","dispatcher","eventData","scheduleStateChangeAsync","modifyState","getState","resetState","debug","timeoutObj","emitStateChanged","mergedState","$","statesEqual","currentState","RouteHelper","insertRouteParameters","route","parameters","matches","matchesCount","replaceRouteParameter","parameter","parametersObject","parameterName","substr","paramValue","isValidParamValue","UrlHelper","getRootRouteUrl","rootUrl","getRootRouteDataAttributeValue","addTrailingSlash","getRootRouteUrlWithoutSlash","removeTrailingSlash","inputLength","RouteFragment","indexComponent","indexRedirectUrl","parent","getRoute","registerChild","getFullRoutePath","getUrl","formatUrl","createParamPage","params","ParametrizedRouteFragment","createCustomParamPage","classConstructor","createPage","NestedRouteFragment","createCustomPage","RootRoute","super","_parameters","_onEnter","onEnter","getOnEnterCallbacks","Dispatcher","_isDispatching","_pendingHandlers","_finishedHandlers","_lastEventPayload","startDispatching","invokeCallback","stopDispatching","waitFor","subscribers","isPending","isFinished","isDispatching","subscriberCallback","pendingHandler","Actions","escapeRegExp","CompiledPatternsCache","compilePattern","pattern","regexpSource","paramNames","tokens","lastIndex","matcher","exec","_compilePattern","matchPattern","_compilePattern2","matchedPath","remainingPathname","paramValues","decodeURIComponent","getParamNames","formatPattern","parenCount","splatIndex","parenHistory","token","len","splat","encodeURI","parenText","curTokenIdx","tokensSubset","nextParenIdx","_i","prevState","nextState","prevRoutes","routes","nextRoutes","leaveRoutes","changeRoutes","enterRoutes","parentIsLeaving","filter","isLeaving","paramName","routeParamsChanged","reverse","isNew","paramsChanged","sync","mapAsync","values","doneCount","PendingHooks","hooks","clear","getTransitionUtils","enterHooks","changeHooks","createTransitionHook","asyncArity","pendingHooks","transitionHook","runTransitionHooks","iter","redirectInfo","runEnterHooks","reduce","getEnterHooks","runChangeHooks","getChangeHooks","runLeaveHooks","onLeave","deepEqual","queryIsActive","query","activeQuery","_ref","indexOnly","currentPathname","pathIsActive","matched","routeIsActive","isPromise","components","getComponent","getComponents","componentReturn","getComponentsForRoute","isValidChild","isReactChildren","childRoutes","createRoutesFromReactChildren","parentRoute","createRouteFromReactElement","getChildRoutes","partialNextState","createParams","childRoutesReturn","getIndexRoute","indexRoute","indexRoutesReturn","onChildRoutes","pathless","childRoute","assignParams","matchRouteDeep","_match$routes","matchRoutes","unshift","hasAnyProperties","falsy","goBack","goForward","routeParams","contextProviderShape","subscribe","eventIndex","makeContextName","prefixUnsafeLifecycleMethods","_childContextTypes","_config","contextName","listenersKey","eventIndexKey","subscribeKey","config","router","_props","reduceRight","prop","elements","assignRouterState","onUpdate","matchContext","Router","handleError","createRouterObject","transitionManager","setRouteLeaveHook","listenBeforeLeavingRoute","isActive","createTransitionManager","_getTransitionUtils","finishMatch","_computeChangedRoutes","finishEnterHooks","handleErrorOrRedirect","removeListenBeforeHooksForRoute","RouteGuid","getRouteID","__id__","RouteHooks","getRouteHooksForRoutes","beforeUnloadHook","unlistenBefore","unlistenBeforeUnload","routeID","thereWereNoRouteHooks","listenBeforeUnload","historyListener","redirectLocation","unsubscribe","_unlisten","_props2","_objectWithoutProperties","propType","resolveToLocation","to","Link","_contextTypes","_config2","lastRenderedEventIndexKey","handleContextUpdateKey","unsubscribeKey","_ref2","_setState","_setState2","activeStyle","activeClassName","onlyActiveOnIndex","innerRef","handleClick","isModifiedEvent","isLeftClickEvent","toLocation","isEmptyObject","Redirect","from","routeIndex","getRoutePattern","parentPattern","createRouterHistory","useRouterHistory","createBrowserHistory","PromiseResultType","CallbackType","ResponseState","RoutingActions","navigateTo","scroll","browserHistory","NavigationActions","NavigationDispatcher","actionType","Enter","navigationDispatcher","_navigationDispatcher","initializeBindings","getActiveUrl","activeUrlData","activeUrl","onNavigationDispatch","navigationAction","appendUrl","urlFragment","isLoading","ContextDispatcher","onContextDispatch","$contextSettings","hierarchyId","culture","getContext","contextAction","static","replacePlaceholdersInUrl","getDefaultCulture","culturePlaceholder","FnzWebPageContext","provide","_cachedContext","$fnzWebPageContextComponent","IdHttpHeaderName","Antiforgery","getAntiforgeryTokenValue","$jsSettings","jsSettings","setAntiforgeryTokenValue","Promise","_callbacks","runSuccess","runError","_isFinished","Success","pair","OnSuccess","OnFinish","errors","OnError","getResult","onSuccess","onFinish","post","sendRequest","put","methodType","ajax","constructAjaxParams","Errors","Metadata","HttpStatusCode","RedirectUrl","Result","request","status","newDoc","open","write","responseText","close","accepts","dataType","contentType","traditional","headers","antiforgeryToken","fnzPageContext","CurrentPumaUserLatestOnlineTermsAcceptanceClient","_culture","contextStoreState","CurrentPumaUserLatestOnlineTermsAcceptanceActionsCreator","accept","ActionType","BaseApiStore","responseState","Requested","isEmpty","Empty","PayloadStore","getPayload","Loading","Received","FlushStore","Update","CurrentPumaUserEncryptedLatestOnlineTermsActionsDispatcher","CurrentPumaUserEncryptedLatestOnlineTermsStore","EncryptedStaticDocumentClient","encryptedDocumentId","CurrentPumaUserEncryptedLatestOnlineTermsClient","CurrentPumaUserEncryptedLatestOnlineTermsActionsCreator","load","startLoading","termsResult","EncryptedStaticDocumentId","termsDocument","updateStoreOnSuccess","accepted","Accepted","staticDocument","terms","CurrentPumaUserTypeStoreActionsDispatcher","CurrentPumaUserTypeStore","CurrentPumaUserTypeClient","CurrentPumaUserTypeActionsCreator","currentPumaUserType","userType","Button","_buttonRef","btn","tabIndex","automationId","ariaExpanded","CountryCode","Guid","getNext","Email","NationalInsuranceNumber","Alphabetical","Numeric","PersonalDetailsUserName","Alphanumeric","UkPostCode","phoneNumber","NewCustomerUserName","ExistingCustomerUserName","NewAdviserUserName","ExistingAdviserUserName","AddressLine","SecurityAnswer","isNotEmpty","matchesRegexp","regexp","isSameAs","isEmail","isDateEmpty","isDateComplete","areDate","getDate","getMonth","getFullYear","areDatePartsValid","minLength","maxLength","max","isAddressPopulated","address","NotSpecified","Line1","Postcode","Line4","Position","LabelPosition","isNullOrEmpty","firstOrDefault","selector","getNextItem","currentValue","indexOfCurrentValue","getPreviousItem","Validator","_validationRules","addFromCondition","funct","errorMessage","rule","validator","rules","getValidationErrors","rawValue","cloneObject","BaseComponent","_subscribedStores","_storeSubscriptionsClosed","subscribeToAllStores","cancelAllStoresSubscriptions","isAnyStoreLoading","store","updateStatePart","updateStatePartFunc","copiedState","subscribeToStore","BaseFormElement","_lastValidationErrors","triggerValidationResultChange","validationErrors","onValidationResultChange","isValid","formElement","attachToForm","detachFromForm","Checkbox","inputRef","initValidation","cssInput","title","ariaDescribedby","required","validationRules","prevProps","isPristine","pristineValue","syntheticEvent","runValidation","ValidationErrorsContainer","errorsCode","isHidden","isServerError","TooltipContent","position","Top","classnames","show","toLocaleLowerCase","getTooltipContent","hasChildren","toArray","htmlText","_overlayTarget","_portalContainerNode","_overlayInstance","_renderOverlay","_unrenderOverlay","_unmountOverlayTarget","_mountOverlayTarget","overlay","only","Div","_divRef","_isMounted","_clickEventId","$elem","handler","onClickOutside","$clickedElem","find","unbind","divProps","div","targetLoadingContainer","getTargetLoadingContainer","isBlocking","getLoadingIndicator","getElementById","getBlockingIndicator","getNonBlockingIndicator","OverlayTrigger","_triggerWrapper","trigger","wrapper","getOverlay","wrapperCss","messageCss","hide","toggle","Tooltip","_guid","tooltip","triggerCss","triggerText","triggerId","BaseEditor","wrapperRef","_errorMessageId","getTooltip","tooltipPosition","getValidationErrorsContainer","showErrorsAt","errorsPosition","CheckboxEditor","cssWrapper","isLabelOnLeft","labelPosition","elem","getLabel","getInput","Bottom","bindLabelToInput","inputGroupId","label","htmlFor","propId","JsonDateParser","toDate","toJsonDate","getTimezoneOffset","toISOString","toUTCDate","Content","termsAndConditionsHeading","adviserPleaseReadAndAccept","customerPleaseReadAndAccept","lastUpdated","adviserAcceptCheckboxLabel","customerAcceptCheckboxLabel","continueLabel","logOut","pleaseAcceptTheTermsAndConditions","customer","termsAndConditions","phoneNumberWrongFormatMessage","header","pleaseGiveUsACall","needHelp","contactUs","adviserCustomSectionInfo","help","signOut","userMenu","termsOfUseLink","legalAndRegulatoryLink","privacyAndCookiePolicyLink","accessibility","contactUsLink","termsAndConditionsLink","getWarningMessage","inactiveForMinutes","timeoutInMinutes","resendButtonLabel","CustomerSiteFooter","urlsHelper","SharedUrlsHelper","customerFooter","getOmwTermsOfUseUrl","siteFooter","getOmwPrivateAndCookiePolicyUrl","getOmwLegalAndRegulatoryUrl","getOmwAccessibilityUrl","getOmwTermsAndConditionsUrl","getOmwContactUsUrl","AdviserSiteFooter","adviserFooter","getOmwAdviserPlatformMigrationToolkitUrl","getOmwAdviserTermsOfUseUrl","getOmwAdviserPrivateAndCookiePolicyUrl","getOmwAdviserRegulatoryInformationUrl","getOmwAdviserAccessibilityUrl","getOmwAdviserTermsAndConditionsUrl","getOmwAdviserContactUsUrl","PumaUserType","CMSStyle","CMSItemsDispatcher","CMSItemsStore","Warning","Hint","StaticCMSItems","Tool","Key","Value","Group","CMSClient","LoadCMSActionCreators","loadData","processData","GetFromLocalStorage","cmsStored","localStorage","getItem","cmsData","parse","GetCMSText","cmsCotent","msg","Succeeded","items","Results","curr","cmsUpdated","setItem","HelpCenterContactDetailsActionsDispatcher","HelpCenterContactDetailsStore","HelpCenterContactDetailsClient","HelpCenterContactDetailsActionsCreator","reload","client","details","getUserType","UserTypeContextHelper","PublicHeader","onHelpCenterContactDetailsChange","helpCenterContactDetails","Adviser","getAdviserContactUsUrl","getCustomerContactUsUrl","isForWizard","publicHeader","loadCMSInfo","PublicLayout","bodyCss","PublicSiteLayout","TermsAndConditionsUI","common","pumaUserType","Customer","termsAndConditionsDocument","ExternalUrl","Document","DisplayName","Globalize","AddedOn","termsAndConditionsAccepted","onTermsAndConditionsAcceptedChanged","onContinue","onLogOut","animate","focusElement","scrollOffset","FormComponent","_inputs","valid","firstError","inputPos","TermsAndConditions","bindPrivateMethods","onCurrentPumaUserTypeStore","onPumaUserEncryptedLatestOnlineTermsStore","encryptedLatestOnlineTerms","termsAccepted","continue","TermsAndConditionsUrlsHelper","getLoginSuccessUrl","getLogoutUrl","PageTitleUpdateComponent","updatePageTitle","App","pageTitles","resetPassword","authenticationFailed","yourMemorableImageAndPhrase","passwordRequirementsNotMet","success","logInToDashboard","invalidToken","progress","authenticationCode","securityQuestion","passwordResetAuthentication","passwordReset","passwordResetSuccess","passwordResetError","InvalidTokenWizardSection","wizardData","invalidTokenPage","navigationActions","cancel","SuccessWizardSection","successPage","BaseApiErrorDictionary","_errorsMap","getMap","getMessageFor","PumaUserPasswordResetErrors","PumaConfirmationTokenVerificationErrorsDictionary","PasswordRequirementsWereNotMet","passwordResetWizardSection","ApiValidationErrorsMapper","mapApiErrors","errorsDictionary","dictionary","PumaUserPasswordResetClient","PumaUserPasswordResetActionsCreator","newPasswordRequired","createYourPasswordHeader","resetYourPasswordHeader","confirmPasswordRequired","passwordNotMatch","yourPasswordMustContain","passwordLength","passwordMaximumLength","passwordAtleastOneSpecialCharacter","differentPassword","passwordAtleastOneNumber","passwordAtleastOneUpperCase","passwordAtleastOneLowerCase","confirmPassword","passwordCriteriaMet","matchedCount","totalCount","Strings","ignoreCase","localeCompare","sensitivity","hasSubstring","subString","lengthDifference","textSubstring","onBlur","warn","placeholder","onKeyDown","onPaste","autoComplete","regex","equals","onSubmit","BaseTextBoxEditor","large","isLabelInside","isSearchInput","subLabel","getSubLabel","includePrice","PasswordEditor","providePasswordResetValidationRules","validateNewPasswordAgainstCurrent","newPassword","currentPassword","PasswordCreation","confirmPasswordAccepted","passwordValidationRules","passwordResetValidationRuleData","totalNumberOfCriteria","matchedNumberOfCriteria","ariaLabel","role","updateNewPassword","updateConfirmPassword","validateProps","onNewPasswordChange","isAccepted","onConfirmPasswordChange","HelpSection","showCustomInfo","customInfoParagraph","helpSection","CustomerHelpSection","AdviserHelpSection","WizardStepStatus","WizardStepDetailsVisibilityMode","Toggle","DetailedSideWizardStepUI","_modesInWhichDetailsAreShown","ShownPreviewOnly","Shown","step","detailsVisibilityMode","Pending","Current","Visited","clicked","definition","getDetails","Hidden","onWizardStepDetailsVisibilityModeChanged","nextVisibilityMode","DetailedSideWizardStepperUI","wizardSteps","wizardStep","TopWizardStepUI","onVisit","step_number_of_maxNumber_separator","separatorBetweenStepsNumberAndStepName","previousStep","back","saveAndStop","TopWizardStepperUI","currentStep","informationAboutCurrentProgress","wizardStepper","collapse","toggleIsExpanded","isExpanded","PasswordResetWizardStepperId","Form","WizardStepperContainerHelper","resetStepStatuses","currentRouteFragment","copiedSteps","routeFragment","nextStepStatus","setCurrentStepComplete","ContainersWizardStepsActionsDispatcher","ContainersWizardStepsStore","ContainersWizardStepsActionsCreator","setContainerSteps","containerId","copiedCurrentContainersSteps","copiedCurrentContainerSteps","updateContainersWizardSteps","resetSteps","containerStep","updateStepDefinitions","wizardStepDefinitions","stepDetailsProvider","newSteps","containersWizardSteps","DefaultValues","WizardStepDefinition","ContainerWizardSteps","WizardStepDefinitionsActionsDispatcher","WizardStepDefinitionsStore","WizardStepperContainer","_defaultStepDetailsProvider","stepProps","onNavigationStoreChange","onContainersWizardStepsStoreChange","onWizardStepDefinitionsStoreChange","wizardStepperUI","wizardStepperUIHeader","steps","changeWizardStepDetailsVisibilityMode","containerWizardSteps","stepDefinitions","WizardSectionBottomNavigation","canContinue","navigation","canConfirm","confirmButtonLabel","canSaveAndExit","onSaveAndExit","WizardSectionSideNavigation","canCancel","onCancel","canNavigateBack","onNavigateBack","WizardSectionLayout","pageTitle","showTopStepper","topStepperId","topStepperHeader","topStepperUI","sidePanelHeader","onConfirm","showSideStepper","sideStepperId","sideStepperHeader","sideStepperUI","Side","PasswordResetWizardStepType","PumaConfirmationTokenVerificationErrors","AuthenticationMethod","PumaVerificationResultStatus","PumaConfirmationTokenSupportedAction","PasswordResetWizardSection","_currentStepId","PasswordReset","navigateBack","ConfirmationToken","TokenValue","authenticationConfirmationToken","tokenValue","PumaUserStateToken","resetTokenVerificationResult","NewPassword","userHasBeenLockedOut","numberOfVerificationAttemptsExceeded","authenticationMethod","PumaUserHasBeenLockedOut","NumberOfVerificationAttemptsExceeded","heading","editHeading","passwordContent","enterExistingPassword","existingPasswordRequired","changeOfPasswordNotSuccessful","passwordRequirementsWereNotMet","invalidCurrentPassword","newEmailAddress","confirmEmailAddress","existingEmailAddress","validation","inValidEmail","enterValidEmail","reEnterEmail","valueDoNotMatch","editExplanation","yourAuthorisationHasExpired","pumaUserSecurityQuestionAnswerRequirementsNotMet","pumaUserIdInvalid","editHomePhoneNumberHeading","editMobilePhoneNumberHeading","backToUserProfile","passwordUpdated","emailAddressUpdated","antiPhishingUpdated","phoneNumberUpdated","securityQuestionUpdated","edit","update","verify","invalidTokenVerificationCode","getByConfirmationToken","kind","Password","SecurityQuestion","Sms","sms","TransitionSecurityQuestion","transitionSecurityQuestion","PumaConfirmationTokenVerificationClient","PumaConfirmationTokenVerificationActionsCreator","verifyToken","PumaTransitionSecurityQuestionConfirmationTokenActionsDispatcher","PumaTransitionSecurityQuestionConfirmationTokenStore","PumaCurrentUserTransitionSecurityQuestionConfirmationTokenRequestsClient","PumaUserTransitionSecurityQuestionConfirmationTokenRequestsClient","pumaUserId","PumaTransitionSecurityQuestionConfirmationTokenActionsCreator","requestForCurrentUser","TypedValueValidator","_parseValue","rawValidator","parsedValidator","parseValue","rawErrors","parsedValue","BaseTextBox","initRawValidation","initParsedValidation","triggerInitialValidation","autocompleteAttribute","maxLengthAttribute","tabIndexAttribute","autocomplete","onFocus","ariaLabelledby","getDisplayValue","maxLengthValidation","minLengthValidation","disableCopyPaste","isParsable","TextBox","TextBoxEditor","question","answer","validationAnswerIsRequired","TransitionSecurityQuestionAuthenticationUI","securityAnswer","onSecurityAnswerChange","TransitionSecurityQuestionAuthentication","onPumaTransitionSecurityQuestionConfirmationTokenStoreChange","confirmationToken","Question","useCurrentUser","ProcessIdentifier","pumaProcessIdentifier","RequiredAction","actionToConfirm","onConfirmationTokenChange","weHaveSentAuthenticationCodeViaSms_PhoneNumber","weHaveSentAuthenticationCodeViaSms_ScreenReaderText","enterAuthCode","didNotGetCode","pleaseEnterAuthCode","pleaseEnterValidAuthCode","resendAuthCodeHeader","resendAuthCodeMessage","resend","authCodeSuccessfullyResent","ok","alphabetRestriction","smsAuthenticationNotEnabled","numberOfRequestedCodesExceeded","initialValidationNumberOfRequestedCodesExceeded","smsServiceExperiencingIssues","PumaUserSmsConfirmationTokenRequestsErrors","PumaUserSmsConfirmationTokenRequestsErrorsDictionary","SmsAuthenticationIsNotActivated","NumberOfAuthenticationExceeded","SmsServiceExperiencingIssues","InstructionStore","_errorsDictionary","getInstruction","instruction","getRawValidationErrors","EncryptedPumaSmsConfirmationTokenActionsDispatcher","EncryptedPumaSmsConfirmationTokenStore","EncryptedPumaUserSmsConfirmationTokenRequestsClient","EncryptedPumaSmsConfirmationTokenActionsCreator","updateStoreOnErrors","ResendConfirmation","onClose","SmsAuthenticationResendUI","onAuthenticationCodeResendConfirmed","onResendCanceled","Lightbox","_hasLightboxOpenCssClass","_modalRef","_exitBtnRef","_tabbableElements","closeOnEsc","focusLightbox","addOpenClassToBody","targetContainer","getLightBoxContent","wrapperClassnames","divElement","closeLightbox","exitBtnRef","bindEscKey","removeOpenClassFromBody","removeEventListeners","on","keyListener","keepFocusWithinCallback","off","$tabbableElements","$firstTabbableElement","$lastTabbableElement","focused","SmsAuthenticationUI","enterAuthCodeLabel","onResendCodeRequested","authCode","onAuthCodeChange","SmsAuthenticationBase","toggleResendLightboxVisibility","isResendAuthenticationCodeLightboxOpened","authenticationResendValidationErrors","isResendConfirmationLightboxOpened","toggleConfirmationLightboxVisiblity","EncryptedPhoneNumberExtensions","toDisplayValue","encryptedPhoneNumber","CharactersCount","LastThreeCharacters","SmsAuthentication","onEncryptedPumaSecurityQuestionConfirmationTokenStoreChange","encryptedPhoneNumberString","EncryptedPhoneNumber","phoneNumberLastThreeDigits","resendAuthenticationCode","onResendSuccess","onResendError","PumaSecurityQuestionConfirmationTokenActionsDispatcher","PumaSecurityQuestionConfirmationTokenStore","PumaUserSecurityQuestionConfirmationTokenRequestsClient","PumaSecurityQuestionConfirmationTokenActionsCreator","SecurityQuestionAuthenticationUI","SecurityQuestionAuthentication","onPumaSecurityQuestionConfirmationTokenStoreChange","PumaPasswordConfirmationTokenActionsDispatcher","PumaPasswordConfirmationTokenStore","PumaCurrentUserPasswordConfirmationTokenRequestsClient","PumaPasswordConfirmationTokenActionsCreator","enterCurrentPassword","validationCurrentPasswordIsRequired","PasswordAuthenticationUI","onPasswordChange","PasswordAuthentication","onPumaPasswordConfirmationTokenStoreChange","pleaseSelectAnOption","getAuthenticationMethodPickerLabel","PumaUserEmailAddressAmendment","PumaUserLoginAntiPhishingAmendment","PumaUserSecurityQuestionAmendment","RadioPanelWithSubItemsEditor","groupId","AuthenticationMethodPicker","availableOptions","defaultOptionDisplayName","getAllAuthenticationMethodOptions","availableMethods","option","selectedMethod","onSelectedMethodChange","UserSelectableAuthentication","availableAuthenticationMethods","changeSelectedMethod","onTokenVerificationCodeChange","tokenVerificationCode","authenticationMethodIsSelected","s","AntiPhishingDataDispatcher","AntiPhishingDataStore","RandomAntiPhishingImageEncryptedStaticDocumentClient","RandomPumaAntiPhishingPhraseClient","LazyAsynchronousFunction","_underlyingFunc","run","hasAlreadyStarted","hasAlreadyFinished","PromisesGroup","_errors","_underlyingAsyncFunctions","currentResult","addPromiseFunction","asyncFunction","resultPopulator","errorsPopulator","lazyFunction","underlyingAsyncFunction","funcResult","onUnderlyingPromiseFinished","funcErrors","PumaLoginAntiPhishingClient","AntiPhishingDataActionsCreator","loadByUserName","userName","Username","UserType","antiPhishingResult","AntiPhishingImageEncryptedDocumentId","imageDocument","antiPhishingPhrase","AntiPhishingPhrase","antiPhishingImageDocument","loadByPumaUserId","PumaUserId","loadRandom","promisesGroup","phrase","imageDocuments","updateImage","copiedData","updatePhrase","AntiPhishingImage","src","imageUrl","alt","AntiPhishingUI","antiPhishingData","AntiPhishing","onAntiPhishingDataStoreChange","loadAntiPhishingData","onAntiPhishingDataChange","AuthenticationWizardSection","Authentication","migrationDetailsLoaded","User","MigrationDetails","requiresMigration","IsMigrated","IsTransitionCompleted","verificationMethod","userHasBeenLockedOutDuringProcess","navigateNext","authenticationWizardSection","PumaUser","PumaUserPasswordReset","verificationCode","onAuthenticationConfirmationTokenChange","updateVerificationCode","VerificationCode","ResultStatus","VerificationSucceeded","WizardNavigator","navigateToWizardStep","stepDefinition","WizardStepDefinitionsActionsCreator","navigationData","scrollAfterNavigating","queryParamsObject","queryParameters","queryParamName","navigateToAndPreserveQueryParameters","WizardStepsProvider","getNextStepDefinition","currentStepId","getPreviousStepDefinition","getAllStepDefinitions","Urls","authenticationSectionPage","passwordResetSectionPage","PumaEmailTokenType","PumaEmailTokenVerificationActionsDispatcher","PumaEmailTokenVerificationStore","PumaEmailTokenVerificationClient","PumaEmailTokenVerificationActionsCreator","PublicWizardSiteLayout","Wizard","onPumaEmailTokenVerificationStoreChange","shouldRedirectToFirstSection","cancelWizard","confirmWizard","updateAuthenticationConfirmationToken","resetToken","TokenType","PasswordResetToken","VerificationFailed","invalidTokenSectionPage","nextStep","PasswordResetUrlsHelper","loginUrl","getCustomerLoginUrl","getAdviserLoginUrl","successSectionPage","appModel","ResetToken","appRootRoute","AppRootRoute","buildRoute","rootRoute","pathFunction","routeConfig","PumaUserLoginAntiPhishingAmendmentErrors","PumaUserLoginAntiPhishingAmendmentErrorsDictionary","OneTimeTokenIsInvalid","antiPhishing","PumaUserIdInvalid","PumaWarmRegistrationSecurityCodeStateClient","firstCode","secondCode","pumaUserOnboardingId","PumaWarmRegistrationSecurityCodeStateActionsCreator","SetCodeUsed","requestId","PumaUserAntiPhishingAmendmentClient","onboardingId","pickOneOfTheSecurityImagesBelow","enterAntiPhishingPhrase","antiPhishingPhrasePlaceholder","pleaseSelectAntiPhishingImage","antiPhishingPhraseLengthNotValid","pleaseSelectAntiPhishingPhrase","memorablePicture","memorablePhrase","pickMyOwn","AntiPhishingPhrasePicker","onPhraseChange","AntiPhishingPhrasePickerLightbox","isOpened","confirmSelectedPhrase","selectedPhrase","onSelectedPhraseConfirmed","PumaAntiPhishingImagesDispatcher","PumaAntiPhishingImagesStore","RandomAntiPhishingImageEncryptedStaticDocumentsClient","PumaAntiPhishingImagesActionsCreator","images","AntiPhishingImagePicker","onPumaAntiPhishingImagesStoreChange","image","cssClassNames","selectedEncryptedImageDocumentId","EncryptedDocumentId","onSelectedEncryptedImageDocumentChange","validate","AntiPhishingImagePickerLightbox","confirmSelectedImage","selectedImageDocument","onSelectedEncryptedImageDocumentChangeConfirmed","AnonymousAntiPhishing","allowUserPickOwnImageAndPhrase","isImagePickerLightboxOpened","isPhrasePickerLightboxOpened","confirmImageChange","confirmPhraseChange","pageHeading","perex","sectionHeading","pleaseHaveIdentificationToHand","ifYouDoNotHaveIdentification","learnMore","learnMoreCopy","your","ukDrivingLicence","ukDrivingLicenceFurtherInfo","ukPassport","ukPassportFurtherInfo","electricityBill","electricityBillFurtherInfo","accountRegistration","thankYouForYourInformation","pumaIdentityVerificationDocumentType","drivingLicence","passport","electricBill","personalDetails","accountMatched","verificationOfIdentity","userNameAndPassword","extraSecurity","activateYourAccount","VerifyYourEmail","getStarted","unlockAccount","warmuserNameAndPassword","extraSecurityForWarm","firstName","surname","dateOfBirth","year","addressDetails","addressSearchPlaceholder","manuallyEnterAddress","addressNote","mfaExplanation","mobilePhoneNumber","homePhoneNumber","sendMyCodeToThisPhone","sendMyCodeToMobilePhone","sendMyCodeToHomePhone","emailAddress","firstNameIsMandatory","firstNameHasWrongFormat","surnameIsMandatory","surnameHasWrongFormat","dateOfBirthMandatory","dateOfBirthMustBeInPast","userMustBeAtLeast18","mobilePhoneNumberHasWrongFormat","homePhoneNumberHasWrongFormat","emailAddressHasWrongFormat","emailAddressIsMandatory","confirmEmailAddressIsMandatory","confirmEmailAddressDoesNotMatchEmailAddres","addressIsMandatory","addressLookupFailedMessage","eitherMobileOrHomePhoneNumberIsMandatory","mfaIsMandatory","mfaNumberIsMandatory","phoneNumbersMustBeDifferent","identityVerification","verificationOfIdentityExplanation","pleaseSelectDocument","doNotHaveAnyFormOfIdentification","licenceNumber","passportNumber","verificationDocumentIsMandatory","noFormOfIdentification","valueMustBeAlphaNumeric","valueMustBeNumeric","valueMustBeAlpha","invalidLengthOneCharacter","invalidLength_length","drivingLicenceAlt","passportAlt","electricityBillAlt","credentials","createYourUserName","userNameFormatExplanation","userNameIsMandatory","userNameHasWrongFormat","userNameLengthValidationMessage","createYourPassword","userNameMustBeDifferentFromOtherSecurityItems","passwordMustNotContainOtherSecurityItems","passwordMustNotContainFirstNameAndSurname","securityIsImportantToUs","antiPhishingExplanation","useDefaultOrPickOwn","antiPhishingPhraseMutBeDifferentFromOtherSecurityItems","accountActivation","emailConfirmationMessage_Email","phoneConfirmationMessage_PhoneNumber","phoneConfirmationMessage_PhoneNumberPart1","phoneConfirmationMessage_PhoneNumberPart2","backToHome","numberEnding","yourMemorableImageandPhrase","emailVerifiedSmsSentMessage_PhoneNumber","emailVerifiedSmsSentMessage_PhoneNumberPart1","enterSmsAuthCode","smsAuthenticationFailed","activationTokenExpired","activationTokenExpiredDueToVerificationAttemptsExceeded","activationTokenResent","registrationAlreadyCompletedMessage","login","successHeading","successMessage","successMessageEmail_EmailAddress","successButtonLabel","nearlyThereHeading","nearlyThereButtonLabel","emailVerificationTokenHasExpired","pumaSmsAuthenticationPhoneNumberHasInvalidFormat","authenticationCodeIsNotValid","usernameAlreadyExists","usernameContainsInvalidCharacters","genericValidationFailure","numbericOnly","alphabetical","nino","requiredParameter","invalidDates","welcome","antiphishing","emailVerification","congratulations","securityCodeWizard","acceptAgreement","viewTerms","externalLink","acceptTerms","infoAlert","invalidCodeMessage","ensureInfo","needHelpRemind","inputCodeRemind","codeBlock","toContinue","acountUsed","codeUsed","loginInfo","loginButonText","contact","codeExpiredMsg","choose","sendCodePost","registerNoCode","newCodeButton","registerWithoutCodes","newCodeSentMsg","newCodeGenerateMsg","problem","systemError","retrySendCode","registerWithoutCode","retrySendNewCode","codeBlockedMsg","ninoNotMatch","ninoNotMatchDetail","acountNotMatch","acountNotMatchContact","noAccountNo","CustomerRegistrationWizardStepperId","CustomerRegistrationWizardStepType","WarmExtraSecurityStep","WarmExtraSecurityWizardSection","ExtraSecurity","creationData","customerCreationData","onCreationDataPartChange","onCustomerCreationDataPartChange","showCongratulationPageError","wizard","Congratulations","navigateToLoginPage","Amendment","letterCodesStatus","rawServerErrors","CustomerPumaUsernameAvailabilityChecksClient","CustomerPumaUsernameAvailabilityChecksActionsCreator","checkUsernameAvailability","availabilityCheck","PasswordPicker","UserNamePicker","onUserNameChange","WarmCredentialsWizardSection","WarmCredentials","CustomerRegistrationUrlsHelper","lastName","IsAvailable","PumaHotRegistrationCodeRequestClient","PumaWarmRegistrationUserCreationClient","clAccountId","phiningPharse","PumaWarmRegistrationCustomerUserCreationActionsCreator","sendNewCode","PumaCustomerUserEmailExistsClient","PumaCustomerUserEmailExistsActionsCreator","PumaWarmRegistrationUpdatePhoneNumberClient","onBoardingId","PumaWarmRegistrationUserPhoneNumberConfirmationClient","processIdentifier","phoneCode","PumaUserEmailConfirmationTokenRequestsClient","PumaWarmRegistrationUserEmailConfirmationClient","emailVerificationCode","PumaWarmRegistrationVerificationActionsCreator","verifyEmail","reSendEmail","verifyPhone","updatePhoneAndSendSms","CountryCodeAvailableOptionsActionsDispatcher","CountryCodeAvailableOptionsStore","CountryCodeAvailableOptionsClient","CountryCodeAvailableOptionsActionsCreator","BaseListInput","selectedIndexString","selectedIndex","parseInt","getSelectedOption","setSelected","Select","_select","defaultOption","getDefaultOption","getOptions","getOption","getText","SelectFactory","SelectEditor","SelectEditorFactory","BaseDictionary","getTextFor","getKeys","CountryCodeDictionary","ABW","AFG","AGO","AIA","ALA","ALB","AND","ANT","ARE","ARG","ARM","ASM","ATA","ATF","ATG","AUS","AUT","AZE","BDI","BEL","BEN","BES","BFA","BGD","BGR","BHR","BHS","BIH","BLM","BLR","BLZ","BMU","BOL","BRA","BRB","BRN","BTN","BVT","BWA","CAF","CAN","CCK","CHE","CHL","CHN","CIV","CMR","COD","COG","COK","COL","COM","CPV","CRI","CUB","CUW","CXR","CYM","CYP","CZE","DEU","DJI","DMA","DNK","DOM","DZA","ECU","EGY","ERI","ESH","ESP","EST","ETH","FIN","FJI","FLK","FRA","FRO","FSM","GAB","GBR","GEO","GGY","GHA","GIB","GIN","GLP","GMB","GNB","GNQ","GRC","GRD","GRL","GTM","GUF","GUM","GUY","HKG","HMD","HND","HRV","HTI","HUN","IDN","IMN","IND","IOT","IRL","IRN","IRQ","ISL","ISR","ITA","JAM","JEY","JOR","JPN","KAZ","KEN","KGZ","KHM","KIR","KNA","KOR","KWT","LAO","LBN","LBR","LBY","LCA","LIE","LKA","LSO","LTU","LUX","LVA","MAC","MAF","MAR","MCO","MDA","MDG","MDV","MEX","MHL","MKD","MLI","MLT","MMR","MNE","MNG","MNP","MOZ","MRT","MSR","MTQ","MUS","MWI","MYS","MYT","NAM","NCL","NER","NFK","NGA","NIC","NIU","NLD","NOR","NPL","NRU","NZL","OMN","PAK","PAN","PCN","PER","PHL","PLW","PNG","POL","PRI","PRK","PRT","PRY","PSE","PYF","QAT","REU","ROU","RUS","RWA","SAU","SDN","SEN","SGP","SGS","SHN","SJM","SLB","SLE","SLV","SMR","SOM","SPM","SRB","SSD","STP","SUR","SVK","SVN","SWE","SWZ","SXM","SYC","SYR","TCA","TCD","TGO","THA","TJK","TKL","TKM","TLS","TON","TTO","TUN","TUR","TUV","TWN","TZA","UGA","UKR","UMI","URY","USA","UZB","VAT","VCT","VEN","VGB","VIR","VNM","VUT","WLF","WSM","YEM","ZAF","ZMB","ZWE","InternationalDialingCodesAvailableOptionsFactory","createForAll","codes","currentOptions","nextCode","countryCodeLabel","Code","InternationalDialingCodePicker","dialingCodes","sortedOptions","sort","first","second","InternationalDialingCodeDropdown","internationalDialingCodeDropdownProps","selectedCountryCode","selectDialingCode","onSelectedDialingCodeChange","selectedDialingCode","InternationalDialingCodesActionsDispatcher","InternationalDialingCodesStore","InternationalDialingCodesClient","InternationalDialingCodesActionsCreator","Phone","onInternationalDialingCodesStoreChange","setDefaultDialingCode","internationalDialingCode","dialingCodeToSet","defaultDialingCodeCountry","updateDialingCode","dialingCode","copiedPumaPhoneNumber","onMobilePhoneNumberChange","updateNumber","hideDefaultHeaderText","headerText","definitions","PersonalDetails","personalDetailsSection","VerificationOfIdentity","identityVerificationSection","Credentials","credentialsSection","antiphishingSection","AccountActivation","accountActivationSection","GetStarted","warmWizard","warmOrCodeWizardSection","SecurityCodes","warmSecurityCodeWizardSection","EmailVerification","emailVerificationSection","extraSecuritySection","ColdAccountMatched","WarmAccountMatched","def","getColdStepDefinitions","allStepDefinitions","getWramStepDefinitions","getColdAccountMatchedDefinitions","getWarmAccountMatchedDefinitions","contactDetail","onEditClick","marginTop","code","onCodeChange","onEmailAddressChange","onConfirmEmailAddressChange","IntervalManager","_intervalId","_onTick","onTick","restart","intervalInSeconds","stop","startInterval","clearInterval","setInterval","tick","toPrimitive","VerificiationStep","WarmVerificationWizardSection","_intervalFrame","_interval","onCMSItemStoreChange","onCountryCodeAvailableOptionsStoreChange","cmsContent","VerifyEmail","VerifyPhoneNo","contactDetails","emailUsedByOtherUser","InputEmail","showError","emailCode","reConstructCode","margin","reSendCode","InputPhoneNo","smsCode","timer","reSendCodeWithTimer","countryCodeAvailableOptions","HaveOktaUserWithTheEmail","fnzUserId","FnzUserId","RequestId","oldCode","newCode","chars","PumaWarmRegistrationSecurityCodeVerificationClient","PumaWarmRegistrationSecurityCodeVerificationActionsCreator","SecurityCodeInput","borderStyle","SecurityCodeStep","ContentStringType","ContentStringDict","InvalidUsernameError_Body","cmsKey","NewUserRegistration_Title","NewUserActivate_Body","OccLogin_PasswordReminder_MemorableInfo_Body","OccLogin_PasswordReminder_UserName_Body","OccLogin_CredentialsCheck_AccountBlocked_Error","OccLogin_CredentialsCheck_NoPassword_Error","OccLogin_CredentialsCheck_InvalidDetails_Error","OccWarmReg_LetterCodes_IncorrectFirstCodeError_Body","OccWarmReg_LetterCodes_IncorrectSecondCodeError_Body","OccWarmReg_LetterCodes_IncompleteInputError_Body","OccColdReg_Welcome_ExistingAccountCheck_Body","OccColdReg_Welcome_IDEvidenceRequired_Body","OccColdReg_Welcome_IDEvidenceException_Body","OccColdReg_Welcome_IDEvidenceException_Help","OccColdReg_PersonalDetails_AddressType_Body","OccColdReg_PersonalDetails_TelephoneVerification_Body","OccColdReg_PersonalDetails_TelephoneError_Body","OccColdReg_VerificationOfIdentity_IdentityCheck_Body","OccColdReg_VerificationOfIdentity_IdentityCheckData_Help","OccColdReg_VerificationOfIdentity_IdentityCheckDocument_Body","OccColdReg_VerificationOfIdentity_IdentityCheckNoDocument_Body","OccColdReg_VerificationOfIdentity_IdentityCheckDocumentError_Body","getContentString","contentStringType","content","getContentStringFromCMS","PumaCustomerUserAccountMatchClient","criteria","PumaCustomerUserAccountMatchActionsCreator","PumaCustomerUserRegistrationType","PumaCustomerUserAccountMatchErrors","PumaUserActivationEmailVerificationStatus","PumaCustomerUserAccountMatchErrorsDictionary","RequiredParameter","InvalidDates","WarmSecurityCodeWizardSection","SystemError","BlockedCode","CodeExpired","SentNewCode","CodeUsed","NINO","showCodeBlocedAfterMultiAttamptError","onAcceptTermsClick","InputCode","showInvalidCodeError","showMissingCode","validationErrors2","getLoginPageUrl","onSendNewCodeClick","welcomePage","inValidCode","AccountNo","showNoAccountError","noEmptyCode","validClaccount","LetterCodesStatus","ShouldValidateThroughNino","isLetterCodeValid","IsValid","shouldValidateThroughNino","RegistrationType","Warm","NationalIdentifier","ClAccountId","AccountMatched","Radios","_inputRefs","_grpName","setNamesOfAllInputs","isPanelRequired","getRadioButtons","val","radioId","selectedOption","getRadio","getRadioSpecificTooltip","radioSpecificTooltip","RadiosFactory","RadiosEditor","radioListWithoutPanelCss","getDescription","RadiosEditorFactory","WarmOrColdWizardSection","ColdOrWarmRadio","isWarmReg","NearlyThere","showHeader","nearlyThere","emailVerificationResult","Status","Verified","completionResult","CustomerFullyVerified","PumaCustomerUserCreationCompletionErrors","PumaCustomerUserCreationCompletionErrorsDictionary","ConfirmationTokenIsNotValid","PumaCustomerUserCreationCompletionClient","PumaCustomerUserCreationCompletionActionsCreator","submit","InitialPumaUserSmsConfirmationTokenRequestsErrorsDictionary","AntiPhishingImageDocumentActionsDispatcher","AntiPhishingImageDocumentStore","AntiPhishingImageDocumentActionsCreator","PumaUserActivationEmailRecyclingClient","PumaUserActivationEmailRecyclingActionsCreator","recycle","ExpiredActivationToken","isActivationTokenResent","expiredActivationTokenResentMessage","expiredActivationTokenMessage","recycleToken","activationEmail","ActivationToken","expiredActivationToken","RegistrationAlreadyCompleted","PumaCustomerUserActivationSmsResendRequestClient","PumaCustomerUserActivationSmsResendRequestActionsCreator","PhoneNumberVerification","onResendErrors","activationToken","SmsConfirmationToken","FinishedEmailVerification","onAntiPhishingImageDocumentStoreChange","registrationAlreadyCompleted","AccountAlreadyActivated","emailVerificationSucceeded","emailVerificationFailed","canConfirmSmsCode","SmsVerification","smsTokenVerificationAttemptsExceeded","mfaNumber","validateAuthCode","getAllValidationErrors","IsInitialSmsConfirmationToken","InitialSmsConfirmationTokenRequestErrors","rawApiRequestErrors","apiRequestErrors","errorsIndicatingSmsTokenVerificationAttemptsExceeded","ActivationTokenVerificationSucceeded","onCreationCompletionFinished","PendingEmailVerification","registeredMfaPhoneNumber","splitPhoneNumber","splitAsterisk","registeredEmailAddress","RegistrationProgress","PumaCustomerUserCreationErrors","AccountActivationWizardSection","registrationProgress","PumaCustomerUserCreationErrorsDictionary","UserNameContainsInvalidCharacters","UserNameIsNotAvailable","PumaSmsAuthenticationPhoneNumberHasInvalidFormat","GenericValidationFailure","EncryptedPumaCustomerUserCreationClient","EncryptedPumaCustomerUserCreationActionsCreator","EncryptedPumaCustomerUserCreationDataMapper","mapToServerContract","clientData","ContactDetails","EmailAddress","SmsFactorAuthenticationPhoneNumberType","smsFactorAuthenticationPhoneNumberType","Address","AddressLine1","AddressLine2","Line2","HouseNumber","Line3","City","County","Line5","Country","PostCode","DateOfBirth","EncryptedAntiPhishingImageDocumentId","FirstName","LastName","IdentityVerificationData","identityVerificationData","FnzUserIds","coldRegFnzUserIds","MobilePhoneNumber","Number","HomePhoneNumber","AntiPhishingWizardSection","serverCreationData","onCustomerCreationDataSubmitted","CredentialsWizardSection","UkDrivingLicencePicker","updateDocumentSegments","documentSegment","copiedSegments","documentSegments","upperCasedSegment","onDocumentSegmentsChange","getInvalidLengthValidation","charactersCount","surnameProps","birthDateProps","nameInitialsProps","computerDigitsCheckProps","UkPassportPicker","passportNumberProps","passportNumberDigitsCheckProps","nationalityProps","dateOfBirthProps","genderProps","expiryDateProps","personalNumberProps","personalNumberDigitsCheckProps","digitsCheckProps","IdentityVerificationDocumentImage","imgAlt","IdentityVerificationDocumentImageUrl","PumaIdentityVerificationDocumentType","IdentityVerificationDocumentTypePickerProps","DrivingLicence","Passport","getAllPumaIdentityVerificationDocumentTypes","IdentityVerificationDocumentTypeRadio","identityVerificationDocumentTypeRadioProps","onVerificationDocumentTypeChange","verificationDocumentType","IdentityVerificationWizardSection","DocumentType","updateIdentityVerificationDocumentType","getUKPassportImageUrl","DocumentSegmentsValues","getUKDrivingLicenceImageUrl","MfaRadioPicker","MfaRadio","mfaRadioProps","onMfaSet","isMfaSet","PumaPhoneNumberPicker","pumaPhoneNumber","phoneNumbers","showMfaPicker","mfaLabel","isUsedForMfa","onIsUsedForMfaChange","onPumaPhoneNumberChange","PumaPhoneNumberType","PhoneNumbers","onSmsFactorAuthenticationPhoneNumberTypeChange","Mobile","day","sortCode1","sortCode2","sortCode3","addressLabel","manualAddressButton","addressLookupFailedError","line1Required","invalidAddress","postcodeRequired","invalidPostcode","ManualEditLink","UKAddressEditorFields","currentAddress","CountryCodeSelectEditor","updateAddressPart","editApply","countryDictionary","countryCode","getUKPostcodeValidator","updateAddressPartFunc","copiedAddress","handleChange","UKAddressDisplayFields","Company","showCountry","RetrieveAddressDetailsClient","FindAddressesClient","term","lastId","AutocompleteResult","PostCodeAnywhereSearch","_pcaInputRef","_lastId","_findAddressClient","_retrieveAddressDetailsClient","responseFn","getPcaSearchValue","getLastId","results","mappedSearchResults","transformSearchResults","onLookupError","handleSearchResultSelection","pcaInput","selectedResult","nextOperation","Next","handleFinalSearchResultSelection","handleDetailedSearchResultSelection","searchResult","retrieveDetailsForAddress","addressId","handleFinalAddressSelection","pcaAddtessDetails","mapAddressFromPcaResult","onAddressSelected","pcaResult","Province","PostalCode","emptyResult","Text","Description","PostCodeAnywhereSearchEditor","AddressState","UKAddressEditor","_validator","_validationErrors","propagateAddressChange","dispalyState","Display","lookupFailed","isAddressSelected","AddressFields","getAddressFields","selectedCountry","handleCountryCodeChanged","handlePostCodeAnywhereSearchChange","handlePostCodeAnywhereFailure","getManualEditLink","EditButton","editAddress","EditButtonNew","Edit","onAddressLookupErrorMessage","newAddress","handleAddressChange","availableCountryCodeOptionsSorter","preOrderedCountries","firstIndex","secondIndex","onAddressChange","valueIsAtLeast","atLeast","valueIsAtMost","atMost","valueIsMoreThan","moreThan","valueIsLessThan","lessThan","DateDropdowns","_wrapperRef","NumberDropdown","dateDropdowns","getDateOptions","onDayChanged","getMonthOptions","calendar","months","names","onMonthChanged","getYearOptions","onYearChanged","setDate","oldState","DateDropdownsEditor","getNumberOfDaysUntil","untilDate","firstDate","secondDate","oneDay","getDaysDifference","onFirstNameChange","onSurnameChange","newDate","onDateOfBirthChange","dateOfYear","years","setFullYear","days","PersonalDetailsWizardSection","mobileNumber","mfaType","Cold","encryptedPumaCustomerUserCreationData","pumaCustomerUserActivationEmailVerificationResult","SmsConfirmationTokenRequestErrors","getQueryParameters","queryParameter","queryParameterName","queryParameterValue","CustomerWarmCreationWizardPhase","changeCustomerCreationDataPart","changeFunc","creationResult","MfaPhoneNumber","activationStep","toStepId","toStep","GatheringCreationData","WarmWizard","PumaCustomerUserActivationEmailVerificationClient","PumaCustomerUserActivationEmailVerificationActionsCreator","CustomerActivationWizardPhase","updateSmsConfirmationToken","verifyCustomerUserEmailAddress","successSection","CustomerCreationWizardPhase","PageLayout","WelcomePage","startWizard","home","identificationMethods","RedirectPage","AccountMatchedWizardSection","setCmsContent","WizardUrls","WarmWizardUrls","adviserReset","resetCode","resetSecurityQuestion","enterYourResetCode","passwordMustBeDifferentFromOtherSecurityItems","securityAnswerMustBeDifferentFromOtherSecurityItems","pageHeader","pageInfo_EmailAddress","invalidTokenWizardSection","AdviserSecurityResetWizardStepperId","successWizardSection","PumaAdviserUserSecurityResetRecoveryErrors","PumaAdviserUserSecurityResetRecoveryErrorsDictionary","securityQuestionWizardSection","PumaUserSecurityQuestionAnswerRequirementsNotMet","PumaAdviserUserSecurityResetRecoveryClient","PumaAdviserUserSecurityResetRecoveryActionsCreator","requestData","PumaAdviserUserAvailableSecurityQuestionsActionsDispatcher","PumaAdviserUserAvailableSecurityQuestionsStore","PumaAdviserUserAvailableSecurityQuestionsClient","PumaAdviserUserAvailableSecurityQuestionsActionsCreator","questions","securityQuestionPickerHeader","newSecurityQuestion","pleaseSelectQuestion","answerIsMandatory","answerLengthIsInvalid","answerFormatIsInvalid","answerMustNotBePartOfTheQuestion","securityQuestionDropdownPlaceholder","SecurityAnswerMustNotBePartOfTheQuestionValidationRuleFactory","wordsInSecurityQuestionText","QuestionText","wordsInSecurityAnswer","wordInSecurityAnswer","wordInSecurityQuestionText","SecurityQuestionPickerUI","QuestionDropdown","securityQuestions","QuestionCode","selectedSecurityQuestion","selectedQuestion","onSelectedSecurityQuestionChange","selectedAnswer","onSelectedAnswerChange","SecurityQuestionPicker","onPumaAdviserUserAvailableSecurityQuestionsStoreChange","selectedSecurityAnswer","AdviserSecurityWizardStepType","SecurityQuestionWizardSection","user","onRefreshToken","tokenRefreshResult","SecurityQuestionAnswer","SecurityQuestionCode","PasswordWizardSection","passwordWizardSection","PumaUserAuthorisationIdConfirmationTokenActionsDispatcher","PumaUserAuthorisationIdConfirmationTokenStore","PumaUserAuthorisationIdConfirmationTokenRequestsClient","PumaUserAuthorisationIdConfirmationTokenActionsCreator","authorisationIdIsMandatory","authorisationIdFormatIsWrong","enterValidAuthorisationId","AuthorisationIdAuthenticationUI","authorisationId","onAuthorisationIdChange","AuthorisationIdAuthentication","onPumaAuthorisationIdConfirmationTokenStoreChange","AuthorisationId","AuthorisationIdWizardSection","authorisationIdWizardSection","PumaAdviserUserSecurityReset","authoristionId","authId","authorisationIdSectionPage","passwordSectionPage","securityQuestionSectionPage","pswd","refreshStateToken","SecurityResetToken","AdviserSecurityResetUrlsHelper","onTokenRefreshed","registration","registrationCode","registrationAlreadCompleted","enterYourRegistrationCode","antiphishingPhraseMustBeDifferentFromOtherSecurityItems","AdviserRegistrationWizardStepperId","verificationResultStatus","completionData","activationEmailVerificationResult","AdviserRegistrationUrlsHelper","ExpiredToken","InvalidToken","createdAdviserUser","PumaAdviserUserCreationCompletionErrors","AdviserRegistrationWizardStepType","PumaAdviserUserCreationCompletionErrorsDictionary","UsernameAlreadyExists","UsernameContainsInvalidCharacters","EncryptedPumaAdviserUserCreationCompletionClient","EncryptedPumaAdviserUserCreationCompletionActionsCreator","EncryptedPumaAdviserUserCreationCompletionDataMapper","authorisationIdConfirmationToken","antiPhishingWizardSection","onCompletionDataPartChange","serverCompletionData","createdUser","AdviserOnboardingPumaUsernameAvailabilityChecksClient","AdviserOnboardingPumaUsernameAvailabilityChecksActionsCreator","credentialsWizardSection","confirmPswd","AuthenticationTokenValue","AuthenticationTokenVerificationCode","didNumberOfVerificationAttemptsExceeded","PumaUserActivation","encryptedPumaAdviserUserCreationCompletionData","PumaAdviserUserActivationEmailVerificationClient","PumaAdviserUserActivationEmailVerificationActionsCreator","credentialsSectionPage","antiPhishingSectionPage","creationCompletionData","changeCompletionDataPart","verifyActivationToken","changeCompletionDataPartFunc","copiedCompletionData","CurrentPumaAdviserUserClient","multiApplicationsHeader","multiApplicationsInfo1","multiApplicationsInfo2","viewYourAccounts","isaLabel","jisaLabel","ciaLabel","cibLabel","craLabel","allOtherProducts","productList","heritagePensionProductsHeader","heritageInvestmentsProductsHeader","heritageBondsProductsHeader","getHeritagePensionProductLabels","getHeritageInvestmentsProductLabels","getHeritageBondsProductLabels","pendingLightboxContent","pendingLightboxContent2","successLightboxContent","failedLightboxContent","okBtnLabel","linkBtnLabel","cancelBtnLabel","certificateExpirationWarningHeader","certificateExpirationWarningMessage_expirationDate_daysToExpiration","certificateExpirationWarningMessageToday_expirationDate","adviser","info1","info2","landingPage","UnipassCertificateExpirationDateNotifier","_minDateDifferenceToShowUnipassCertificateWarning","shouldShowUnipassWarning","currentAdviserUser","UnipassCertificateDetails","unipassExpirationDate","ValidToDate","daysUntilUnipassExpires","getDaysUntilUnipassExpires","expirationDateNotifier","onNotificationAcceptedByUser","loadUnipassDetails","onNotificationNotRequired","certificateDetails","LinkUnipassProcessClient","LinkUnipassProcessStatus","FinishedLightboxContent","linkUnipassProcessStatus","headingCss","unipassLinker","PendingLightboxContent","onUserDecisionConfirmed","UnipassLinker","linkUnipassProcess","shouldLink","confirmUserDecision","finishProcess","loadLinkUnipassProcess","process","onLinkProcessCancel","sslCertificates","getLinkUrl","CurrentPumaUserApplicationsDispatcher","CurrentPumaUserApplicationsStore","CurrentPumaUserApplicationsClient","CurrentPumaUserApplicationsActionsCreator","applications","TooManyApplications","SingleApplication","accessibleUserApplication","Url","AdviserNoAccessibleApplication","noApplication","AdviserApplications","userApplications","HeritagePlatformSubAccountTypeProductList","productLabels","HeritagePlatform","isProductListLightboxShown","application","CustomerPortal","PumaApplicationType","MultiApplicationsHome","customerPortalApp","accessibleUserApplications","Type","DirectToClient","heritagePlatformApp","OnlineCustomerCentre","CustomerNoAccessibleApplication","CustomerApplications","Applications","onCurrentPumaUserApplicationsStoreChange","Home","showAppplications","linkUnipassProcessIsAvailable","expirationDateNotifierIsOpened","onLinkUnipassProcessCancel","loginMethod","LoginMethod","UnipassCertificate","Dropdown","CustomerSiteHeader","isUserMenuExpanded","helpLink","getAdviserHelpUrl","getCustomerHelpUrl","onClickOutsideMobileUserMenu","customerSiteHeader","SsoGlobalSessionAlignmentClient","SsoGlobalSessionAlignmentActionsCreator","align","TimeoutInfoActionsDispatcher","TimeoutInfoStore","KeepAliveClient","CurrentPumaUserTimeoutInfoClient","TimeoutInfoActionsCreator","keepAlive","timeoutInfo","TimeoutComponent","timerRef","isWarningShown","onTimeoutInfoStoreChange","DefaultTimeoutInMinutes","IntervalBetweenTimeoutWarningAndTimeoutInMinutes","loadTimeoutInfo","setTimeoutInfo","millisecondsToNextCheck","TimeBeforeUserTimeoutsInMilliseconds","TimeBeforeTimeoutWarningIsShownMilliseconds","alignGlobalSessionAndLoadTimeoutInfo","onInfoSet","getTimeoutUrl","AuthenticatedLayout","LinkUnipassProcessIsAvailable","pumaCustomerUser","PumaCustomerUserActionsDispatcher","PumaCustomerUserStore","CurrentPumaCustomerUserClient","PumaCustomerUserActionsCreator","loadCurrent","EditableItemType","EditConfirmation","editedItemType","editConfirmation","EncryptedPumaUserLoginAntiPhishingAmendmentClient","AntiPhishingPicker","EditAntiPhishing","hasBeenAuthenticated","verifyPassword","submitChange","amendment","onAntiPhishingUpdatedSuccessfully","startEditing","isEditing","stopEditing","pumaUser","availableEditAuthenticationMethods","onAntiPhishingSuccessfullyUpdated","PumaPasswordChangeErrors","PumaPasswordChangeErrorsDictionary","ChangeOfPasswordNotSuccessful","OldPasswordNotValid","CurrentPumaUserPasswordChangeRequestClient","EditPassword","OldPassword","onPasswordUpdatedSuccessfully","onPasswordSuccessfullyUpdated","CurrentPumaUserEmailAddressAmendmentClient","addressAmendment","EditEmailAddress","verifyAuthCode","onEmailAddressUpdatedSuccessfully","onEmailAddressSuccessfullyUpdated","PumaUserSmsAuthenticationPhoneNumberActionsDispatcher","PumaUserSmsAuthenticationPhoneNumberStore","CurrentPumaUserSmsAuthenticationPhoneNumberClient","PumaUserSmsAuthenticationPhoneNumberActionsCreator","loadForCurrent","mainHeading","mobile","numberUsedForMFA","editHomePhoneNumber","editMobilePhoneNumber","setHomePhoneNumberForMfa","setMobilePhoneNumberForMfa","deleteHomePhoneNumber","deleteMobilePhoneNumber","yourCurrentHomePhoneNumber","yourCurrentMobilePhoneNumber","yourNewPhoneNumber","reallySetPhoneNumberForMfa_PhoneNumber","mobilePhoneIsRecommendedForMfaInfo","securityDetails","passwordContentHeading","antiPhishingContentHeading","antiPhishingContent","updateAntiPhishing","deleteLabel","setForMfa","editEmailAddress","phoneNumberHasWrongFormat","pumaUserPhoneNumbersMustNotBeSame","customerDetails","PumaUserPhoneNumberAmendmentErrors","PumaCurrentUserEmailConfirmationTokenRequestsErrors","PumaUserPhoneNumberAmendmentErrorsDictionary","PhoneNumberDoesNotHaveValidFormat","PumaUserPhoneNumbersMustNotBeSame","CurrentPumaUserMfaPhoneNumberAmendmentClient","CurrentPumaUserMfaPhoneNumberAmendmentActionsCreator","Validation","incorrectPassword","incorrectEmailCode","enteredAuthenticationCodeIsNotValid","weHaveSentAuthenticationCodeViaEmail_EmailAddress","emailAuthenticationNotEnabled","PumaUserEmailConfirmationTokenActionsDispatcher","PumaUserEmailConfirmationTokenStore","EmailAuthenticationNotActivated","PumaCurrentUserEmailConfirmationTokenRequestsClient","PumaUserEmailConfirmationTokenActionsCreator","EmailAuthenticationResendUI","EmailAuthenticationUI","EmailAuthenticationBase","EmailAuthentication","onPumaUserEmailConfirmationTokenStoreChange","EditMfaPhoneNumberStage","SetMfaPhoneNumber","phoneNumberType","stage","pumaProcess","Identifier","ProcessType","passwordConfirmationToken","emailAuthCode","emailAuthCodeConfirmationToken","PhoneNumberChange","EnterPassword","emailCodeVerification","PumaProcessIdentifier","onPhoneNumberUpdatedSuccessfully","PumaProcessDispatcher","PumaProcessStore","PumaCurrentUserProcessesClient","PumaProcessActionsCreator","createForCurrentUser","makeCurrentUserPumaProcess","ComponentToWrap","isPumaProcessInitiallyLoaded","onProcessStoreChange","processType","SetMfaPhoneNumberProcess","PumaUserPhoneNumberAmendment","CurrentPumaUserNonMfaPhoneNumberAmendmentClient","CurrentPumaUserNonMfaPhoneNumberAmendmentActionsCreator","DeleteNonMfaPhoneNumber","ChangeEmail","PhoneNumberType","DeleteNonMfaPhoneNumberProcess","EditNonMfaPhoneNumber","newPhoneNumber","EditNonMfaPhoneNumberProcess","EditMfaPhoneNumber","EditMfaPhoneNumberProcess","PhoneNumberEditType","PumaCurrentCustomerUserTransitionCompletionErrors","PhoneNumber","Delete","SetForMfa","editType","onPhoneNumberSuccessfullyUpdated","onPhoneNumberSuccessullySetForMfa","onPumaUserSmsAuthenticationPhoneNumberStoreChange","smsAuthenticationNumber","changedNumberWasUsedForMfa","onPhoneNumbersSuccessfullyUpdated","CustomerDetails","onPumaCustomerUserStoreChange","showEditConfirmationLightbox","showConfirmationLightbox","closeEditConfirmationLightbox","subHader","transitionProcessInfo","transitionProcesssInfo2","listItem1","listItem2","listItem3","startButton","logOutButton","save","phoneNumbersSelection","phoneNumberVerification","cancelWizardWarningHeader","cancelWizardWarningInfo","logout","sectionInfo","sectionInfo2","twoFactorAuthenticationInfo","sendCodeToThisPhone","editNumber","addNumber","mobilePhoneNumberUpdated","homePhoneNumberUpdated","PumaCurrentCustomerUserTransitionCompletionErrorsDictionary","PumaCurrentCustomerUserTransitionCompletionClient","PumaCurrentCustomerUserTransitionCompletionActionsCreator","transitionSuccessHeader","customerTransitionSuccessInfo","adviserTransitionSuccessInfo","TransitionSuccess","transitionSuccess","CustomerTransitionWizardStepperId","withConfirmableCancel","WrappedComponent","interceptedOnCancel","isCancelling","toggleCancelling","confirmableCancelHeader","confirmableCancelInfo","onCancelConfirmed","confirmableCancelConfirmBtnLabel","confirmableCancelCancelBtnLabel","WizardSectionLayoutWithConfirmableCancel","CustomerTransitionWizardStepType","PhoneNumberVerificationWizardSection","transitionData","PumaUserTransitionCompletion","smsAuthCode","isTransitionSuccessfullyFinished","redirectToTermsAndConditions","getTermsAndConditionsUrl","CurrentPumaUserTransitionMfaPhoneNumberAmendmentClient","editedPhoneNumberType","DeletePhoneNumber","transitionSecurityAnswer","DeletePhoneNumberProcess","reCaptchaVerificationFailed","ReCaptchaValidationStatus","ReCaptchaValidationClient","recaptchaResponse","ReCaptchaConfigurationStore","ReCaptchaWrapper","initReCaptchaScript","onReCaptchaConfigurationStoreChange","validationId","reCaptchaId","grecaptcha","reset","onReCaptchaReset","script","async","defer","reCaptchaSiteKey","SiteKey","sitekey","onReCaptchaResultReceived","onReCaptchaResultExpired","makeReCaptchaGuardedComponent","incorrectRetriesCount","reCaptchaResponse","retryId","validateReCaptchaAndSubmitIsDisabled","maxIncorrectRetriesCountBeforeReCaptchaIsRequired","onValidateReCaptchaAndSubmit","res","performSubmit","submitPerformed","ReCaptchaGuardedTransitionSecurityQuestionAuthentication","UnderlyingComponent","ReCaptchaGuardedTransitionSecurityQuestionAuthenticationUnderlyingComponent","onTransitionSecurityAnswerChange","EditPhoneNumber","onSucc","onErr","EditPhoneNumberProcess","mfaPhoneNumberType","onMfaPhoneNumberTypeChange","PhoneNumbersSelectionWizardSection","PhoneNumbersSelection","mfaPhoneNumber","userSelectedMfaNumberType","updateUserSelectedMfaNumberType","defaultedMfaNumberType","tryToGetDefaultUserSelectedMfaNumberType","newMfaNumber","mfaNumberType","onUserDataRefresh","CustomerTransitionDataActionsDispatcher","CustomerTransitionDataStore","CustomerTransitionDataActionsCreator","group","mfa","reloadUser","customerUser","copiedTransitionData","WizardStepsController","_stepsProvider","stepsProvider","navigateToFirstStep","firstStep","navigateToNextStep","navigateToPreviousStep","previous","_wizardStepsController","onCustomerTransitionDataStoreChange","reloadUserData","Anchor","wasClicked","showLoadingIndicatorOnClick","layoutHeader","passwordHeader","registerInfo","registerBtnLabel","registerWhatYouNeed","userNameLabel","userNameForgotten","userNameRequired","userNamePlaceholder","userNameWrongFormat","userNameLoginButton","unipassHeading","unipassLoginButton","userPasswordLabel","userPasswordRequired","userPasswordPlaceholder","userPasswordWrongFormat","memorableImageAndPhrase","userPasswordForgotten","userPasswordLoginButton","passwordChangeRequiredHeader","passwordChangeRequiredInfo","passwordChangeRequiredButtonInfo","passworDchangeRequiredButtonLabel","emailConfiramtionMessage","emailInWrongFormat","emailRequired","continueButton","invalidUserNameOrPassword","userNotEnabled","unipassUserNotFound","userBlocked","userLockedOut","userInPasswordRecoveryMode","smsAuthenticationNotActivated","securityQuestionAuthenticationNotActivated","forgottenUsernameJourneyFailed","userPendingActivation","externalUserLockedOut","externalServiceUnavailable","adviserContactUs","smsMessage","enterAuthenticationCode","nextSteps","nextStepsHeader","nextStepsMessage","returnToOMWBtnLabel","backBtnLabel","successHeader","thanksYouHaveResetYourPassword","passwordRequired","passwordDoesntMatch","longerThanEightCharacters","atLeastOneNumber","atLeastOneUppercase","atLeastOneLowercase","noSpecialCharacters","Layout","loginHeader","transitionProcessPasswordHeader","termsAndCoditionsHeader","termsAndConditionUrl","orLabel","aboutUnipass","aboutUnipassCopy","uniPassUrl","changeUserNameButton","transitionProcessInfo1","transitionProcessInfo2","unipassCertificateNotes","unipassCertificateCancelButton","unipassCertificateNextButton","nextStepsHeading","memorableImageAndPhraseLabel","questionLabel","answerLabel","answerRequired","answerWrongFormat","nextButton","loginButton","adviserHeading","forgottenUsernameHeading","emailLabel","invalidEmail","forgottenUserName","forgottenPassword","PumaForgottenPasswordRequestActionsDispatcher","PumaForgottenPasswordRequestStore","EmailSentConfirmation","onPumaForgottenPasswordRequestStoreChange","loginAppUrls","homePageUrl","getOmwHomePageUrl","ForgottenPassword","RegisterSection","getCustomerRegistrationUrl","registerSection","CustomerLayout","showRegistrationSection","ForgottenPasswordEmailSentConfirmation","PumaForgottenUsernameErrors","PumaForgottenUsernameErrorDictionary","ForgottenUsernameJourneyFailed","PumaForgottenUsernameClient","forgottenUsername","ForgottenUserName","isEmailSent","sendEmail","PumaUserPasswordResetEmailRequestErrors","PumaSessionsErrors","PumaSessionCreationProcessType","PumaUserPasswordResetEmailRequestErrorsDictionary","SecurityQuestionAuthenticationNotActivated","SmsAuthenticationNotActivated","UserBlocked","PumaForgottenPasswordClient","PumaForgottenPasswordRequestActionCreator","updateStoreOnError","PumaSessionsErrorsDictionary","InvalidLoginCredential","UserLockedOut","UserInPasswordRecoveryMode","UserNotEnabled","UnipassUserNotFound","UserPendingActivation","ExternalUserLockedOut","ExternalServiceUnavailable","PumaSessionsClient","PumaTransitionSessionsClient","PumaSessionsActionCreator","sessionCreationProcessType","PumaUserTransitionSessions","LoginPasswordDetailsDataActionsDispatcher","LoginPasswordDetailsDataStore","PumaSessionCreationProcessClient","LoginPasswordDetailsDataActionsCreator","AntiPhishingImageDocument","userPassword","onForgottenPasswordTriggered","onPasswordSubmit","ReCaptchaGuardedPasswordPicker","ReCaptchaGuardedPasswordPickerUnderlyingComponent","hasPassword","isFirstIn","renderPasswordRequireMsg","loginValidate","onchangePassword","onForgottenPasswordTrigger","PasswordChangeRequired","SelectedUserName","onUserNameChangeTriggered","adviserUserPassword","TransitionLoginPasswordDetailsInfo","LoginPasswordDetails","onLoginPasswordDetailsDataStoreChange","loginPasswordDetailsData","layout","adviserLayout","PumaSessions","renderPasswordPicker","isPasswordChangeRequiredLightboxOpened","changePassword","loginSuccessUrl","showPasswordChangeRequiredLightbox","PumaPasswordRequirementsNotMet","forgottenPasswordContactUsPageUrl","forgottenPasswordEmailSentConfirmationPageUrl","LoginUserNameDispatcher","LoginUserNameStore","onLoginUserNameStoreChange","loginUserName","LoginUserName","forgottenUserNamePageUrl","updateUserName","confirmUserName","currentUserName","onUserNameConfirmed","Login","currentConfirmedUserName","passwordPageUrl","homePage","passwordPage","forgottenUserNamePage","forgottenPasswordSection","emailSentConfirmationPage","ForgottenPasswordSectionUrls","pumaAdviserUser","PumaAdviserUserActionsDispatcher","PumaAdviserUserStore","PumaAdviserUserActionsCreator","PumaUserSecurityQuestionAmendmentErrors","PumaCurrentAdviserUserTransitionCompletionErrors","AdviserTransitionWizardStepperId","PumaUserSecurityQuestionAmendmentErrorsDictionary","PumaCurrentUserSecurityQuestionAmendmentClient","EditSecurityQuestion","onSecurityQuestionUpdatedSuccessfully","onSecurityQuestionSuccessfullyUpdated","AdviserDetails","onPumaAdviserUserStoreChange","View","Wrap","System","BaseView","ssoSessionForm","pumaUserIdHidden","userCreatedHidden","userLastLoginHidden","userLastUpdatedHidden","unipassSerialNumberHidden","fnzUserIdHidden","sessionDataSuccessfullyRetrievedHidden","urlToRetrieveCurrentUserInfoHidden","sessionSetupTokenHidden","ComponentFactory","Create","FromSelector","PageManager","_view","requestSessionMe","DomElement","created","lastLogin","profile","unipassSerialNumber","fnzId","getParameterByName","Submit","crossDomain","xhrFields","withCredentials","nameReplaced","passwordChangeExplanation","PumaCurrentAdviserUserTransitionCompletionErrorsDictionary","PumaCurrentAdviserUserTransitionCompletionClient","PumaCurrentAdviserUserTransitionCompletionActionsCreator","AdviserTransitionWizardStepType","antiPhishingSectionData","passwordSectionData","securityQuestionSectionData","isPasswordChangeRequired","passwordSection","securityQuestionSection","wizardStepsControllerData","updateWizardDataPart","updateFunc","IsPasswordChangeRequired","AdviserLayout","ForgottenPasswordContactUs","forgotUsername","UnipassExpirationWarning","unipassCertificate","toDateString","onWarningAccepted","onWarningCanceled","UnipassLogin","adviserUserName","getLoginUrl","isUnipassExpirationWarningShown","closeUnipassExpirationWarning","openUnipassExpirationWarning","unipassFailedLoginAttemptErrors","onUnipassFailedLoginAttemptErrorsAcknowledged","UnipassFailedLoginAttemptSessionsErrors","contactUsPage","BaseRouter","routingPath","ready","applicationTarget","getAttribute","animationEnd","animationDelay","animationTiming","animationDuration","transitionEnd","transitionDuration","transitionDelay","transitionTiming","transitionProperty","transform","_inDOM","_getTransitionPropert","vendorMap","Moz","Webkit","ms","vendors","vendor","getTransitionProperties","timing","delay","duration","reactIs","REACT_STATICS","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","TYPE_STATICS","getStatics","getOwnPropertyNames","getOwnPropertySymbols","getPrototypeOf","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","descriptor","str","charCodeAt","compatRaf","raf","fn","req","getKey","rafKey","propIsEnumerable","propertyIsEnumerable","test1","test2","test3","letter","shouldUseNative","symbols","toObject","forceUpdate","__self","__source","keyPrefix","count","escape","IsSomeRendererActing","PureComponent","createContext","_currentValue2","_threadCount","Provider","Consumer","createFactory","createRef","forwardRef","lazy","memo","strictUriEncode","objectAssign","encode","opts","strict","keysSorter","extract","formatter","arrayFormat","accumulator","parserForArrayFormat","ret","parts","Boolean","encoderForArrayFormat","val2","hasOwn","classNames","classes","arg","appendClass","includes","newClass","_addClass2","_removeClass2","_requestAnimationFrame2","_properties","_reactDom","events","CSSTransitionGroupChild","classNameAndNodeQueue","transitionTimeouts","unmounted","animationType","finishCallback","removeListeners","queueClassAndNode","finish","addEndListener","rafHandle","flushClassNameAndNodeQueue","MessageChannel","unstable_forceFrameRate","performance","cancelAnimationFrame","requestAnimationFrame","floor","port2","port1","onmessage","postMessage","sortIndex","startTime","priorityLevel","unstable_Profiling","unstable_continueExecution","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_wrapCallback","QuotaExceededErrors","QuotaExceededError","QUOTA_EXCEEDED_ERR","SecurityErrors","SecurityError","createKey","sessionStorage","removeItem","json","_queryString","defaultStringifyQuery","defaultParseQueryString","stringifyQuery","parseQueryString","decodeQuery","encodeQuery","queryString","newLocation","_AsyncUtils","keyLength","pendingLocation","beforeListeners","listeners","allKeys","nextLocation","currentIndex","prevPath","prevIndex","nextIndex","_CSSTransitionGroup2"],"sourceRoot":""}